Long-context pricing calculator
Enter prompt sizes and request counts to compare the cost at each billing tier. Choose a dated API preset or custom prices; the table also shows the exact threshold boundary.
Results
- Distribution total (USD)
- $31.700000
- Weighted cost per request
- $0.031700
- Difference from all-standard-rate baseline
- $21.200000
- Cost increase: threshold to threshold + 1
- $0.042000
| Scenario | Input tokens | Requests | Rate tier | USD / request | Cohort USD |
|---|---|---|---|---|---|
| Boundary comparison | 99,999 | 1 | Standard | $0.010500 | — |
| Boundary comparison | 100,000 | 1 | Standard | $0.010500 | — |
| Boundary comparison | 100,001 | 1 | Higher | $0.052501 | — |
| Distribution | 99,000 | 500 | Standard | $0.010400 | $5.200000 |
| Distribution | 101,000 | 500 | Higher | $0.053000 | $26.500000 |
- Higher rates apply to the whole request, not only excess tokens. Output does not trigger the threshold.
- Uncached token charges only: no cache writes, discounts, tools, taxes or regional premiums. This is a billing comparison, not a context-fit check.
- Presets checked 2026-11-14; review due 2026-12-14. Custom prices are your assumptions.
Prices change often. We list the date we last checked each price; confirm on the provider’s official pricing page before you budget.
How it works
Each row represents requests of one input size. Compare that size with the threshold, then apply the selected tier to every input and output token in the request.
request cost = (input tokens × input price + output tokens × output price) ÷ 1,000,000
total = sum(request cost × requests)
weighted average = total ÷ total requests
The Claude pricing page sets Haiku 5.5’s threshold at 100,000 input tokens: equality keeps the lower tier. Standard input/output prices are $0.10/$0.50 per million, rising to $0.50/$2.50 above the threshold. GPT-6.1 Sol’s model page sets its threshold at 272,000: $2/$10 becomes $4/$15 above it. These are standard global API prices checked November 14, 2026.
The baseline applies lower prices to the same distribution. It is a comparison, not an available discount. Boundary rows are illustrative and are not added to the distribution total. Rounding: no intermediate rounding; USD results use six decimal places.
Worked examples
One token crosses the Haiku 5.5 boundary
With 1,000 output tokens, 100,000 input tokens cost $0.010500. At 100,001 input tokens the cost is $0.0525005, displayed as $0.052501. The whole request uses the higher tier.
A mixed distribution instead of an average prompt
At Haiku 5.5 rates with 1,000 output tokens, 500 requests of 99,000 input tokens cost $5.20; 500 requests of 101,000 cost $26.50. Total: $31.70, or $0.0317 per request. Applying lower rates to every row would give $10.50.
Frequently asked questions
Is only the part above the threshold charged more?
Does generated output trigger long-context pricing?
Can I include prompt caching?
How do I edit a preset’s prices?
Does a low price mean the prompt fits the model?
Sources
- Claude pricing — model pricing and long context (checked 2026-11-14)
- GPT-6.1 Sol — API pricing and threshold (checked 2026-11-14)
Last reviewed 2026-11-14; next review due by 2026-12-14. The method is written out above so you can check our math.