Pricing rules · checked November 23, 2026
Long-context and peak-hour pricing for LLM APIs
The price per million tokens isn't always fixed. Some models charge more once a prompt passes a size limit, and DeepSeek charges more at certain hours of the day. Here are the rules for every model on our rate card, from each provider's official pricing page.
Long-context surcharges
These models switch to a higher rate when the prompt is long. At OpenAI, Anthropic and xAI the higher rate then applies to the whole request, not only to the tokens above the limit. Google doesn't say how it applies its threshold.
| Model | Higher rate applies to | Standard in / out | Long in / out | Long cached | Increase |
|---|---|---|---|---|---|
| Claude Haiku 5.5 | Prompts over 100,000 tokens | $0.10 / $0.50 | $0.50 / $2.50 | $0.050 | 5× input and output |
| Gemini 3.1 Pro | Prompts over 200,000 tokens | $2.00 / $12.00 | $4.00 / $18.00 | $0.40 | 2× input, 1.5× output |
| GPT-6 Astra | Prompts over 272,000 tokens | $10.00 / $50.00 | $20.00 / $75.00 | $2.00 | 2× input, 1.5× output |
| GPT-6.1 Sol | Prompts over 272,000 tokens | $2.00 / $10.00 | $4.00 / $15.00 | $0.20 | 2× input, 1.5× output |
| GPT-6 Luna | Prompts over 272,000 tokens | $0.10 / $0.50 | $0.20 / $0.75 | $0.020 | 2× input, 1.5× output |
| Grok 4.7 | Prompts of 200,000 tokens or more | $2.00 / $6.00 | $4.00 / $12.00 | $1.00 | 2× input and output |
| Grok 4.3 | Prompts of 200,000 tokens or more | $1.25 / $2.50 | $2.50 / $5.00 | $0.40 | 2× input and output |
| Grok Build 0.1 | Prompts of 200,000 tokens or more | $1.00 / $2.00 | $2.00 / $4.00 | $0.40 | 2× input and output |
How each provider handles long prompts
- Anthropic: Only Claude Haiku 5.5 has a long-context rate. When a prompt is over 100,000 tokens, the whole request is billed at the higher rates. Cache reads and cache writes count toward the 100,000 tokens. Other Claude 4.6 and later models bill their full 1M-token context window at standard prices. Source ↗
- OpenAI: GPT-6 Astra, GPT-6.1 Sol and GPT-6 Luna: prompts with more than 272,000 input tokens are billed at 2× the input and cached input rates and 1.5× the output rate, for the full request. GPT-5.3 Codex has no long-context rate listed. Source ↗
- Google: Only Gemini 3.1 Pro (preview) has a long-prompt tier: prompts over 200,000 tokens cost $4 / $18 instead of $2 / $12, and cache reads $0.40 instead of $0.20. Gemini 4 Argon and the Flash and Flash-Lite models have one price at any prompt length. Source ↗
- xAI: Once a prompt reaches 200,000 tokens, all tokens in the request are billed at the long-context rate, which is 2× standard on Grok 4.7, Grok 4.3 and Grok Build 0.1. Source ↗
- DeepSeek: No long-context surcharge is listed. Prices depend on the time of day instead (see peak hours below). Source ↗
- Mistral: The pricing page lists no long-context rate for Mistral Large. Source ↗
Every threshold is measured on the prompt: your system prompt, chat history and documents (Anthropic says cache reads and writes count too). A long answer doesn't trigger the higher rate; a long prompt does.
Peak-hour pricing
DeepSeek
Peak hours are 01:00–04:00 and 06:00–10:00 UTC, Monday to Friday. All other hours are off-peak, including weekends and Chinese public holidays in full. Peak rates are 2× the off-peak rates. Source ↗
| Model | Off-peak: input / cached / output | Peak: input / cached / output |
|---|---|---|
| DeepSeek V4.1 Flash | $0.15 / $0.003 / $0.60 | $0.30 / $0.006 / $1.20 |
| DeepSeek V4 Pro | $0.66 / $0.022 / $1.98 | $1.32 / $0.044 / $3.96 |
None of the other providers on our rate card (Anthropic, OpenAI, Google, xAI, Mistral) charges different prices by time of day. Several of them sell priority processing at a higher price (xAI bills it at 2× standard rates) and cheaper batch or flex processing. Those are tiers you choose per request, not times of day.
See the difference on a long workload
The calculator starts at 1,000 requests a month with 300,000 input tokens each, so every long-context rate above applies. Lower the input tokens to see the standard prices return.
Start from a use case
1,000 tokens is about 750 English words. Input includes your system prompt, chat history and any retrieved documents.
How to avoid paying the higher rate
- Stay under the threshold. Retrieve only the passages you need instead of sending whole documents, and trim old chat history.
- Split long jobs. Several requests under the limit can cost less than one request over it, because the surcharge applies to the whole request.
- Cache what repeats. Cached input stays much cheaper than fresh input, even at long-context rates.
- Schedule DeepSeek jobs off-peak. Batch work run at weekends or outside 01:00–04:00 and 06:00–10:00 UTC, Monday to Friday costs half as much.