# Anthropic: Claude Opus 4

## Main Models

### Now Live
- [google/gemini-3.1-pro-preview](/content/google/gemini-3.1-pro-preview/index.html)  
- [anthropic/claude-sonnet-4.6](/content/anthropic/claude-sonnet-4.6)  
- [google/gemini-3-pro-image-preview](/content/google/gemini-3-pro-image-preview/index.html)

### Retirement Notices
- [Claude Sonnet 4](/content/anthropic/claude-sonnet-4/index.html) will be retired by both providers: AWS Bedrock and Anthropic on June 14, 2026. We recommend upgrading to [Claude Sonnet 4.6](/content/anthropic/claude-sonnet-4.6).
- [Claude Opus 4](/content/anthropic/claude-opus-4/index.html) will be retired by both providers: AWS Bedrock on May 31, 2026, and Anthropic on June 14, 2026. We recommend upgrading to [Claude opus 4.7](/content/anthropic/claude-opus-4.7).
- [Qwen3 Max Thinking Preview](/content/qwen/qwen3-max-preview/index.html) will be deprecated and removed on April 24, 2026. We recommend upgrading to [Qwen3-Max-Thinking](/content/qwen/qwen3-max/index.html).
- On Azure, [gpt-5-chat](/content/openai/gpt-5-chat/index.html) will be deprecated and removed on May 15, 2026.
- [Claude 3.7 Sonnet](/content/anthropic/claude-3.7-sonnet/index.html) will be retired by both providers: AWS Bedrock on April 28, 2026, and Google Cloud Vertex AI on May 11, 2026. We recommend upgrading to [Claude Sonnet 4.6](/content/anthropic/claude-sonnet-4.6).

### Promotions
Get [5% off service fee](/content/platform/pay-as-you-go?from=topflag/index.html) on top-up, and exclusive gifts for [referring friends](/content/anthropic/claude-opus-4#/index.html).

### Billing Anomaly
A billing anomaly was identified. Affected users will receive compensation. [Read more](/content/blog/billing-anomaly-notice-and-compensation/index.html).

## Claude Opus 4
### Overview
Claude Opus 4 is benchmarked as the world’s best coding model, at the time of release, bringing sustained performance on complex, long-running tasks and agent workflows. It sets new benchmarks in software engineering, achieving leading results on SWE-bench (72.5%) and Terminal-bench (43.2%). Opus 4 supports extended, agentic workflows, handling thousands of task steps continuously for hours without degradation.

By [Anthropic](/content/anthropic/index.html)
### Recent Activity
Tokens processed per day

### Throughput

| Providers        | Min (tokens/s) | Max (tokens/s) | Avg (tokens/s) |
|------------------|------------------|------------------|------------------|
| Amazon Bedrock   | 3.01             | 20.3             | 12.04            |
| Anthropic        | 16.38            | 52.28            | 30.13            |
| Google Vertex     | 6.64             | 6.64             | 6.64             |

### First Token Latency

| Providers        | Min (ms) | Max (ms) | Avg (ms) |
|------------------|-----------|-----------|-----------|
| Amazon Bedrock   | 3787      | 29763     | 7092.56   |
| Anthropic       | 2107      | 9690      | 3698.35   |
| Google Vertex    | 3925      | 3925      | 3925.00   |

### Uptime Stats for Claude Opus 4

Uptime stats for Claude Opus 4 across all providers.

| Providers         | Uptime(%) |
|-------------------|-----------|
| Amazon Bedrock    | 100.00    |
| Anthropic         | 100.00    |
| Google Vertex      | -         |

### Pricing
| Pricing Component | Price        |
|-------------------|--------------|
| Input             | $15/M tokens |
| Output            | $75/M tokens |
| Cache read        | $1.5/M tokens|
| Cache write 5m    | $18.75/M tokens|
| Cache write 1h    | $30/M tokens |

### Model Compatibility
- OpenAI Chat Completions
- Anthropic Messages
- Google Gemini
- Google Imagen
- Google Video

## API Sample for Claude Opus 4
ZenMux normalizes requests and responses across providers for you.

### Python Example:
```python
from openai import OpenAI

client = OpenAI(
  base_url="https://zenmux.ai/api/v1",
  api_key="<ZENMUX_API_KEY>",
)

# Chat Completion
completion = client.chat.completions.create(
  model="anthropic/claude-opus-4",
  messages=[
    {
      "role": "user",
      "content": "What is the meaning of life?"
    }
  ]
)
print(completion.choices[0].message.content)
```
