AI Coding Price Guide:
Claude 5.5 vs GPT-6.1 Sol
Lower token prices are only part of the story. Compare today’s models with their predecessors, including GPT-6.1 Terra, GPT-6.1 Sol and Sonnet 5.5, and see what these prices do—and don’t—tell you about coding costs.
Models (specific models)
Individual model names, capabilities, and API pricing.
Prior reference models
Products / subscriptions (how you use them)
Interfaces and plans that bundle access to models.
API token rates are not subscription prices. Plan limits and included usage follow each product’s own terms.
Independent explainer based on published provider information. The release sequence does not establish that either company caused the other’s price changes.
Recent model releases
Key announcements behind this guide · 2026
- Claude Sonnet 5Anthropic
- Claude Opus 5Anthropic
- Claude Fable 5.1 + Mythos 5.1Anthropic
- GPT-6 AstraOpenAI
- GPT-6 Sol + LunaOpenAI
- Claude Opus 5.5Anthropic
- Claude Sonnet 5.5Anthropic
- GPT-6.1 SolOpenAI
- Haiku 5.5 + lower Sonnet cache readsAnthropic
- OpenAI 12-hour cache writesOpenAI
- GPT-6.1 TerraOpenAI
- Pricing guide refreshedRepoSpend
Published Standard API rates
USD per 1M tokens · checked October 27, 2026
| Model | Input / 1M | Cached / 1M | Output / 1M |
|---|---|---|---|
| GPT-6 Astra | $10 | $1 | $50 |
| GPT-6.1 Sol | $2 | $0.10 | $10 |
| GPT-6 Luna | $0.10 | $0.01 | $0.50 |
| GPT-6.1 Terra | $1 | $0.05 | $5 |
| Claude Fable 5.1 | $10 | $0.25 | $50 |
| Claude Mythos 5.1restricted availability | $10 | $0.25 | $50 |
| Claude Opus 5.5 | $4 | $0.20 | $20 |
| Claude Sonnet 5.5 | $2 | $0.10 | $10 |
| Claude Haiku 5.5prompts up to 100K | $0.10 | $0.01 | $0.50 |
- Input / 1M
- $10
- Cached / 1M
- $1
- Output / 1M
- $50
- Input / 1M
- $2
- Cached / 1M
- $0.10
- Output / 1M
- $10
- Input / 1M
- $0.10
- Cached / 1M
- $0.01
- Output / 1M
- $0.50
- Input / 1M
- $1
- Cached / 1M
- $0.05
- Output / 1M
- $5
- Input / 1M
- $10
- Cached / 1M
- $0.25
- Output / 1M
- $50
- Input / 1M
- $10
- Cached / 1M
- $0.25
- Output / 1M
- $50
- Input / 1M
- $4
- Cached / 1M
- $0.20
- Output / 1M
- $20
- Input / 1M
- $2
- Cached / 1M
- $0.10
- Output / 1M
- $10
- Input / 1M
- $0.10
- Cached / 1M
- $0.01
- Output / 1M
- $0.50
Cache writes replace the ordinary input price for the written tokens. OpenAI models since GPT-5.6 charge 1.25× input for the default 30-minute write lifetime, or 2.5× for the optional 12-hour lifetime added October 20 (Responses API); the cache-read rate is the same at either lifetime. Above 272,000 input tokens, every listed OpenAI model prices the whole request at 2× input and cache rates and 1.5× output. Claude write durations appear in the Haiku table below.
Claude Haiku 5.5 prompt-length tiers
Rates apply to the whole request based on total prompt length, including cache reads and cache writes. The base tier includes exactly 100,000 tokens.
| Prompt length | Input | Cache read | 5m write | 1h write | Output |
|---|---|---|---|---|---|
| Up to 100,000 tokens | $0.10 | $0.01 | $0.125 | $0.20 | $0.50 |
| Over 100,000 tokens | $0.50 | $0.05 | $0.625 | $1.00 | $2.50 |
- Input / 1M
- $0.10
- Cache read / 1M
- $0.01
- 5-minute write / 1M
- $0.125
- 1-hour write / 1M
- $0.20
- Output / 1M
- $0.50
- Input / 1M
- $0.50
- Cache read / 1M
- $0.05
- 5-minute write / 1M
- $0.625
- 1-hour write / 1M
- $1.00
- Output / 1M
- $2.50
Anthropic applies the higher tier independently per request when a prompt exceeds 100,000 tokens; the higher rates cover all input buckets and output.
Selected prior reference rates
Earlier models for comparison
| Model | Input / 1M | Cached / 1M | Output / 1M |
|---|---|---|---|
| Claude Opus 5 | $5 | $0.50 | $25 |
| Claude Sonnet 5 | $2 | $0.20 | $10 |
| GPT-5.6 Sol | $4 | $0.40 | $20 |
| GPT-6 Sol | $2 | $0.20 | $10 |
- Input / 1M
- $5
- Cached / 1M
- $0.50
- Output / 1M
- $25
- Input / 1M
- $2
- Cached / 1M
- $0.20
- Output / 1M
- $10
- Input / 1M
- $4
- Cached / 1M
- $0.40
- Output / 1M
- $20
- Input / 1M
- $2
- Cached / 1M
- $0.20
- Output / 1M
- $10
GPT-5.6 Sol uses its current promotional rate, available at least through November 21, 2026. These are reference models, not a record of every historical price.
Caching, longer context, processing mode, regional pricing, and subscriptions can change real cost. Sources: OpenAI pricing, Anthropic pricing, and GPT-5.6 Sol.
Compare an authored workload against all listed models in the browser-based API cost calculator →
What actually got cheaper?
Input, output, and caching changes tell different stories.
Claude Opus 5 → Opus 5.5
$5 / $25 → $4 / $20
20% lower token priceBoth Standard input and output rates fell by one fifth.
Anthropic announcementClaude Sonnet 5 → Sonnet 5.5
$2 / $10 → $2 / $10
Same input/output · 50% lower cache readsInput and output rates stayed the same; cache reads fell from $0.20 to $0.10 per million. Anthropic’s launch testing separately reported up to 30% lower task cost and over 30% faster output; those are vendor results, not a prediction for your workload.
Anthropic’s Sonnet 5.5 testing claim October 7 cache-read announcementGPT-5.6 Sol → GPT-6.1 Sol
$4 / $20 → $2 / $10
50% lower token priceCompared with GPT-5.6 Sol’s current promotional Standard rate.
OpenAI model referenceGPT-6 → GPT-6.1 Sol: the caching change
Input and output remain $2 / $10 per million tokens. Cache reads fall from $0.20 to $0.10 per million: 50% lower for that token bucket. Your total saving depends on how much cached input your workflow uses.
Read the GPT-6.1 Sol pricing and Codex tracking guide →GPT-6.1 Terra and the 12-hour cache write
Terra lands at $1 input / $5 output per million tokens, with cache reads at the same 0.05×-of-input rate as Sol: $0.05 per million. Since October 20, OpenAI models from GPT-5.6 onward also offer a 12-hour write lifetime at 2.5× input — useful when a stable prefix is reused across gaps longer than 30 minutes.
Read the GPT-6.1 Terra pricing and cache-write guide →How wide is the GPT-6 price range?
Luna’s input and output rates are 99% below Astra’s. This compares model tiers; it is not a historical price cut or a claim of equal capability.
Price per token is not cost per successful coding task
The useful comparison includes every attempt needed to finish the work.
Sonnet 5 → Sonnet 5.5 makes the distinction clear. Input and output stayed at $2 / $10 per million, while cache reads fell from $0.20 to $0.10. This is a 50% reduction in the cache-read bucket, not in every request’s total cost. Anthropic’s October 7 cache-read announcement.
- Count every attempt
Retries, failed runs, and repeated context all consume tokens.
- Include thinking & tools
Effort settings and tool loops can change the total work per task.
- Account for caching
Cache hits and cache writes carry different rates and TTLs.
- Verify the outcome
Use your tests and review to decide whether the task actually succeeded.
Task comparison = total API-equivalent cost across attempts ÷ independently verified successful tasks
RepoSpend shows local usage and API-equivalent estimates. It does not benchmark success, judge model quality, or measure your subscription bill.
Sources & methodology
Prices are a dated editorial snapshot of published Standard API rates. The main comparison shows base and short-context rates; the Haiku table also shows both prompt-length tiers. Each percentage badge names the rate bucket it compares. No benchmark winner or provider billing promise is implied.
- OpenAI API pricing
- OpenAI prompt caching
- GPT-6.1 Sol model and pricing
- GPT-6.1 Terra model and pricing
- GPT-6 Sol model and pricing
- GPT-5.6 Sol pricing
- Anthropic API pricing
- Claude Fable 5.1 model overview
- Claude Mythos 5.1 model overview
- Introducing Claude Haiku 5.5
- Introducing Claude Sonnet 5
- Introducing Claude Opus 5
- GPT-6 Astra
- Introducing GPT-6 Sol and Luna
- Introducing Claude Opus 5.5
- Introducing Claude Sonnet 5.5
Recheck provider documentation before making a purchase or changing a budget; promotions and rates can change.