Get API key

Use case

Claude Sonnet 5 streaming

streaming notes for claude-sonnet-5: the rate card, a worked volume, and when to send this ID. A sample of 1 million input tokens plus 200 thousand output tokens is about $0.800 on corouter (input $0.400, output $0.400).

How streaming is billed

A streamed response is still billed on input and output tokens, not on how long the socket stays open. Output for claude-sonnet-5 is $2.00 per million tokens.

A sample of 1 million input tokens plus 200 thousand output tokens is about $0.800 on corouter (input $0.400, output $0.400).

A field you can set

A familiar chat-completions shape often sets "stream": true next to "model": "claude-sonnet-5". On a messages shape, follow the stream field your client actually sends.

Claude Sonnet 5 lists below Sonnet 4.6 on both input and output and keeps the 1M window plus the Code tag. Send claude-sonnet-5 for that newer Sonnet ID.

Questions

Which model ID should the request send?
Send claude-sonnet-5. Do not put a different name in the model field.
What is the minimum top-up?
Prepaid credits, $5 minimum top-up, no subscription tier.