Anthropic

Anthropic

Claude Sonnet 5

Anthropic's balanced tier. 1M context, vision, file input, prompt caching, extended reasoning.

Modalities

Text+Image → Text

Input

$2.70 /1M

Output

$13.50 /1M

Cached input

$0.27 /1M90% off

Context

1M

Speed

medium

Pricing

Pay per token. Cached input is billed at 10% of the input rate.

$2.70 /1M input$13.50 /1M output
Hobby10 req/day · 2K in / 500 out
~$3.65/mo
Production1,000 req/day · 2K in / 500 out
~$365/mo
Scale20,000 req/day · 2K in / 500 out
~$7,290/mo
+ Estimate your workload
1,000
2,000
500
30%

Estimated monthly cost

$321

$10.69 / day on Claude Sonnet 5

Same workload on:

Claude Opus 5 Fast$1,823+468%
Claude Opus 5$911+184%

Estimates use list pricing with cached input billed at the 90%-discount rate. Actual bills depend on real token counts — every response includes its exact cost.

How it compares

Against the peers people actually weigh it against.

SpecClaude Sonnet 5Claude Opus 5 FastClaude Opus 5
Input /1M$2.70$13.50$6.75
Output /1M$13.50$67.50$33.75
Context1M1M1M
ToolsYesYesYes
ReasoningYesYesYes
Speedmediumfastmedium

Quick start

Up and running in under two minutes.

  1. 1

    Create an API key

    Sign up and grab a key from the dashboard — $0.50 free credit, no card required.

    Get API key →
  2. 2

    Make your first request

    Drop in your key and send a chat completion — fully OpenAI-compatible.

    curl https://kymaapi.com/v1/chat/completions \
      -H "Authorization: Bearer YOUR_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "model": "claude-sonnet-5",
        "messages": [
          {"role": "user", "content": "Explain prompt caching in one paragraph."}
        ]
      }'
  3. 3

    Stream responses

    Add "stream": true to receive tokens as they arrive.

    curl https://kymaapi.com/v1/chat/completions \
      -H "Authorization: Bearer YOUR_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "model": "claude-sonnet-5",
        "stream": true,
        "messages": [{"role": "user", "content": "Hello!"}]
      }'

FAQ

Common questions about this model.

What is the context window of Claude Sonnet 5?

Claude Sonnet 5 has a 1M-token context window — roughly 1471 pages of text in a single request.

How much does the Claude Sonnet 5 API cost?

$2.70 per 1M input tokens and $13.50 per 1M output tokens, with cached input at $0.27/1M — a 90% discount on repeated prompt prefixes. No subscription; you pay only for what you use.

Does Claude Sonnet 5 support function calling?

Yes — Claude Sonnet 5 supports tool/function calling and structured outputs (JSON mode), so it works with agent frameworks out of the box.

How do I use Claude Sonnet 5?

Kyma is OpenAI-compatible: point your SDK's base URL at https://kymaapi.com/v1, use your Kyma API key, and set the model to claude-sonnet-5. Signing up is free and includes $0.50 of credit — no card required.

Start with $0.50 free credit — no card required.Create account →

More models by Anthropic

ModelContextInputOutput
AnthropicClaude Opus 51M$6.75$33.75
AnthropicClaude Opus 5 Fast1M$13.50$67.50
AnthropicClaude Opus 4.71M$6.75$33.75
AnthropicClaude Sonnet 4.61M$4.05$20.25
AnthropicClaude Haiku 4.5200K$1.35$6.75