What a coding-agent model costs, next to how it ranks
AI Coding Field Notes
A daily re-read of what the coding-agent models list for. The table, the field notes behind it, and the script that fetches it are on GitHub.
Every model that ranks in an agents category of the Design Arena, priced twice: what it lists for, and what a coding agent actually pays. Read from OpenRouter on 2026-09-17.
List price is not your bill, and here is by how much. A coding agent re-reads its whole context on every step, so about 95.6% of the tokens it sends are cache reads — billed at a fraction of the list input price that every other pricing table sorts by. Repriced at that mix, list input price overstates what an agent actually pays by a median 6.5× (range 3.4×–12.6× across the 64 rows where it can be computed).
The ranking barely moves; the bill does. 10 of the 10 cheapest by list price are still in the cheapest 10 repriced. So list price tells you which model is cheap and lies about what you will pay — and the 3.4×–12.6× spread in that multiple is what separates two models whose list prices look identical.
That 95.6% is one person's measurement of one coding agent (8.04B tokens, 2026-05-16), not an industry figure — it is simply the only public measurement we could find. 64 of these rows publish a cached-input price, so the weights ship in the JSON: recompute with your own mix. Cache-write prices are not in the catalog, so that 2.7% of tokens is folded into the cache-miss share, which understates cost by roughly 0.7%.
The batch rows are kept as their own entries rather than folded into the model above them. The prices belong to the catalog and the ranks belong to the arena; neither is ours, and both move.
All 66 models, cheapest to actually run
- $0.0219/M at agent mix ($0.09 in · $0.36 out list) — Solar Pro 4 · #33 webapps · 524K ctx · cached in $0.018
- $0.0566/M at agent mix ($0.375 in · $1.875 out list) — Gemini 3.6 Flash ·
batch· #12 androidnative · 1M ctx · cached in $0.0375 - $0.0566/M at agent mix ($0.375 in · $1.875 out list) — Gemini 3.7 Flash ·
batch· #4 mobileapps · 1M ctx · cached in $0.0375 · field note: Chinese Models Are Not 2x Cheaper Once Your Agent Starts Caching - $0.0566/M at agent mix ($0.375 in · $1.875 out list) — Gemini 3.8 Flash ·
batch· #6 mobileapps · 1M ctx · cached in $0.0375 - $0.0731/M at agent mix ($0.30 in · $1.20 out list) — MiniMax M3 · #11 htmlslides · 1M ctx · cached in $0.06 · field note: 1.6 Billion Free Tokens Is a Compression Ratio, Not a Strategy
- $0.0731/M at agent mix ($0.30 in · $1.20 out list) — MiniMax M3 ·
batch· #11 htmlslides · 524K ctx · cached in $0.06 · field note: 1.6 Billion Free Tokens Is a Compression Ratio, Not a Strategy - $0.0769/M at agent mix ($0.50 in · $3.00 out list) — Gemini 3 Flash Preview · #8 agenticslides · 1M ctx · cached in $0.05
- $0.0918/M at agent mix ($0.45 in · $2.25 out list) — Kimi K2.5 · #8 godotgamedev · 262K ctx · cached in $0.07
- $0.0979/M at agent mix ($0.40 in · $1.75 out list) — GLM 4.7 · #27 androidnative · 204K ctx · cached in $0.08
- $0.0991/M at agent mix ($0.43 in · $1.75 out list) — GLM 4.6 · #12 godotgamedev · 204K ctx · cached in $0.08
- $0.1018/M at agent mix ($0.70 in · $2.20 out list) — GLM 5.2 ·
batch· #10 agenticgamedev · 1M ctx · cached in $0.07 - $0.1131/M at agent mix ($0.75 in · $3.75 out list) — Gemini 3.6 Flash · #12 androidnative · 1M ctx · cached in $0.075
- $0.1131/M at agent mix ($0.75 in · $3.75 out list) — Gemini 3.7 Flash · #4 mobileapps · 1M ctx · cached in $0.075 · field note: Chinese Models Are Not 2x Cheaper Once Your Agent Starts Caching
- $0.1131/M at agent mix ($0.75 in · $3.75 out list) — Gemini 3.8 Flash · #6 mobileapps · 1M ctx · cached in $0.075
- $0.1153/M at agent mix ($0.75 in · $4.50 out list) — Gemini 3.5 Flash ·
batch· #2 agenticslides(python-pptx) · 1M ctx · cached in $0.075 - $0.1396/M at agent mix ($0.875 in · $7.00 out list) — GPT-5.2 ·
batch· #17 godotgamedev · 400K ctx · cached in $0.0875 - $0.1448/M at agent mix ($0.60 in · $1.92 out list) — GLM 5 · #15 godotgamedev · 204K ctx · cached in $0.12
- $0.1508/M at agent mix ($1.00 in · $5.00 out list) — Claude Sonnet 5 ·
batch· #2 godotgamedev · 1M ctx · cached in $0.10 · field note: Chinese Models Are Not 2x Cheaper Once Your Agent Starts Caching - $0.1592/M at agent mix ($0.70 in · $2.20 out list) — GLM 5.3 ·
batch· #6 python-pptxslides · 1M ctx · cached in $0.13 - $0.1922/M at agent mix ($1.25 in · $7.50 out list) — GPT-5.4 ·
batch· #21 godotgamedev · 1.1M ctx · cached in $0.125 - $0.1995/M at agent mix ($1.00 in · $2.00 out list) — Grok 4.3 ·
batch· #8 pptxslides · 1M ctx · cached in $0.16 - $0.2033/M at agent mix ($0.95 in · $4.00 out list) — Kimi K2.6 · #2 agentichtmlslides · 262K ctx · cached in $0.16 · field note: Chinese Models Are Not 2x Cheaper Once Your Agent Starts Caching
- $0.2035/M at agent mix ($1.60 in · $3.20 out list) — DeepSeek V4 Pro 0423 · #26 godotgamedev · 1M ctx · cached in $0.135
- $0.2036/M at agent mix ($1.40 in · $4.40 out list) — GLM 5.2 · #10 agenticgamedev · 1M ctx · cached in $0.14
- $0.2042/M at agent mix ($1.25 in · $10.00 out list) — GPT-5.1-Codex · #22 mobileapps · 400K ctx · cached in $0.13
- $0.2067/M at agent mix ($1.25 in · $4.25 out list) — Muse Spark 1.1 · #8 htmlslides · 1M ctx · cached in $0.15 · field note: 1.6 Billion Free Tokens Is a Compression Ratio, Not a Strategy
- $0.2067/M at agent mix ($1.25 in · $4.25 out list) — Muse Spark 1.2 · #10 androidnative · 1M ctx · cached in $0.15
- $0.2067/M at agent mix ($1.25 in · $4.25 out list) — Muse Spark 1.3 · #3 webapps · 1M ctx · cached in $0.15
- $0.2102/M at agent mix ($0.7062 in · $3.21 out list) — Kimi K2.7 Code · #7 htmlslides · 262K ctx · cached in $0.18
- $0.2197/M at agent mix ($0.966 in · $3.036 out list) — GLM 5.1 · #2 agenticslides · 204K ctx · cached in $0.1794
- $0.2263/M at agent mix ($1.50 in · $7.50 out list) — Claude Sonnet 4.5 ·
batch· #29 mobileapps · 1M ctx · cached in $0.15 - $0.2263/M at agent mix ($1.50 in · $7.50 out list) — Claude Sonnet 4.6 ·
batch· #6 godotgamedev · 1M ctx · cached in $0.15 - $0.2306/M at agent mix ($1.50 in · $9.00 out list) — Gemini 3.5 Flash · #2 agenticslides(python-pptx) · 1M ctx · cached in $0.15
- $0.2494/M at agent mix ($1.25 in · $2.50 out list) — Grok 4.20 · #12 htmlslides · 2M ctx · cached in $0.20
- $0.2494/M at agent mix ($1.25 in · $2.50 out list) — Grok 4.3 · #8 pptxslides · 1M ctx · cached in $0.20
- $0.2792/M at agent mix ($1.75 in · $14.00 out list) — GPT-5.2 · #17 godotgamedev · 400K ctx · cached in $0.175
- $0.2792/M at agent mix ($1.75 in · $14.00 out list) — GPT-5.2-Codex · #18 godotgamedev · 400K ctx · cached in $0.175
- $0.2792/M at agent mix ($1.75 in · $14.00 out list) — GPT-5.3-Codex · #23 godotgamedev · 400K ctx · cached in $0.175
- $0.29/M at agent mix ($1.20 in · $4.00 out list) — GLM 5V Turbo · #4 androidnative · 202K ctx · cached in $0.24
- $0.3017/M at agent mix ($2.00 in · $10.00 out list) — Claude Sonnet 5 · #2 godotgamedev · 1M ctx · cached in $0.20 · field note: Chinese Models Are Not 2x Cheaper Once Your Agent Starts Caching
- $0.3075/M at agent mix ($2.00 in · $12.00 out list) — Gemini 3.1 Pro Preview · #4 agentichtmlslides · 1M ctx · cached in $0.20
- $0.3184/M at agent mix ($1.40 in · $4.40 out list) — GLM 5.3 · #6 python-pptxslides · 1.3M ctx · cached in $0.26
- $0.355/M at agent mix ($1.475 in · $4.425 out list) — Qwen3.7 Max · #7 godotgamedev · 1M ctx · cached in $0.295 · field note: Chinese Models Are Not 2x Cheaper Once Your Agent Starts Caching
- $0.3771/M at agent mix ($2.50 in · $12.50 out list) — Claude Opus 4.5 ·
batch· #16 androidnative · 200K ctx · cached in $0.25 - $0.3771/M at agent mix ($2.50 in · $12.50 out list) — Claude Opus 4.6 ·
batch· #8 agenticgamedev · 1M ctx · cached in $0.25 - $0.3771/M at agent mix ($2.50 in · $12.50 out list) — Claude Opus 4.8 ·
batch· #1 agenticslides · 1M ctx · cached in $0.25 - $0.3771/M at agent mix ($2.50 in · $12.50 out list) — Claude Opus 5 ·
batch· #1 mobileapps · 1M ctx · cached in $0.25 - $0.3843/M at agent mix ($2.50 in · $15.00 out list) — GPT-5.4 · #21 godotgamedev · 1.1M ctx · cached in $0.25
- $0.3843/M at agent mix ($2.50 in · $15.00 out list) — GPT-5.5 ·
batch· #6 agenticslides · 1.1M ctx · cached in $0.25 - $0.3857/M at agent mix ($2.00 in · $6.00 out list) — Grok 4.5 · #3 godotgamedev · 500K ctx · cached in $0.30
- $0.3956/M at agent mix ($5.00 in · $25.00 out list) — Claude Fable 5.1 ·
batch· #1 fullstack · 1M ctx · cached in $0.125 - $0.4525/M at agent mix ($3.00 in · $15.00 out list) — Claude Sonnet 4.5 · #29 mobileapps · 1M ctx · cached in $0.30
- $0.4525/M at agent mix ($3.00 in · $15.00 out list) — Claude Sonnet 4.6 · #6 godotgamedev · 1M ctx · cached in $0.30
- $0.4525/M at agent mix ($3.00 in · $15.00 out list) — Kimi K3 · #2 fullstack · 1M ctx · cached in $0.30 · field note: Chinese Models Are Not 2x Cheaper Once Your Agent Starts Caching
- $0.4525/M at agent mix ($3.00 in · $15.00 out list) — Kimi K3 ·
batch· #2 fullstack · 1M ctx · cached in $0.30 · field note: Chinese Models Are Not 2x Cheaper Once Your Agent Starts Caching - $0.577/M at agent mix ($2.00 in · $6.00 out list) — Grok 4.6 · #2 androidnative · 500K ctx · cached in $0.50
- $0.7542/M at agent mix ($5.00 in · $25.00 out list) — Claude Fable 5 ·
batch· #1 agenticgamedev · 1M ctx · cached in $0.50 - $0.7542/M at agent mix ($5.00 in · $25.00 out list) — Claude Opus 4.5 · #16 androidnative · 200K ctx · cached in $0.50
- $0.7542/M at agent mix ($5.00 in · $25.00 out list) — Claude Opus 4.6 · #8 agenticgamedev · 1M ctx · cached in $0.50
- $0.7542/M at agent mix ($5.00 in · $25.00 out list) — Claude Opus 4.8 · #1 agenticslides · 1M ctx · cached in $0.50
- $0.7542/M at agent mix ($5.00 in · $25.00 out list) — Claude Opus 5 · #1 mobileapps · 1M ctx · cached in $0.50
- $0.7687/M at agent mix ($5.00 in · $30.00 out list) — GPT-5.5 · #6 agenticslides · 1.1M ctx · cached in $0.50
- $0.7911/M at agent mix ($10.00 in · $50.00 out list) — Claude Fable 5.1 · #1 fullstack · 1M ctx · cached in $0.25
- $1.5084/M at agent mix ($10.00 in · $50.00 out list) — Claude Fable 5 · #1 agenticgamedev · 1M ctx · cached in $1.00
- $0.25 in · $1.50 out (no cached price published) — Gemini 3 Flash Preview ·
batch· #8 agenticslides · 1M ctx - $1.00 in · $6.00 out (no cached price published) — Gemini 3.1 Pro Preview ·
batch· #4 agentichtmlslides · 1M ctx
The same rows, machine-readable: JSON · CSV · the same table on the web. CC BY 4.0.
Three things this table cannot tell you
It is a rate card. Your bill depends on your usage, and three of the biggest differences never appear in a price column. Put your own numbers in — one page, nothing to install, no account, and it reads the same JSON linked above, so it is never a day behind this table.
- DeepSeek bills by the clock — off-peak is half price, and the weekend rule changed on 2026-08-23. The calculator resolves which phase you are in right now, what the same call costs in the other phase, and how long until it flips.
- Long context is a cliff, not a slope. Cross a model's long-context threshold and every token in that request reprices, including the ones below it — one token over can double a bill. The table above cannot show you that; it depends on your prompt.
- The mix above is the median agent, not yours. Slide the cache-read share to what your own logs say and the ordering of the cheapest ten changes.
Which vendor, not which row
The table above sorts by price, so one vendor's rows are scattered down it. The number that decides an agent's bill is not in any single row: how deep a vendor discounts a cache read, which is set per vendor, not per model. One page each, on the same arithmetic as the table:
The 61 field notes behind these numbers
Written while actually running these models — what broke, what the numbers turned out to mean, and what the price tag did not tell us.
- How Chinese AI Agent Tools Leverage 1.6 Billion Free Tokens
- The Cost-Effective Guide to Using Open Code Review for AI Programming Tools
- 1.6 Billion Free Tokens Is a Compression Ratio, Not a Strategy
- 58 Million Plays Started With One Account, Not Four
- 63 Billion Tokens in One Month, Spent Writing Google Ads for Amazon Sellers
- A 30-Line Script, 200 Users, and a Niche Nobody Wanted
- AI Agent Loop Engineering: Karpathy's Method for 5x Productivity Gains
- AI Local Websites Don’t Rent for $3K/Month—Until You Do This
- AI Model Costs: Beyond Per-Token Pricing
- AI Programming Tool Selection Strategy: From Rapid Prototyping to Long-term Collaboration
- AI Side Hustle: Stop Selling Hours, Start Selling Plans
- AI Took Over My Coding. What Broke Was How I Learn.
- Automating Short Video Marketing with AI: A Low-Cost Growth Strategy for Developers
- Best Practices for AI Agent Skill Management
- Beyond Chat: How Codex Can Automate Your Word/Excel/PPT/PDF Workflows
- Boosting AI Bot Conversion: A Deep Dive into Funnel Data
- Charge Per Conversation, Not Per Seat: The Billing Model Behind AI Support
- Chinese Models Are Not 2x Cheaper Once Your Agent Starts Caching
- Choosing the Right AI Model for Coding: Cost vs. Efficiency
- Claude Code Can Model a Flange but Not a Freeform Surface: A Six-Step Handoff Checklist for Non-Code Agent Output
- Claude Code and Codex for Office Automation
- Debunking the Myth of Overnight Success in Micro-SaaS
- From AI Demo to Product: Loop Engineering for Indie Devs
- How Chinese Developers Are Using Codex Record & Replay to Streamline Repetitive Workflows
- How Indie Developers Are Building AI-Powered "Digital Landlords" and Renting Them Out for Monthly Cash Flow
- How Respond.io Built a $35M ARR Business by Billing AI Agents Per Active Customer (Not Per Agent)
- How to Build a Micro-SaaS Without Spending a Dime on Ads
- How to Turn Your Obsidian Vault Into an Autonomous AI Research Agent
- How to Turn the Workflows You Won't Document Into Agent Skills
- Klarna Replaced 700 Support Agents With AI. Then It Started Hiring Again.
- MonkeyCode: The Open-Source AI Coding Platform With 900 Million Free Tokens
- Never Use a Model Where Code Can Decide
- One Person, 8 AI Agents, 3,000 Baseball Caps in Two Months
- Rank and Rent: Local SEO Sites That Earn $500 to $3,000 a Month
- Sell It Before You Build It: How Indie Devs Validate AI Products
- Stop Chatting With AI: How I Use /loop and /hook to Automate My Indie Dev Workflow
- Stop Doing Manual DevOps: How I Use /loop and /hook to Automate My Daily Indie Hacker Tasks
- Stop Reading SimilarWeb Like a Traffic Dashboard — Read It Like a Feasibility Test
- Stop Using AI as a Chatbot: How to Build an Indie Workstation with Skills and Automation
- The $22K-a-Month AI Tool That Never Bought a Single Ad
- The 5 AI Features That Separated 27 Profitable Solopreneurs From the Rest
- The AI Automation Ceiling: Why 60% Efficiency Doesn't Equal 20% Conversion
- The AI Branding Revolution: How Indie Developers Are Ditching Design Costs with AI
- The First Line of Defense in AI Programming: Environment Variable Management
- The Hidden Costs of AI Coding Tools: What English Developers Don't Know
- The Hidden Costs of GPT-5.6 Model Selection: A Developer's Real-World Guide
- The Hidden Costs of Over-Prompting in AI Coding: Lessons from Claude Code's Optimization
- The Klarna Lesson: Why AI Implementation Needs a Staircase, Not a Leap
- The Real Pitfalls of AI Agent Development: From Code Generation to Functional Verification
- The Token Cost War: Why Price per Million Tokens Now Decides the AI Market
- The Two Best AI Code Reviewers Score the Same. One Costs $1.43 a Run, the Other $9.05.
- Token Optimization for Indie Developers' AI API Bills
- When AI Customer Service Backfired: Klarna’s Case and the Four-Stage Path to Enterprise AI Adoption
- When the AI Picks for the Customer, You Become a Supplier
- Why Pi's 1000-Token Agent Engine Needs a Sandbox Before You Touch It
- Why Stripping 80% of System Prompts Actually Improved Claude Code's Performance
- Why Vanity Metrics Kill AI Startups: 700 Customers and 60,000 RMB From One Niche Account
- Why Your AI Agent Goes Off the Rails: Give It Boring Work First
- Why Your Indie App Needs Short-Form Video Marketing (And How to Get Started)
- Your AI Coding Bill Scales With Your Repo, Not Your Output
- Your Agent Writes Code Faster Than Anyone Can Review It
Part of llm-api-pricing — field notes on AI coding agents. This one is also on the web, where it links out to the related write-ups. Every figure across the whole collection is also published as JSON and CSV, each row with the sentence it came from.
Did this save you an afternoon? A star on the repository is the whole ask — it is what puts these in front of the next person looking. The data is CC BY and does not require starring. One thing this piece could not settle: a rate card is not a routing decision. Which model is your money actually going to this week? Reply with just the name — "still on the free tier" is a real answer and the one I learn most from. The reply box is on the thread copy of this piece — one line answers it. No template, no title, nothing to organise first. Want a figure that is not in here yet? Say which metric, which provider, which unit in one line — one required field, and the page you came from is already filled in. Requests get turned into rows. Got a better number? Open an issue — the form already knows which write-up you came from; corrections and counter-data are the point.