← All models

How do we compute what a model costs per coding-agent request?

Every cost on our model pages comes from 79,301 real coding-agent requests from 75 users on the Standard Compute gateway (Sep 13 to Oct 12, 2026), each priced at the vendor's published list rates for its own input, cached, and output tokens; nothing is estimated from a price card alone.

Data generated 2026-10-17. List prices checked 2026-10-13.

Run current Claude, GPT, Gemini and open models in your agent

Or let the router send each step to the cheapest model that can do it, on providers we vet for price, uptime and speed. Plans from $19 a month.

See plans

The sample

WindowSep 13 to Oct 12, 2026 (30 days, UTC)
Requests79,301 successful requests (HTTP 200)
Users / sessions75 users, 1,177 sessions
ClientsOpenCode, Kilo Code, Roo Code and GitHub Copilot Chat, as identified by the client in each request
Median input99,534 tokens (p25 59K, p90 280K, p99 533K)
Cache reads87% of input tokens; cache writes 0.9%
Output698 tokens per request on average (median 214)
Prompt size50% over 100K, 21% at 200K or more, 11% over 272K
Sessionsmedian 16 requests, mean 67.4

OpenCode alone had 68 users and 64,668 requests, so the OpenCode guide uses its own figures. Every other agent had fewer than 50 users and is folded into the pooled sample; a separate figure needs at least 50 users and 500 requests.

How a request is priced

Each logged request keeps its own input, cache-read, cache-write and output token counts. For every model we price it as fresh input × input rate + cache reads × cache-read rate + cache writes × cache-write rate (the input rate where a vendor charges none) + output × output rate. If the request's input passes the model's long-context threshold, the higher rates apply to the whole request, as the vendors bill it. Requests larger than a model's context window are left out of that model's figures, and its page says how many.

From the priced requests we report: the average request; 100 requests; the median session (requests from one key with no pause longer than 10 minutes); and a month of regular use, the median 30-day total of the 20 users active on 5 or more days (1,478 requests). The three prompt-size rows are under 100K, 100K to 272K and over 272K input tokens, the two price lines most coding agents cross. Vs pages compare both models on the requests that fit in both context windows.

Price sources

List prices only, never promotions or our own plan prices. Where a vendor has a temporary price (Gemini 3.8 Flash until December 31, 2026) or time-of-day pricing (DeepSeek peak hours), we use the standard or peak rate and say so on the model's page. Devstral 2 uses Mistral's endpoint price on OpenRouter because Mistral's pricing page does not list it. Thirteen older or open-weight models (Gemini 3.5 Flash, Gemini 3.1 Flash Lite, DeepSeek V3.2, DeepSeek R1 0528, Qwen3.7 Max and Plus, Qwen3 235B, Kimi K2.7 Code and K2.6, GLM 4.6, Llama 4 Maverick, MiniMax M3 and M2.1) use OpenRouter's listed price, which can be a third-party host's; their pages say so.

What these numbers do not show

Benchmarks, speed and latency from Artificial Analysis

Intelligence Index, Terminal-Bench 4.0, output speed, time to first answer token and blended price come from each model's public page on Artificial Analysis, read on October 13, 2026. Artificial Analysis lists each reasoning effort separately; we show the variant the model's own page leads with, usually its highest effort, and name it under every table. Charts are downloaded with Artificial Analysis's own "Download chart as image" button and shown unchanged. Every table, chart and sentence that uses these numbers carries the credit "Source: Artificial Analysis (artificialanalysis.ai)", and they are kept out of our structured data.

The value leaderboard is our calculation: a model's Terminal-Bench 4.0 score in percentage points divided by our measured cost of 100 coding-agent requests. Models passing fewer than one in five Terminal-Bench 4.0 tasks, or whose context window cannot take every request in our sample, are listed apart. See all leaderboards.

Source: Artificial Analysis (artificialanalysis.ai).

Privacy and refresh

The gateway logs token counts and the client name for each request, never prompt text. We publish aggregates only: no per-user figures, and no agent cell under 50 users. The figures are regenerated with scripts/analytics/model-task-costs.mjs, which writes the JSON every page reads. See the result ranked in the cheapest models per coding-agent request.