VanaAPI

← Writing

Gemini CLI on Vana API: setup for one address and three protocols

Daily workEN2026-11-19

§ One address, three protocols

Vana API puts three protocols behind a single address, https://api.vanaapi.com. That is the whole routing idea: one endpoint string, one key, and a protocol that depends on the model you want to use. There is no account to assemble from several providers and no separate base URL to remember for each family of models. For a small team, that removes the first piece of work before a single prompt is sent.

The dashboard lives elsewhere, at https://vanaapi.com. It is where keys are created, where the prepaid balance is topped up, and where every call is listed in the usage log. The address itself only answers API requests. Keeping the two apart is useful: your configuration holds one URL, while billing and review stay in a place you open in a browser.

The three protocols are fixed. Claude models answer Anthropic Messages requests at /v1/messages. Gemini models answer Gemini native requests under /v1beta/models/... . GPT, Grok, DeepSeek, GLM, Kimi, Qwen, MiniMax and MiMo models answer in OpenAI format at /v1/chat/completions, and GPT models also answer on /v1/responses. One address covers all three shapes, and Vana API keeps the choice of protocol tied to the model rather than to a separate account.

Minimal setup is the practical result. A key, a base address and a client that already speaks the right protocol. Everything else about the service is billing, and billing is visible in the dashboard.

§ An example workflow with Gemini CLI

The workflow below is an example of how a small team could connect Gemini CLI to Vana API. It is a walkthrough of the steps and the configuration, not a report on what any particular team achieved.

Setup is deliberately short. You sign up on the main site, receive $0.10 of credit on sign-up, and create a key in the dashboard. You then add that key and the address https://api.vanaapi.com to Gemini CLI's connection settings. Gemini CLI speaks the Gemini native protocol, so it reaches Gemini models through that address without needing an OpenAI-compatible endpoint. In this example, that is the entire configuration step.

Because keys are created in the dashboard, the key can be handed to each person who needs one and replaced later without changing the address in Gemini CLI. The address stays the same across every change, which is the point of routing three protocols through one place.

Then the work starts. A developer opens Gemini CLI, asks a question and reads the answer in the terminal. The request travels to the Vana API address, and the response comes back in the format Gemini CLI expects. Nothing about the local routine changes when the model changes: same tool, same key, same address.

Since the balance is prepaid and charged per real token, there is no monthly fee to carry while you are still deciding whether the arrangement suits the way you work. Each call is listed in the usage log, so you can see what was spent before the balance gets thin.

§ An example run and what it costs

Rates are listed per million tokens, split into input and output. For work that lives mostly in short prompts, Gemini 2.5 Flash at $0.2083 / $1.60 is the entry point in the list, and Gemini 3.1 Pro at $1.39 / $7.92 is the heavier option when a question needs more depth. Gemini 3.8 Flash sits at $1.04 / $4.65, and Gemini 4 Argon at $1.46 / $6.88. On every Gemini entry above, output tokens are priced above input tokens, so long answers are the line to watch.

Here is an example calculation built only from the published rates. If one developer sends 100,000 input tokens and 20,000 output tokens to Gemini 2.5 Flash in a day, the input side is 0.1 of a million tokens, which is $0.02083, and the output side is 0.02 of a million tokens, which is $0.032. The example total is $0.05283 for that developer for that day. Two developers doing the same thing would put $0.10566 through the balance in a day. These are example figures for an example workload, not a quote.

The split also gives you visibility. Input and output are charged separately, and both appear in the usage log, so a team can tell whether a bill grew because prompts got longer or because answers got longer. That is a question the dashboard answers without a spreadsheet, and Vana API keeps the per-token detail attached to each recorded call.

Because the balance is prepaid, the practical habit is simple: top up, work, then read the usage log. There is no monthly fee in between, and no commitment beyond the credit you have already added.

§ Adding other model families later

The value of one address shows up when you want a second model. Claude models are reachable through Anthropic Messages requests, and they are limited to official Claude Code or Claude Desktop, version 2.1.285 or later, which speak that protocol themselves. Other clients, SDKs, cURL and scripts are not supported for that family, so the rule is short enough to remember and short enough to repeat to the team.

For the OpenAI-format families, the list is wider. GPT, Grok, DeepSeek, GLM, Kimi, Qwen, MiniMax and MiMo models answer at /v1/chat/completions, and they can be called from Cursor, Cline, Roo Code, OpenCode, Cherry Studio, any OpenAI SDK or cURL. GPT models also answer on /v1/responses, which is what Codex uses. A team that already has a preferred editor tool can keep it and still point it at the same address.

The price list gives a few reference points for that second step. GPT-6.1 Sol is $0.1389 / $0.8333, GPT-5.6 Sol is $0.3472 / $1.81, and GPT-6 Astra is $0.6944 / $3.54. Grok 4.7 is $0.4861 / $1.53, DeepSeek V4 Flash is $0.2778 / $1.04, and DeepSeek V4 Pro is $1.11 / $3.33. Qwen3.7 Plus is $0.1278 / $0.4167, MiniMax M3 is $0.1389 / $0.5556, and MiMo V2.6 Pro is $0.2083 / $0.3472. GLM-5.3 is $0.5556 / $1.67, Kimi K3 is $1.04 / $5.21, and Qwen3.8 Max is $0.6944 / $2.08.

On the Claude side, the same per-token structure applies, and each rate is published next to its official list price. Claude Sonnet 5.5 is $1.18 / $5.76 against an official list price of $2 / $10. Claude Opus 5.5 is $1.46 / $6.94 against $4 / $20. Claude Haiku 4.5 is $0.3472 / $1.60 against $1 / $5, and Claude Fable 5.1 is $3.33 / $16.74 against $10 / $50. The comparison is made on the same terms, so a team can weigh a second family without guessing.

§ Spending rules that fit a small team

Billing is prepaid and charged per real token, with no monthly fee. If you would rather commit to a limit, there are monthly plans with stated caps: Claude up to $450 / 30 days for $64.72 for 30 days, at most $140 a week, Claude models only; Claude up to $1,050 / 30 days for $153.61 for 30 days, at most $320 a week, Claude models only; and GPT up to $2,750 / 30 days for $103.61 for 30 days, at most $820 a week, GPT models only.

Refunds are straightforward. 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 enough to plan around and long enough to test the service across a real stretch of work before the balance is committed.

There is also a referral programme: 14% of what people you invite pay, and 5% one level further, with earnings that can be withdrawn from $13.89. For a small team that is a side channel rather than a plan, but it runs on the same prepaid model as everything else.

Put together, the example comes down to a short list: one address, three protocols, a key from the dashboard, and per-token rates you can read before you commit. Small teams get to keep the tools they already use, switch models when a task calls for it, and see the cost of each call in the same place they manage the balance through Vana API.