Skip to content

Claude Sonnet 5

A long-context reasoning model suited to multi-step coding agents, large repository review, and work that benefits from extended tool use.

AnthropicReasoningCodingLong Contextavailable

Model ID

Pass this as the model field on every request.

modelclaude-sonnet-5
Provider
Anthropic
Context window
1M tokens
Max output
128K tokens
Access
All plans
Best for
Deep reasoning, agents, and long coding tasks

Endpoints

Both request shapes are accepted for this model.

  • /v1/chat/completionsOpenAI chat completions format
    available
  • /v1/messagesAnthropic message format
    available
Base URLhttps://api.prbycode.com/v1

At a glance

The numbers most teams compare before switching a route.

Context1M tokens
Input$3.00 / 1M
Output$15.00 / 1M
SpeedBalanced
StreamingSupported

Compare with

Other models in the catalog, side by side.

ModelContextInput / 1MOutput / 1M
GLM 5.3 Flash256K$0.25$1.10Compare
GLM 5.2256K$0.60$2.20Compare
DeepSeek V4 Pro256K$0.90$3.40Compare
DeepSeek V4.1 Flash256K$0.20$0.80Compare
  • GLM 5.3 Flash256K context · $0.25 in / $1.10 out
  • GLM 5.2256K context · $0.60 in / $2.20 out
  • DeepSeek V4 Pro256K context · $0.90 in / $3.40 out
  • DeepSeek V4.1 Flash256K context · $0.20 in / $0.80 out