API-Dokumentation

OpenAI-kompatible REST-API für GLM 5.2, Kimi K3 und weitere Open-Source-Modelle.

Quickstart

Base URL: https://openinference.de/api/v1

Authentifizierung

Erstelle einen API-Key im Dashboard und sende ihn als Bearer Token:

Authorization: Bearer sk-oi-...

Chat Completion

curl -X POST https://openinference.de/api/v1/chat/completions \
  -H "Authorization: Bearer sk-oi-..." \
  -H "Content-Type: application/json" \
  -d '{
    "model": "zai-org/GLM-5.2",
    "messages": [{"role": "user", "content": "Hallo!"}],
    "max_tokens": 100
  }'

Cursor

  1. Settings → Models → Override OpenAI Base URL
  2. Base URL: https://openinference.de/api/v1
  3. Model: z. B. zai-org/GLM-5.2 oder moonshotai/Kimi-K3
  4. API-Key aus dem OpenInference-Dashboard eintragen

Verfügbare Modelle

Alle IDs auch über GET /v1/models. Preise in EUR pro 1 Mio. Tokens.

NameModel IDContextInputOutput
Moonshot: Kimi K3moonshotai/Kimi-K31M4.1420.70
DeepSeek V4 Prodeepseek-ai/DeepSeek-V4-Pro1M2.424.83
Z.ai: GLM 5.2zai-org/GLM-5.21M1.936.07
Moonshot: Kimi K2.6moonshotai/Kimi-K2.6256K1.315.52
Moonshot: Kimi K2.7 Codemoonshotai/Kimi-K2.7-Code256K1.315.52
Qwen3.5 397B A17BQwen/Qwen3.5-397B-A17B256K0.834.97
Qwen3 235B A22B InstructQwen/Qwen3-235B-A22B-Instruct-2507256K0.280.83
OpenAI: gpt-oss-120bopenai/gpt-oss-120b131K0.210.83
Meta: Llama 3.3 70B Instructmeta-llama/Llama-3.3-70B-Instruct128K0.180.55
Qwen3 30B A3B InstructQwen/Qwen3-30B-A3B-Instruct-2507256K0.140.41

Zurück zur Startseite · Registrieren