Skip to content
AnthropicChatclaude-opus-5

Claude Opus 5

State-of-the-art agentic coding for enterprise work.

Opus 5 pairs state-of-the-art reasoning with strong agentic capability, built for complex coding and the kind of enterprise work that runs across many steps.

  • Agentic coding
  • Enterprise work
  • Complex reasoning

Model details

Context window
1M tokens
Max output
128K tokens
Input
Text, images
Output
Text
Capabilities
Reasoning, Vision, Tool calling, Streaming
Interfaces
OpenAI-style Chat Completions, Anthropic-style Messages, OpenAI-style Responses

Pricing

Prices use the units shown below. No gateway fees. Usage, size and model options may affect the total.

Claude Opus 5 pricing.
MetricPrice
/ 1M input tokens$5
/ 1M output tokens$25
/ 1M cached input tokens$0.5
/ 1M cache write tokens (5 min)$6.25
/ 1M cache write tokens (1 hour)$10
/ web search$0.01

Why teams pick it

  • State-of-the-art reasoning and agentic capability
  • Built for complex, multi-step coding work
  • 1M-token context for whole-repo and long-document work

Call Claude Opus 5

Claude Opus 5 answers on any of the APIs below — pick the one your code already speaks and just swap in your Cloakray key.

/v1/chat/completionsOpenAI-style Chat Completions · openai SDK or plain HTTP
curl https://api.cloakray.com/v1/chat/completions \
  -H "Authorization: Bearer ckr_..." \
  -H "Content-Type: application/json" \
  -d '{
  "model": "claude-opus-5",
  "messages": [
    {
      "role": "user",
      "content": "Hello"
    }
  ]
}'
/v1/messagesAnthropic-style Messages · @anthropic-ai/sdk SDK or plain HTTP
curl https://api.cloakray.com/v1/messages \
  -H "Authorization: Bearer ckr_..." \
  -H "Content-Type: application/json" \
  -d '{
  "model": "claude-opus-5",
  "max_tokens": 1024,
  "messages": [
    {
      "role": "user",
      "content": "Hello"
    }
  ]
}'
/v1/responsesOpenAI-style Responses · openai SDK or plain HTTP
curl https://api.cloakray.com/v1/responses \
  -H "Authorization: Bearer ckr_..." \
  -H "Content-Type: application/json" \
  -d '{
  "model": "claude-opus-5",
  "input": "Hello"
}'

Conversation compaction is also available at POST /v1/responses/compact.

More from Anthropic