claude-sonnet-5 API: billing and integration
Compare models, explore supported endpoints and check current pricing before integrating.
Model identifier
claude-sonnet-5 Model overview
Claude Sonnet 5 balances response speed and reasoning for everyday coding and assistant workloads. The official model supports text and image input with text output.
Tasks to evaluate
- Build interactive coding assistance and iterative explanations.
- Analyze supplied text and visual context to draft useful responses.
Integration notes
The official API changed thinking and sampling behavior. Start with minimal request fields instead of carrying over non-default sampling values.
Based on provider documentation, not a GetAPI execution test. Supported request fields and limits depend on the selected endpoint.
Official references: Claude Sonnet 5 specifications · Reviewed:
Source description
No model description was supplied. Use the declared endpoint and live model settings instead of assuming capabilities.
Provider: Anthropic
Declared endpoints
Endpoint definitions vary by model; a listed route does not imply support for every parameter or tool.
- openai ·
POST /v1/chat/completions
Billing and groups
Dynamic or tiered billing
Check the current model, group and billing unit before sending a request.
Enabled groups in snapshot: claude-max, claude-krio
Loading...
Before your first request
- Confirm the exact model identifier and supported endpoint.
- Create a server-side API key with the required permissions and quota.
- Match the model endpoint type to a compatible request protocol before sending traffic.
A model listed by the gateway is not automatically compatible with Codex. Use its declared endpoint as a starting point, then confirm request fields and billing before testing.