VanaAPI

← Writing

Vana API relay service for OpenCode: $0.1389 per million input tokens

Money mattersEN2026-11-21

§ One address, three protocols, minimal setup

Vana API is built around a simple shape: one address, three protocols, minimal setup. The request address is https://api.vanaapi.com, and it answers API requests and nothing else. Keys, balance and the usage log live in the dashboard on the main site, https://vanaapi.com. Separating the traffic endpoint from the dashboard keeps the value you paste into a client short and keeps account work in one place.

Three protocols sit behind that same address. There is an OpenAI-compatible format at /v1/chat/completions, an Anthropic Messages path at /v1/messages, and a Gemini native path at /v1beta/models/... . OpenCode speaks the OpenAI-compatible format, so its requests go to /v1/chat/completions on https://api.vanaapi.com. GPT models also answer on /v1/responses, which is the path Codex uses.

Choosing a model means checking which protocol serves it, because the three paths are not interchangeable. The Anthropic Messages path at /v1/messages is used by official clients that speak that protocol themselves, version 2.1.285 or later, and it does not answer OpenCode, Cursor, Cline, Roo Code, Cherry Studio, an SDK or cURL. The Gemini native path at /v1beta/models/... is used by Gemini CLI and is not OpenAI-compatible. For OpenCode, the route is the OpenAI-compatible endpoint, and the models priced below are the ones to compare against it.

Setup is minimal by design. Create a key in the dashboard, add the base address https://api.vanaapi.com to OpenCode, choose a model id, and send requests. There is no monthly fee to activate and no plan to select before the first call. If you want a starting balance to test with, a sign-up gift of $0.10 of credit is applied.

§ What pay-as-you-go charges for OpenCode

Vana API bills per real token, so the practical question for OpenCode is which model fits the task and what the token rates are. The prices below are per million tokens, shown as input / output, and each entry is available through the OpenAI-compatible format used by OpenCode:

  • GPT-5.6 Sol (model id gpt-5.6-sol): $0.3472 / $1.81
  • GPT-6 Astra (model id gpt-6-astra): $0.6944 / $3.54
  • GPT-6.1 Sol (model id gpt-6.1-sol): $0.1389 / $0.8333
  • Grok 4.7 (model id grok-4.7): $0.4861 / $1.53
  • DeepSeek V4 Flash (model id deepseek-v4-flash): $0.2778 / $1.04
  • DeepSeek V4 Pro (model id deepseek-v4-pro): $1.11 / $3.33
  • GLM-5.3 (model id glm-5.3): $0.5556 / $1.67
  • Kimi K3 (model id kimi-k3): $1.04 / $5.21
  • Qwen3.7 Plus (model id qwen3.7-plus): $0.1278 / $0.4167
  • Qwen3.8 Max (model id qwen3.8-max): $0.6944 / $2.08
  • MiniMax M3 (model id MiniMax-M3): $0.1389 / $0.5556
  • MiMo V2.6 Pro (model id MiMo-V2.6-Pro): $0.2083 / $0.3472

Three of these carry a published comparison point. GPT-5.6 Sol is listed at $4 / $20 on the official list price, and Vana API charges $0.3472 / $1.81 for the same model. GPT-6 Astra is listed at $10 / $50, and Vana API charges $0.6944 / $3.54. GPT-6.1 Sol is listed at $2 / $10, and Vana API charges $0.1389 / $0.8333.

For a quiet month of OpenCode use, the spread between the lower-priced and higher-priced entries is worth planning around. Qwen3.7 Plus, MiniMax M3 and GPT-6.1 Sol sit at the lower end of the table for input, while DeepSeek V4 Pro and Kimi K3 sit at the higher end. Output rates follow a similar range, from $0.3472 for MiMo V2.6 Pro to $5.21 for Kimi K3. A sensible approach is to pick a mid-range model for everyday editing work and reserve the higher-rate models for tasks where their capability earns the cost.

§ A worked example for a quiet month

Because Vana API charges per real token, a budget can be built from the rates rather than from a subscription tier. For example, say you run OpenCode every day and send 100,000 input tokens and 20,000 output tokens per day through GPT-5.6 Sol. At $0.3472 per million input tokens, the input side is $0.03472 for a day. At $1.81 per million output tokens, the output side is $0.0362 for a day. Across 30 days, that example works out to $1.0416 for input and $1.086 for output, or $2.1276 in total. The exact figure for your own month depends on the tokens your requests actually carry.

The same example changes sharply with the model. Say you run the same volume through Qwen3.7 Plus instead, at $0.1278 / $0.4167 per million tokens. The daily input cost is $0.01278 and the daily output cost is $0.008334, which over 30 days comes to $0.3834 and $0.25002, or $0.63342 in total. Nothing about the client changes; only the model id and the rates behind it do.

Two criteria are worth applying before you settle on a model. The first is output volume: a long agentic session in OpenCode produces more output tokens than a short completion, so the output rate carries more weight than the input rate in a heavy session. The second is whether the task needs a larger model at all. A codebase question may be handled well by Qwen3.7 Plus or MiniMax M3, while a design decision may justify GPT-6 Astra at $0.6944 / $3.54 or DeepSeek V4 Pro at $1.11 / $3.33.

Every call is listed in the usage log in the dashboard, so the numbers above can be replaced with measured figures after the first week. That is the practical advantage of per-token billing with a prepaid balance: the first month is a measurement period, and the model choice can be adjusted from evidence rather than from an estimate.

§ Balance, usage log and refunds

The billing model on Vana API is prepaid balance, charged per real token, no monthly fee. You add funds, and calls draw down that balance as tokens are processed. Keys are created in the dashboard, and each call appears in the usage log there, so the balance and the log can be checked against each other without leaving the main site.

The refund policy is stated in plain terms. Unused balance can be refunded within 3 days of the top-up, minus what was used and the payment processor's fee. If you are testing OpenCode and are unsure how much to add, a smaller first top-up keeps the refund window meaningful and the exposure limited.

For a light month, that arrangement is usually enough on its own. A heavier month may involve longer sessions, more output tokens and several models in rotation, and it is worth checking the usage log periodically to see which model is carrying the cost. Vana API does not require a plan decision up front, so the balance can follow measured usage instead of the other way around.

§ Pay-as-you-go or the monthly plan

There is one monthly plan on Vana API: GPT up to $2,750 / 30 days for $103.61 for 30 days, at most $820 a week, GPT models only. This suits a reader who can state in advance that the work will run through GPT models for the full period and that the usage will be substantial enough to reach the plan rather than draw down a prepaid balance gradually.

The plan's scope is the criterion to check. Because it covers GPT models only, any work that calls a model priced elsewhere in the table, such as DeepSeek V4 Flash or Qwen3.7 Plus, would sit outside that plan and would draw on prepaid balance instead. For an uncertain workload, or for a month that mixes GPT with those other models, pay-as-you-go on the prepaid balance is the more flexible route, since it charges per real token on whichever model you select through the OpenAI-compatible endpoint.

It is also worth comparing the plan against a measured month. Once the usage log shows what a typical week costs on Vana API, multiply that figure by the number of weeks you expect to work. If the result approaches $103.61 for 30 days and the work stays within GPT models, the plan is the simpler choice. If the result is lower, prepaid pay-as-you-go keeps the cost tied to tokens you actually used.

§ Referrals and the final check

Referrals are a separate option and do not change how calls are billed. You receive 14% of what people you invite pay, and 5% one level further. Earnings can be withdrawn from $13.89. That threshold is the criterion to check: if the invited users are paying regularly, the referral share becomes withdrawable once it reaches $13.89, and the two-level structure means activity one step further out still counts.

Putting it together, the decision guide is short. If you want one address, three protocols and little to set up, and you already use OpenCode, Vana API gives you a single base URL, a dashboard for keys and balance, and a usage log for every call. If your usage is light and irregular, prepaid pay-as-you-go at the listed per-token rates keeps costs tied to real tokens. If your usage is consistently heavy and GPT-only, the $103.61 for 30 days plan is the alternative to compare against. Either way, the starting point is the same: create a key at https://vanaapi.com, point OpenCode at https://api.vanaapi.com, and read the first month in the usage log.