# AI cost calculator

Canonical: https://cwyn.com/score/ai-cost-calculator/
Last updated: 2026-11-28T20:10:29-05:00

[Resources](https://cwyn.com/pages/resources.html) / Free tools

Estimate a month of AI API costs at [published rates](https://cwyn.com/score/ai-cost-calculator/#sources) using your tool and model, your sessions per day, and your input and output tokens per session. It runs in your browser and is free to use with no signup.

Monthly API estimate

$3.80[Details](https://cwyn.com/score/ai-cost-calculator/#estimate-heading)

## Tool and model

[View estimate ↓](https://cwyn.com/score/ai-cost-calculator/#estimate-heading)

Tool

Filter models

API model

Not rated

Intelligence scores: [Artificial Analysis Intelligence Index v5.0.1](https://artificialanalysis.ai/leaderboards/models), checked 2026-11-20

I use more than one of OpenClaw, Claude Code and Hermes

Billing method

API key

Subscription (sign-in)

With a direct API key, the provider bills your calls.

[OpenClaw setup guide](https://cwyn.com/setup/openclaw)

## Your usage

Sessions per day

Input tokens per session

Output tokens per session

Count every call in one session, including repeated context and billed reasoning.

## Prompt caching

Estimate10 turns · 55% reads, 18% writes · 5m

Turns per session

Assumption used to estimate repeated input.

Cache reads (% of input)

Default

Cache writes (% of input)

Default

Write retention

Default

### How the defaults are estimated

Estimate · Reads = units in prefixes meeting the minimum / total units = 30/55 = 54.5% · New = 2/(T+1) = 18.2% · Billed writes = 18.2% (T = 10 turns) · Requests under 1,024 tokens don't cache (minimum for this model)

OpenClaw seeds short (5m) retention on Anthropic. OpenAI and other providers use their defaults. Gemini defaults to implicit caching. On supported models, short or long creates an explicit cachedContents resource when the prefix meets the cache minimum. Minimum cacheable prompt is 1,024 tokens.

## Monthly API estimate

Not rated

$3.80

Claude Sonnet 4.6

Prices checked [2026-12-01](https://cwyn.com/score/ai-cost-calculator/#sources)

## How it adds up

4 sessions/day × 30 days = 120 sessions

Regular input

327,273 tokens × $3 ÷ 1M ≈ $0.98

Cache reads

654,545 tokens × $0.3 ÷ 1M ≈ $0.20

Cache writes (5m)

218,182 tokens × $3.75 ÷ 1M ≈ $0.82

Output

120,000 tokens × $15 ÷ 1M ≈ $1.80

Text usage at published rates. Taxes, credits, hosting and tool calls are excluded.[See all rates in one table](https://cwyn.com/score/ai-api-pricing/).

## Email me this estimate

Get this estimate and its link by email.

Email address

Email me this estimate. No follow-up emails. [Privacy policy](https://cwyn.com/pages/privacy.html)

## Optimized picks

Estimate

Compare rated models at their top effort, using your workload and each model’s cache defaults.

Monthly budget (USD, optional)

## How the cost is calculated

Input tokens are what the model reads on each call, including instructions, your message and any history you send again. Output tokens are what it generates, including any billed reasoning tokens. For a typical session, add up input and output tokens separately across calls. Multiply each total by your sessions per day and by 30 days.

When the provider reuses part of a prompt from its cache, those input tokens use the cache-read rate. If the provider charges for writing tokens into its cache, those tokens use the cache-write rate. The remaining input uses the regular rate. For each category, including output, divide its monthly token count by one million and multiply by the model’s price per million tokens. Add the charges, plus any applicable cache storage or routing fee.

### Worked example with Claude Sonnet 4.6

The opening OpenClaw example uses 10,000 input tokens and 1,000 output tokens per session. At 4 sessions a day for 30 days, that comes to 120 sessions with 1,200,000 input tokens and 120,000 output tokens. Applying the default cache settings gives these monthly charges.

- Regular input · 327,273 tokens × $3 ÷ 1M ≈ $0.98
- Cache reads · 654,545 tokens × $0.3 ÷ 1M ≈ $0.20
- Cache writes (5m) · 218,182 tokens × $3.75 ÷ 1M ≈ $0.82
- Output · 120,000 tokens × $15 ÷ 1M ≈ $1.80

Together these charges come to $3.80 per month. You can see the same arithmetic for your own settings under [How it adds up](https://cwyn.com/score/ai-cost-calculator/#breakdown).

## How it works

- Choose your tool and model. For a token estimate, select API key where a billing choice is available.
- Enter the input and output tokens across all calls in a typical session, including repeated context and billed reasoning.
- Set sessions per day to your expected frequency. Read “How it adds up” to see which charges account for most of the estimate.

## How the calculator estimates AI cost (FAQ)

- How do I calculate monthly AI API cost from tokens?

At 4 sessions per day for 30 days, the estimate covers 120 sessions. Multiply each per-session token count by the number of monthly sessions, divide by one million, and multiply by the model’s rate per million for that category. Add the charges, including any applicable cache storage or OpenRouter fee.
- How does prompt caching change the estimate?

Cache reads and billed cache writes each use their own share of input tokens at the model’s published rate. The remaining input uses the regular rate. If you know your cache shares, enter them under Prompt caching to replace the defaults.
- How do subscription fees compare with API charges?

For supported tools and models, choose Subscription to see the plan’s price and any published limits. The API-equivalent estimate appears separately so you can see what the same workload would cost at API rates.
- How to calculate AI cost savings when switching models?

Keep the workload the same and subtract the cheaper model’s monthly API estimate from your current model’s estimate. If your current estimate is above zero, divide the savings by that estimate and multiply by 100 to get the percentage saved. Optimized picks compares models using each model’s default cache settings.
- Why might my API bill differ from the estimate?

The estimate assumes a typical session repeats throughout a 30-day month. Longer replies, more sessions or fewer cache hits can raise the bill. Your invoice may also include tool calls, taxes or credits that the calculator leaves out.

## Compare models

[Jump to quick picks](https://cwyn.com/score/ai-cost-calculator/#quick-picks)[Open the full model comparison](https://cwyn.com/score/ai-model-comparison/)

One task uses 10,000 input tokens and 1,000 output tokens at the standard short-context list price, with no caching.

Sources checked 2026-11-21. Prices in USD for 2026-12-04.

| Model | Good at | Weak at | Use it for | Skip it for | Cost per task |
| --- | --- | --- | --- | --- | --- |
| Anthropic Claude Sonnet 4.6 | - writes code, reasons over long inputs and plans agent tasks [Anthropic](https://www.anthropic.com/news/claude-sonnet-4-6) - fits codebases and lengthy contracts in a single request [Anthropic](https://www.anthropic.com/news/claude-sonnet-4-6) | - has legacy model status [Anthropic](https://platform.claude.com/docs/en/models/sonnet-4-6/overview) | - plan changes across a large codebase | - new deployments requiring a current-generation model | $0.045 |
| Anthropic Claude Haiku 4.5 | - handles low-latency chat and pair programming [Anthropic](https://www.anthropic.com/news/claude-haiku-4-5) | - requires manual control of extended thinking [Anthropic](https://platform.claude.com/docs/en/models/haiku-4-5/overview) | - suggest edits while a developer types | - agents that must choose when to think | $0.015 |
| Anthropic Claude Fable 5.2 | - reasons through long-running agent tasks [Anthropic](https://platform.claude.com/docs/en/models/fable-5-2/overview) - conducts research in several steps [Anthropic](https://platform.claude.com/docs/en/models/fable-5-2/overview) | - requires authorization for zero data retention [Anthropic](https://platform.claude.com/docs/en/models/fable-5-2/overview) | - run an extended research investigation | - zero-retention workloads without an explicit exception | $0.12 |
| Anthropic Claude Opus 5.5 | - runs coding agents through large refactors [Anthropic](https://platform.claude.com/docs/en/models/opus-5-5/overview) - handles workflows that rely on vision [Anthropic](https://platform.claude.com/docs/en/models/opus-5-5/overview) | - keeps adaptive thinking enabled on every request [Anthropic](https://platform.claude.com/docs/en/models/opus-5-5/overview) | - delegate a refactor that takes hours - work through a visual interface | - requests that must disable thinking | $0.06 |
| Anthropic Claude Opus 5 | - handles code changes and knowledge work [Anthropic](https://www.anthropic.com/news/claude-opus-5) - solves unfamiliar reasoning problems [Anthropic](https://www.anthropic.com/news/claude-opus-5) | - has legacy model status [Anthropic](https://platform.claude.com/docs/en/models/opus-5/overview) | - work through an unfamiliar programming problem | - new deployments requiring a current-generation model | $0.075 |
| Anthropic Claude Sonnet 5.5 | - writes code and analyzes data [Anthropic](https://platform.claude.com/docs/en/models/sonnet-5-5/overview) - interprets visuals and calls tools as an agent [Anthropic](https://platform.claude.com/docs/en/models/sonnet-5-5/overview) | - rejects custom temperature settings [Anthropic](https://platform.claude.com/docs/en/models/sonnet-5-5/overview) | - build an agent that interprets visual input | - workflows that tune sampling temperature | $0.03 |
| Anthropic Claude Sonnet 5 | - plans tasks and uses browsers and terminals [Anthropic](https://www.anthropic.com/news/claude-sonnet-5) - writes code and reasons through tasks [Anthropic](https://www.anthropic.com/news/claude-sonnet-5) | - rejects custom sampling settings [Anthropic](https://platform.claude.com/docs/en/models/sonnet-5/overview) | - delegate a coding task that needs a terminal | - workflows that set their own sampling temperature | $0.03 |
| Anthropic Claude Haiku 5.5 | - handles classification and routing with low latency [Anthropic](https://platform.claude.com/docs/en/models/haiku-5-5/overview) - keeps small-model workloads inexpensive [Anthropic](https://www.anthropic.com/claude-haiku-5-5) - serves as a coding subagent [Anthropic](https://www.anthropic.com/claude-haiku-5-5) | - uses more tokens than Haiku 4.5 for identical text [Anthropic](https://platform.claude.com/docs/en/models/haiku-5-5/overview) | - route incoming support requests in bulk - delegate small coding tasks | - reusing Haiku token estimates without recalculating | $0.0015 |
| OpenAI GPT-5.4 mini | - writes code and runs delegated tasks [OpenAI](https://developers.openai.com/api/docs/models/gpt-5.4-mini) - handles high-volume tasks quickly [OpenAI](https://developers.openai.com/api/docs/models/gpt-5.4-mini) - reads dense interface screenshots [OpenAI](https://openai.com/index/introducing-gpt-5-4-mini-and-nano/) | - caps total context at 400,000 tokens [OpenAI](https://developers.openai.com/api/docs/models/gpt-5.4-mini) | - delegate code edits to a subagent - read a screenshot from an application | - prompts that exceed its context window | $0.012 |
| OpenAI GPT-5.4 nano | - classifies, extracts and ranks data quickly [OpenAI](https://developers.openai.com/api/docs/models/gpt-5.4-nano) - handles simple workloads at the lowest family cost [OpenAI](https://developers.openai.com/api/docs/models/gpt-5.4-nano) - handles simpler coding subtasks [OpenAI](https://openai.com/index/introducing-gpt-5-4-mini-and-nano/) | - has an August 2025 knowledge cutoff [OpenAI](https://developers.openai.com/api/docs/models/gpt-5.4-nano) | - classify a backlog of records - delegate a small coding task | - answering recent questions from built-in knowledge alone | $0.0033 |
| OpenAI gpt-6.2-astra | - reasons through complex programming problems [OpenAI](https://developers.openai.com/api/docs/models) - creates slides, spreadsheets and documents [OpenAI](https://openai.com/index/introducing-gpt-6-2-astra-sol/) - delegates work to subagents [OpenAI](https://developers.openai.com/api/docs/models/gpt-6.2-astra) | - requires reasoning on every API request [OpenAI](https://developers.openai.com/api/docs/models/gpt-6.2-astra) | - work through a difficult coding problem - prepare a presentation or written report | - requests that must turn off reasoning | $0.12 |
| OpenAI gpt-6.2-sol | - handles everyday coding and large-scale agent work [OpenAI](https://developers.openai.com/api/docs/models/gpt-6.2-sol) - writes clear prose [OpenAI](https://openai.com/index/introducing-gpt-6-2-astra-sol/) - calls web search from the Responses API [OpenAI](https://developers.openai.com/api/docs/models/gpt-6.2-sol) | - caps each response at 128,000 tokens [OpenAI](https://developers.openai.com/api/docs/models/gpt-6.2-sol) | - build a coding assistant that searches the web - draft a plain-language explanation | - single responses exceeding the output cap | $0.03 |
| OpenAI gpt-6-astra | - handles complex reasoning and coding [OpenAI](https://developers.openai.com/api/docs/models/gpt-6-astra) - handles research and document creation [OpenAI](https://developers.openai.com/api/docs/models/gpt-6-astra) | - ultrafast processing has limited data residency options [OpenAI](https://developers.openai.com/api/docs/guides/latest-model?model=gpt-6-astra) | - develop and document a solution to a research problem | - ultrafast jobs requiring EU data residency | $0.15 |
| OpenAI gpt-6.1-sol | - handles complex coding and computer use [OpenAI](https://developers.openai.com/api/docs/models/gpt-6.1-sol) - delegates work to subagents in beta [OpenAI](https://developers.openai.com/api/docs/guides/latest-model?model=gpt-6-astra) | - requires the Responses API for tool calls [OpenAI](https://developers.openai.com/api/docs/models/gpt-6.1-sol) | - distribute a complex coding task across subagents | - calling tools through Chat Completions | $0.03 |
| OpenAI gpt-6.1-terra | - quickly reasons about visual input [OpenAI](https://developers.openai.com/api/docs/models/gpt-6.1-terra) - drafts and revises prose [OpenAI](https://developers.openai.com/api/docs/models/gpt-6.1-terra) - interprets technical drawings [OpenAI](https://developers.openai.com/api/docs/models/gpt-6.1-terra) | - requires the Responses API for tool calls [OpenAI](https://developers.openai.com/api/docs/models/gpt-6.1-terra) | - interpret an engineering drawing - edit the wording of a proposal | - calling tools through Chat Completions | $0.015 |
| OpenAI gpt-6-luna | - handles focused work at high volume [OpenAI](https://developers.openai.com/api/docs/models/gpt-6-luna) - minimizes cost and latency on reasoning workloads [OpenAI](https://developers.openai.com/api/docs/guides/reasoning) - handles coding tasks [OpenAI](https://openai.com/index/introducing-gpt-6-sol-and-luna/) | - Chat Completions function calls require reasoning to be off [OpenAI](https://developers.openai.com/api/docs/models/gpt-6-luna) | - run many small coding tasks | - reasoning with function calls through Chat Completions | $0.0015 |
| OpenAI gpt-6-sol | - handles complex coding and agent workflows [OpenAI](https://developers.openai.com/api/docs/models/gpt-6-sol) | - Chat Completions function calls require reasoning to be off [OpenAI](https://developers.openai.com/api/docs/models/gpt-6-sol) | - automate a multistep software change | - reasoning with function calls through Chat Completions | $0.03 |
| OpenAI gpt-5.6-sol | - coordinates tools for command-line coding tasks [OpenAI](https://openai.com/index/previewing-gpt-5-6-sol/) - handles complex professional assignments [OpenAI](https://developers.openai.com/api/docs/models/gpt-5.6-sol) | - caps each response at 128,000 tokens [OpenAI](https://developers.openai.com/api/docs/models/gpt-5.6-sol) | - delegate a coding task that spans several terminal commands | - single responses exceeding the output cap | $0.08 |
| OpenAI gpt-5.6-terra | - handles everyday work [OpenAI](https://openai.com/index/gpt-5-6/) - coordinates tools by writing JavaScript [OpenAI](https://developers.openai.com/api/docs/guides/latest-model?model=gpt-5.6) - works with long inputs [OpenAI](https://developers.openai.com/api/docs/models/gpt-5.6-terra) | - trails its successor on visual reasoning [OpenAI](https://openai.com/index/introducing-gpt-6-1-terra/) | - coordinate several tools in a single workflow - analyze a long document | - visual reasoning tasks where benchmark accuracy takes priority | $0.032 |
| OpenAI gpt-5.6-luna | - runs high-volume workloads [OpenAI](https://developers.openai.com/api/docs/models/gpt-5.6-luna) - runs quickly at its family’s lowest cost [OpenAI](https://openai.com/index/gpt-5-6/) | - has a February 2026 knowledge cutoff [OpenAI](https://developers.openai.com/api/docs/models/gpt-5.6-luna) | - handle many short requests on a budget | - answering recent questions from built-in knowledge alone | $0.0032 |
| OpenAI gpt-5.5 | - writes and debugs code [OpenAI](https://openai.com/index/introducing-gpt-5-5/) - researches online and analyzes data [OpenAI](https://openai.com/index/introducing-gpt-5-5/) - uses tools across multiple steps [OpenAI](https://openai.com/index/introducing-gpt-5-5/) | - does not accept native audio [OpenAI](https://developers.openai.com/api/docs/models/gpt-5.5) | - research a question using several tools - track down an error in code | - analyzing a recording directly | $0.08 |
| OpenAI gpt-5.4 | - creates and edits spreadsheets, presentations and documents [OpenAI](https://openai.com/index/introducing-gpt-5-4/) - handles coding, reasoning and agent workflows [OpenAI](https://openai.com/index/introducing-gpt-5-4/) | - has an August 2025 knowledge cutoff [OpenAI](https://developers.openai.com/api/docs/models/gpt-5.4) | - revise a presentation or spreadsheet - delegate a multistep coding task | - answering recent questions from built-in knowledge alone | $0.04 |
| xAI grok-4.7 | - writes code and handles agent tasks [SpaceXSI (xAI)](https://docs.x.ai/developers/models/grok-4.7) - creates documents and presentations [SpaceXSI (xAI)](https://x.ai/news/grok-4-7) | - cannot turn off reasoning [SpaceXSI (xAI)](https://docs.x.ai/developers/model-capabilities/text/reasoning) | - delegate a coding task - prepare a presentation or document | - requests that must bypass reasoning | $0.026 |
| xAI grok-4.6 | - sustains long-running agents [SpaceXSI (xAI)](https://x.ai/news/grok-4-6) - works across a codebase [SpaceXSI (xAI)](https://x.ai/news/grok-4-6) | - trails Grok 4.7 on the Coding Agent Index at xhigh [Artificial Analysis](https://artificialanalysis.ai/articles/benchmarking-grok-4-7) | - delegate work spanning several parts of a codebase | - coding agents chosen for their xhigh benchmark performance | $0.026 |
| xAI grok-4.5 | - writes code for agent workflows [SpaceXSI (xAI)](https://docs.x.ai/developers/models/grok-4.5) - reasons through engineering problems [SpaceXSI (xAI)](https://x.ai/news/grok-4-5) | - treats extra-high reasoning effort as high [SpaceXSI (xAI)](https://docs.x.ai/developers/model-capabilities/text/reasoning) | - automate a multistep engineering task | - workflows requiring a distinct extra-high reasoning setting | $0.026 |
| xAI grok-4.3 | - quickly follows instructions and calls tools [SpaceXSI (xAI)](https://docs.x.ai/developers/models/grok-4.3) - can vary its reasoning effort [SpaceXSI (xAI)](https://docs.x.ai/developers/models/grok-4.3) - fits long conversations in context [SpaceXSI (xAI)](https://docs.x.ai/developers/models/grok-4.3) | - caps effective sampling temperature at 1 [SpaceXSI (xAI)](https://docs.x.ai/developers/model-capabilities/text/best-practices) | - build a responsive assistant that calls tools - vary reasoning across a long conversation | - workflows that sample above that temperature | $0.015 |
| xAI grok-4.20-0309-reasoning | - calls agent tools quickly [SpaceXSI (xAI)](https://docs.x.ai/developers/models/grok-4.20-0309-reasoning) - reasons before returning an answer [SpaceXSI (xAI)](https://docs.x.ai/developers/models/grok-4.20-0309-reasoning) - accepts long conversations in a 1,000,000-token window [SpaceXSI (xAI)](https://docs.x.ai/developers/models/grok-4.20-0309-reasoning) | - rejects custom stop sequences in reasoning mode [SpaceXSI (xAI)](https://docs.x.ai/developers/model-capabilities/text/reasoning) | - reason through a task before calling tools | - requests requiring custom stop sequences | $0.015 |
| xAI grok-4.20-0309-non-reasoning | - quickly calls agent tools [SpaceXSI (xAI)](https://docs.x.ai/developers/models/grok-4.20-0309-non-reasoning) - follows detailed prompt instructions [SpaceXSI (xAI)](https://docs.x.ai/developers/models/grok-4.20-0309-non-reasoning) - accepts long conversations in a 1,000,000-token window [SpaceXSI (xAI)](https://docs.x.ai/developers/models/grok-4.20-0309-non-reasoning) | - cannot return per-token log probabilities [SpaceXSI (xAI)](https://docs.x.ai/developers/models) | - run a tool call with strict instructions | - scoring individual tokens by their predicted probability | $0.015 |
| xAI grok-4.20-multi-agent-0309 | - runs research agents in parallel [SpaceXSI (xAI)](https://docs.x.ai/developers/models/grok-4.20-multi-agent-0309) - searches across multiple sources simultaneously [SpaceXSI (xAI)](https://docs.x.ai/developers/model-capabilities/text/multi-agent) | - multi-agent research remains in beta [SpaceXSI (xAI)](https://docs.x.ai/developers/model-capabilities/text/multi-agent) | - research several sources at once | - deployments requiring a stable multi-agent API | $0.015 |
| Google gemini-4-carbon | - handles difficult engineering, math and science problems [Google](https://aistudio.google.com/docs/models/gemini-4-carbon) - runs autonomous multistep agents [Google](https://aistudio.google.com/docs/models/gemini-4-carbon) - shares context between long inputs and outputs [Google](https://aistudio.google.com/docs/models/gemini-4-carbon) | - takes longer per turn than Argon [Google](https://aistudio.google.com/docs/whats-new-gemini-4-argon) | - run an agent through a difficult engineering problem - analyze long technical inputs | - interactive work where each turn must finish quickly | $0.06 |
| Google gemini-4-argon | - handles complex coding, agent, math and science tasks [Google](https://aistudio.google.com/docs/models/gemini-4-argon) - reasons with faster responses than Carbon [Google](https://aistudio.google.com/docs/models) - handles long inputs and outputs in shared context [Google](https://aistudio.google.com/docs/whats-new-gemini-4-argon) | - synchronous responses stop at 65,536 tokens [Google](https://aistudio.google.com/docs/whats-new-gemini-4-argon) | - iterate on complex code interactively - work across a long technical document | - longer answers that must finish in one synchronous response | $0.06 |
| Google gemini-4-neon | - finishes complex software tasks quickly [Google](https://aistudio.google.com/docs/models/gemini-4-neon) - debugs repositories and refactors across files [Google](https://aistudio.google.com/docs/whats-new-gemini-4-neon) - shares a large context between input and output [Google](https://aistudio.google.com/docs/models/gemini-4-neon) | - requires a paid API tier [Google](https://aistudio.google.com/docs/whats-new-gemini-4-neon) | - refactor several files in an interactive session | - projects restricted to the free API tier | $0.045 |
| Google gemini-4-hydrogen | - handles everyday coding and agent work quickly [Google](https://aistudio.google.com/docs/models/gemini-4-hydrogen) - batches read and search calls in parallel [Google](https://aistudio.google.com/docs/whats-new-gemini-4-hydrogen) - accepts long inputs and outputs together [Google](https://aistudio.google.com/docs/models/gemini-4-hydrogen) | - lacks explicit context caching [Google](https://aistudio.google.com/docs/whats-new-gemini-4-hydrogen) | - build an agent that searches while reading documents - work with long inputs in an interactive session | - workflows that create and reuse explicit caches | $0.0225 |
| Google gemini-3.8-flash | - handles extended coding tasks and autonomous agents [Google](https://aistudio.google.com/docs/models/gemini-3.8-flash) - responds quickly in chat at low thinking effort [Google](https://aistudio.google.com/docs/whats-new-gemini-3.8) | - fabricates more claims than Hydrogen in Google’s comparison [Google](https://aistudio.google.com/docs/whats-new-gemini-4-hydrogen) | - delegate an extended software engineering task | - answers where invented details carry a high cost | $0.0113 |
| Google gemini-3.6-flash | - writes code and reasons about spatial relationships [Google](https://aistudio.google.com/docs/models/gemini-3.6-flash) - handles rapid coding iterations [Google](https://aistudio.google.com/docs/models/gemini-3.6-flash) | - caps each response at 65,536 tokens [Google](https://aistudio.google.com/docs/models/gemini-3.6-flash) | - iterate on code with an agent | - single responses exceeding the output cap | $0.0113 |
| Google gemini-3.5-flash-lite | - provides fast, low-cost processing at high volume [Google](https://aistudio.google.com/docs/choosing-a-model) - translates, summarizes and extracts structured data [Google](https://aistudio.google.com/docs/choosing-a-model) - handles document parsing and subagent tasks [Google](https://aistudio.google.com/docs/models/gemini-3.5-flash-lite) | - caps each response at 65,536 tokens [Google](https://aistudio.google.com/docs/models/gemini-3.5-flash-lite) | - translate or summarize a large batch of documents - delegate document parsing to a subagent | - single responses exceeding the output cap | $0.0055 |
| Google gemini-3.1-pro-preview | - handles software engineering and agent workflows [Google](https://aistudio.google.com/docs/models/gemini-3.1-pro-preview) - uses tools precisely across multiple steps [Google](https://aistudio.google.com/docs/models/gemini-3.1-pro-preview) | - is available as a preview release [Google](https://aistudio.google.com/docs/models/gemini-3.1-pro-preview) | - run a coding agent through several tool calls | - deployments requiring a generally available release | $0.032 |
| DeepSeek deepseek-flash | - reads screenshots and analyzes charts [DeepSeek](https://api-docs.deepseek.com/guides/vision/) - handles coding, reasoning and agent tasks [DeepSeek](https://huggingface.co/deepseek-ai/DeepSeek-V4.1-Flash-1017) - searches the web and answers with citations [DeepSeek](https://api-docs.deepseek.com/guides/web_tools/) | - rejects images in assistant messages [DeepSeek](https://api-docs.deepseek.com/guides/vision/) | - extract text or figures from a screenshot - answer a question with web citations | - replaying images inside assistant messages | $0.0042 |
| DeepSeek deepseek-v4-pro | - adjusts reasoning effort for agent tasks [DeepSeek](https://api-docs.deepseek.com/news/news260813/) - searches the web inside the Responses API [DeepSeek](https://api-docs.deepseek.com/guides/responses_api/) - handles agent-driven software development [DeepSeek](https://api-docs.deepseek.com/quick_start/agent_integrations/codex/) | - cannot process images directly [DeepSeek](https://api-docs.deepseek.com/guides/anthropic_api/) | - adjust thinking depth during a coding task - look up facts during an API response | - reading screenshots or charts directly | $0.0172 |
| Mistral Mistral Large 4 | - handles coding, reasoning and agent workflows [Mistral AI](https://huggingface.co/mistralai/Mistral-Large-4-1T-A52B) - reads charts, technical drawings and documents [Mistral AI](https://huggingface.co/mistralai/Mistral-Large-4-1T-A52B) - works across European Union languages [Mistral AI](https://huggingface.co/mistralai/Mistral-Large-4-1T-A52B) | - lacks a switch to disable reasoning [Mistral AI](https://mistral.ai/news/mistral-large-4-oss/) | - analyze a technical drawing - handle requests in different European Union languages | - applications that must turn reasoning off | $0.0091 |
| Mistral Mistral Small 4 | - handles coding, agent tasks and complex reasoning [Mistral AI](https://mistral.ai/news/mistral-small-4/) - analyzes images and parses documents [Mistral AI](https://mistral.ai/news/mistral-small-4/) - works in dozens of languages [Mistral AI](https://huggingface.co/mistralai/Mistral-Small-4-119B-2603) | - caps total context at 256k tokens [Mistral AI](https://huggingface.co/mistralai/Mistral-Small-4-119B-2603) | - extract information from an image or document - build a multilingual coding assistant | - single requests exceeding the context window | $0.0021 |
| Perplexity perplexity/sonar | - grounds answers in search results [Perplexity](https://docs.perplexity.ai/docs/agent-api/models) | - Agent API search filters accept up to 200 domains or URLs [Perplexity](https://docs.perplexity.ai/docs/agent-api/tools/web-search) | - look up a fact before answering | - allowlisting more sites than one search filter accepts | $0.005 |
| Perplexity perplexity/nemotron-3.5-super-120b-a12b | - reasons over long text inputs [Perplexity](https://docs.perplexity.ai/docs/agent-api/models) | - accepts text input only on Perplexity [Perplexity](https://docs.perplexity.ai/docs/resources/changelog) | - analyze a long text document | - sending screenshots directly to the hosted model | $0.0025 |
| Perplexity perplexity/glm-5.3 | - handles complex software engineering and agent tasks [Z.ai](https://docs.z.ai/guides/llm/glm-5.3) - works through long programming tasks [Z.ai](https://docs.z.ai/guides/llm/glm-5.3) | - cannot guarantee reasoning is off on Perplexity [Perplexity](https://docs.perplexity.ai/docs/orchestrator/reasoning-and-caching) | - delegate a long software engineering task | - requests that must produce zero reasoning tokens | $0.0184 |
| Perplexity perplexity/glm-5.3-flash | - handles coding and agent tasks [Z.ai](https://huggingface.co/zai-org/GLM-5.3-Flash) - retains accuracy over long contexts [Z.ai](https://huggingface.co/zai-org/GLM-5.3-Flash) | - can still reason at the lowest Perplexity setting [Perplexity](https://docs.perplexity.ai/docs/orchestrator/reasoning-and-caching) | - work through code with a long input history | - requests that must produce zero reasoning tokens | $0.002 |
| Perplexity perplexity/deepseek-v4-pro-0813 | - handles agent-driven coding tasks [DeepSeek](https://api-docs.deepseek.com/quick_start/agent_integrations/codex/) - handles reasoning tasks [Perplexity](https://docs.perplexity.ai/docs/agent-api/models) | - Perplexity caps each response at 131,072 tokens [Perplexity](https://docs.perplexity.ai/docs/orchestrator/models) | - delegate a coding task that needs reasoning | - generating longer answers in a single response | $0.0172 |
| Perplexity perplexity/kimi-k3 | - sustains long coding sessions across large repositories [Moonshot AI](https://huggingface.co/moonshotai/Kimi-K3) - reasons through long-running coding tasks [Perplexity](https://docs.perplexity.ai/docs/getting-started/integrations/opencode) | - Orchestrator requires resending conversation history [Perplexity](https://docs.perplexity.ai/docs/orchestrator/quickstart) | - delegate a change spanning a large repository | - follow-ups that rely on server-stored conversation history | $0.045 |
| Vercel v0 Mini | - combines fast output with cost-efficient generation [Vercel](https://v0.app/changelog) - scaffolds web apps and components [Vercel](https://v0.app/docs) | - has less capacity for demanding work than Max [Vercel](https://vercel.com/academy/vercel-foundations/v0-way) | - prototype a web component on a budget | - builds requiring the most capable v0 tier | $0.0015 |
| Vercel v0 Pro | - balances speed and quality for everyday tasks [Vercel](https://v0.app/pricing) - builds web apps with authentication and databases [Vercel](https://v0.app/docs/faqs) | - Vercel points complex design work to Max [Vercel](https://v0.app/changelog) | - build a web app with sign-in and a database | - demanding design work that calls for Max | $0.03 |
| Vercel v0 Max | - handles demanding design work [Vercel](https://v0.app/changelog) - builds user interfaces from wireframes and mockups [Vercel](https://v0.app/docs) - turns prompts into working code [Vercel](https://v0.app/docs/faqs) | - produces less reliable full-stack results outside Next.js [Vercel](https://v0.app/docs/full-stack-apps) | - turn a complex mockup into a working interface | - builds requiring equal reliability across frameworks | $0.06 |
| Vercel v0 Max Fast | - generates output quickly for rapid iteration [Vercel](https://v0.app/pricing) - scaffolds web apps and components [Vercel](https://v0.app/docs) | - generated apps cannot directly call v0’s connected MCP tools [Vercel](https://v0.app/docs/MCP) | - iterate quickly on a web component | - apps that must call v0’s MCP tools at runtime | $0.12 |
| Meta Muse Spark 1.3 / 1.2 (Standard) | - Standard mode excludes your content from training. [Meta](https://dev.meta.ai/docs/pricing-rate-limits) | - Standard input costs more than Contributor input. [Meta](https://dev.meta.ai/docs/pricing-rate-limits) | - Work with code that must stay out of model training. | - A budget based on Contributor rates. | $0.0168 · [Checked Nov 28, 2026](https://dev.meta.ai/docs/pricing-rate-limits) |
| Meta Muse Spark 1.3 / 1.2 (Contributor) | - Contributor mode discounts fresh and cached input. [Meta](https://dev.meta.ai/docs/pricing-rate-limits) | - Meta may use prompts, code, files and responses to train future models. [Meta](https://dev.meta.ai/docs/pricing-rate-limits) | - Estimate a workload you can share for training. | - Projects with restrictions on training data. | $0.0012 · [Checked Nov 28, 2026](https://dev.meta.ai/docs/pricing-rate-limits) |
| Meta Muse Wonder (Standard) | - The full context window uses the same token rates. [Meta](https://dev.meta.ai/docs/pricing-rate-limits) | - Contributor pricing is unavailable for Wonder. [Meta](https://dev.meta.ai/docs/pricing-rate-limits) | - Estimate long prompts without a context surcharge. | - A workload that requires Contributor rates. | $0.06 · [Checked Nov 28, 2026](https://dev.meta.ai/docs/pricing-rate-limits) |

### Quick picks

Best quality = highest Artificial Analysis score among priced models tagged for the task. Best value = lowest cost per task with a score of 40 or more.

Intelligence scores: [Artificial Analysis Intelligence Index v5.0.1](https://artificialanalysis.ai/leaderboards/models), checked 2026-11-20

- #### Coding

best quality

gpt-6.2-astra

[62.1 points · Max effort](https://artificialanalysis.ai/leaderboards/models) · $0.12 per task

reasons through complex programming problems [OpenAI](https://developers.openai.com/api/docs/models)

best value

gemini-4-hydrogen

[53.9 points · Xhigh effort](https://artificialanalysis.ai/leaderboards/models) · $0.0225 per task

handles everyday coding and agent work quickly [Google](https://aistudio.google.com/docs/models/gemini-4-hydrogen)
- #### Long documents

best quality

gemini-4-neon

[61.4 points · Xhigh effort](https://artificialanalysis.ai/leaderboards/models) · $0.045 per task

shares a large context between input and output [Google](https://aistudio.google.com/docs/models/gemini-4-neon)

best value

gemini-4-hydrogen

[53.9 points · Xhigh effort](https://artificialanalysis.ai/leaderboards/models) · $0.0225 per task

accepts long inputs and outputs together [Google](https://aistudio.google.com/docs/models/gemini-4-hydrogen)
- #### Image input

best quality

Claude Opus 5.5

[59.1 points · Max effort](https://artificialanalysis.ai/leaderboards/models) · $0.06 per task

handles workflows that rely on vision [Anthropic](https://platform.claude.com/docs/en/models/opus-5-5/overview)

best value

gpt-6.1-terra

[51.3 points · Max effort](https://artificialanalysis.ai/leaderboards/models) · $0.015 per task

quickly reasons about visual input [OpenAI](https://developers.openai.com/api/docs/models/gpt-6.1-terra)
- #### Agent work

best quality

Claude Fable 5.2

[64.6 points · Max effort](https://artificialanalysis.ai/leaderboards/models) · $0.12 per task

reasons through long-running agent tasks [Anthropic](https://platform.claude.com/docs/en/models/fable-5-2/overview)

best value

gemini-4-hydrogen

[53.9 points · Xhigh effort](https://artificialanalysis.ai/leaderboards/models) · $0.0225 per task

handles everyday coding and agent work quickly [Google](https://aistudio.google.com/docs/models/gemini-4-hydrogen)
- #### Fast option

best quality

gemini-4-neon

[61.4 points · Xhigh effort](https://artificialanalysis.ai/leaderboards/models) · $0.045 per task

finishes complex software tasks quickly [Google](https://aistudio.google.com/docs/models/gemini-4-neon)

best value

gpt-6.1-terra

[51.3 points · Max effort](https://artificialanalysis.ai/leaderboards/models) · $0.015 per task

quickly reasons about visual input [OpenAI](https://developers.openai.com/api/docs/models/gpt-6.1-terra)

Official price sources

### OpenClaw

- [OpenClaw](https://docs.openclaw.ai/reference/api-usage-costs) · 2026-11-19

### Nous Research

- [Hermes](https://hermes-agent.nousresearch.com/docs/integrations/providers) · 2026-11-19

### Anthropic

- [Claude Code / Claude, Claude Free, Claude Pro, Claude Max, Claude Ultra, Claude Team Standard, Claude Team Premium, Claude Enterprise](https://claude.com/pricing) · 2026-11-19
- [Claude Sonnet 4.6, Claude Haiku 4.5, Claude Fable 5.2, Claude Opus 5.5, Claude Opus 5, Claude Sonnet 5.5, Claude Sonnet 5, Claude Haiku 5.5](https://platform.claude.com/docs/en/about-claude/pricing) · 2026-11-19

### OpenAI

- [ChatGPT / Codex, ChatGPT Business Standard, ChatGPT Business Premium, ChatGPT Enterprise](https://openai.com/business/pricing/) · 2026-11-19
- [GPT-5.4 mini](https://developers.openai.com/api/docs/models/gpt-5.4-mini) · 2026-11-19
- [GPT-5.4 nano](https://developers.openai.com/api/docs/models/gpt-5.4-nano) · 2026-11-19
- [gpt-6.2-astra, gpt-6.2-sol, gpt-6-astra, gpt-6.1-sol, gpt-6.1-terra, gpt-6-luna, gpt-6-sol, gpt-5.6-terra, gpt-5.6-luna, gpt-5.5, gpt-5.4](https://developers.openai.com/api/docs/pricing) · 2026-11-19
- [gpt-5.6-sol](https://developers.openai.com/api/docs/pricing) · 2026-12-01
- [ChatGPT Free](https://chatgpt.com/pricing/) · 2026-11-19
- [ChatGPT Go](https://openai.com/index/introducing-chatgpt-go/) · 2026-11-19
- [ChatGPT Plus](https://help.openai.com/en/articles/6950777-what-is-chatgpt-plus) · 2026-11-19
- [ChatGPT Pro 100, ChatGPT Pro 200, ChatGPT Pro 500](https://help.openai.com/en/articles/9793128-about-chatgpt-pro-tiers) · 2026-11-19

### xAI

- [Cursor, Grok, X Enterprise](https://cursor.com/pricing) · 2026-11-19
- [Grok Bot, X Free, X Plus, X Premium, X Super, X Ultra, X Teams Premium, X Teams Super, X Teams Ultra](https://docs.x.ai/x-subscription/pricing) · 2026-11-19
- [grok-4.7, grok-4.6, grok-4.5, grok-4.3, grok-4.20-0309-reasoning, grok-4.20-0309-non-reasoning, grok-4.20-multi-agent-0309](https://docs.x.ai/developers/models) · 2026-11-19
- [grok-build-0.1 (retired)](https://docs.x.ai/developers/models/grok-build-0.1) · 2026-11-21

### Meta

- [Muse Code, Muse Spark 1.3 / 1.2 (Standard), Muse Spark 1.3 / 1.2 (Contributor), Muse Wonder (Standard)](https://dev.meta.ai/docs/pricing-rate-limits) · 2026-11-28

### Google

- [Gemini / Antigravity, Gemini Free, Google AI Plus, Google AI Pro, Google AI Ultra 5x, Google AI Ultra 20x](https://gemini.google/subscriptions/) · 2026-11-19
- [gemini-4-carbon, gemini-4-argon, gemini-4-neon, gemini-4-hydrogen, gemini-3.8-flash, gemini-3.6-flash, gemini-3.5-flash-lite, gemini-3.1-pro-preview](https://ai.google.dev/gemini-api/docs/pricing) · 2026-11-19

### GitHub

- [GitHub Copilot, Copilot Free, Copilot Pro, Copilot Pro+, Copilot Max](https://github.com/features/copilot/plans) · 2026-11-19
- [Copilot Business, Copilot Enterprise](https://docs.github.com/en/copilot/get-started/plans) · 2026-11-19

### Perplexity

- [Perplexity](https://docs.perplexity.ai/getting-started/pricing) · 2026-11-19
- [perplexity/sonar, perplexity/nemotron-3.5-super-120b-a12b](https://docs.perplexity.ai/docs/agent-api/models) · 2026-11-19
- [perplexity/glm-5.3, perplexity/glm-5.3-flash, perplexity/deepseek-v4-pro-0813, perplexity/kimi-k3](https://docs.perplexity.ai/docs/orchestrator/models) · 2026-11-19
- [Perplexity Free, Perplexity Pro](https://www.perplexity.ai/hub) · 2026-11-19
- [Perplexity Max](https://www.perplexity.ai/help-center/en/articles/11680686-perplexity-max) · 2026-11-19

### Mistral

- [Mistral Vibe, Mistral Free, Mistral Pro, Mistral Team, Mistral Enterprise](https://mistral.ai/pricing) · 2026-11-19
- [Mistral Large 4](https://docs.mistral.ai/models/mistral-large-4) · 2026-11-19
- [Mistral Small 4](https://docs.mistral.ai/inference/pricing) · 2026-11-19

### Cognition

- [Windsurf (Devin), Devin Teams](https://devin.ai/desktop) · 2026-11-19
- [Devin Free, Devin Pro, Devin Max, Devin Enterprise](https://windsurf.com/pricing) · 2026-11-19

### Replit

- [Replit](https://docs.replit.com/references/integrations/replit-ai-integrations) · 2026-11-19
- [Replit Core, Replit Pro, Replit Enterprise](https://replit.com/pricing) · 2026-11-19

### Lovable

- [Lovable](https://docs.lovable.dev/features/ai) · 2026-11-19
- [Lovable Free, Lovable Pro, Lovable Business, Lovable Enterprise](https://lovable.dev/pricing) · 2026-11-19

### Vercel

- [v0, v0 Mini, v0 Pro, v0 Max, v0 Max Fast, v0 Free, v0 Plus, v0 Business, v0 Enterprise](https://v0.app/pricing) · 2026-11-19

### StackBlitz

- [Bolt, Bolt Free, Bolt Pro, Bolt Teams, Bolt Enterprise](https://bolt.new/pricing) · 2026-11-19

### OpenRouter

- [OpenRouter](https://openrouter.ai/pricing) · 2026-11-19

### DeepSeek

- [deepseek-flash, deepseek-v4-pro](https://api-docs.deepseek.com/quick_start/pricing) · 2026-11-19

## Next steps

### Free

- Free tool

#### AI instruction builder

Carry your writing preferences between tools.

[Build your AI instructions](https://cwyn.com/build/ai-instructions/)
- Free guides

#### Model and billing guides

Choose a billing guide for the tool you use.

[OpenClaw model and billing guides](https://cwyn.com/guides/openclaw/#models)
  - [Claude Code monthly costs](https://cwyn.com/pages/claude-code-guide-cost-per-month.html)
  - [Claude Code subscription or API billing](https://cwyn.com/pages/claude-code-guide-subscription-vs-api.html)
  - [Hermes Agent monthly costs](https://cwyn.com/pages/hermes-guide-cost-per-month.html)
  - [Grok Bot weekly usage limits](https://cwyn.com/pages/grok-bot-guide-usage-limits.html)
  - [Claude Code vs Codex costs](https://cwyn.com/pages/claude-code-guide-claude-code-vs-codex-cost.html)
  - [GPT-6.2 Codex usage limits and the billing fix](https://cwyn.com/pages/claude-code-guide-codex-gpt-6-2-usage-limits.html)
  - [Cheapest OpenClaw models per message and month](https://cwyn.com/pages/openclaw-guide-cheapest-model.html)
  - [OpenClaw vs Claude Code workloads and costs](https://cwyn.com/pages/openclaw-guide-openclaw-vs-claude-code.html)
  - [CLAUDE.md template and instruction token costs](https://cwyn.com/pages/claude-code-guide-claude-md-template.html)
  - [Reduce OpenClaw token usage](https://cwyn.com/pages/openclaw-guide-token-optimization.html)

### Estimated savings

Run the numbers above to see your estimated savings and the kit that fits.

## Platform guides and starter kits

- [OpenClaw guides](https://cwyn.com/guides/openclaw/) · [OpenClaw Complete Setup Pack](https://cwyn.com/pages/pack-openclaw-complete-setup-pack.html)
- [Hermes guides](https://cwyn.com/guides/hermes/) · [Hermes Setup Fix Kit](https://cwyn.com/pages/pack-hermes-setup-fix-kit.html)
- [Claude Code guides](https://cwyn.com/guides/claude-code/) · [Claude Code Complete Setup Pack](https://cwyn.com/pages/pack-claude-code-complete-setup-pack.html)
- [Grok Bot guides](https://cwyn.com/guides/grok-bot/) · [Grok Bot Setup & Usage-Saver Kit](https://cwyn.com/pages/pack-grok-bot-setup-usage-saver-kit.html)
- [Codex guides](https://cwyn.com/guides/codex/)
- [Muse Code guides](https://cwyn.com/guides/muse-code/)
