GPT-Image 2.6 Flare & Sunburst are liveImages from $0.025 each

Claude Sonnet 4.6 API

LLM

The Claude Sonnet 4.6 API provides 1M context, vision, and tool use for clients that remain pinned to the 4.6 line.

  • Input · USD / 1M tokens$0.84 USDOfficial price$3 USD
  • Output · USD / 1M tokens$4.2 USDOfficial price$15 USD
  • Savings72%
  • Context1M
  • ReleasedFeb 17, 2026
  • Prices checkedNov 30, 2026
  • View tool pricing and billing rules

What are we making today?

Bring an idea, a question, or a first draft.

Enter to send · Shift + Enter for a new line

01

What this model is for

The Claude Sonnet 4.6 API provides 1M context, vision, and tool use for clients that remain pinned to the 4.6 line.

Claude Sonnet 4.6 is still listed by Anthropic with a 1M window, image input, tool calls, text output, and the same four clients as the rest of the family. It is the one Sonnet here whose cost tier sits above its own successor: Sonnet 5.5 carries lower input, output and cache-read rates. The catalog also lists no adaptive thinking for 4.6, while Sonnet 5 and 5.5 both have it, so the gap between them is not only about results.

Anthropic's account of Sonnet 5 leans on what changed after 4.6, reporting gains over that revision in reasoning, tool use, coding and knowledge work. Take that as a vendor statement about its own tasks, not as a measurement of your documents. What 4.6 is genuinely useful for today is the fixed half of a before-and-after run, or the version a signed-off pipeline already speaks fluently.

Use it when compatibility with an existing Sonnet 4.6 configuration is more important than changing revisions.

Best-fit coding workloads

Before-and-after against Sonnet 5.5

Run an existing prompt set on 4.6 and on 5.5, and record where the answers change in substance rather than in wording. Each model gets the request shape it accepts, so compare the deliverable a reader would act on, not the raw text side by side.

Reading a policy manual whole

Load a policy manual or standards document and ask which clauses bind a described change, with section numbers attached. The 1M window keeps the entire manual in one request, which matters when a clause only makes sense next to the definitions it depends on.

Frozen extraction pipeline

A classification or extraction pipeline whose prompt and schema were frozen against 4.6 keeps producing without a retune. Hold a labelled sample and a pass rate, and rerun it whenever someone proposes a model change, so the decision rests on your own numbers instead of on release notes.

02

Hands-on notes

Checked on 2026-10-27 through the OmniaKey API with one standard coding prompt (median of 3 runs) and three capability probes.

Output tokens for our standard coding prompt, reasoning included
627
Cost of that output at current prices
$0.00263
JSON mode
Passed
Tool calling
Passed
Image input
Passed

03

Technical specification

Catalog facts and integration details verified for this route.

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

Limits to plan around

  • No adaptive thinking appears in its entry, so a request cannot ask this revision for a deeper second pass on one hard item; the only option is another turn worded differently.
  • The catalog places it above Sonnet 5.5 on all three listed rates, making a 4.6 pin the one case in the family where the older model is the pricier one.
  • Anthropic's published comparison of Sonnet 5 with 4.6 uses its own tasks and settings and says nothing about how either behaves on your documents, tools or parsers.
  • A 1M window is not a retrieval plan: asking for binding clauses across a whole manual works better with a section list in the prompt than with an open question.

04

Compare nearby models

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

ModelBest forContextInputOutput
Claude Sonnet 4.6This page
claude-sonnet-4-6
Signed-off pipelines and before-and-after runs where this exact revision is the fixed half.1M
$0.84 USD
Official price $3 USD
$4.2 USD
Official price $15 USD
Claude Sonnet 5.5
claude-sonnet-5-5
New work judged by a test or schema, on lower listed rates and with adaptive thinking available.1M
$0.56 USD
Official price $2 USD
$2.8 USD
Official price $10 USD
Claude Sonnet 5
claude-sonnet-5
An intermediate hop when 4.6 prompts have to move before the 5.5 request changes are tackled.1M
$0.56 USD
Official price $2 USD
$2.8 USD
Official price $10 USD
Claude Haiku 5.5
claude-haiku-5-5
High-volume jobs with short answers a rubric can score, at the lowest tier in the family.1M
$0.08 USD
Official price $0.1 USD
$0.4 USD
Official price $0.5 USD

05

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-4-6",
    "messages": [
      {"role": "user", "content": "Review this pull request"}
    ],
    "stream": true
  }'

06

Estimate token cost

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

OmniaKey estimate
$0.168
Official-rate estimate
$0.60
Estimated savings
$0.432

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

08

Sources and verification

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

Cache and batch prices

What OmniaKey bills per 1M tokens of cached input on Claude Sonnet 4.6.

Cache read
$0.084 USD
Cache write, 5 minutes
$1.05 USD
Cache write, 1 hour
$1.68 USD
Batch API
Not available on OmniaKey.Anthropic's own Batch API bills 50% of standard prices.

Claude caches the prompt blocks you mark with cache_control on the Messages endpoint (/v1/messages). A block costs the write price when it is stored, for 5 minutes by default or 1 hour with "ttl": "1h", and the read price each time it is reused.

Common errors

The errors OmniaKey users hit most often, from our production logs. Each message appears as the API returns it.

HTTP 403

Insufficient quota
Cause
Your OmniaKey balance has run out.
Fix
Top up your balance. The same API key works again right away.

HTTP 403

insufficient quota for pre-charge
Cause
Before a request runs, OmniaKey reserves its largest possible cost, which grows with the prompt and max_tokens. Your balance is below that amount.
Fix
Top up, or lower max_tokens.

HTTP 401

Invalid token
Cause
The request carries no API key, or a key that does not exist.
Fix
Copy the key from your dashboard again and check that your client sends it.

HTTP 503

No available channel for model <model> under group <group>
Cause
The model name does not match one OmniaKey serves, often because of a dot or a capital letter, such as claude-sonnet-5.5 for claude-sonnet-5-5. It also appears when every supplier of the model is unavailable.
Fix
Use the exact model ID, claude-sonnet-4-6. If it already matches, retry later or switch models.

HTTP 524

524: A timeout occurred
Cause
No data came back for about 100 seconds, so Cloudflare closed the connection. Long answers without streaming run into this.
Fix
Set stream to true, so tokens arrive while the answer is written.

Frequently asked questions

How much does Claude Sonnet 4.6 cost on OmniaKey?

OmniaKey charges $0.84 USD per 1M input tokens and $4.2 USD per 1M output tokens, in USD. Official prices are $3 USD and $15 USD; you save 72%.

What is the context window for Claude Sonnet 4.6?

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

Is Claude Sonnet 4.6 still available?

The catalog still lists it and calls reach it, with no retirement date shown in the entry. Availability is not the same as suitability, though: the newer Sonnet is listed at lower rates and adds adaptive thinking, so a pin on 4.6 needs a reason beyond habit.

Why is Claude Sonnet 4.6 costlier than Sonnet 5.5?

The catalog lists higher input, output and cache-read rates for 4.6 than for 5.5, so the ordering is visible without any arithmetic on your side. Older generations are not always cheaper, and this is one place where staying put costs more per token than moving forward.

How does Claude Sonnet 4.6 compare with Sonnet 5?

Anthropic describes Sonnet 5 as more capable than 4.6 in reasoning, tool use, coding and knowledge work, which is a claim about its own evaluation setups. Whether it holds for your work depends on your prompts and parsers. Replay a sample, score it blind, and keep 4.6 as the reference until the numbers say otherwise.

What id and endpoint reach Claude Sonnet 4.6?

claude-sonnet-4-6, sent to https://api.omniakey.com/v1/chat/completions with an OmniaKey key in the Authorization header. Claude Code and the three editor clients take the same id through their model settings. Model ids are case-sensitive and should be copied rather than reconstructed.

Does Claude Sonnet 4.6 support adaptive thinking or effort levels?

Neither is listed for 4.6; both belong to the 5.5 generation. On this revision, depth comes from how you frame the request and from asking for a second pass with a different instruction. If per-request control over reasoning depth is what you need, that is a concrete argument for migrating.

How should I migrate a pipeline off Claude Sonnet 4.6?

Freeze a sample of real inputs with their current outputs, then run them on the target revision before touching production. Expect request-shape failures as well as quality differences, since forced tool choice and disabled thinking do not carry over. Keep the old id reachable for a rollback window, and remove it only after the sample passes twice.