API des Modells anthropic/claude-opus-4.7 bei OpenRouter, $5 / $25 pro Million Tokens, Kontext 1.000.000 Tokens. Beispiele in curl, Python und JavaScript, Live-Test.
Im Katalog testen und bewerten
Opus 4.7 is the next generation of Anthropic's Opus family, built for long-running, asynchronous agents. Building on the coding and agentic strengths of Opus 4.6, it delivers stronger performance on...
- Typ
- Modell
- Anbieter
- OpenRouter
- Modell-ID
anthropic/claude-opus-4.7- Preis
- Kostenpflichtig
- Preis Eingabe / Ausgabe
- $5 / $25 pro Million Tokens
- Zugang ohne Schlüssel
- Nein
- Schlüsselvariable
OPENROUTER_API_KEY- Basis-URL (OpenAI-kompatibel)
https://openrouter.ai/api/v1- Kontext
- 1.000.000 Tokens
- Eingaben
- Text, Bild, Datei
- Funktionen
- Reasoning, JSON-Ausgabe, Tool-Aufrufe
- Entwicklerbewertung
- Noch nicht bewertet
- Dokumentation
- https://openrouter.ai/anthropic/claude-opus-4.7
Codebeispiele
cURL
curl https://openrouter.ai/api/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $OPENROUTER_API_KEY" \
-d '{"model":"anthropic/claude-opus-4.7","messages":[{"role":"user","content":"Hallo, stell dich in einem Satz vor."}]}'Python
# pip install openai
import os
from openai import OpenAI
client = OpenAI(base_url="https://openrouter.ai/api/v1", api_key=os.environ["OPENROUTER_API_KEY"])
r = client.chat.completions.create(
model="anthropic/claude-opus-4.7",
messages=[{"role": "user", "content": "Hallo, stell dich in einem Satz vor."}],
)
print(r.choices[0].message.content)JavaScript
// npm install openai
import OpenAI from 'openai'
const client = new OpenAI({ baseURL: 'https://openrouter.ai/api/v1', apiKey: process.env.OPENROUTER_API_KEY })
const r = await client.chat.completions.create({
model: 'anthropic/claude-opus-4.7',
messages: [{ role: 'user', content: 'Hallo, stell dich in einem Satz vor.' }],
})
console.log(r.choices[0].message.content)
Beliebte Suchen
Häufige Fragen
Ist die API von Anthropic: Claude Opus 4.7 kostenlos?
Nein: Anthropic: Claude Opus 4.7 ist eine kostenpflichtige API ($5 / $25 pro Million Tokens).
Wie rufe ich Anthropic: Claude Opus 4.7 aus meinem Code auf?
Anthropic: Claude Opus 4.7 bietet eine OpenAI-kompatible API unter https://openrouter.ai/api/v1: Verwenden Sie ein beliebiges OpenAI-SDK (Python, JavaScript …) mit dieser Basis-URL. Modellkennung: anthropic/claude-opus-4.7. Fertiger Code (Streaming, JSON, Wiederholungen) steht im Werkzeugkasten für Entwickler bereit.
Wie groß ist das Kontextfenster von Anthropic: Claude Opus 4.7?
Anthropic: Claude Opus 4.7 verarbeitet bis zu 1.000.000 Tokens Kontext (Nachricht und Verlauf).
Welche Alternativen gibt es zu Anthropic: Claude Opus 4.7?
Ähnliche APIs im Katalog: Anthropic: Claude Fable 5.2, Anthropic: Claude Fable 5.2 (batch), Anthropic: Claude Mythos 5.2, Anthropic: Claude Mythos 5, Anthropic: Claude Mythos 5.1.
Alternativen
- Anthropic: Claude Fable 5.2 — Kostenpflichtig
- Anthropic: Claude Fable 5.2 (batch) — Kostenpflichtig
- Anthropic: Claude Mythos 5.2 — Kostenpflichtig
- Anthropic: Claude Mythos 5 — Kostenpflichtig
- Anthropic: Claude Mythos 5.1 — Kostenpflichtig
- Anthropic: Claude Haiku 5.5 — Kostenpflichtig
- Anthropic: Claude Haiku 5.5 (batch) — Kostenpflichtig
- Anthropic: Claude Sonnet 5.5 — Kostenpflichtig
- Anthropic: Claude Sonnet 5.5 (batch) — Kostenpflichtig
- Anthropic: Claude Opus 5.5 — Kostenpflichtig
- Anthropic: Claude Opus 5.5 (batch) — Kostenpflichtig
- Anthropic: Claude Fable 5.1 — Kostenpflichtig