VanaAPI

← Writing

Claude Code setup on three OSes with one Vana API address

Agents at the terminalEN2026-11-24

§ One address, three protocols

One address, three protocols, minimal setup. That is the shape of Vana API. You point your tools at https://api.vanaapi.com and everything else follows from there. That single address accepts Anthropic Messages requests, Gemini native requests, and OpenAI-format requests, so you do not have to juggle separate endpoints for different families of models.

The address only answers API requests. Keys, balance and the usage log live in the dashboard on the main site, https://vanaapi.com. You create a key there, top up a prepaid balance, and then use the same address from every client you already have. There is no monthly fee, and you are charged per real token that comes back from a model.

What each protocol requires is specific, and worth knowing before you configure anything. Anthropic Messages (/v1/messages) is spoken by Claude Code and Claude Desktop themselves, version 2.1.285 or later. The Gemini native protocol (/v1beta/models/...) is spoken by Gemini CLI. The OpenAI format (/v1/chat/completions) covers GPT, Grok, DeepSeek, GLM, Kimi, Qwen, MiniMax and MiMo models, and GPT models also answer on /v1/responses, which is what Codex uses. One Vana API address covers all three shapes of traffic.

§ Claude Code setup on Windows, macOS and Linux

Say you work on a Windows laptop at the office, a macOS machine at home, and a Linux box on a server. You want Claude Code on all three, and you would rather not maintain three separate configurations. With Vana API, the address is the same everywhere: https://api.vanaapi.com.

There is a condition to respect. Claude models work only from official Claude Code or Claude Desktop, version 2.1.285 or later, because those clients speak Anthropic Messages themselves. They do not work from any other client, any SDK, cURL or a script. So the setup is narrow on purpose: install the client, point it at the Vana API address, and paste in the key you created in the dashboard.

Because the endpoint is a plain HTTPS address rather than something platform-specific, the same configuration carries across operating systems. The part that changes between Windows, macOS and Linux is where your client keeps its own settings files, not the Vana API endpoint. Once the key and the address are in place, Claude Code on each machine talks to the same prepaid balance, and each call shows up in the same usage log in the dashboard.

That is the practical meaning of minimal setup for Vana API: no account pool to manage, no separate relay to configure per model family, and no monthly subscription to keep alive while you are not calling anything. You load the balance you intend to use, and the usage log tells you what each call consumed.

§ A worked example with Claude models

Here is an example of what a single call can look like. Say you send one request of 1,000,000 input tokens and 1,000,000 output tokens. Using Claude Sonnet 5.5, the Vana API price is $1.18 per million input tokens and $5.76 per million output tokens, so the example is worked out like this:

  • Input: 1,000,000 tokens at $1.18 per million = $1.18
  • Output: 1,000,000 tokens at $5.76 per million = $5.76
  • Example total for the call: $1.18 + $5.76 = $6.94

For comparison, the official list price for Claude Sonnet 5.5 is $2 per million input tokens and $10 per million output tokens. The same example at list pricing is $2.00 + $10.00 = $12.00, so the difference in this example is $12.00 − $6.94 = $5.06.

A second example, using Claude Opus 5.5 at $1.46 per million input tokens and $6.94 per million output tokens on Vana API: the input side is $1.46, the output side is $6.94, and the example total is $1.46 + $6.94 = $8.40. The official list price for that model is $4 and $20 per million, which makes the same example $4.00 + $20.00 = $24.00, and the difference in this example is $24.00 − $8.40 = $15.60.

A third example with Claude Haiku 4.5, priced at $0.3472 input and $1.60 output per million tokens on Vana API: 1,000,000 input tokens and 1,000,000 output tokens gives $0.3472 + $1.60 = $1.9472 for the example call. The official list price for that model is $1 and $5 per million, so the same example at list pricing is $1.00 + $5.00 = $6.00.

One more example, with Claude Fable 5.1 at $3.33 per million input tokens and $16.74 per million output tokens on Vana API: 1,000,000 input tokens plus 1,000,000 output tokens comes to $3.33 + $16.74 = $20.07. The official list price for that model is $10 and $50 per million, which makes the same example $10.00 + $50.00 = $60.00. These are examples only, but they show how pay-as-you-go behaves in practice: the cost follows the tokens, and the usage log records every call so you can check the sums yourself.

§ Gemini CLI and the OpenAI format on the same address

The same Vana API address also serves the other two protocols, so a change of client does not mean a change of provider. Gemini CLI speaks the Gemini native protocol (/v1beta/models/...), and Gemini models are not available through the OpenAI format. Point Gemini CLI at https://api.vanaapi.com, use a key from the dashboard, and Gemini 2.5 Flash is priced at $0.2083 per million input tokens and $1.60 per million output tokens on Vana API. For an example call of 1,000,000 input tokens and 1,000,000 output tokens: $0.2083 + $1.60 = $1.8083.

Other Gemini entries on the list include Gemini 3.1 Pro at $1.39 and $7.92 per million, Gemini 3.8 Flash at $1.04 and $4.65, and Gemini 4 Argon at $1.46 and $6.88. The pattern is the same in each case: one address, one key, and a per-million price you can read before you send anything.

On the third protocol, GPT, Grok, DeepSeek, GLM, Kimi, Qwen, MiniMax and MiMo models use the OpenAI format (/v1/chat/completions), and they work 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. One worked example with GPT-6.1 Sol at $0.1389 per million input tokens and $0.8333 per million output tokens: 1,000,000 input tokens plus 1,000,000 output tokens gives $0.1389 + $0.8333 = $0.9722 for the example call.

Two more examples from the OpenAI-format list. With GPT-5.6 Sol at $0.3472 input and $1.81 output per million tokens, the same example is $0.3472 + $1.81 = $2.1572. With Qwen3.7 Plus at $0.1278 input and $0.4167 output per million tokens, it is $0.1278 + $0.4167 = $0.5445. Either way, the address stays constant across three protocol families, and the model you choose stays yours.

§ What it costs and how the billing works

Vana API uses a prepaid balance with no monthly fee, charged per real token, and every call is listed in the usage log in the dashboard. Signing up adds $0.10 of credit. If you invite people, you receive 14% of what people you invite pay, and 5% one level further, with earnings that can be withdrawn from $13.89. Unused balance can be refunded within 3 days of the top-up, minus what was used and the payment processor's fee.

Monthly plans are available where you want a predictable ceiling. The Claude plan up to $450 over 30 days costs $64.72 for 30 days, allows at most $140 a week, and covers Claude models only. The Claude plan up to $1,050 over 30 days costs $153.61 for 30 days, allows at most $320 a week, and is also Claude models only. The GPT plan up to $2,750 over 30 days costs $103.61 for 30 days, allows at most $820 a week, and covers GPT models only.

Put together with the per-token prices, the picture is straightforward. You create a key in the dashboard, choose prepaid pay-as-you-go or a monthly plan, and send requests to one address on Windows, macOS or Linux. Claude Code keeps working with Anthropic Messages, Gemini CLI keeps working with the Gemini native protocol, and the OpenAI-format tools keep working with /v1/chat/completions. Vana API stays out of the way in between, and the usage log shows exactly what each call cost.