Executive briefing
The argument at a glance.
Token prices are quoted per million input and output tokens. Count each model call, including follow-up calls made by agents. Use billing usage records for reconciliation.
At 10 million uncached input and 2 million output tokens, GPT-6.2 Sol costs $40 and Astra costs $160 at the listed rates. Whether either is cheaper per approved report depends on how often it succeeds.
This comparison covers selected major direct text APIs. Hosted open weights also incur provider charges, while local inference moves spending to hardware, power and operation. Consumer subscription fees follow separate terms.
01 · Price comparison
Compare the same kind of request
| Model and tier | Uncached input | Output | Example bill¹ |
|---|---|---|---|
| GPT-6 Luna[T1] | $0.05 | $0.25 | $1.00 |
| GPT-6.2 Sol[T1] | $2 | $10 | $40.00 |
| GPT-6.1 Sol[T1] | $2 | $10 | $40.00 |
| GPT-6.2 Astra[T1] | $8 | $40 | $160.00 |
| GPT-6 Astra[T1] | $10 | $50 | $200.00 |
| Claude Haiku 5.5[T2] | $0.1 | $0.5 | $2.00 |
| Claude Sonnet 5.5[T2] | $2 | $10 | $40.00 |
| Claude Opus 5.5[T2] | $4 | $20 | $80.00 |
| Claude Fable 5.2[T2] | $8 | $40 | $160.00 |
| Gemini 3.8 Flash[T3] | $0.75 | $3.75 | $15.00 |
| Gemini 4 Neon[T4] | $3 | $15 | $60.00 |
| Gemini 4 Carbon[T5] | $4 | $20 | $80.00 |
| Grok 4.7[T6] | $2 | $6 | $32.00 |
| DeepSeek V4.1 Flash · peak[T7] | $0.3 | $1.2 | $5.40 |
| DeepSeek V4.1 Flash · off-peak[T7] | $0.15 | $0.6 | $2.70 |
| DeepSeek V4 Pro · peak[T7] | $1.32 | $3.96 | $21.12 |
| DeepSeek V4 Pro · off-peak[T7] | $0.66 | $1.98 | $10.56 |
| GLM-5.3[T8] | $1.4 | $4.4 | $22.80 |
| GLM-5.3-Flash[T8] | $0.15 | $0.5 | $2.50 |
| GLM-5.3-FlashX[T8] | $0.37 | $1.25 | $6.20 |
| Qwen4-Max · Global[T9] | $1.413 | $4.24 | $22.61 |
| Qwen3.8-Max · Global[T9] | $1.65 | $4.951 | $26.40 |
¹ Each example uses 10 million uncached input tokens and 2 million output tokens distributed across short requests. The table uses standard processing, short text contexts and list USD prices before tax, excluding negotiated discounts, caching, tools and storage. DeepSeek rows explicitly identify its time-based rates. Model revisions and alternative hosts can carry different tariffs.
What an identical token budget buys at selected rates
02 · Billing rules
How to read a token bill
A token is a unit assigned by the model’s tokenizer. It can be punctuation, a word fragment, or a longer sequence. Turkish text, source code and English prose can produce different counts for similar character lengths. Use the tokenizer or count endpoint for the selected model when planning. Reconcile the actual bill against its usage record, including reasoning tokens when billed as output.
Multiply each mutually exclusive token bucket by its rate per million and divide by one million. Split input into uncached reads, cache writes and cache hits according to the provider’s billing definitions. Some providers report cached tokens as a subset of total input. Subtract that subset before charging the regular input rate. Add paid tool calls, storage and other charges. Retain billing currency and date before making cross-provider comparisons.[T1][T2][T3]
GPT-6.2 Sol lists a short-context cache hit at $0.10 per million, versus $2 for uncached input. If the same 1M input is reported as 800k hits and 200k ordinary input, that input costs $0.48 before any cache-write charges. Adding 100k output tokens at $10 per million adds $1.00. The example assumes an already populated cache. A cache write, cache expiry or a change near the start of the prompt can alter the economics.[T1]
03 · Rate exceptions
Promotions, timing and context thresholds
Google’s Carbon introduction advertised $2 input and $10 output per million through 30 November. The announced subsequent rate is $4 and $20. Gemini 3.8 Flash has separate promotional pricing through 31 December. Gemini 4 Neon lists $3 and $15. Check the selected API and date before setting a customer quote.[T3][T4][T5]
DeepSeek has peak windows from 01:00–04:00 and 06:00–10:00 UTC on weekdays excluding Chinese public holidays. The off-peak rates listed here are half its peak rates. Grok 4.7 has a higher rate for contexts of 200k or more. Haiku’s displayed input band applies up to 100k. OpenAI also has context bands and processing tiers. A long request can cross a threshold that changes the rate for the request. Batch, fast, cache storage and regional rules vary by service.[T1][T2][T6][T7]
04 · Budget controls
Where to cut cost without losing the work
For an ImageFirm research article, use a deterministic extractor for tables and URLs, a small model for tagging, and a stronger model for unresolved comparisons or synthesis. Retrieve the current source fragments and their citations. Send only the relevant passages, a compact brief and the output specification. Keep the long original available for audit. Repeating every old draft in every chat turn can make a cheap model expensive.
Keep stable instructions at the front when the provider caches prompt prefixes. Place changing source fragments after them. Ask for the required output length, cap unnecessary tool loops, and send independent low-urgency work to a supported batch tier. Tag model, version, processing tier, token buckets, cache hits, retries, tool expenditure, reviewer minutes, elapsed time and final disposition. If a job times out, check whether it completed before retrying.
Replay a representative set of simple, ambiguous and exception-heavy cases with a quality rubric. Compare total spend divided by accepted cases at equivalent accuracy, including the cost of incorrect results that slipped through. Track the worst slow or expensive cases in addition to the average. Route only the classes that benefit from premium reasoning to the expensive tier, then retest after model or tariff changes.
05 · Related articles
Read the rest of the series
Open these companion articles from the same folder in the collection.
Use the analysis
Calculate cost per accepted deliverable
Use measured average token counts per attempt. Enter a separate run for each model, tariff or context band. Include tools, cache charges, infrastructure and review in other costs if applicable.
This tool runs locally. Its inputs are not transmitted or saved after reload.
Source register
Inspect the evidence.
Follow the linked references and read the source notes for context and limitations.
No matching references. Clear the search or change the evidence class.
-
[T8]
Model pricing
Z.AI · Checked 2 December 2026
Latest models, text token list rates.
Company documentation -
[T9]
Model inference prices
Alibaba Cloud · Checked 2 December 2026
Selected Global deployment rates, USD per million.
Company documentation -
[T1]
API pricing
OpenAI · Checked 2 December 2026
Standard short-context text rates, processing and cache tiers.
Company documentation -
[T2]
Prompt caching and per-model prices
Anthropic · Checked 2 December 2026
Model-specific input, output and cache billing.
Company documentation -
[T3]
Gemini Developer API pricing
Google · Checked 2 December 2026
Paid Standard tier and date-dependent Flash pricing.
Company documentation -
[T4]
Introducing Gemini 4 Neon
Google · Checked 2 December 2026
Announced input and output prices.
Company documentation -
[T5]
Gemini 4 Carbon availability
Google · Checked 2 December 2026
Pricing footnote gives promotional expiry and following tariff.
Company documentation -
[T6]
API pricing
xAI · Checked 2 December 2026
Model and context-tier rates.
Company documentation -
[T7]
Models and pricing
DeepSeek · Checked 2 December 2026
Peak and off-peak rates, UTC windows, cache handling.
Company documentation
Sources reviewed 2026-12-02. External references may change after review.