DeepSeek V4 Flash is live · Our GLM-5.2 price just dropped to 50% of list
All models
Anthropic · API

Claude Sonnet 5 API

Use 1M context with one OmniaKey API key.

Model ID
claude-sonnet-5
Context
1M
Provider
Anthropic
Input · USD / 1M tokens
$0.48 USD
Official price $2 USD
Output · USD / 1M tokens
$2.4 USD
Official price $10 USD
Savings
76%
Last verified
2026-08-15

01

What this model is for

Claude Sonnet 5 is positioned as the daily-work member of the current Claude family: the same listed 1M context, visual input, and structured tool-use categories as Opus 5, but at a lower input and output token rate. That makes it a practical default for coding sessions that repeatedly read, edit, test, and review code.

Use the claude-sonnet-5 model ID through OmniaKey's supported API surface without changing the surrounding account or balance when you later compare Opus or Haiku. Client support still depends on how each tool exposes custom endpoints and model selection.

Start new Claude coding workflows on Sonnet 5 when you need long context and tools across many daily iterations, then escalate unusually difficult work to Opus 5.

Best-fit coding workloads

Daily implementation

Build features, fix scoped bugs, and iterate on tests without starting at the Opus rate.

Repository maintenance

Review pull requests, update dependencies, and make coordinated edits across familiar code.

Tool-driven coding loops

Run search, edit, and test tools through clients that support structured tool calls.

02

Technical specification

Catalog facts and integration details verified for this route.

Model ID
claude-sonnet-5
Context
1M
Inputs and tools
Vision · Tool use
API endpoint
/v1/chat/completions
Cache hit / 1M
$0.048 USD
Coding clients
Claude Code · Cursor · Cline · Aider

Limits to plan around

  • Sonnet 5 is not automatically the right choice for every difficult task. Ambiguous architecture or high-cost decisions may justify moving to Opus 5.
  • The listed 1M context window does not remove client limits or retrieval quality problems; send the evidence needed for the task instead of unfiltered files.
  • Tool access is controlled by the client and your permissions. Model support does not make destructive commands or unreviewed writes safe.

03

Compare nearby models

Compare workload fit and current listed token rates before choosing a route.

ModelBest forContextInputOutput
Claude Sonnet 5This page
claude-sonnet-5
Daily coding, tests, reviews, and sustained agent iteration with a lower rate than Opus 5.1M
$0.48 USD
Official price $2 USD
$2.4 USD
Official price $10 USD
Claude Opus 5
claude-opus-5
Harder cross-system analysis and high-cost-of-error work where deeper effort can justify more spend.1M
$1.2 USD
Official price $5 USD
$6 USD
Official price $25 USD
Claude Haiku 4.5
claude-haiku-4-5
Narrow, frequent support tasks when 200K context is enough and the lowest Claude rate leads.200K
$0.24 USD
Official price $1 USD
$1.2 USD
Official price $5 USD

04

SDK quickstarts

Use one base URL and model ID from cURL, Python, or TypeScript.

Streaming chat completion
curl https://api.omniakey.com/v1/chat/completions \
  -H "Authorization: Bearer $OMNIAKEY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-sonnet-5",
    "messages": [
      {"role": "user", "content": "Review this pull request"}
    ],
    "stream": true
  }'

05

Estimate token cost

Enter expected input and output tokens to compare current listed rates.

OmniaKey estimate
$0.096
Official-rate estimate
$0.40
Estimated savings
$0.304

Estimate covers input and output tokens only. Cache usage, retries, tools, and client-side token accounting can change the final charge.

07

Sources and verification

Model facts and links were checked on 2026-08-15. Provider documentation remains the authority for upstream behavior.

Frequently asked questions

How much does Claude Sonnet 5 cost on OmniaKey?

OmniaKey charges $0.48 USD per 1M input tokens and $2.4 USD per 1M output tokens, in USD. Official prices are $2 USD and $10 USD; you save 76%.

What is the context window for Claude Sonnet 5?

The listed context window is 1M. Actual usable limits can also depend on the client and upstream request format.

Is Claude Sonnet 5 a good default for Claude Code?

It is the practical starting point in this catalog for daily Claude Code work because it combines 1M context and tool use with a lower listed rate than Opus 5. Keep task-specific evaluations: difficult architecture work may still benefit from Opus, while narrow repetitive jobs may fit Haiku.

When should I move from Sonnet 5 to Opus 5?

Escalate when the task remains stuck after good context and tools, spans unfamiliar architectural boundaries, or has a high cost of an incorrect answer. Switching models should be a task decision, not an automatic retry rule.

Does Claude Sonnet 5 support streaming and tool calls through OmniaKey?

The catalog lists structured tool use, and the OpenAI-compatible examples on this page show streaming and a tool definition. Verify your specific client because SDK versions and custom-endpoint support can change the exact request shape.