FREE TOOL · NO SIGN-UP · NOTHING LEAVES YOUR BROWSER
AI token cost calculator for coding agents
Enter a month of tokens per engineer, split the way coding-agent APIs bill them: fresh input, cache writes, cache reads and output. The calculator prices that month on every Claude, GPT and Cursor model at list price, for one engineer and for your team. It opens on one of our own engineers' measured months, 67.9B tokens and 98.4% cache reads; replace it with yours.
What that month costs
One engineer's month costs from $834 on Haiku 5.5 (prompts up to 100K tokens) to $83,382 on GPT-6 Astra, at list price.
Write each token count as a number, such as 980M or 1,200,000.
Every token at the model's list price per million, for the inputs on the left; Cursor's Claude and GPT rows add its Token Rate.
Model
Per engineer a month
Team a month
Team, without caching
Cache reads' share
Anthropic API (Claude Code on an API key or Enterprise)
Fable 5.1
$33,222
$33,222
$682,852
50%
Opus 5.5
$19,977
$19,977
$273,141
67%
Sonnet 5.5
$9,988
$9,988
$136,570
67%
Haiku 5.5 (prompts up to 100K tokens)
$834
$834
$6,829
80%
OpenAI API (Codex on an API key)
GPT-6 Astra
$83,382
$83,382
$682,852
80%
GPT-6.1 Sol
$9,988
$9,988
$136,570
67%
GPT-6.1 Terra
$4,994
$4,994
$68,285
67%
GPT-6 Luna
$834
$834
$6,829
80%
Cursor Teams
Claude Opus 5.5 with the Cursor Token Rate
$36,963
$36,963
$290,127
81%
Claude Sonnet 5.5 with the Cursor Token Rate
$26,975
$26,975
$153,557
87%
GPT-5.6 Sol with the Cursor Token Rate
$50,339
$50,339
$290,127
86%
Composer 2.5 (Cursor's model, past the weekly pool)
$13,589
$13,589
$34,143
98%
Grok 4.7 (Cursor's model, past the weekly pool)
$33,951
$33,951
$136,231
98%
Anthropic API (Claude Code on an API key or Enterprise): prices verified November 4, 2026 against platform.claude.com/docs/en/about-claude/pricing. Haiku 5.5 costs more on prompts over 100K tokens.
OpenAI API (Codex on an API key): prices verified November 4, 2026 against developers.openai.com/api/docs/pricing and learn.chatgpt.com/docs/pricing. Standard tier, prompts up to 272K tokens; longer prompts cost 2x input and 1.5x output.
Cursor Teams: prices verified November 3, 2026 against cursor.com/docs/models-and-pricing. Claude and GPT bill from the first request with the Cursor Token Rate (+$0.25 per million on every kind of token); Cursor's own models bill only past a seat's weekly pool.
"Claude cache writes" applies to the Anthropic API rows; Cursor's Claude rows are its 5-minute prices.
Where the cost goes
Kind of token
Tokens
Per engineer a month
Share of cost
Fresh input
1.17M
$4.68
under 0.1%
Cache writes
980M
$4,900
25%
Cache reads
66.88B
$13,376
67%
Output
84.8M
$1,696
8%
Count the tokens in a text
An estimate appears here: characters, words, and tokens on GPT and Claude models.
How the calculator prices a month
Each kind of token is multiplied by the model's list price per million tokens for that kind, and the four are added up. The team column multiplies by the number of engineers. "Without caching" bills every input-side token (fresh input, cache writes and cache reads) at the fresh input price, as if the provider cached nothing.
The prices are the per-token tables of our Claude Code pricing, Codex pricing and Cursor pricing guides, each with the date it was last checked against the vendor's page. Nothing you type is sent anywhere: the page does the arithmetic in your browser.
Where to find your token counts
Claude Code:/usage lists input, output, cache read and cache write tokens per model, for the session, the last 24 hours or 7 days. For a month or more, ccusage reads the local transcripts. Our Claude Code token usage guide walks through both.
Codex: the CLI's /status and /usage show usage by day, by week or in total, and the usage dashboard shows your limits.
Cursor: grok.com/dashboard and the editor's settings show how much of the weekly pool is used and the prepaid credit left.
A whole team: each of these reads one person's machine or account. Zest records every engineer's input, output and cache tokens per session, with an estimated cost, next to the pull requests those sessions led to.
Why cache reads are most of a coding agent's bill
A coding agent sends the whole conversation, files and tool results included, on every request. With prompt caching the repeated part is billed as a cache read: on Opus 5.5, $0.20 per million tokens against $4 for fresh input. So a calculator that asks only for input and output tokens prices an agent's month as if nothing were cached.
The month the calculator opens on is one of our engineers': 318 Claude Code sessions (September 4 to October 3, 2026), 67.9B tokens, 98.4% of them cache reads. At Anthropic's list prices on October 4, 2026 it came to $26,072, and the same tokens without caching to $370,526. Where the cost went: cache reads 57%, cache writes 33%, output 10%. That month mixed models and cache durations, and the calculator prices every token on one model, so read the row of the model you run most.
Why a seat price is not the whole cost
Team plans start at a seat price. Claude Team Standard is $25 a seat a month, or $20 billed annually; ChatGPT Business, which includes Codex, $25 per user a month, or $20 billed annually; Cursor Teams Premium $30 per user a month. Each seat includes usage up to limits the vendors don't publish in tokens, and past them usage bills at API rates (Cursor's at API rates plus its token rate). Claude Enterprise is $20 a seat a month, billed annually, with all usage billed at API rates on top. So this calculator gives the price of an API key, of Enterprise usage, or of what a team runs past its seats.
For scale, Anthropic's figure for Claude Code across enterprise deployments is $150–250 per developer a month, about $13 per active day; 90% of users stay under $30 a day. Our measured month is a heavy agent user's, far above that. GitHub Copilot meters in AI credits, not tokens (Copilot Business: $19 a seat, with 1,900 pooled AI credits), so it isn't in the table. The seats side by side are in Claude Code vs Codex vs Cursor.
How the text estimate works
The text box counts characters and words, then estimates tokens with the providers' own rules of thumb for English text. OpenAI puts a token at about 4 characters. Anthropic puts it at about 3.5 characters on earlier models, and says Claude 4.7 and later models, every Claude model priced here, make about 30% more tokens from the same text. Code, other languages and unusual words tokenize differently, so for an exact count use each provider's token counting.
TRY IT ON YOUR TEAM
See what your team ships with AI.
Starter is free (3 seats, no credit card). Pro is $49 a month with 5 seats and Max is $149 a month with 10 seats — priced per workspace, not per engineer, with extra seats at $19 a month. See pricing
Paste it into the text box above for an estimate: about 4 characters a token on OpenAI's models; on Claude, about 3.5 characters a token before Claude 4.7, whose newer tokenizer makes about 30% more tokens from the same text. For an exact count, use each provider's token counting with the model you plan to use, as Anthropic's docs advise.
Why are cache reads most of a coding agent's tokens?+
An agent sends the whole conversation again on every request, and the provider bills the repeated part as a cache read at a fraction of the input price. In our measured month, 98.4% of 67.9B tokens were cache reads.
Is this what a Claude, ChatGPT or Cursor subscription costs?+
No. The calculator prices tokens at API list price: what an API key, Claude Enterprise or usage past a plan's limit is billed. A seat includes usage up to limits the vendors don't publish in tokens.
Does Cursor charge more per token than the model's maker?+
On Teams and Enterprise, yes: Cursor bills Claude and GPT models at the API list price plus the Cursor Token Rate on every kind of token, cached ones included. Cursor's own models skip the token rate and bill only past a seat's weekly pool.