Key capabilities
- OpenAI-compatible — Works as a drop-in replacement with the OpenAI SDK
- Best coding model — Top performance on code generation, refactoring, and debugging
- Fast and capable — Excellent speed-to-performance ratio
- Long context — Handles large documents and multi-turn conversations
- Streaming — Supports real-time token streaming via SSE
- Strong reasoning — Designed for complex, multi-step tasks
Quick example
Parameters
API Reference
View the interactive API playground for Claude Sonnet 4.5.