Claude 5 Sonnet
Claude Sonnet 5 is Anthropic's agentic Sonnet-class model balancing speed and intelligence.
Approved Data Classifications
This model is only approved for Open Data. When leveraging NaviGator AI’s suite offerings, please ensure you are selecting models that meet the compliance requirements in accordance with UF’s Data Classifications, grant awards or project specifications, and state and federal law.
Need help figuring out your data classification? Understand UF data classifications links to the official UF resources and provides simplified examples.
Description
Claude Sonnet 5 is Anthropic's agentic Sonnet-class model balancing speed and intelligence. It was released on June 30, 2026 and supports a 1 million-token context window with up to 128,000 output tokens. Anthropic reports its largest gains over Claude Sonnet 4.6 in coding and agentic tasks.
Behavior changes to plan for
Claude Sonnet 5 is a drop-in replacement for Claude Sonnet 4.6, but three documented behavior changes affect existing code:
- Adaptive thinking is on by default. Requests that previously ran without thinking now use it. Pass
thinking: {type: "disabled"}to turn it off. - Manual extended thinking returns a 400 error. Use adaptive thinking with the effort parameter instead.
- Setting
temperature,top_portop_kto a non-default value returns a 400 error. Remove those parameters and guide behavior through the system prompt.
Assistant message prefilling is not supported and returns a 400 error, unchanged from Claude Sonnet 4.6.
Recount tokens before migrating
Claude Sonnet 5 uses a new tokenizer. Anthropic reports that the same input text produces approximately 30% more tokens than on Claude Sonnet 4.6, with the exact increase depending on content.
Recount prompts rather than reusing earlier measurements, and revisit max_tokens limits sized close to your expected output length. The context window holds less text than the same window on Claude Sonnet 4.6, and per-request cost does not fall in direct proportion to the lower per-token prices.
Anthropic also documents real-time cybersecurity safeguards on this model. A refused request returns a successful HTTP 200 response with stop_reason: "refusal" rather than an error.
Capabilities
Availability
NaviGator AI Toolkit
Use this model through the NaviGator API
NaviGator AI Chat
Use this model in NaviGator AI Chat
Providers
Usage
curl -X POST https://api.navigator.ai.ufl.edu/v1/chat/completions \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $NAVIGATOR_TOOLKIT_API_KEY" \ -d '{ "model": "claude-sonnet-5", "messages": [ { "role": "system", "content": "You are a helpful assistant." }, { "role": "user", "content": "Write a haiku about an alligator." } ] }'