Anthropic/claude-sonnet-4-20250514/Released May 2025

Claude Sonnet 4

Balanced everyday reasoning and coding

Commercial use
Text

About Claude Sonnet 4

Claude Sonnet 4 is a Multimodal LLM. It excels in coding tasks, visual data extraction, advanced reasoning, and complex problem-solving with superior intelligence for high-volume uses.

Some other noteworthy features of Claude Sonnet 4 include knowledge Q&A with low hallucination rates, content generation with nuance understanding, and robotic process automation through industry-leading instruction following.

MetricValue
Context Length200,000 tokens
MultilingualYes

Ready to build with Claude Sonnet 4?

Try Claude Sonnet 4 in the Workbench to prompt it, compare outputs, and iterate on prompts without writing any code. When you're ready to ship, call the same model from our API and build your own apps on top of it.

curl -sSf -X POST https://hub.oxen.ai/api/ai/chat/completions \
    -H "Content-Type: application/json" \
    -H "Authorization: Bearer $OXEN_API_KEY" \
    -d '{
  "model": "claude-sonnet-4-20250514",
  "messages": [
    {
      "role": "user",
      "content": "Try sending a message."
    }
  ]
}'

API endpoint

See the API reference for request and response formats.

POSThttps://hub.oxen.ai/api/ai/chat/completions