Back to Models
Anthropic: Claude Opus 4 AI Model Icon

Anthropic: Claude Opus 4

anthropic/claude-opus-4

Description

Claude Opus 4 is benchmarked as the world’s best coding model, at 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. Read more at the [blog post here](https://www.anthropic.com/news/claude-4)

API Usage Examples

OpenAI Compatible Endpoint

Use this endpoint with any OpenAI-compatible library. Model: Anthropic: Claude Opus 4 (anthropic/claude-opus-4)

curl https://api.ridvay.com/v1/chat/completions   -H "Content-Type: application/json"   -H "Authorization: Bearer YOUR_API_KEY"   -d '{
    "model": "anthropic/claude-opus-4",
    "messages": [
      {
        "role": "user",
        "content": "Explain the capabilities of the Anthropic: Claude Opus 4 model"
      }
    ],
    "temperature": 0.7,
    "max_tokens": 1024
  }'

Supported Modalities

  • Text
  • Images

API Pricing

  • Input: 15$ / 1M tokens
  • Output: 75$ / 1M tokens

Token Limits

  • Max Output: 32,000 tokens
  • Max Context: 200,000 tokens

Subscription Tiers

  • free
  • pro
  • ultimate

More from anthropic

Anthropic: Claude Sonnet 4 AI Model Icon

Anthropic: Claude Sonnet 4

anthropic/claude-sonnet-4

Subscription Tiers:

free pro ultimate

Supported Modalities:

TextImages
Anthropic: Claude Opus 4.1 AI Model Icon

Anthropic: Claude Opus 4.1

anthropic/claude-opus-4.1

Subscription Tiers:

free pro ultimate

Supported Modalities:

TextImages
Anthropic: Claude 3.5 Haiku AI Model Icon

Anthropic: Claude 3.5 Haiku

anthropic/claude-3.5-haiku

Subscription Tiers:

free pro ultimate

Supported Modalities:

TextImages
Anthropic: Claude Haiku 4.5 AI Model Icon

Anthropic: Claude Haiku 4.5

anthropic/claude-haiku-4.5

Subscription Tiers:

free pro ultimate

Supported Modalities:

TextImages
Anthropic: Claude Sonnet 4.5 AI Model Icon

Anthropic: Claude Sonnet 4.5

anthropic/claude-sonnet-4.5

Subscription Tiers:

free pro ultimate

Supported Modalities:

TextImages
Anthropic: Claude 3 Haiku AI Model Icon

Anthropic: Claude 3 Haiku

anthropic/claude-3-haiku

Subscription Tiers:

free pro ultimate

Supported Modalities:

TextImages
Anthropic: Claude Sonnet 4.6 AI Model Icon

Anthropic: Claude Sonnet 4.6

anthropic/claude-sonnet-4.6

Subscription Tiers:

free pro ultimate

Supported Modalities:

TextImages
Anthropic: Claude 3.5 Sonnet AI Model Icon

Anthropic: Claude 3.5 Sonnet

anthropic/claude-3.5-sonnet

Subscription Tiers:

free pro ultimate

Supported Modalities:

TextImages
Anthropic: Claude 3.7 Sonnet AI Model Icon

Anthropic: Claude 3.7 Sonnet

anthropic/claude-3.7-sonnet

Subscription Tiers:

free pro ultimate

Supported Modalities:

TextImages
Anthropic: Claude 3.7 Sonnet (thinking) AI Model Icon

Anthropic: Claude 3.7 Sonnet (thinking)

anthropic/claude-3.7-sonnet:thinking

Subscription Tiers:

free pro ultimate

Supported Modalities:

TextImages
Anthropic: Claude Opus 4.6 AI Model Icon

Anthropic: Claude Opus 4.6

anthropic/claude-opus-4.6

Subscription Tiers:

free pro ultimate

Supported Modalities:

TextImages
Anthropic: Claude Opus 4.5 AI Model Icon

Anthropic: Claude Opus 4.5

anthropic/claude-opus-4.5

Subscription Tiers:

free pro ultimate

Supported Modalities:

TextImages