Four rates per model, and what each one charges
Input, cache read, cache write and output each have their own price. How one request is billed, step by step, and why the result is rounded up once.
Every model on Cent AI has four prices per million tokens: input, cache read, cache write and output. This post walks through what each one charges and how they add up to the cost of a single request.
The four rates
| Rate | What it charges for |
|---|---|
| Input | Prompt tokens the model reads fresh |
| Cache read | Prompt tokens served from the provider's prompt cache |
| Cache write | Prompt tokens stored in the cache for the next request |
| Output | Tokens the model writes, reasoning tokens included |
Cache read is the cheap one: on Cent AI it is 10% of the model's input rate. Cache write is billed at the input rate, for both the five-minute and the one-hour cache lifetime.
How one request is billed
The usage block of a response tells us how many tokens went where. A response in the OpenAI format looks like this:
{
"prompt_tokens": 12000,
"prompt_tokens_details": { "cached_tokens": 10000 },
"completion_tokens": 800
}
Here 10,000 of the 12,000 prompt tokens came from the cache, so only 2,000 are fresh input. The cost is:
- Fresh input: 2,000 tokens at the input rate.
- Cache read: 10,000 tokens at the cache read rate.
- Output: 800 tokens at the output rate.
The three parts are added in nano-USD, a billionth of a dollar, and the sum is rounded up once for the whole request. Rounding once keeps the bill exact: nobody pays for rounding three times.
The minimum charge
By default, a successful request costs at least $0.00002. Very short requests, a one-word reply to a one-line prompt, can come out below that, and the minimum covers the fixed work every request takes. Failed requests that never reached the model cost nothing.
Try it with real prices
The calculator below uses the same price list as the pricing page. Pick a model and change the mix to see how cache changes the cost.
Cost per request
Estimate
deepseek-v4.1-flashAn estimate at price version 4. Your bill comes from the usage the provider reports for each request.
Save $0.0195Where to see your own numbers
Each response carries usage.cost, the amount charged for that request in USD. The dashboard lists the cost of every request, so you can check any line against the rates on the pricing page.
Sources
- cent-ai.dev/docs/concepts/request-cost (opens in a new tab) · accessed 2026-10-27
- cent-ai.dev/pricing (opens in a new tab) · accessed 2026-10-27
Related posts
- Anthropic prompt caching pricing, worked outpricing · 4 minHow Anthropic's cache write and cache read are priced, which usage fields carry them, and a worked usage.cost example for two requests that share one cached prompt.
- Claude, GPT, Gemini, DeepSeek API prices in rupiahpricing · 4 minHow to read AI API rates per 1 million tokens and convert them to rupiah, with worked examples for one request and one coding session.
- Claude Pro or a prepaid API: a break-even exampleclaude-code · 3 minClaude Pro's price from Anthropic's official pages, the cost of one Claude Code turn on a prepaid API, and a break-even example with every assumption stated.