Neu Kostenlos registrieren, 10 Aufrufe gratis. Bis zu 1 $, ohne Karte.

Schnellstart

From signing in to a working integration. Each step takes a minute or two, and you can stop after step 3 if all you need is one call.

What you are about to do - Get a key, prove it works without writing code, wire it into your app, then keep it topped up. Where a welcome campaign is running you can do the first calls on free credit; otherwise a small top-up comes first.

1. API-Schlüssel abrufen

Melden Sie sich an und navigieren Sie zu Konsole → API-Schlüssel. Klicken Sie auf „Schlüssel erstellen“ und kopieren Sie ihn sofort - er wird nur einmal angezeigt.

2. Erste Anfrage senden

Wählen Sie das SDK, das Sie bereits verwenden. Beide Rezepte rufen dasselbe Gateway mit demselben API-Schlüssel auf.

Option A - OpenAI-SDK

curl https://synthorai.io/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "gpt-5.4-mini",
    "messages": [
      {"role": "user", "content": "Hello! What can you do?"}
    ]
  }'

Option B - Anthropic-SDK

curl https://synthorai.io/v1/messages \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "anthropic-version: 2023-06-01" \
  -d '{
    "model": "claude-sonnet-4-6",
    "max_tokens": 256,
    "messages": [
      {"role": "user", "content": "Hello! What can you do?"}
    ]
  }'

Das Anthropic-SDK hängt an /v1/messages intern. Verwenden Sie den Gateway-Origin (kein /v1 Suffix) als base_url - anders als das OpenAI-SDK, das nimmt https://synthorai.io/v1.

3. Try it without writing code

Open the Playground in the console, pick a model and send a prompt. It runs through the same pipeline as your API traffic, so a reply confirms the model and your balance. It authenticates with your console session rather than an API key, so test the key itself with the request above.

4. Verfügbare Modelle auflisten

curl https://synthorai.io/v1/models \
  -H "Authorization: Bearer YOUR_API_KEY"

Die Modell-IDs folgen dem Format des ursprünglichen Anbieters. Die vollständige Liste finden Sie über den Endpoint /v1/models oder besuchen Sie die Seite Modellkatalog .

5. Wire it into your app

Point your existing client at the gateway: change the base URL and use your Synthorai key. Your model ids, request shapes and SDKs stay as they are. From there the capability guides cover the things that change your bill - caching a repeated prefix, or capping how much a model thinks.

Using Claude Code, Codex CLI or OpenClaw instead of an SDK? Those have their own one-line setup:

6. Add credit when you need it

Usage draws down a prepaid balance - no monthly platform fee, no subscription. Top up from Billing with a card or crypto; the balance is usable the moment it lands. Free credit comes from a welcome campaign where one is running, not automatically on signup.

Where to go next

Authentifizierung

Alle API-Anfragen erfordern einen API-Schlüssel, der im Authorization Header.

Bearer-Token

Authorization: Bearer YOUR_API_KEY

Schlüssel-Scopes

ParameterTypBeschreibung
ReadstringZugriff nur auf Modellliste und Nutzungsdaten.
WritestringInferenzanfragen stellen (Chat, Completions).
AdminstringVollzugriff einschließlich Kanal- und Benutzerverwaltung.

Geben Sie Ihren API-Schlüssel niemals in clientseitigem Code oder öffentlichen Repositories preis. Rotieren Sie Schlüssel bei Kompromittierung sofort über Console → API-Schlüssel.

Schlüsselformat

Synthorai-Schlüssel haben das Präfix sk- gefolgt von einer zufälligen 32-Zeichen-Zeichenfolge. Schlüssel werden im Ruhezustand gehasht und können nach der Erstellung nicht wiederhergestellt werden.

Unsicher, mit welchem Modell Sie beginnen sollen? Durchsuchen Sie den model price comparison, um den Token-Preis jedes routbaren Modells nebeneinander zu vergleichen.