claude-sonnet-4-5 API

Anthropic claude-sonnet-4-5 for chat and coding; Flatkey routes this model through /v1/messages. $2.4/$12 per 1M tokens 1,048,576-token context window.

Chat and codingLong contextTool workflows
Input /M
$2.4/ 1M tokens-20%$3/ 1M tokens
Cache /M
$0.24/ 1M tokens-20%$0.3/ 1M tokens
Output /M
$12/ 1M tokens-20%$15/ 1M tokens
Provider
Anthropic

claude-sonnet-4-5 API performance

claude-sonnet-4-5 API reliability and uptime

Live Flatkey request telemetry for claude-sonnet-4-5 appears here when enough production traffic is available.

Avg. provider uptime
88.5%
last 30 days
Latency
1.14s
last 30 days
Requests
452
30-day window
Successful inference trend

claude-sonnet-4-5 API activity

claude-sonnet-4-5 API usage and request activity

Track request volume and successful inference activity for claude-sonnet-4-5 over the latest reporting window.

Requests
452
30-day window
Latency
1.14s
last 30 days
Uptime
88.5%
last 30 days
Successful inference trendActivity

claude-sonnet-4-5 pricing

claude-sonnet-4-5 API pricing and billing

Prices below are calculated from Flatkey pricing data for this model and the visible groups currently returned by our pricing API.

Flatkey price

Input /M

Live catalog model
$2.4/ 1M tokens$3/ 1M tokens
Input /M
$2.4/ 1M tokens$3/ 1M tokens
Cache /M
$0.24/ 1M tokens$0.3/ 1M tokens
Output /M
$12/ 1M tokens$15/ 1M tokens
View API
Shared balance

Add credits

Add credits

Use the same Flatkey balance and API key across image, video, audio, and text models.

Model catalog
Model Type
Text
API
/v1/chat/completions
Billing basis
1M tokens

claude-sonnet-4-5 chat and coding: core capabilities

Anthropic's claude-sonnet-4-5 route supports text · image · file. Catalog categories: Programming, Marketing, SEO.

claude-sonnet-4-5 chat and coding API

Call claude-sonnet-4-5 through /v1/messages for chat, coding or agent workflows supported by the model's listed modalities.

claude-sonnet-4-5 long-context work

claude-sonnet-4-5 is listed with 1,048,576-token; use that catalog value as an integration planning reference and validate limits for your account.

claude-sonnet-4-5 tool and agent workflows

Keep tool calls, structured output and streaming behavior aligned with the endpoint contract instead of assuming every provider feature is interchangeable.

claude-sonnet-4-5 production routing

Use one Flatkey key for claude-sonnet-4-5, usage controls and model routing while retaining the exact model id in your SDK configuration.

Compare

claude-sonnet-4-5 API comparison: capabilities and access

Compare the catalog facts for claude-sonnet-4-5 with the previous-generation baseline before changing your integration.

CapabilityPrevious generationclaude-sonnet-4-5
ProviderNot verified in this catalog snapshotAnthropic
ModalitiesNot verified in this catalog snapshottext · image · file
ContextNot verified in this catalog snapshot1,048,576-token
EndpointNot verified in this catalog snapshot/v1/messages
BillingNot verified in this catalog snapshot$2.4/$12 per 1M tokens

Why Flatkey

Why use Flatkey for claude-sonnet-4-5?

OpenAI-compatible migration path

Chat Completions-style payloads reduce switching friction from existing model stacks.

Production routing

Keep usage, keys, quotas, and model routing in one Flatkey account.

Unified API access

Use one account and API key across image, video, audio, and language models.

Routing across upstream channels

Requests are spread across the channels serving this model, with 30-day uptime published above.

API

claude-sonnet-4-5 API

Four ways in, all on the same key and the same model catalog. Pick one to see a runnable example.

Call any model with an OpenAI-compatible API. Copy a ready-to-run example for your model and language.
Use the OpenAI SDK you already know — with Flatkey as the gateway.
Generate images and videos from your terminal. Let your AI assistant drive the workflow.
Connect your coding agent with one command, then use Flatkey from your existing projects.
curl https://router.flatkey.ai/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer sk-***" \
  -d '{"model":"claude-sonnet-4-5","messages":[{"role":"user","content":"Say hello in one sentence."}]}'
Docs

FAQ

claude-sonnet-4-5 API
pricing, features, and usage FAQs

Answers about claude-sonnet-4-5 pricing, capabilities, endpoint access and catalog limits.

What is claude-sonnet-4-5 used for?
claude-sonnet-4-5 is listed by Anthropic for chat and coding; the catalog lists these modalities: text · image · file.
How is claude-sonnet-4-5 priced?
Input /M: $2.4; Cache /M: $0.24; Output /M: $12. Prices below are calculated from Flatkey pricing data for this model and the visible groups currently returned by our pricing API.
Which API endpoint calls claude-sonnet-4-5?
Flatkey routes this model through /v1/messages. Set the model field to claude-sonnet-4-5 and follow the fields supported by that endpoint.
What context or input limits does claude-sonnet-4-5 have?
claude-sonnet-4-5 is listed with 1,048,576-token. Other limits depend on the route and current account availability, so verify them before production use.