Codex pay-as-you-go on Vana API: $0.3472 per million input tokens
§ One address, three protocols, minimal setup
Vana API puts every request behind a single address: api.vanaapi.com. That one address serves three protocols, and the protocol you need is decided by the model family and the client you already use. For Codex the route is direct, because GPT models also answer on /v1/responses, and that is the endpoint Codex uses. There is no account pool to configure, no monthly commitment to begin, and no second service to register with. You create a key, add a balance, and point your client at the one address.
The three protocols are worth knowing about, because each one has a fixed home:
- Claude models speak Anthropic Messages (/v1/messages) themselves, and they work only from official Claude Code or Claude Desktop, version 2.1.285 or later.
- Gemini models use the Gemini native protocol (/v1beta/models/...), and they work only from Gemini CLI. They are not OpenAI-compatible.
- GPT, Grok, DeepSeek, GLM, Kimi, Qwen, MiniMax and MiMo use the OpenAI format (/v1/chat/completions).
GPT models answer on /v1/responses as well, which is what Codex talks to. So the address, the protocol and the model name are the only three things you set, and the rest of the work stays in the dashboard. That is the shape of Vana API in practice: one address, three protocols, minimal setup.
§ Set up Codex in a short checklist
Start at the Vana API dashboard on vanaapi.com. That is where keys are created, where the balance lives, and where every call is listed in the usage log. The API address itself answers API requests only, so it is not the place to manage the account. Keep the two apart and the setup stays clean.
Then follow this order once:
- Open the dashboard at vanaapi.com and create a key. Keys are made in the dashboard, not at the API address.
- Top up the prepaid balance you want to work with. New accounts receive $0.10 of credit on sign-up, enough to send a small request and confirm the connection.
- Point Codex at api.vanaapi.com and use the /v1/responses route for GPT models.
- Name the GPT model you want, then read the call back in the usage log.
There is no script to write for the connection step, because Codex speaks the protocol itself, and no monthly plan to choose in order to start. When you are done, you have one key, one balance, one address and a log of what each call cost. That is minimal setup in the practical sense: a handful of fields, one endpoint, and nothing else to maintain.
For example, say you open the dashboard, create a key, top up a small balance, and send a single short request through Codex. You would see the request appear in the usage log with the tokens it actually used. No flat subscription sits between you and the model, and no separate relay service needs its own key.
§ Codex pay-as-you-go pricing for GPT models
Vana API charges per real token. There is no monthly fee on the pay-as-you-go side, so the amount you spend is the amount your requests actually cost. The GPT models available for Codex are priced per million tokens as follows, with input and output shown separately:
- GPT-5.6 Sol (model id gpt-5.6-sol): Vana API $0.3472 / $1.81, against an official list price of $4 / $20.
- GPT-6 Astra (model id gpt-6-astra): Vana API $0.6944 / $3.54, against an official list price of $10 / $50.
- GPT-6.1 Sol (model id gpt-6.1-sol): Vana API $0.1389 / $0.8333, against an official list price of $2 / $10.
The gap between the two columns is where the value of routing through Vana API shows up on paper. GPT-6.1 Sol costs $0.1389 per million input tokens and $0.8333 per million output tokens on Vana API, while the official list price is $2 / $10 for the same model. GPT-5.6 Sol is $0.3472 / $1.81 on Vana API against $4 / $20 on the official list, and GPT-6 Astra is $0.6944 / $3.54 against $10 / $50.
To make the arithmetic concrete, say you run one request with 1 million input tokens and 1 million output tokens on GPT-6.1 Sol. Starting from the listed prices, that is $0.1389 + $0.8333 = $0.9722 through Vana API. The same token counts at the official list price would be $2 + $10 = $12. The example is simple on purpose: the point is that the bill follows tokens, and the per-token rate on Vana API is the one you see in the list above.
§ How the prepaid balance behaves
The balance is prepaid and charged per real token, which means you decide how much to hold and when to add more. Every call is listed in the usage log in the dashboard, so you can match a request to its token count and its cost rather than guessing at a monthly total. Keys are created in the same dashboard, so rotating or adding a key does not require a separate tool.
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 the three days pass if you have added more than you intend to spend.
There is also a referral programme attached to the same account. You receive 14% of what people you invite pay, and 5% one level further, and earnings can be withdrawn from $13.89. Combined with the $0.10 of credit on sign-up, the account starts with something in it and can return a share of what it brings in.
§ When a monthly plan makes more sense
Pay-as-you-go suits uneven usage, because you pay for tokens you actually send and there is no monthly fee to carry on quiet days. If your Codex usage is steady enough that a cap is convenient, Vana API also lists three monthly plans, and each one is described in the same terms:
- Claude up to $450 / 30 days: $64.72 for 30 days, at most $140 a week, Claude models only.
- Claude up to $1,050 / 30 days: $153.61 for 30 days, at most $320 a week, Claude models only.
- GPT up to $2,750 / 30 days: $103.61 for 30 days, at most $820 a week, GPT models only.
The GPT plan covers GPT models only, which is the family Codex draws on through /v1/responses. The two Claude plans cover Claude models only, and those models speak Anthropic Messages (/v1/messages) from official Claude Code or Claude Desktop, version 2.1.285 or later. Whichever route you pick, the address stays the same and the dashboard stays the same, so you can compare a month's plan against the usage log you have already built with pay-as-you-go calls.
Start with the prepaid balance, keep the log close, and move to a plan only when the numbers in that log say a cap would suit you better. Either way, Vana API keeps the setup to one address, three protocols and very little to configure.