DevTk.AI

AI Model Pricing Calculator

Compare cost per task and monthly spend across every tracked AI model, with cache hit rate, Batch API rates and agent workload presets.

Workload type

Multiplies the token counts you enter. The 4× and 15× presets are Anthropic’s reported averages for agents and multi-agent systems compared with chat (Anthropic Engineering, June 2025). They are assumptions, not a measurement of your workload. Keep 1× if your numbers already come from agent runs.

100,000 tokens/day

50,000 tokens/day

Largest single prompt. Switches to long-context rates at published thresholds

Input token split

Split your input tokens into cache reads, cache writes and uncached input. Coding agents resend the same long context, so cache reads and writes can be most of the bill.

Billed at the model’s cached-input (cache read) price. Models without one bill reads at the full input rate.

Billed at the model’s cache-write price (the shortest listed cache lifetime, e.g. Anthropic 5-minute, OpenAI 30-minute). Models without one bill writes as normal input.

Uncached input100%

The rest of your input, billed at the normal input rate. Reads + writes cannot exceed 100%.

Share of all tokens (per day, 150,000 tokens)

  • Uncached input100,000(67%)
  • Cache writes0(0.0%)
  • Cache reads0(0.0%)
  • Output50,000(33%)

15 of the models shown have a batch rate recorded in our price data (the 50% discount listed on each provider’s pricing page); toggle them per row in the table. The toggle is disabled for the rest: no record does not mean the provider has no batch API. Batch is asynchronous, so it does not suit interactive chat. Turning Batch on for all models switches the background window off.

OpenAI background completion windowBeta

Off by default. Only for GPT-6.2 Astra, GPT-6.2 Sol, GPT-6.1 Terra, GPT-6 Luna: OpenAI prices background Responses API requests 30% below Standard with a 2-hour completion window and 40% below with an 8-hour window (public beta). Applied to every token rate, including cache reads and writes, and never to other models. It does not combine with Batch: choosing a window turns Batch off for these models. Standard requests can’t reuse prompt cache created by background requests. OpenAI docs, checked 2026-11-20

Example scenarios

Filter by Provider
Showing 85 of 85 modelsPrices updated: 2026-11-20 · cache read/write: 0%/0% · multiplier: 1× · request input: 100,000
GLM-4.7-FlashCheapest
Z.AI
$0.00
/month
Input $/1M
$0.00
Output $/1M
$0.00
Context
200,000
Batch
No batch rate
Amazon Nova Micro
Amazon
$0.3150
/month
Input $/1M
$0.035
cached $0.00875
Output $/1M
$0.14
Context
128,000
Batch
No batch rate
Ministral 3 3B
Mistral
$0.4500
/month
Input $/1M
$0.1
Output $/1M
$0.1
Context
256,000
Batch
No batch rate
Amazon Nova Lite
Amazon
$0.5400
/month
Input $/1M
$0.06
cached $0.015
Output $/1M
$0.24
Context
300,000
Batch
No batch rate
Tencent Hy4 Flash
List price
Limited-time 50% off: $0.035 input / $0.0015 cached / $0.1405 output
Tencent
$0.6315
/month
Input $/1M
$0.07
cached $0.003
Output $/1M
$0.281
Context
1,000,000
Batch
No batch rate
Ministral 3 8B
Mistral
$0.6750
/month
Input $/1M
$0.15
Output $/1M
$0.15
Context
256,000
Batch
No batch rate
Qwen Flash
Alibaba
$0.7500
/month
Input $/1M
$0.05
cached $0.01
write $0.063
Output $/1M
$0.4
Context
1,000,000
Batch
No batch rate
Xiaomi MiMo-V2.6-Flash
Xiaomi MiMo
$0.8400
/month
Input $/1M
$0.14
cached $0.0028
Output $/1M
$0.28
Context
1,000,000
Batch
Gemini 2.5 Flash-Lite
Google
$0.9000
/month
Input $/1M
$0.1
cached $0.01
Output $/1M
$0.4
Context
1,000,000
Batch
No batch rate
Ministral 3 14B
Mistral
$0.9000
/month
Input $/1M
$0.2
Output $/1M
$0.2
Context
256,000
Batch
No batch rate
Qwen3.7 Flash
Long-context rates applied
Alibaba
$0.9000
/month
Input $/1M
$0.1
cached $0.02
write $0.125
Output $/1M
$0.4
Context
1,000,000
Batch
No batch rate
Claude Haiku 5.5
Anthropic
$1.05
/month
Input $/1M
$0.1
cached $0.01
write $0.125
Output $/1M
$0.5
Context
1,000,000
Batch
GPT-6 Luna
OpenAI
$1.05
/month
Input $/1M
$0.1
cached $0.01
write $0.125
Output $/1M
$0.5
Context
1,050,000
Batch
Muse Ember 1.0
Meta
$1.05
/month
Input $/1M
$0.1
cached $0.004
Output $/1M
$0.5
Context
1,048,576
Batch
No batch rate
GLM-5.3 Flash
Z.AI
$1.20
/month
Input $/1M
$0.15
cached $0.03
Output $/1M
$0.5
Context
1,000,000
Batch
No batch rate
Jamba Mini 2
AI21 Labs
$1.20
/month
Input $/1M
$0.2
Output $/1M
$0.4
Context
256,000
Batch
No batch rate
MiniMax M3.1 Flash
MiniMax
$1.35
/month
Input $/1M
$0.15
cached $0.015
Output $/1M
$0.6
Context
1,000,000
Batch
No batch rate
Mistral Small 4
Mistral
$1.35
/month
Input $/1M
$0.15
cached $0.015
Output $/1M
$0.6
Context
256,000
Batch
No batch rate
Codestral 25.08
Mistral
$2.25
/month
Input $/1M
$0.3
Output $/1M
$0.9
Context
128,000
Batch
No batch rate
GPT-5.6 Luna
OpenAI
$2.40
/month
Input $/1M
$0.2
cached $0.02
write $0.25
Output $/1M
$1.20
Context
1,050,000
Batch
No batch rate
Xiaomi MiMo-V2.6-Pro
Xiaomi MiMo
$2.61
/month
Input $/1M
$0.435
cached $0.0036
Output $/1M
$0.87
Context
1,000,000
Batch
DeepSeek V4.1 Flash
Peak
Off-peak: $0.15 input / $0.003 cached / $0.6 output
DeepSeek
$2.70
/month
Input $/1M
$0.3
cached $0.006
Output $/1M
$1.20
Context
1,000,000
Batch
No batch rate
MiniMax M3
MiniMax
$2.70
/month
Input $/1M
$0.3
cached $0.06
Output $/1M
$1.20
Context
1,000,000
Batch
No batch rate
GLM-5.3 FlashX
Z.AI
$2.99
/month
Input $/1M
$0.37
cached $0.075
Output $/1M
$1.25
Context
1,000,000
Batch
No batch rate
Gemini 3.1 Flash-Lite
Google
$3.00
/month
Input $/1M
$0.25
cached $0.025
Output $/1M
$1.50
Context
1,048,576
Batch
No batch rate
Qwen Plus
Alibaba
$3.00
/month
Input $/1M
$0.4
cached $0.08
write $0.5
Output $/1M
$1.20
Context
1,000,000
Batch
No batch rate
Amazon Nova 2 Lite
Amazon
$4.65
/month
Input $/1M
$0.3
cached $0.075
Output $/1M
$2.50
Context
1,000,000
Batch
No batch rate
Gemini 3.5 Flash-Lite
Google
$4.65
/month
Input $/1M
$0.3
cached $0.03
Output $/1M
$2.50
Context
1,048,576
Batch
No batch rate
Mistral Large 4
Mistral
$5.25
/month
Input $/1M
$0.7
cached $0.07
Output $/1M
$2.10
Context
1,000,000
Batch
No batch rate
Grok Build 0.1
xAI
$6.00
/month
Input $/1M
$1.00
cached $0.2
Output $/1M
$2.00
Context
256,000
Batch
No batch rate
Tencent Hy4
List price
Limited-time 50% off: $0.417 input / $0.021 cached / $1.25 output
Tencent
$6.25
/month
Input $/1M
$0.834
cached $0.042
Output $/1M
$2.50
Context
1,000,000
Batch
No batch rate
Amazon Nova Pro
Amazon
$7.20
/month
Input $/1M
$0.8
cached $0.2
Output $/1M
$3.20
Context
300,000
Batch
No batch rate
Grok 4.20 Multi-Agent
xAI
$7.50
/month
Input $/1M
$1.25
cached $0.2
Output $/1M
$2.50
Context
1,000,000
Batch
No batch rate
Grok 4.20 Non-Reasoning
xAI
$7.50
/month
Input $/1M
$1.25
cached $0.2
Output $/1M
$2.50
Context
1,000,000
Batch
No batch rate
Grok 4.20 Reasoning
xAI
$7.50
/month
Input $/1M
$1.25
cached $0.2
Output $/1M
$2.50
Context
1,000,000
Batch
No batch rate
Grok 4.3
xAI
$7.50
/month
Input $/1M
$1.25
cached $0.2
Output $/1M
$2.50
Context
1,000,000
Batch
No batch rate
GLM-5
Z.AI
$7.80
/month
Input $/1M
$1.00
cached $0.2
Output $/1M
$3.20
Context
200,000
Batch
No batch rate
Gemini 3.6 Flash
Introductory through 2026-12-31
Standard from 2027-01-01: $1.50 input / $0.15 cached / $7.50 output
Google
$7.88
/month
Input $/1M
$0.75
cached $0.075
Output $/1M
$3.75
Context
1,048,576
Batch
No batch rate
Gemini 3.8 Flash
Introductory through 2026-12-31
Standard from 2027-01-01: $1.50 input / $0.15 cached / $7.50 output
Google
$7.88
/month
Input $/1M
$0.75
cached $0.075
Output $/1M
$3.75
Context
1,048,576
Batch
GPT-5.4 Mini
OpenAI
$9.00
/month
Input $/1M
$0.75
cached $0.075
Output $/1M
$4.50
Context
400,000
Batch
No batch rate
GLM-5 Turbo
Z.AI
$9.60
/month
Input $/1M
$1.20
cached $0.24
Output $/1M
$4.00
Context
200,000
Batch
No batch rate
GLM-5V Turbo
Z.AI
$9.60
/month
Input $/1M
$1.20
cached $0.24
Output $/1M
$4.00
Context
200,000
Batch
No batch rate
DeepSeek V4 Pro
Peak
Off-peak: $0.66 input / $0.022 cached / $1.98 output
DeepSeek
$9.90
/month
Input $/1M
$1.32
cached $0.044
Output $/1M
$3.96
Context
1,000,000
Batch
No batch rate
Muse Spark 1.3
Standard mode (no training on your data)
Contributor mode: $0.1 input / $0.002 cached / $0.2 output
Meta
$10.13
/month
Input $/1M
$1.25
cached $0.15
Output $/1M
$4.25
Context
1,048,576
Batch
No batch rate
Claude Haiku 4.5
Anthropic
$10.50
/month
Input $/1M
$1.00
cached $0.1
write $1.25
Output $/1M
$5.00
Context
200,000
Batch
No batch rate
GPT-6.1 Terra
OpenAI
$10.50
/month
Input $/1M
$1.00
cached $0.05
write $1.25
Output $/1M
$5.00
Context
1,050,000
Batch
No batch rate
GLM-5.1
Z.AI
$10.80
/month
Input $/1M
$1.40
cached $0.26
Output $/1M
$4.40
Context
200,000
Batch
No batch rate
GLM-5.2
Z.AI
$10.80
/month
Input $/1M
$1.40
cached $0.26
Output $/1M
$4.40
Context
1,000,000
Batch
No batch rate
GLM-5.3
Z.AI
$10.80
/month
Input $/1M
$1.40
cached $0.26
Output $/1M
$4.40
Context
1,000,000
Batch
No batch rate
Qwen4 Max
Alibaba
$11.25
/month
Input $/1M
$1.50
cached $0.075
write $1.88
Output $/1M
$4.50
Context
1,000,000
Batch
No batch rate
Grok 4.5
xAI
$15.00
/month
Input $/1M
$2.00
cached $0.3
Output $/1M
$6.00
Context
500,000
Batch
No batch rate
Grok 4.6
xAI
$15.00
/month
Input $/1M
$2.00
cached $0.5
Output $/1M
$6.00
Context
500,000
Batch
No batch rate
Grok 4.7
xAI
$15.00
/month
Input $/1M
$2.00
cached $0.5
Output $/1M
$6.00
Context
500,000
Batch
No batch rate
Gemini 4 Hydrogen
Google
$15.75
/month
Input $/1M
$1.50
cached $0.075
Output $/1M
$7.50
Context
1,048,576
Batch
No batch rate
Jamba Large 1.7
AI21 Labs
$18.00
/month
Input $/1M
$2.00
Output $/1M
$8.00
Context
256,000
Batch
No batch rate
Claude Sonnet 5
Anthropic
$21.00
/month
Input $/1M
$2.00
cached $0.2
write $2.50
Output $/1M
$10.00
Context
1,000,000
Batch
No batch rate
Claude Sonnet 5.5
Anthropic
$21.00
/month
Input $/1M
$2.00
cached $0.1
write $2.50
Output $/1M
$10.00
Context
1,000,000
Batch
Gemini 4 Argon
Introductory through 2026-11-30
Standard from 2026-12-01: $4.00 input / $0.2 cached / $20.00 output
Google
$21.00
/month
Input $/1M
$2.00
cached $0.1
Output $/1M
$10.00
Context
1,048,576
Batch
No batch rate
Gemini 4 Carbon
Introductory through 2026-11-30
Standard from 2026-12-01: $4.00 input / $0.2 cached / $20.00 output
Google
$21.00
/month
Input $/1M
$2.00
cached $0.1
Output $/1M
$10.00
Context
1,048,576
Batch
No batch rate
GPT-6 Sol
OpenAI
$21.00
/month
Input $/1M
$2.00
cached $0.2
write $2.50
Output $/1M
$10.00
Context
1,050,000
Batch
GPT-6.1 Sol
OpenAI
$21.00
/month
Input $/1M
$2.00
cached $0.1
write $2.50
Output $/1M
$10.00
Context
1,050,000
Batch
GPT-6.2 Sol
OpenAI
$21.00
/month
Input $/1M
$2.00
cached $0.1
write $2.50
Output $/1M
$10.00
Context
1,050,000
Batch
Kimi K3.1 Pro
Moonshot AI
$21.00
/month
Input $/1M
$2.00
cached $0.2
write $2.00
Output $/1M
$10.00
Context
1,048,576
Batch
No batch rate
Gemini 3.1 Pro Preview
Google
$24.00
/month
Input $/1M
$2.00
cached $0.2
Output $/1M
$12.00
Context
1,048,576
Batch
No batch rate
GPT-5.6 Terra
OpenAI
$24.00
/month
Input $/1M
$2.00
cached $0.2
write $2.50
Output $/1M
$12.00
Context
1,050,000
Batch
No batch rate
Xiaomi MiMo-V2.6-Pro-UltraSpeed
Xiaomi MiMo
$26.10
/month
Input $/1M
$4.35
cached $0.036
Output $/1M
$8.70
Context
1,000,000
Batch
Not offered
Amazon Nova Premier
Amazon
$26.25
/month
Input $/1M
$2.50
cached $0.625
Output $/1M
$12.50
Context
1,000,000
Batch
GPT-5.4
OpenAI
$30.00
/month
Input $/1M
$2.50
cached $0.25
Output $/1M
$15.00
Context
1,050,000
Batch
No batch rate
Claude Sonnet 4.6
Anthropic
$31.50
/month
Input $/1M
$3.00
cached $0.3
write $3.75
Output $/1M
$15.00
Context
1,000,000
Batch
No batch rate
Gemini 4 Neon
Google
$31.50
/month
Input $/1M
$3.00
cached $0.15
Output $/1M
$15.00
Context
1,048,576
Batch
Kimi K3
Moonshot AI
$31.50
/month
Input $/1M
$3.00
cached $0.3
write $3.00
Output $/1M
$15.00
Context
1,048,576
Batch
No batch rate
Claude Opus 5.5
Anthropic
$42.00
/month
Input $/1M
$4.00
cached $0.2
write $5.00
Output $/1M
$20.00
Context
1,000,000
Batch
GPT-5.6 Sol
Promotional until 2026-11-30
OpenAI
$42.00
/month
Input $/1M
$4.00
cached $0.4
write $5.00
Output $/1M
$20.00
Context
1,050,000
Batch
No batch rate
Muse Wonder 1.0
Meta
$42.00
/month
Input $/1M
$4.00
cached $0.2
Output $/1M
$20.00
Context
1,048,576
Batch
No batch rate
Claude Opus 4.6
Anthropic
$52.50
/month
Input $/1M
$5.00
cached $0.5
write $6.25
Output $/1M
$25.00
Context
1,000,000
Batch
No batch rate
Claude Opus 4.8
Anthropic
$52.50
/month
Input $/1M
$5.00
cached $0.5
write $6.25
Output $/1M
$25.00
Context
1,000,000
Batch
No batch rate
Claude Opus 5
Anthropic
$52.50
/month
Input $/1M
$5.00
cached $0.5
write $6.25
Output $/1M
$25.00
Context
1,000,000
Batch
No batch rate
GPT-5.5
OpenAI
$60.00
/month
Input $/1M
$5.00
cached $0.5
Output $/1M
$30.00
Context
1,050,000
Batch
No batch rate
Claude Fable 5.2
Anthropic
$84.00
/month
Input $/1M
$8.00
cached $0.2
write $10.00
Output $/1M
$40.00
Context
1,000,000
Batch
GPT-6.2 Astra
OpenAI
$84.00
/month
Input $/1M
$8.00
cached $0.4
write $10.00
Output $/1M
$40.00
Context
1,050,000
Batch
Claude Fable 5
Anthropic
$105.00
/month
Input $/1M
$10.00
cached $1.00
write $12.50
Output $/1M
$50.00
Context
1,000,000
Batch
No batch rate
Claude Fable 5.1
Anthropic
$105.00
/month
Input $/1M
$10.00
cached $0.25
write $12.50
Output $/1M
$50.00
Context
1,000,000
Batch
No batch rate
GPT-6 Astra
OpenAI
$105.00
/month
Input $/1M
$10.00
cached $1.00
write $12.50
Output $/1M
$50.00
Context
1,050,000
Batch
GPT-5.4 Pro
OpenAI
$360.00
/month
Input $/1M
$30.00
Output $/1M
$180.00
Context
1,050,000
Batch
No batch rate
GPT-5.5 Pro
OpenAI
$360.00
/month
Input $/1M
$30.00
Output $/1M
$180.00
Context
1,050,000
Batch
No batch rate

Cost bars:Uncached inputCache writesCache readsOutput

Cache writes use each model’s published cache-write price from our price data (long-context write price above the threshold). Where no cache-write price is published, writes are billed at the normal input rate and the row says so. Longer cache lifetimes (Anthropic 1-hour, OpenAI 12-hour) cost more and are not modelled. Storage fees, tools and taxes are extra.

Next step

How to Use This Tool

  1. Pick a view: Daily volume (tokens per day) or Cost per task (input/output tokens per task plus tasks per day).
  2. Choose a workload type. Chat is 1×; the Single coding agent (4×) and Multi-agent (15×) presets scale your token counts using Anthropic's reported averages. You can type any multiplier, and should keep 1× if your numbers already come from agent runs.
  3. Split your input into cache reads (0–95%), cache writes and uncached input, or click "Coding agent (cache-heavy)". Reads use each model's cached-input price and writes its cache-write price; models without one bill those tokens as normal input and say so. Open "Where the money goes" on any row for the per-bucket cost.
  4. Turn on Batch API rates for models where our price data records a batch rate, or the beta OpenAI background completion window (2-hour −30%, 8-hour −40%) for eligible GPT-6.x models. The two never apply to the same model.
  5. Sort by cost per task, monthly cost, or price, filter providers, and use "Copy shareable link" to share the exact scenario.

Understanding AI API Pricing in 2026

Only active USD models with confirmed token pricing are compared. Estimates cover uncached input, cache writes, cache reads and output tokens; cache storage, longer cache lifetimes, tools, taxes and service-tier premiums are additional. A month is 30 days.

Agent workloads cost more than their per-token price suggests because they send far more tokens per task. Anthropic reports that in its data agents use about 4× the tokens of a chat interaction and multi-agent systems about 15× (Anthropic Engineering, "How we built our multi-agent research system", June 2025). The calculator's workload presets use those figures as editable assumptions.

AI API pricing is based on tokens processed, with separate rates for input tokens (your prompts) and output tokens (the model's responses). Prices are typically quoted per million tokens. Current examples include GPT-6 Luna at $0.10/$0.50 and Claude Sonnet 5.5 at $2/$10 per million input/output tokens.

The AI pricing landscape has become increasingly competitive in 2026. DeepSeek V4.1 Flash is especially aggressive for cache-heavy agent workloads, while premium models like GPT-6 Astra and Claude Opus 5.5 offer stronger reasoning at higher price points. The right choice depends on task complexity, cache-hit rate, and output length.

Several factors beyond per-token pricing affect your total cost: Batch API discounts, prompt caching or provider-side context caching, and context window usage. The cache hit rate uses each model's own cached-input price. Batch rates are applied only where our price data records one (currently GPT-6 Sol/Astra/Luna, GPT-6.1 Sol, Claude Fable 5.2, Opus 5.5, Sonnet 5.5 and Haiku 5.5, Gemini 3.8/3.7 Flash, and MiMo V2.6 Pro/Flash). Anthropic documents that its batch discount stacks with cache reads; for other providers the calculator keeps cached input at the listed rate.

For cost optimization, consider these strategies: Use lower-cost models such as DeepSeek V4.1 Flash or GPT-6 Luna for simple tasks. Use prompt caching for system prompts that don't change. Batch non-urgent requests for 50% savings. Monitor token usage with observability tools like Helicone or Langfuse.

Last updated: 2026-11-20

FAQ

How is the monthly cost calculated?

Monthly cost = (uncached input × input price + cache writes × cache-write price + cache reads × cached-input price + output × output price) × 30 days, using the input split you set. Models without a published cache-write or cache-read price bill those tokens at the normal input rate. The workload multiplier scales the token counts; Batch rates, or the optional OpenAI background window discount, replace standard rates where they apply. Long-context rates apply when a single request exceeds the provider's published threshold. Prices come from each provider's official pricing page.

How often are prices updated?

We update pricing data regularly. The last update date is shown on the page. AI model prices change frequently, so always verify with the provider's official pricing page.

Which model is cheapest?

It depends on your use case. For cache-heavy agent traffic, DeepSeek V4 Flash can be extremely cheap. For simple tasks, GPT-4o-mini and Claude Haiku offer strong value. For complex reasoning, larger models like GPT-5, Claude Sonnet, or DeepSeek V4 Pro may be more cost-effective despite higher per-token costs.

What is Batch API pricing, and when does the calculator apply it?

Batch APIs process requests asynchronously (typically within hours) at a discount, usually 50% of the standard rate at OpenAI, Anthropic, Google and Xiaomi MiMo. The calculator applies a batch rate only to models whose batch price is recorded in our pricing data; for other models the Batch toggle is disabled. That does not mean the provider has no batch API, so check its pricing page. Batch does not suit interactive chat or agents that wait on each response.

How do the Chat, Single coding agent and Multi-agent presets work?

They multiply the token counts you enter: 1× for chat, 4× for a single agent and 15× for a multi-agent system. The 4× and 15× figures come from Anthropic's engineering post on its multi-agent research system, which reports that agents use about 4× and multi-agent systems about 15× the tokens of chat interactions in Anthropic's data. Treat them as starting assumptions and type your own multiplier, or keep 1× if you measured your agent's tokens directly.

How is cost per task calculated?

Cost per task = (uncached input × input price + cache writes × cache-write price + cache reads × cached-input price + output × output price), with every token count scaled by the multiplier and input split by your cache read/write percentages. Monthly cost = cost per task × tasks per day × 30. You can sort models by either column.

Why model cache writes separately for coding agents?

Coding agents resend a long, mostly stable context on every turn. Developers comparing agent bills in late 2026 reported cache reads and writes at about 85% of tokens and output at about 13%. Cache reads are cheap (often 5–10% of input), but cache writes usually cost more than normal input (1.25× on Anthropic's and OpenAI's listed short-lived caches), so a workload that churns its cache can cost far more than a cache-hit rate alone suggests. The Coding agent (cache-heavy) scenario starts from that split; adjust it to your own logs.

What is the OpenAI background completion window?

For GPT-6.2 Astra, GPT-6.2 Sol, GPT-6.1 Terra and GPT-6 Luna, OpenAI prices background Responses API requests 30% below Standard with a 2-hour completion window and 40% below with an 8-hour window. It is in public beta, so the calculator keeps it off by default, applies it only to those models, and never combines it with Batch. Standard requests cannot reuse prompt cache created by background requests.

How does prompt caching reduce costs?

Prompt caching stores repeated prompt prefixes on the provider side. DeepSeek V4.1 Flash cache-hit input is $0.003/M off-peak and $0.006/M at peak, versus $0.15/M and $0.3/M for cache misses. This helps agents that repeatedly send repository rules, system prompts, and stable context.

Which model offers the best value in 2026?

It depends on your use case. DeepSeek V4.1 Flash is strong for cache-heavy agent workloads and high-volume text tasks. Smaller models are better for simple extraction, while GPT-5, Claude Sonnet, or DeepSeek V4 Pro can be worth the extra cost for harder reasoning and coding.

Related Blog Posts

Related Tools