UniRoute
Models
TextImageVideoAudio
PricingIntegrations
Video
Video APITemplatesPrompts
Docs
GuidesBlog
Log inGet started
Models
TextImageVideoAudio
Pricing
Integrations
Video
Video APITemplatesPrompts
Docs
GuidesBlog
Log inGet started
Models/Text/Claude Sonnet 5

Claude Sonnet 5

Anthropic
APIPricing

Chat with Claude Sonnet 5, Anthropic's model for coding and self-checking multi-step work, or integrate it through the API.

  • From $0.84 in / $4.20 out per 1M tokensSave up to 58%
  • OpenAI- and Anthropic-compatible API
  • Coding · Planning · Tool use
Chat

Settings

Memory
Thinking
Max tokens
Stream

Available through the API only: attachments, function calling.

What can I help you with?

Use it inClaude CodeClaude desktop app

Details

Claude Sonnet 5

  • Overview
  • What you can do
  • Specs
  • Pricing
  • API
  • Benchmarks
  • Use cases
  • FAQ
  • Related models

What is Claude Sonnet 5?

Anthropic describes Claude Sonnet 5 as a model for agentic coding, reasoning and professional knowledge tasks. Its focus includes planning a sequence of actions, reviewing intermediate results and correcting its work as the task progresses.

On UniRoute, send a message in the workspace or use the model ID claude-sonnet-5 through Chat Completions or Anthropic Messages. The API section provides request examples for both formats.

Claude Sonnet 5 follows Claude Sonnet 4.6. Anthropic emphasizes gains in agentic execution, code generation and self-verification; the published evaluations below cover coding, reasoning and computer use.

Previous version: Claude Sonnet 4.6

What you can do

What Claude Sonnet 5 is built for.

Coding and debugging

Draft code changes, investigate errors and explain how a proposed fix should be tested.

Task planning and review

Break a larger assignment into steps, examine intermediate findings and revise the plan as new information arrives.

API tool use

Connect function calls to application tools so the model can use their results in a multi-step conversation.

This page accepts text messages; file inputs and function calling need the API, while search and structured output are not exposed by the current model configuration.

Specs & variants

The variants you can call, with their options and prices.

VariantModel IDModesInputsOutputPrice
Claude Sonnet 5claude-sonnet-5Chat and text generationChat messagesStreaming; Thinking; Context window: Not stated on this page$0.84 input / $4.20 output per 1M tokens

Pricing

Priced per token. Input and output are billed separately.

USD per 1M tokens
UsageOfficial APIUniRouteSave
Input$2.00$0.84Save 58%
Output$10.00$4.20Save 58%
Cache read$0.20$0.084Save 58%
Cache write (5 min)$2.50$1.05Save 58%
Cache write (1 hour)$4.00$1.68Save 58%

Official price: platform.claude.com · 2026-11-07

Example

10 requests at 5,000 input + 1,000 output tokens

≈ $0.08

10 requests at 20,000 input + 4,000 output tokens

≈ $0.34

10 requests at 200,000 input + 20,000 output tokens

≈ $2.52

Prices updated 2026-11-25.

Create an API key

Pay as you go from a single USD wallet balance. You see the quote before each request.

API

Call Claude Sonnet 5 through OpenAI- or Anthropic-compatible endpoints.

curl 'https://api.uniroute.app/v1/chat/completions' \  -H 'Authorization: Bearer YOUR_API_KEY' \  -H 'Content-Type: application/json' \  -d '{  "model": "claude-sonnet-5",  "messages": [    {      "role": "user",      "content": "Hello"    }  ],  "stream": false}'
curl 'https://api.uniroute.app/v1/messages' \  -H 'Authorization: Bearer YOUR_API_KEY' \  -H 'anthropic-version: 2023-06-01' \  -H 'Content-Type: application/json' \  -d '{  "model": "claude-sonnet-5",  "max_tokens": 1024,  "messages": [    {      "role": "user",      "content": "Hello"    }  ]}'

Parameters

NameInDescription
modelBodyModel ID to run.
messagesBodyThe conversation as a list of role and content messages.
max_tokensBodyUpper limit on generated tokens (Anthropic Messages).
streamBodySet to true to receive the response as a stream.
anthropic-versionHeaderProtocol version header for the Anthropic Messages API.

Guides

  • Set up Claude Code with UniRoute
  • Set up Claude desktop app with UniRoute
  • Manage API keys

Benchmarks & ranking

Published scores next to the models they were compared with.

CategoryClaude Sonnet 5Claude Sonnet 4.6Claude Opus 4.8
PositioningStrongest Agentic Mid-tier ModelPrevious Generation SonnetCurrent Flagship Opus Model
Context Window1M tokens1M tokens1M tokens
Agentic Capabilities★★★★★ (Best)★★★★★★★★★
Agentic Coding (SWE-bench Pro)63.20%58.10%69.20%
Agentic Coding (Terminal-Bench)80.40%67.00%82.70%
Computer Use (OSWorld-Verified)81.20%78.50%83.40%
Multidisciplinary Reasoning (Humanity's Last Exam)43.2% (no tools) / 57.4% (with tools)34.6% / 46.8%49.8% / 57.9%
Knowledge Work (GDPval-AA)161813951615
Adaptive ThinkingEnabled by DefaultSupportedSupported
SafetySignificantly improved, default cyber safeguardsGoodHighest
Cost-Performance★★★★★ (Best)★★★★★★★
Recommended Use CasesAgent Building, Large-scale Coding, Enterprise AutomationGeneral TasksExtremely Complex Deep Reasoning

Figures published by Anthropic from its own evaluations. Results depend on each benchmark’s configuration.

Use cases

Typical ways to put Claude Sonnet 5 to work.

Coding copilots

Add code generation and debugging assistance to a development workflow through the API.

Business task assistants

Turn a detailed brief into a plan, a draft and a checklist for reviewing the result.

Multi-step automation

Use the API to combine model responses with your own tools and follow-up checks.

FAQ

Common questions about Claude Sonnet 5.

What is Claude Sonnet 5?

Anthropic describes Claude Sonnet 5 as a model for agentic coding, reasoning and professional knowledge tasks. Its focus includes planning a sequence of actions, reviewing intermediate results and correcting its work as the task progresses.

How much does Claude Sonnet 5 cost?

From $0.84 input / $4.20 output per 1M tokens. Input and output are billed separately according to usage. The pricing table and worked examples show how the rates apply (prices updated 2026-11-25).

Which API formats can I use?

Use the model ID claude-sonnet-5 with Chat Completions or Anthropic Messages. The API section shows both request formats and their parameters.

What can I send in the chat box?

The workspace on this page accepts text messages. File inputs need the API; they cannot be attached in this chat box.

Can I adjust reasoning effort?

The current UniRoute model configuration does not expose a reasoning-effort setting. Use the API parameters listed on this page as the supported request surface.

Is there a free trial or free credits?

No. Requests are paid from your wallet balance. You can read this page and review the prices without paying, and you need an account with funds to send a message.

Related models

Other versions, models from the same provider and alternatives.

Other versions

  • Claude Sonnet 5.5
    AnthropicClaude Sonnet 5.5
  • Claude Sonnet 4.6
    AnthropicClaude Sonnet 4.6
  • Claude Sonnet 4.5
    AnthropicClaude Sonnet 4.5

More from Anthropic

  • Claude Opus 5.5
    AnthropicClaude Opus 5.5
  • Claude Opus 5
    AnthropicClaude Opus 5
  • Claude Fable 5
    AnthropicClaude Fable 5
  • Claude Opus 4.8
    AnthropicClaude Opus 4.8

Similar text models

  • GPT-6 Astra
    OpenAIGPT-6 Astra
  • Gemini 3.8 Flash
    GoogleGemini 3.8 Flash
  • Kimi K3
    MoonshotKimi K3
  • Grok 4.7
    GrokGrok 4.7
UniRoute

Mainstream models, one platform. Connecting your product and your creativity.

Models

  • All models
  • Text
  • Image
  • Video
  • Audio

Pricing

  • All pricing
  • Anthropic API
  • OpenAI API
  • Google API
  • xAI API
  • DeepSeek API
  • Moonshot AI API
  • Z.ai API
  • Alibaba API
  • Black Forest Labs API
  • ByteDance API
  • ElevenLabs API
  • Kling AI API
  • MiniMax API
  • PixVerse API
  • Recraft API

Integrations

  • All integrations
  • Claude Code
  • Codex
  • Gemini CLI
  • OpenCode
  • OpenClaw
  • Hermes Agent
  • Cline
  • Kilo Code
  • Cursor
  • JetBrains IDEs
  • TRAE (international)
  • Claude desktop
  • Codex desktop
  • Cherry Studio
  • Chatbox
  • CC Switch

Video & creation

  • Video API
  • Templates
  • Prompts

Resources

  • Docs
  • Blog
  • Quick start
  • Privacy policy
  • Terms of service
  • Acceptable Use Policy
  • Email Support
Featured onFeatured on Startup FameFeatured on FazierFeatured on Dang.aiFeatured on Findly.toolsFeatured on DeepLaunch.ioFeatured on topfreealternativeFeatured on Submit AI ToolsFeatured on AI工具网 (ai138.com)
© 2026 UniRoute. All rights reserved.