Claude Sonnet 5 is a balanced model from Anthropic, available here under the exact model id “claude-sonnet-5”. In the Claude line-up here it sits between Claude Opus 5.5 and Claude Sonnet 5.5. Anthropic released it on 30 Jun 2026.
Anthropic documents tools, vision, reasoning, structured output and prompt caching for it, and it reads images as well as text.
It costs $2 per million input tokens and $10 per million output tokens, so output is 5× the input rate. On the use cases below, output makes up 38% of the bill for daily coding, 23% for code review and 73% for writing, so trimming the context you send saves more than capping the answer.
Cached input bills at $0.20 per million tokens, 90% below the standard input rate, which pays off when the same system prompt or documents go out on every request.
You can call it through the OpenAI format at https://api.oneaiapikey.com/v1 or the native Anthropic Messages format at https://api.oneaiapikey.com/v1/messages. That makes it usable in Claude Code as well as OpenAI-compatible tools such as Codex CLI, Cursor and Cline.