
Text models have three prices: input, output and cached input. Cached input is input text the model had already read and is now read from the cache. Those tokens are charged at a lower price, cached_input, instead of the normal input price.
Where the cache price is
The Models tab shows input and output. The cache price comes in GET /v1/models, in the pricing.cached_input field, in credits per million tokens. Two examples from the documentation:
| Model | Input | Cached input |
| deepseek-ai/deepseek-v4-flash | 56 | 11.2 |
| moonshotai/kimi-k2.6 | 380 | 64 |
These values are examples and can change: the current ones are always in GET /v1/models.
How much you save
With the example prices, 8,000 input tokens on deepseek-ai/deepseek-v4-flash cost 8,000 × 56 / 1,000,000 = 0.448 credits at the normal price. If they come from the cache, they cost 8,000 × 11.2 / 1,000,000 = 0.0896.
Where you see the cache used
| Where | The field |
| All in One AI History | "Cached tokens", in the details of each request. |
| Chat Completions (OpenAI SDK) | usage.prompt_tokens_details.cached_tokens |
| Messages format (Claude Code) | usage.cache_read_input_tokens |
| Responses format (Codex) | usage.input_tokens_details.cached_tokens |
When it shows up
You do not ask for the cache in a request field: when there is some, it comes in the response count. It usually shows up when several requests start with the same text: the same instructions, the same document or a conversation that keeps growing. So it helps to keep that beginning the same from one request to the next. With a Coding Plan, cache tokens also count points, at the model's value.
| Not every request gets the cache, and we cannot guarantee it. Do your sums with the normal input price and check the real saving in History. |
|
Want to see the cached tokens of each request? Open History. See All in One AI |
RECOMMENDED PRODUCT Web hosting with cPanel Domain and SSL included, daily backups and the panel you already know. from ₦9,900.00/mo (3-year plan, with coupon) See plans |











