Claude Sonnet 5

LiveAnthropic
Model IDclaude-sonnet-5

Claude Sonnet 5 by Anthropic: 1M context, 128K max output, with Vision, Function Calling, Reasoning, Prompt Caching, Streaming. Via WandAPI, Input (prompt) costs 1.3 Credits / M tokens, 90% below list price. Compatible with Anthropic Messages: swap the base URL and you are connected.

Context window
1Mtokens
1,000,000
Max output
128Ktokens
128,000
7-day uptime
—
Not yet probed
Measured throughput
—
Real traffic, last 7 days · output side

Capabilities

Listed exactly as the catalog flags them, including what this model does not support.

5 of 15 supported

Vision

Natively multimodal: captioning, classification, visual Q&A, chart and screenshot understanding. Images are converted to tokens at the input rate.

Function Calling

Connect the model to external tools and APIs: it decides when to call which function and with what arguments, your code runs it. Force or forbid calls with tool_choice.

Reasoning

The model thinks before answering, which markedly improves multi-step planning and reasoning for coding, math and data analysis. Thinking tokens bill at the output rate.

Prompt Caching

Repeated prefixes (system prompts, long documents) hit the cache: reads cost far less than input, writes are priced by retention time.

Streaming

Tokens arrive over SSE as they are generated; the first frame is forwarded immediately with no buffering. Claude Code, Codex and similar tools depend on this.

Response SchemaNot supported

Constrain output to a JSON Schema you provide for predictable, type-safe results without parsing free text.

AudioNot supported

Audio input or speech output.

VideoNot supported

Video input understanding or video generation.

File InputNot supported

Upload PDFs and other documents directly; the model reads the whole document with native vision.

Web SearchNot supported

Vendor-hosted live web retrieval; the model decides when to search and cites sources.

RealtimeNot supported

Bidirectional low-latency voice / text sessions over WebSocket.

SessionNot supported

Server-side multi-turn context (e.g. previous_response_id in Responses) so you need not resend history.

MediaNot supported

Image / video / music generation endpoints.

Multipart FormNot supported

multipart/form-data file-upload requests.

Binary ResponseNot supported

Endpoints that return raw audio / image bytes.

Protocols & code samples

Change the base URL to WandAPI, keep everything else. Native protocols pass straight through; “adapted” ones are translated by the gateway.

Claude Code setup guide

Anthropic SDK or any Messages-protocol client: point base_url at https://api.wandapi.com and use a WandAPI key.

curl https://api.wandapi.com/v1/messages \
  -H "x-api-key: $WANDAPI_KEY" \
  -H "anthropic-version: 2023-06-01" \
  -H "content-type: application/json" \
  -d '{
    "model": "claude-sonnet-5",
    "max_tokens": 1024,
    "messages": [{"role": "user", "content": "Explain prompt caching in one sentence"}]
  }'
EndpointPathMode
Token countPOST /v1/messages/count_tokensnative

Full price list

List price → WandAPI price per channel, every pricing dimension, nothing hidden.

1 Credit ≈ $0.153 · rate updated daily
ItemUnitAnthropic list priceKiro-Claude Group ×0.6590% offOfficial Claude ×1.577% off
Input (prompt)per 1M tokens$2.001.3 Credits3 Credits
Output (completion)per 1M tokens$10.006.5 Credits15 Credits
Cache readper 1M tokens$0.20.13 Credits0.3 Credits
Cache write · 5 minper 1M tokens$2.501.63 Credits3.75 Credits
Cache write · 1 hourper 1M tokens$4.002.6 Credits6 Credits

“Off” is computed at 1 Credit = ¥1 and today’s rate: 1 − channel multiplier × (1 Credit in the list currency). Batch: when request header anthropic-beta matches ^message-batches-2024-09-24$, billed at Cache read ×0.5、Cache write · 1 hour ×0.5、Cache write · 5 min ×0.5、Output (completion) ×0.5、Input (prompt) ×0.5、other items ×0.5; stacks with any channel.

FAQ

How much does the Claude Sonnet 5 API cost?

Via WandAPI, Input (prompt) costs 1.3 Credits / M tokens, with 1 Credit = ¥1. That is 90% below the Anthropic list price.

What are the context window and output limit of Claude Sonnet 5?

Context window 1M tokens, up to 128K tokens per response.

Does Claude Sonnet 5 support function calling and structured outputs?

Function calling with tool_choice control is supported; structured outputs (JSON Schema) are not enabled — use a function-call parameter schema for type-safe results instead.

How do I use Claude Sonnet 5 in Claude Code?

Set ANTHROPIC_BASE_URL=https://api.wandapi.com, ANTHROPIC_API_KEY to your WandAPI key and ANTHROPIC_MODEL=claude-sonnet-5, then run claude. No config files to edit.

One API key for Claude Sonnet 5 and 30+ models

Free credits on sign-up, pay as you go, no monthly fee.

Get an API Key