VanaAPI

← Writing

Move Gemini CLI to Vana API: $0.10 credit, pay-as-you-go

Agents at the terminalEN2026-11-26

§ One address, three protocols

Vana API gives you a single base address, https://api.vanaapi.com, and three protocols running on it. That is the whole idea behind this checklist: one place to point your tools, one place to manage the account, and very little to set up. The Gemini native protocol is served at /v1beta/models/..., the OpenAI format at /v1/chat/completions, and the Anthropic Messages protocol at /v1/messages. Each protocol is matched to the clients that already speak it, so you do not have to translate formats or build a bridge of your own.

For this guide, the only client in play is Gemini CLI. Gemini models on Vana API are served over the Gemini native protocol, and they are not OpenAI-compatible. Gemini CLI speaks that protocol directly, so moving to Vana API is a matter of pointing it at the right address instead of rewriting the way your project talks to models. Everything else in the project can stay exactly where it is.

One detail worth keeping clear from the start: the address https://api.vanaapi.com only answers API requests. Keys, balance and the usage log are in the dashboard on the main site, https://vanaapi.com. The separation is deliberate. The API address is the machine-facing door, and the dashboard is the human-facing one.

  • Choose one base address for API requests: https://api.vanaapi.com
  • Keep Gemini CLI as the client for Gemini models
  • Use the Gemini native protocol path /v1beta/models/...
  • Handle keys, balance and usage in the dashboard at https://vanaapi.com

§ Move Gemini CLI without touching the rest of the project

Start by writing down what Gemini CLI already does for you, so the move has a clear boundary. Which commands run it, which parts of the repository call it, and which outputs your team depends on. This is a small inventory, but it is what makes the change safe: the goal is that only the connection details change, not the behaviour around them.

Then swap the base address your Gemini CLI uses for https://api.vanaapi.com. Because Gemini CLI already speaks the Gemini native protocol, there is no format conversion to configure and no adapter layer to maintain. The protocol path stays /v1beta/models/..., and the model names you select stay the ones from the price list below.

Next, create a key in the dashboard at https://vanaapi.com and hand it to Gemini CLI in the place where it expects credentials. Keys are created in the dashboard, so this is a copy-and-paste step rather than a configuration project. From that moment, requests go to Vana API and responses come back through the same Gemini CLI workflow your project already uses.

Finally, run one small, real request through Gemini CLI and confirm it lands in the usage log in the dashboard. Every call is listed there, so you can see the tokens that were actually consumed instead of estimating them. If the request succeeds and appears in the log, the migration is complete and the rest of the project needs no further edits.

  • Record what already runs Gemini CLI and what consumes its output
  • Point Gemini CLI at https://api.vanaapi.com
  • Create a key in the dashboard at https://vanaapi.com and use it with Gemini CLI
  • Send one test request and check the usage log

§ Gemini models and pay-as-you-go pricing

Vana API charges per real token against a prepaid balance, with no monthly fee. That makes the cost easy to follow for a Gemini CLI workload: you top up the balance, you use the models, and the usage log shows you every call. There is no subscription to cancel and no commitment period to track.

Here are the Gemini models available through this setup, with prices per million tokens shown as input and output:

  • Gemini 2.5 Flash, model id gemini-2.5-flash: $0.2083 / $1.60
  • Gemini 3.1 Pro, model id gemini-3.1-pro: $1.39 / $7.92
  • Gemini 3.8 Flash, model id gemini-3.8-flash: $1.04 / $4.65
  • Gemini 4 Argon, model id gemini-4-argon: $1.46 / $6.88

For example, say you run Gemini 2.5 Flash through Gemini CLI every day for a set of short, routine prompts. At $0.2083 per million input tokens and $1.60 per million output tokens, a workday of that kind stays predictable, because you are billed only for tokens that actually pass through the API. If a heavier task calls for more depth, Gemini 3.1 Pro at $1.39 / $7.92 or Gemini 4 Argon at $1.46 / $6.88 are both available on the same Gemini CLI setup, with the same base address and the same key.

New accounts also receive a gift on sign-up: $0.10 of credit. It is a small amount, but it is enough to place a first request and see the full loop work, from key creation in the dashboard to the entry in the usage log, before you commit any larger top-up.

§ The setup you actually have to do

Minimal setup is the point of this move, so it helps to name every step and stop there. There are four of them, and none of them changes your codebase.

  • Sign in on https://vanaapi.com and create a key in the dashboard
  • Add a prepaid balance to that account
  • Set the Gemini CLI base address to https://api.vanaapi.com and supply the key
  • Select a Gemini model id from the list and make one logged call

Two habits make this straightforward. First, keep the API address and the dashboard address in separate notes, so you always know which is which: https://api.vanaapi.com for requests, https://vanaapi.com for keys, balance and logs. Second, check the usage log after the first few calls, because it shows the real token counts behind the numbers in the price list.

Nothing in this checklist asks you to change the rest of the project. There is no wrapper to write, no protocol shim to debug, and no second client to keep in sync. Gemini CLI continues to do what it does, and Vana API handles the requests behind one address.

§ Balance, usage log, referrals and refunds

Billing on Vana API is simple by design: prepaid balance, charged per real token, no monthly fee. Every call appears in the usage log in the dashboard, which means you can line up what you ran against what you were charged. If you want to bring in others, the referral programme pays 14% of what people you invite pay, and 5% one level further, with earnings that can be withdrawn from $13.89.

If you change your mind about a top-up, unused balance can be refunded within 3 days of the top-up, minus what was used and the payment processor's fee. That window is short, so it is worth checking the usage log before you request a refund rather than after.

Put simply, the checklist is: one address at https://api.vanaapi.com, one client for Gemini models, three protocols on that same address, and a dashboard at https://vanaapi.com for keys, balance and logs. Gemini CLI keeps working the way it already does, the price list is published in dollars per million tokens, and you pay only for what you use.