As of November 2026, the cheapest way to run Claude Code is to start with Requesty's allowance of 200 requests per day on free models, available through its Claude Code gateway integration. Among paid models in Requesty's coding benchmark, GPT-6 Luna has the lowest cost per solve at $0.07. Qwen3.8 Flash follows at $0.08, then Claude Haiku 5.5 at $0.14. The paid ranking comes from our benchmark agent, so treat it as a starting point for your own Claude Code tests.
Models ranked by cost per solve
For our coding benchmark, we put 25 models through 129 private tasks from Requesty's Go backend. Each model used the same agent and tools (bash, read, edit and write), with an 80-turn budget. Both the hidden tests and existing tests had to pass before we counted a task as solved.
The November 2026 table below selects models from the ranking and sorts them by cost per solve, using the benchmark updated on October 29. The benchmark uses list prices from the cheapest Requesty provider for each model, and the run cost includes retries.
| Model | Cost per solve | Tasks solved |
|---|---|---|
| GPT-6 Luna | $0.07 | 65.1% |
| Qwen3.8 Flash | $0.08 | 69.8% |
| Claude Haiku 5.5 | $0.14 | 81.4% |
| GPT-6.1 Terra | $0.19 | 82.9% |
| GPT-6.1 Sol | $0.30 | 86.8% |
| GLM-5.3 Flash | $0.38 | 63.6% |
| DeepSeek V4.1 Flash | $0.41 | 76.7% |
| Claude Sonnet 5.5 | $0.59 | 87.6% |
| Claude Opus 5.5 | $1.01 | 92.2% |
| Mistral Large 4 | $3.04 | 77.5% |
| Claude Fable 5.1 | $3.90 | 89.1% |
The cheapest model leaves more work unfinished. GPT-6 Luna solved 65.1% of the benchmark tasks, while Haiku solved 81.4% for an additional $0.07 per solve. When Luna cannot finish a task, a successful run with another model adds to the cost.
We used Requesty's agent for the benchmark, not Claude Code. Your cost and solve rate can change with tool calls, prompt caching and the tasks in your repository. The full benchmark write-up covers the task mix and method.
What 100 solved tasks could cost
Take 100 solved tasks: multiply the November 2026 cost per solve by 100. This extrapolates from the benchmark workload, and failed runs are already included in the cost per solve.
| Model | Cost per solve | Estimated cost for 100 solves | Tasks solved |
|---|---|---|---|
| GPT-6 Luna | $0.07 | $7 | 65.1% |
| Claude Haiku 5.5 | $0.14 | $14 | 81.4% |
| GPT-6.1 Sol | $0.30 | $30 | 86.8% |
| Claude Sonnet 5.5 | $0.59 | $59 | 87.6% |
| Claude Opus 5.5 | $1.01 | $101 | 92.2% |
Opus costs about seven times as much as Haiku per solve, while solving 10.8 percentage points more tasks. Whether that extra spend earns its keep depends on the tasks you give it and how you handle the ones Haiku leaves unfinished.
These estimates use the benchmark's provider prices. Requesty charges the provider's token price plus 5%, so a $14 token bill becomes $14.70 through Requesty. See Requesty's Claude Code pricing.
List price leaves out the work
The listed input and output token prices cover only part of a coding bill. A model can take more turns, generate more output or hit the cache less often before finishing a task.
| Model | Input per million tokens | Output per million tokens | Cost per solve | Tasks solved |
|---|---|---|---|---|
| GPT-6 Sol | $2.00 | $10.00 | $0.71 | 76.0% |
| GPT-6.1 Sol | $2.00 | $10.00 | $0.30 | 86.8% |
| Mistral Large 4 | $0.68 | $2.09 | $3.04 | 77.5% |
Source: Requesty coding benchmark, November 2026 prices.
GPT-6 Sol and GPT-6.1 Sol have identical listed token prices, but the newer model costs less than half as much per solve on this workload. Mistral Large 4 has lower listed input and output prices than either Sol model, yet costs $3.04 per solve. It had 0% cache hits and averaged 46.9 turns per task in the benchmark.
Output volume can pile up too. MiniMax M3.1 Flash generated 195.9k output tokens per task across 65.5 turns, despite a listed output price of $0.60 per million. We break down the calculation behind cost per task and cost per token separately.
Hard tasks change the model choice
The benchmark includes 30 extra hard tasks and 18 extreme tasks. Opus leads both groups, while the cheapest model in the overall ranking solves a smaller share.
| Model | Extra hard tasks solved | Extreme tasks solved |
|---|---|---|
| GPT-6 Luna | 36.7% | 11.1% |
| Claude Haiku 5.5 | 63.3% | 55.6% |
| Claude Opus 5.5 | 86.7% | 77.8% |
Source: Requesty coding benchmark.
On easy and medium work, a lower-cost model is a sensible starting point. On the hardest tasks, Opus trades some cost efficiency for a higher solve rate. Test whether that pattern holds on your own repository.
How cache hit rates change the input bill
Prompt caching lets a provider reuse prompt content it has already processed. That can lower the price of repeated input in coding sessions, where an agent sends context across multiple turns.
In Requesty's October 2026 data, Cline had a 96.00% cache hit rate and Claude Code had an 85.22% hit rate. Agents were identified by user agent and app title; each included agent had at least 1,000 calls and five organizations.
| Coding agent | October 2026 cache hit rate |
|---|---|
| Cline | 96.00% |
| Roo Code | 95.57% |
| Cursor | 95.42% |
| Claude Code | 85.22% |
What does that gap do to an input bill? Take $2 per million fresh input tokens, cached reads at 10% of the fresh price and no cache-write charge.
Effective input price = fresh price x ((hit rate x 0.1) + uncached share)
| Hit rate | Calculation per million input tokens | Cost for 100 million input tokens |
|---|---|---|
| Claude Code, 85.22% | $2 x ((0.8522 x 0.1) + 0.1478) | $46.60 |
| Cline, 96.00% | $2 x ((0.96 x 0.1) + 0.04) | $27.20 |
At these prices, the Claude Code hit rate produces an input bill about 71% higher than the Cline hit rate. Output tokens and cache writes would add to the bill.
The benchmark has a separate cache result: Sonnet 5.5 had 99.2% cache hits with our benchmark agent. Your Claude Code sessions can look different. For the mechanics behind the calculation, see prompt caching versus semantic caching.
Subscription or API?
With a subscription, you pay a monthly plan price. With an API or gateway, token usage drives the bill. At November 2026 prices, Claude's pricing page lists Pro at $20 per month billed monthly, Max at $100 and Ultra at $200.
API billing tends to suit occasional use and automated jobs, while a subscription tends to suit daily use. Requesty also lists an allowance of 200 requests per day on free models. Claude Code can connect to Requesty through its gateway integration.
For a usage-based spending reference, Anthropic reports about $13 per developer per active day and $150 to $250 per developer per month across enterprise deployments. Separately, Requesty's October 2026 data puts Claude Code users at an average of $131 per month; in that dataset, one API routing key counts as one user.
| Price or spending measure | Amount |
|---|---|
| Claude Pro subscription, November 2026 price | $20 per month |
| Claude Max subscription, November 2026 price | $100 per month |
| Claude Ultra subscription, November 2026 price | $200 per month |
| Requesty free models | 200 requests per day |
| Anthropic enterprise deployments | $150 to $250 per developer per month |
| Requesty Claude Code routing keys, October 2026 | $131 per key per month |
Those subscription prices and usage averages describe different groups and billing arrangements. Compare your own usage with the plan price before choosing.
Run Claude Code with a cheaper model
Requesty's Claude Code guide covers the gateway setup. The example below uses GPT-6.1 Sol, which solved 86.8% of benchmark tasks at $0.30 per solve using November 2026 prices.
- 1Create a Requesty key
Create a Requesty API key and store it in the
REQUESTY_API_KEYenvironment variable. You can set a monthly spend cap for the key. - 2Point Claude Code at the gateway
Set
ANTHROPIC_BASE_URLto the Claude Code gateway endpoint at https://router.requesty.ai. SetANTHROPIC_AUTH_TOKENto the value ofREQUESTY_API_KEY. - 3Select the model
Set
ANTHROPIC_MODELtoopenai/gpt-6.1-sol, then start Claude Code. Requesty's guide recommends the environment variable because Claude Code can reject model names it does not recognize in the/modelcommand. - 4Measure your own work
Run a sample of tasks from your repository and record which ones pass your tests. Use Requesty's Logs to inspect per-request cost and cache hit rates, then divide the total spend by the number of tasks solved.
With a gateway credential active, requests are billed per token to the account behind that credential instead of using your Claude subscription. Anthropic does not support or endorse routing Claude Code to non-Claude models through a gateway. See our guide to using Claude Code with DeepSeek, GLM and Kimi.
Which model should you try first?
For the lowest benchmark cost per solve at November 2026 prices, start with GPT-6 Luna ($0.07 per solve, 65.1% solved) or Qwen3.8 Flash ($0.08, 69.8%). Both leave more tasks unsolved than Claude Haiku 5.5 or GPT-6.1 Terra, which are the next options to try. Use GPT-6.1 Sol or Claude Sonnet 5.5 when you want a higher benchmark solve rate, and Claude Opus 5.5 for the hardest tasks.
Set a spend cap on the gateway key, then run a sample of tasks from your own repository. Compare the total bill with the number that pass your tests, and track the cache hit rate alongside both.
Frequently asked questions
- What is the cheapest model for Claude Code by cost per solve?
- At November 2026 prices, GPT-6 Luna had the lowest cost per solve in Requesty's coding benchmark at $0.07 and solved 65.1% of tasks. The benchmark used Requesty's agent, so costs and results in Claude Code can differ.
- Can Claude Code use cheaper non-Claude models?
- Claude Code can connect to a gateway using ANTHROPIC_BASE_URL, a gateway credential and ANTHROPIC_MODEL. Anthropic does not support or endorse routing Claude Code to non-Claude models through a gateway.
- How much does Claude Code cost per month?
- Anthropic reports $150 to $250 per developer per month across enterprise Claude Code deployments, with an average of about $13 per active day.
- Can I use free models with Claude Code through Requesty?
- Requesty lists an allowance of 200 requests per day on free models. Claude Code can connect to Requesty through its gateway integration.
- Which coding agent had the highest prompt cache hit rate?
- Cline had a 96.00% prompt cache hit rate in Requesty's October 2026 coding agent data. Claude Code had an 85.22% hit rate in the same data.
- Does Claude Code use my subscription when I connect a gateway?
- With a gateway credential active, Claude Code requests are billed per token to the account behind that credential instead of using a Claude subscription.
- What does Requesty charge to route Claude Code?
- As of November 2026, Requesty charges the provider's token price plus 5% to route Claude Code, with no subscription.
- OCT '26
The Requesty coding benchmark: 25 models on 129 real backend tasks
We ran 25 models through the same coding agent on 129 private Go backend tasks with hidden tests. Here is who solves the most, who is fastest and who needs the fewest tokens.
- SEP '26
The same benchmark suite costs $0.05 on one model and $3.69 on another: stop comparing price per token
Artificial Analysis publishes the measured cost of running its evaluation suite on each model. On the 2026-09-03 snapshot the spread is 76x, and the ranking does not match the per token price list.
- OCT '26
How to Use Claude Code with DeepSeek, GLM and Kimi (2026)
Use Claude Code with DeepSeek, GLM or Kimi through direct API endpoints or one Requesty key. Compare setup, model prices, context and tool behavior.
