AnthropicVersteht Bilder

Claude Fable 5.2

anthropic/claude-fable-5.2

Claude Fable 5.2 von Anthropic über die MegaBrain-API: ein Schlüssel für alle Modelle, Abrechnung pro Token aus einem Prepaid-Guthaben in US-Dollar, kein Abo. Kontextfenster: 1.000.000 Tokens.

Schlüssel erstellen
Kontext
1.000.000 Tokens
Eingabe, 1M Tokens
$9.6
Ausgabe, 1M Tokens
$48

Preise

Vom Prepaid-Guthaben abgebucht, nur für tatsächlich genutzte Tokens.

Eingabe-Tokens$9.6 pro 1M Tokens
Ausgabe-Tokens$48 pro 1M Tokens
Lesen aus dem Cache$0.24 pro 1M Tokens
Schreiben in den Cache$12 pro 1M Tokens

Technische Daten

Modell-IDanthropic/claude-fable-5.2
EingabeText, Bilder, Dateien, PDF
AusgabeText
Maximale Tokens pro Antwort128.000

So verbinden Sie sich

Die API ist OpenAI-kompatibel: Das offizielle SDK, LangChain und jeder Client mit einem Feld „Base URL“ funktionieren.

from openai import OpenAI

client = OpenAI(base_url="https://getmegabrain.com/api/gateway/v1", api_key="YOUR_MEGABRAIN_KEY")
reply = client.chat.completions.create(
    model="anthropic/claude-fable-5.2",
    messages=[{"role": "user", "content": "Hallo!"}],
)
print(reply.choices[0].message.content)

Häufige Fragen

Was kostet die Claude Fable 5.2 API?

$9.6 pro 1M Eingabe-Tokens und $48 pro 1M Ausgabe-Tokens, abgebucht von einem Prepaid-Guthaben in US-Dollar, nur für genutzte Tokens. Kein Abo.

Wie groß ist das Kontextfenster von Claude Fable 5.2?

1.000.000 Tokens.

Wie rufe ich Claude Fable 5.2 über die API auf?

Senden Sie eine OpenAI-kompatible Anfrage an https://getmegabrain.com/api/gateway/v1/chat/completions mit "model": "anthropic/claude-fable-5.2" und Ihrem MegaBrain-Schlüssel als Bearer-Token.