Seedance 2.0 15 % RABATT | Im Video Generator erstellen →
anthropic
anthropic/claude-opus-4

anthropic/claude-opus-4

Veröffentlichungsdatum: 2025-05-23

200,000 context · $15.00/M input tokens · $75.00/M output tokens

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...

Preise

Pay-per-Use

Keine Vorabkosten, zahlen Sie nur, was Sie nutzen

Eingabe$15.00 / M Tokens
Ausgabe$75.00 / M Tokens
Cache Read$1.50 / M Tokens
Cache Write$18.75 / M Tokens

Modell ausprobieren

anthropic/claude-opus-4
Online
anthropic
Hallo! Ich bin ein hilfreicher KI-Assistent. Womit kann ich helfen?

API-Nutzung

Verwenden Sie die folgenden Codebeispiele zur Integration mit unserer API:

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://llm.wavespeed.ai/v1"
)

response = client.chat.completions.create(
    model="anthropic/claude-opus-4",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)

print(response.choices[0].message.content)

Modelleinführung

Anthropic claude-opus-4

anthropic claude-opus-4


Why It Looks Great

  • Large Language Model architecture for efficient processing
  • 200000 context window for long document handling
  • Competitive pricing at $16.5/$82.5 per million tokens

Key Features

  • Context Window: 200000 tokens
  • Max Output: 32000 tokens
  • Vision: Supported
  • Function Calling: Supported

Specifications

SpecificationValue
ProviderAnthropic
Model TypeLarge Language Model (LLM)
ArchitectureN/A
Context Window200000 tokens
Max Output32000 tokens
InputText
OutputText
VisionSupported
Function CallingSupported

Pricing

Token TypeCost per Million Tokens
Input$16.5
Output$82.5

How to Use

  1. Write your prompt — describe the task, provide context, and specify desired output format.
  2. Submit — the model processes your request and returns the response.

API Integration

Base URL: https://llm.wavespeed.ai/v1 API Endpoint: chat/completions Model ID: anthropic/claude-opus-4


API Usage

Python SDK

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://llm.wavespeed.ai/v1"
)

response = client.chat.completions.create(
    model="anthropic/claude-opus-4",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)

print(response.choices[0].message.content)

cURL

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

Notes

  • Model: anthropic/claude-opus-4
  • Provider: Anthropic

Info

Anbieteranthropic
Typllm

Unterstützte Funktionen

Eingabe
TextBild
Ausgabe
Text
Kontext200,000
Max. Ausgabe32,000
Vision✓ Unterstützt
Function Calling✓ Unterstützt

API-Zugriffsanleitung

Base URLhttps://llm.wavespeed.ai/v1
API-Endpunktchat/completions
Modell-IDanthropic/claude-opus-4

Claude Opus 4 API

anthropic/claude-opus-4

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...

Eingabe

$15 /M

Ausgabe

$75 /M

Kontext

200K

Max. Ausgabe

32K

Vision

Unterstützt

Tool-Nutzung

Unterstützt

Claude Opus 4 auf WaveSpeedAI testen

Zugriff auf Claude Opus 4 über unsere einheitliche API — OpenAI-kompatibel, keine Kaltstarts, transparente Preise.

Häufige Fragen zu Claude Opus 4

Wie viel kostet die Claude Opus 4-API?+

Preise auf WaveSpeedAI: $15.00 pro Million Input-Tokens und $75.00 pro Million Output-Tokens. Prompt-Caching und Batch-Verarbeitung werden separat berechnet und reduzieren die effektiven Kosten bei langen, sich wiederholenden Workloads.

Wie groß ist das Kontextfenster von Claude Opus 4?+

Claude Opus 4 unterstützt bis zu 200K Kontext-Tokens und bis zu 32K Output-Tokens pro Anfrage.

Ist Claude Opus 4 OpenAI-kompatibel?+

Ja. WaveSpeedAI stellt Claude Opus 4 über einen OpenAI-kompatiblen Endpunkt unter https://llm.wavespeed.ai/v1 bereit. Richten Sie das offizielle OpenAI SDK mit Ihrem WaveSpeedAI-API-Schlüssel auf diese Base-URL — keine weiteren Codeänderungen erforderlich.

Wie starte ich mit Claude Opus 4?+

Bei WaveSpeedAI anmelden, in Access Keys einen API-Schlüssel erstellen und eine Anfrage an https://llm.wavespeed.ai/v1/chat/completions mit der oben angezeigten Model-ID senden. Neue Konten erhalten kostenlose Credits, um Claude Opus 4 zu testen.

Verwandte LLM-APIs