Source-backed AI Wiki tool

AI API cost and context planner

Estimate per-request, monthly, and annual API costs from official prices, and check that the request fits the context window.

No API key · Latest fact review 2026-10-08; dates vary by field

A planning estimate, not a quote or invoice. Check the selected model's effective dates and caveats, and confirm the current provider price before committing a budget.

Your model workspace

Select models to compare, estimate costs, and check deployment options.

Model and workload

Selected model pricing checked 2026-10-08.

Calculated in your browser. Settings are included in the page URL and shared between tools: anyone with that URL can see them, and opening it sends the URL to AI Wiki. Do not enter confidential workload details.

Presets (illustrative defaults, not provider guidance)

GPT-6.1 Sol: $1,111.00 / month

1,000 requests x 22 working days, $0.0505 per request. Planning estimate, not a quote. Full estimate and sources

Pricing mode

A published cached-input rate is applied only to the cached subset. Otherwise those tokens use the regular input rate.

Selected estimate

GPT-6.1 Sol

gpt-6.1-sol

Change model

Per request

$0.0505

22K total tokens

Per month

$1,111.00

22K requests (1,000 x 22 working days)

Per year

$13,332.00

12 equal months

Cost composition

Input
$0.0305
Output
$0.0200
Cache read savings
-$0.009500

Cache writes bill at $2.50 per 1M and are not modeled here. OpenAI bills prompt-cache writes at 1.25x the uncached input rate.

Published rates

Input / 1M
$2.00
Output / 1M
$10.00
Cached input / 1M
$0.1000

Context and output fit

22K combined input + requested output

2.1% used

Context: 1.05M

Max output: 128K

1.02M context tokens remain before the published window limit.

ActiveRates effective Sep 29, 2026

Cached input is billed at 5 percent of the input rate, half of GPT-6 Sol's cached price. Flex is priced like Batch, Fast mode costs 2x Standard, and regional processing adds 10 percent where available.

Does not accept the none or minimal reasoning efforts, and tool calling requires the Responses API (Chat Completions works without tools).

Ranked comparison

Compare sourced API prices

Sorted by estimated monthly cost. Select a row to inspect its rates and constraints above. Deprecated and retired models are hidden until you widen the lifecycle filter.

API model costs for the entered workload, ranked by monthly estimate
ModelPer requestPer monthContext fitSource
Muse Spark 1.3 (Contributor tier)$0.001910$42.022.1%Official
Gemini 2.5 Flash-Lite$0.002350$51.702.1%Official
Claude Haiku 5.5$0.002550$56.102.2%Official
GPT-6 Luna$0.002550$56.102.1%Official
Mistral Small 4$0.003525$77.558.6%Official
GPT-5.6 Luna$0.005500$121.002.1%Official
DeepSeek-V4.1-Flash$0.006930$152.462.2%Official
Gemini 3.5 Flash-Lite$0.009650$212.302.1%Official
Gemini 2.5 Flash$0.009650$212.302.1%Official
Mistral Large 3$0.0108$236.508.6%Official
Gemini 3.6 Flash$0.0191$420.752.1%Official
Gemini 3.8 Flash$0.0191$420.752.1%Official
Gemini 3.7 Flash$0.0191$420.752.1%Official
Grok Build 0.1$0.0200$440.008.6%Official
GPT-5.4-mini$0.0206$453.755.5%Official
Grok 4.3$0.0248$544.502.2%Official
Claude Haiku 4.5$0.0255$561.0011%Official
DeepSeek-V4-Pro$0.0279$614.682.2%Official
Muse Spark 1.3$0.0280$616.002.1%Official
Mistral Large 4$0.0295$648.122.2%Official
Mistral Medium 3.5$0.0383$841.508.6%Official
Gemini 2.5 Pro$0.0394$866.252.1%Official
Gemini 3.5 Flash$0.0413$907.502.1%Official
Grok 4.5$0.0435$957.004.4%Official
Grok 4.7$0.0445$979.004.4%Official
Grok 4.6$0.0445$979.004.4%Official
Claude Sonnet 5.5$0.0505$1,111.002.2%Official
GPT-6.1 Sol$0.0505$1,111.002.1%Official
Claude Sonnet 5$0.0510$1,122.002.2%Official
GPT-6 Sol$0.0510$1,122.002.1%Official
GPT-5.6 Terra$0.0550$1,210.002.1%Official
Gemini 3.1 Pro Preview$0.0550$1,210.002.1%Official
GPT-4o$0.0638$1,402.5017%Official
GPT-5.4$0.0688$1,512.502.1%Official
Claude Sonnet 4.6$0.0765$1,683.002.2%Official
Claude Opus 5.5$0.1010$2,222.002.2%Official
GPT-5.6 Sol$0.1020$2,244.002.1%Official
Claude Opus 4.8$0.1275$2,805.002.2%Official
Claude Opus 4.7$0.1275$2,805.002.2%Official
Claude Opus 4.6$0.1275$2,805.002.2%Official
Claude Opus 4.5$0.1275$2,805.0011%Official
Claude Opus 5$0.1275$2,805.002.2%Official
GPT-5.5$0.1375$3,025.002.1%Official
Claude Fable 5.1$0.2513$5,527.502.2%Official
Claude Mythos 5.1$0.2513$5,527.502.2%Official
Claude Fable 5$0.2550$5,610.002.2%Official
Claude Mythos 5$0.2550$5,610.002.2%Official
GPT-6 Astra$0.2550$5,610.002.1%Official
Model facts reviewed Oct 8, 2026. When input crosses a documented long-context threshold, the whole request is billed at the tier rates, in Batch mode too (batch rates scale by the provider's tier multipliers). Announced successor rates blend into the monthly and yearly projections. Estimates exclude taxes, minimum commitments, cache-write and cache-storage fees, web search, tools, grounding, fine-tuning, and provider-specific regional or partner-platform charges.

Transparent methodology

What the estimate includes

01

Split input correctly

Cached tokens are carved out of total input. In Standard mode, only that subset receives a recorded cache rate; Batch uses its own published input rate. Published cache-write fees are disclosed, not silently added.

02

Scale request volume

Input cost and output cost form a per-request estimate. Requests per day multiplied by working days produces the monthly volume, and announced price changes blend into the monthly and yearly projections.

03

Check the constraints

Input plus requested output is compared with the context window, and crossing a documented long-context threshold moves the whole request to the provider's tier rates. Output is also checked independently when the provider publishes a separate maximum.

Common questions

AI API pricing FAQ

How is monthly AI API cost calculated?

The calculator multiplies the selected model's published per-million-token input and output rates by your tokens per request, then multiplies the request estimate by requests per working day and working days per month. When a provider has announced a dated price change, such as introductory pricing with a published end date, the monthly and yearly projections blend the current rates with the announced successor rates across that horizon; the per-request figure always uses today's rates.

Are cached input tokens added to regular input tokens?

No. Cached input is treated as a subset of the total input. The cached subset receives a published cached-input rate when one is recorded; otherwise it receives the ordinary input rate. Cache reads are not the whole story: several providers also bill to write cache entries, so the calculator shows the model's published cache-write prices beside the savings row without adding them to the estimate. DeepSeek publishes cache-hit and cache-miss input prices rather than a write fee, and the tool labels its savings row accordingly.

Does Batch always cost half as much?

No. Batch mode appears only when the model registry contains official Batch input and output rates. The calculator does not assume a percentage discount, combine Batch with a cached-input discount, or infer missing prices. Documented long-context tiers still apply in Batch mode, scaling the published batch rates by the provider's tier multipliers.

Does the estimate include every provider fee?

No. It covers the recorded text-token prices, documented long-context tiers, and announced successor rates. Taxes, regional pricing, minimum commitments, cache-write and cache-storage fees, searches, grounding, tools, fine-tuning, media, partner platforms, and other feature charges may change the actual bill.