Models/anthropic/Claude Opus 4
A

anthropic

Claude Opus 4

claude-opus-4200K context$15.00 / $75.00 per Mtool callingreasoning

Context Window

200K

Input Price / M

$15.00

Output Price / M

$75.00

Max Completion

Input Modalities

textimage

Output Modalities

text

About This Model

Anthropic Opus 4 flagship model

Available Providers

AllToken can route requests to the providers below based on route priority and policy.

Provider
Context Length
Input Price
Output Price
Cache Read
Priority

Amazon Bedrock

claude-opus-4
200K
$15.00 / M
$75.00 / M
1

Anthropic

claude-opus-4
200K
$15.00 / M
$75.00 / M
2

Status Snapshot

Quick route status for this model. Open the full Status page to compare it against the wider market and current incident patterns.

Open Status

Effective Pricing

Input

$15.00

per 1M input tokens

Output

$75.00

per 1M output tokens

Cached Read

Free

if prompt caching applies

Best For

复杂推理代码生成
ChatReasoningVisionToolsJSONStreaming

How To Use This Model

Use the exact model ID shown below. This is the safest way to avoid call failures, variant mismatches, or incorrect route assumptions.

Exact request field

"model": "claude-opus-4"
curl https://api.alltoken.ai/v1/chat/completions \
  -H "Authorization: Bearer sk-your-key" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-opus-4",
    "messages": [
      {"role": "user", "content": "Hello!"}
    ]
  }'

Supported Parameters

temperaturetop_pmax_tokenstoolsresponse_formatreasoning_effort

API Key Setup

Smart Routing

Let the platform choose the best provider path automatically.

Default Model

If a request does not specify a model, default the key to claude-opus-4.

Forced Model

Always override incoming requests and lock the key to claude-opus-4.