Skip to content
CodexPal
AI tools · checked November 12, 2026

AI model prices,
side by side.

Public API list prices for 17 current text models, each linked to the provider’s own pricing page.

How to read the table

Three prices matter for most apps.

Input is what you send. Cached input is the lower rate for a repeated prompt prefix the provider has stored. Output is what the model writes, including billed reasoning tokens. Prices are in US dollars per one million tokens. Among the listed models, GPT-6 Luna has the lowest combined input and output list price, but the right model is the cheapest one that passes your own quality test.

ModelTierInputCached inputOutputNotes
GPT-6 Astragpt-6-astraFrontier$10.00$1.00$50.00Over 272,000 input tokens: $20.00 in / $75.00 out.
GPT-6.1 Solgpt-6.1-solBalanced$2.00$0.10$10.00Over 272,000 input tokens: $4.00 in / $15.00 out.
GPT-6.1 Terragpt-6.1-terraBalanced$1.00$0.05$5.00Over 272,000 input tokens: $2.00 in / $7.50 out.
GPT-6 Lunagpt-6-lunaFast & low-cost$0.10$0.01$0.50Over 272,000 input tokens: $0.20 in / $0.75 out.
GPT-5.4 minigpt-5.4-miniFast & low-cost$0.75$0.075$4.50—

Batch API: Batch and Flex rates are listed at about half the Standard rate.

ModelTierInputCached inputOutputNotes
Claude Fable 5.2claude-fable-5-2Frontier$8.00$0.20$40.00—
Claude Opus 5.5claude-opus-5-5Frontier$4.00$0.20$20.00—
Claude Sonnet 5.5claude-sonnet-5-5Balanced$2.00$0.10$10.00—
Claude Haiku 5.5claude-haiku-5-5Fast & low-cost$0.10$0.01$0.50Over 100,000 input tokens: $0.50 in / $2.50 out.

Batch API: The Batch API gives a 50% discount on input and output tokens.

ModelTierInputCached inputOutputNotes
Gemini 4 Carbongemini-4-carbonFrontier$2.00$0.10$10.00From December 1, 2026: $4.00 in / $20.00 out.
Gemini 3.1 Pro (preview)gemini-3.1-pro-previewFrontier$2.00$0.20$12.00Over 200,000 input tokens: $4.00 in / $18.00 out.Context caching also has an hourly storage charge.
Gemini 3.8 Flashgemini-3.8-flashBalanced$0.75$0.075$3.75From January 1, 2027: $1.50 in / $7.50 out.Context caching also has an hourly storage charge.
Gemini 3.5 Flash-Litegemini-3.5-flash-liteFast & low-cost$0.30$0.03$2.50Context caching also has an hourly storage charge.
Gemini 3.1 Flash-Litegemini-3.1-flash-liteFast & low-cost$0.25$0.025$1.50Text, image and video input price. Audio input costs more.

Batch API: The Batch API is listed at a 50% cost reduction.

ModelTierInputCached inputOutputNotes
DeepSeek V4 Prodeepseek-v4-proBalanced$1.32$0.044$3.96—
DeepSeek Flashdeepseek-flashFast & low-cost$0.30$0.006$1.20—

Off-peak hours: Off-peak rates are half the peak rates. Peak is 01:00–04:00 and 06:00–10:00 UTC, Monday to Friday.

ModelTierInputCached inputOutputNotes
Mistral Largemistral-largeBalanced$0.50—$1.50The public page lists no separate cached-input rate for this model.

Batch processing: Batch processing is listed at a 50% reduction.

USD per 1 million tokens, standard tier, checked November 12, 2026. Selected current text models, not every model or tier a provider offers. DeepSeek prices are peak-hour rates. Confirm prices on the provider’s page before you commit a budget.

Price is not the whole cost

Compare on your own task.

A cheaper model that needs two retries or a human fix can cost more than a stronger one. Run the same small set of real tasks through two or three candidates. Record accuracy, output length and latency alongside the token bill.

Read: a checklist for choosing an LLM API →
Plan for change

Prices and models move.

Providers publish price increases, retire model names and route old names to new models. Pin a model version in production, watch the provider’s deprecation notices and re-check this table before renewing a budget.

Read: handling deprecations and price changes →