EN

Language

Our editions

Written for each audience, not translated word for word.

Long context pricing: at how many tokens does an API request get more expensive?

Prices & updatesBy Lucas Matías García TorresUpdated Data checked 5 min read

Reviewed on . How we work.

Leer en español

A data center aisle with streams of small orange data packets flowing between server racks

Short answer

Long context pricing is a higher price per token that applies once a prompt passes a set size. On November 3, 2026, OpenAI's long-context rates started above 272K input tokens and cost twice the input price and 1.5 times the output price; Google did the same above 200k tokens on Gemini 3.1 Pro Preview and Gemini 2.5 Pro; and Anthropic charged five times more on Claude Haiku 5.5 above 100,000 tokens. Anthropic's other models from Claude 4.6 onwards bill their whole 1M-token window at the standard price, and Gemini 4 Argon and DeepSeek have no prompt-length threshold. One request with 300,000 input tokens costs $1.23 on GPT-6.1 Sol instead of $0.62.

Prices and limits change often: check the vendor's page before you pay. How we make money.

Long context pricing is a higher price per token that applies once a request's prompt passes a set size. On November 3, 2026 we read the official price pages of OpenAI, Anthropic, Google and DeepSeek to find each threshold and how much the price jumps. The short answer: above 272K input tokens at OpenAI, above 200k tokens on Google's Gemini Pro models and above 100,000 tokens on Claude Haiku 5.5, while several current models have no threshold at all. If you are not sure how prompt size is measured, start with what a context window is and what a token is.

Thresholds and price jumps

Table: Long context thresholds and prices per million tokens (official price pages, checked November 3, 2026)

Provider Model Higher price starts Input, below / above Output, below / above Jump
OpenAI GPT-6 Astra Over 272K input tokens $10 / $20 $50 / $75 2x input, 1.5x output
OpenAI GPT-6.1 Sol Over 272K input tokens $2 / $4 $10 / $15 2x input, 1.5x output
OpenAI GPT-6.1 Terra Over 272K input tokens $1 / $2 $5 / $7.50 2x input, 1.5x output
OpenAI GPT-6 Luna Over 272K input tokens $0.10 / $0.20 $0.50 / $0.75 2x input, 1.5x output
Google Gemini 3.1 Pro Preview Prompts over 200k tokens $2 / $4 $12 / $18 2x input, 1.5x output
Google Gemini 2.5 Pro Prompts over 200k tokens $1.25 / $2.50 $10 / $15 2x input, 1.5x output
Anthropic Claude Haiku 5.5 Prompts over 100,000 tokens $0.10 / $0.50 $0.50 / $2.50 5x input and output
Anthropic Claude Sonnet 5.5 and Opus 5.5 No threshold within the 1M-token window $2 and $4, same above $10 and $20, same above None
Google Gemini 4 Argon No threshold $2 until November 30, then $4 $10, then $20 None
DeepSeek V4 Pro No threshold; the price changes with the time of day $1.32 at peak times, $0.66 off-peak $3.96 at peak times, $1.98 off-peak None

OpenAI and Google follow the same pattern: past the threshold, input costs twice as much and output 1.5 times as much. Anthropic applies a threshold only to Claude Haiku 5.5, where every price is five times higher. Its other models from Claude 4.6 onwards bill their whole 1M-token window at the standard rate, so a 900k-token request pays the same per token as a 9k-token one.

The cheapest model is not always the cheapest for long prompts. A 150,000-token prompt is already in Claude Haiku 5.5's higher tier, at $0.50 per million input tokens, while GPT-6 Luna still charges its short-context $0.10 until the prompt passes 272K.

What one long request costs

Table: One request with 300,000 input tokens and 2,000 output tokens (our calculation)

Model This request Same request at the short-context price
GPT-6 Astra $6.15 $3.10
Gemini 3.1 Pro Preview $1.24 $0.62
Claude Opus 5.5 $1.24 No threshold
GPT-6.1 Sol $1.23 $0.62
Gemini 2.5 Pro $0.78 $0.40
Claude Sonnet 5.5 $0.62 No threshold
Gemini 4 Argon $0.62 until November 30, $1.24 from December 1 No threshold
DeepSeek V4 Pro $0.40 at peak times, $0.20 off-peak No threshold
Claude Haiku 5.5 $0.16 $0.03
GPT-6 Luna $0.06 $0.03

The figures multiply the input tokens by the input price and the output tokens by the output price, with no caching or batch discount. Each provider counts tokens its own way, so 300,000 tokens is not the same text everywhere: Anthropic says the tokenizer of Claude 4.7 and later models produces approximately 30% more tokens for the same text, which brings a long document closer to Haiku 5.5's threshold. Gemini 4 Argon has no threshold, but Google's page doubles its price on December 1, 2026. For everyday workloads under 200,000 tokens, our API cost calculator does the sums for you.

How the higher price is applied

  • The whole request pays it, not only the extra tokens. Anthropic's page says a request over the threshold pays the higher prices even when part of its prompt is a cache hit. OpenAI's and Google's tables give a single long-context rate per token, which we read the same way.
  • Output gets more expensive too. The threshold is measured on the prompt, but the output price rises with it: 1.5 times at OpenAI and Google and five times on Haiku 5.5.
  • Caching lowers the bill but does not keep you under the threshold. Cached input has its own long-context price at OpenAI ($0.20 instead of $0.10 on GPT-6.1 Sol) and Google ($0.40 instead of $0.20 on Gemini 3.1 Pro Preview), and Anthropic counts cache reads and writes toward Haiku 5.5's 100,000 tokens. See how prompt caching works.
  • Batch halves both tiers. OpenAI, Google and Anthropic charge half price in batch mode on either side of the threshold, so a long batch request still costs more than a short one. Our guide to the Batch API explains when waiting for the answer is worth it.

How to stay under the threshold

These are our suggestions, not the providers':

  1. Send the parts that matter. Retrieval sends only the relevant passages of a long document instead of all of it; see what RAG is.
  2. Watch the conversation history. Chat apps and agents that resend the whole history with every request can cross a threshold halfway through a task. Trimming or summarising old turns keeps each request smaller.
  3. Pick a model without a threshold for very long prompts. If you regularly send several hundred thousand tokens, Claude Sonnet 5.5 and Opus 5.5 charge the same rate per token at 300,000 tokens as at 3,000.
  4. Check the price page before a big job. Thresholds and prices change; our pages on OpenAI API pricing, Gemini API pricing and Claude API pricing cover each provider in more detail.

How we checked

On November 3, 2026 we read OpenAI's pricing page (Standard and Batch tables), Anthropic's pricing page (model prices, batch processing and long context pricing), Google's Gemini Developer API pricing page (paid tier) and DeepSeek's models and pricing page. The cost of the example request is our own calculation from those prices, without taxes, caching or batch discounts. We did not send any requests to the APIs.

What we checked

  • OpenAI's pricing page defines short context as up to 272K input tokens and long context as more than 272K input tokens. In its Standard table, gpt-6-astra costs $10 per million input tokens, $1 cached and $50 output, and $20, $2 and $75 in long context; gpt-6.1-sol $2, $0.10 and $10, and $4, $0.20 and $15; gpt-6.1-terra $1, $0.05 and $5, and $2, $0.10 and $7.50; gpt-6-luna $0.10, $0.01 and $0.50, and $0.20, $0.02 and $0.75. The Batch table halves both tiers, for example $1 and $5 short and $2 and $7.50 long for gpt-6.1-sol. (OpenAI, )
  • Anthropic's pricing page lists Claude Haiku 5.5 at $0.10 per million input tokens, $0.01 for cache hits and $0.50 for output for prompts up to 100,000 tokens and at $0.50, $0.05 and $2.50 for prompts over 100,000 tokens, with batch prices of $0.05 and $0.25 below the threshold and $0.25 and $1.25 above it; Claude Sonnet 5.5 costs $2 per million input tokens and $10 output, Claude Opus 5.5 $4 and $20 and Claude Fable 5.1 $10 and $50. (Anthropic, )
  • The same page says Claude 4.6 and later models, except Claude Haiku 5.5, and Claude Mythos Preview include the full 1M token context window at standard pricing, so a 900k-token request is billed at the same per-token rate as a 9k-token request; for Claude Haiku 5.5 the prompt length counts all input tokens, including cache reads and cache writes, and a request over the threshold pays the higher prices even when part of its prompt is a cache hit; the 1.1x multiplier for US-only inference also applies to those higher prices; and Claude 4.7 and later models use a tokenizer that produces approximately 30% more tokens for the same text. (Anthropic, )
  • Google's Gemini Developer API pricing page lists, on the paid tier, Gemini 3.1 Pro Preview at $2.00 per million input tokens for prompts up to 200k tokens and $4.00 above, $12.00 and $18.00 for output including thinking tokens and $0.20 and $0.40 for context caching, with Batch at $1.00 and $2.00 for input and $6.00 and $9.00 for output; Gemini 2.5 Pro at $1.25 and $2.50 for input and $10.00 and $15.00 for output; and Gemini 4 Argon at a single price of $2.00 for input and $10.00 for output through November 30, 2026 and $4.00 and $20.00 from December 1, 2026. (Google, )
  • DeepSeek's pricing page lists prices that change with the time of day, not with prompt length: DeepSeek-V4-Pro costs $1.32 per million cache-miss input tokens and $3.96 per million output tokens at peak times and $0.66 and $1.98 off-peak, and deepseek-flash costs $0.30 and $1.20 at peak times and $0.15 and $0.60 off-peak. (DeepSeek, )

What may change

  • Prices and thresholds change often: Gemini 4 Argon doubles its price on December 1, 2026 and Gemini 3.1 Pro is still a preview. The request costs are our own calculation. This page is reviewed every month.

Frequently asked questions

Which models have no long context surcharge?

Anthropic's models from Claude 4.6 onwards, except Haiku 5.5, bill the full 1M-token window at standard prices. Gemini 4 Argon and DeepSeek have no prompt-length threshold either.

Sources

  1. OpenAI API pricing: flagship Standard, Flex/Batch, Fast, Ultrafast and long-context tables, image generation (gpt-image-2.5), realtime, transcription, tools and embeddings, OpenAI. Accessed November 3, 2026.
  2. Claude API pricing: model and batch prices, long context pricing (Claude Haiku 5.5 over 100,000 tokens) and tokenizer note, Anthropic. Accessed November 3, 2026.
  3. Gemini Developer API pricing: paid tier, Standard and Batch, prompts up to and over 200k tokens, Google. Accessed November 3, 2026.
  4. DeepSeek API: models and pricing (peak and off-peak rates), DeepSeek. Accessed November 3, 2026.

Spotted an error or an outdated price? Tell us and we will fix it.

Change history

  • : First published. Checked against the price pages of OpenAI, Anthropic, Google and DeepSeek on November 3, 2026.

Next review: .

Part of our LLM APIs & Costs guide.

Other topics