Anthropic · text · family comparison
Claude API pricing by model and provider
Compare Claude API routes by exact model, context tier, input and output meter, direct or router channel, source, and effective date.
Exact-model monthly workload
Claude Sonnet 5 price ranking status
Default workload: 100M uncached input + 20M output tokens. No provider has complete, fresh evidence for this exact workload. APIDir does not estimate missing meters.
Why there is no winner
No provider has complete, fresh evidence for this exact workload. APIDir does not estimate missing meters.
Model-level provider comparison
Claude API price ranking status
Current answer: No current cheapest provider is published. Accepted evidence exists, but it does not yet form a named, like-for-like comparison group.
- Provider routes with evidence
- 2
- Accepted observations
- 8
- Billing meters
- 1M cached input tokens, 1M input tokens, 1M output tokens
- Latest accepted check
- Aug 22, 2026
Uncollapsed source records
All accepted offer evidence
These rows remain separate until their offered model ID, route, meter, tier, resolution, duration, audio, and region are proven comparable.
| Provider | Model | Configuration | Recorded price | Evidence |
|---|---|---|---|---|
| Anthropic APIofficial | Claude API | model: claude-sonnet-5 · messages-api · Claude Sonnet 5 standard cache read · not-applicable · no audio · source unit: cache read; cache writes are separate and excluded | $0.2 / 1M cached input tokensstale | Provider sourceChecked Aug 22, 2026 |
| Anthropic APIofficial | Claude API | model: claude-sonnet-5 · messages-api · Claude Sonnet 5 standard · not-applicable · no audio | $2 / 1M input tokensstale | Provider sourceChecked Aug 22, 2026 |
| Anthropic APIofficial | Claude API | model: claude-sonnet-5 · messages-api · Claude Sonnet 5 standard · not-applicable · no audio | $10 / 1M output tokensstale | Provider sourceChecked Aug 22, 2026 |
| Anthropic APIofficial | Claude API | model: claude-sonnet-5 · messages · standard-current-through-2026-08-31 · not-applicable · no audio | $2 / 1M input tokensstale | Provider sourceChecked Aug 22, 2026 |
| Anthropic APIofficial | Claude API | model: claude-sonnet-5 · messages · standard-current-through-2026-08-31 · not-applicable · no audio | $10 / 1M output tokensstale | Provider sourceChecked Aug 22, 2026 |
| OpenRouterrouter | Claude API | model: anthropic/claude-sonnet-5 · chat-completions · Claude Sonnet 5 standard · not-applicable · no audio | $0.2 / 1M cached input tokensstale | Provider sourceChecked Aug 22, 2026 |
| OpenRouterrouter | Claude API | model: anthropic/claude-sonnet-5 · chat-completions · Claude Sonnet 5 standard · not-applicable · no audio | $2 / 1M input tokensstale | Provider sourceChecked Aug 22, 2026 |
| OpenRouterrouter | Claude API | model: anthropic/claude-sonnet-5 · chat-completions · Claude Sonnet 5 standard · not-applicable · no audio | $10 / 1M output tokensstale | Provider sourceChecked Aug 22, 2026 |
Checked evidence, not a ranking: fresh rows were checked against the linked first-party source on the shown date. APIDir does not name a cheapest provider unless exact configurations and units match. Recheck before purchasing.
Developer resources
Provider documentation and pricing links
Compare integration documentation beside the exact first-party source used for each accepted observation.
| Provider | Channel | Developer resources | Accepted evidence |
|---|---|---|---|
| Anthropic API | official | DocumentationPricing page | 5 observationsEvidence source 1Evidence source 2 |
| OpenRouter | router | DocumentationPricing page | 3 observationsEvidence source 1 |
Route-specific buying guide
How to budget Claude Sonnet 5 on OpenRouter
Route ID: anthropic/claude-sonnet-5
The accepted rows describe OpenRouter's Claude Sonnet 5 route. They are not Anthropic direct-list prices and cannot support a universal cheapest Claude provider claim.
OpenRouter reported a 1,000,000-token context window when checked. Long-context use, cache writes, cache reads, and tool calls need separate budget lines instead of one blended token rate.
Cost formula
Estimate uncached input, cached input, and output from the separately displayed meters. Add cache-write and web-search charges from the live route response when used; do not substitute the lower cache-read rate for cache creation.
Costs that move the bill
- Uncached context, cache-write duration, cache-hit rate, and prompt churn
- Output length, extended workflows, tool loops, retries, and fallbacks
- Separately metered web search and other enabled route features
- Router terms versus Anthropic direct terms, limits, regions, and support
Checks before purchase
- Record anthropic/claude-sonnet-5 rather than comparing only the Claude family name.
- Model cache creation and cache reads separately over the expected conversation lifetime.
- Measure cost per accepted task with real output caps, tools, retries, and failures.
- Verify the live route response before purchase because optional meters can change independently.
Source checked Aug 22, 2026: OpenRouter public model API. Recheck the live route before committing spend.
Estimate this route with the LLM workload calculator →
Compare another model family
Decision guide
How to compare Claude API providers
Claude API is a family-level buying decision covering models, context bands, cache operations, batch service, and direct or routed access. This page attaches every price to an offered model ID. The current Claude Sonnet 5 evidence also carries an effective-date boundary, because a temporary rate must not be presented as permanent.
A simple input-output pair is only the starting point. Prompt-cache writes and reads, long context, tool use, retries, and batch eligibility can materially alter the bill. Read the provider documentation for the exact endpoint and calculate the distribution of requests your application actually sends.
What changes Claude API cost
- Exact Claude model, effective date, context length, and output ratio
- Cache write and read behavior, batch eligibility, and service priority
- Tool loops, retries, regional availability, data retention, and support
Integration checks before production
- Version the selected Claude model and any scheduled pricing change
- Apply request timeouts and bounded retries only to operations that are safe to repeat
- Capture provider request IDs and token meters without logging customer secrets
Workloads this comparison can inform
Long-document analysis
Context thresholds and cache reuse can dominate the headline input rate.
Coding assistants
Model output length, tool results, and repeated project context should be included in the estimate.
Router-based continuity
Compare the route's model identity, fallback behavior, limits, and privacy terms before treating it as direct equivalence.
How to read the price result
The direct and router observations describe Claude Sonnet 5 at the current effective rate. APIDir shows the match but withholds a cheapest claim because only two provider channels qualify.
Related model price comparisons
Use this evidence safely
A recorded price is not a complete production quote. Open the source, reproduce the exact configuration, and include retries, failed work, storage, egress, support, rate limits, and downstream processing in total cost.
Questions developers ask
What makes two Claude offers comparable?
The exact model and endpoint, provider route, input and output meters, cache policy, context-length price band, tools, region, and service tier must match.
Does APIDir name a cheapest provider on this page?
Only when at least three explicitly reviewed provider offers are fresh, publication-permitted, and within the same published comparison scope. Stale or mismatched evidence cannot support that claim.
How should I confirm a budget?
Open the linked provider source, verify the configuration, then calculate your own successful and failed workload volume.
APIDir Delta · controlled rollout
Join the source-linked pricing update waitlist.
Confirm your address to join the waitlist. Editorial delivery starts only after sender, suppression, and evidence checks are active.