Eine API für
100+ KI-Modelle
OpenAI-kompatibel, in Sekunden integriert. Wechseln Sie Modelle ohne Code-Änderung — gehostet in der EU, DSGVO-konform.
In Minuten loslegen
Unsere API ist OpenAI-kompatibel. Einfach Base-URL ändern und Ihren API-Key verwenden.
curl https://api.eugpt.eu/v1/chat/completions \
-H "Authorization: Bearer eugpt-IhrKeyHier..." \
-H "Content-Type: application/json" \
-d '{
"model": "llama-3.3-70b-instruct",
"messages": [
{"role": "system", "content": "Sie sind ein hilfreicher Assistent."},
{"role": "user", "content": "Was ist DSGVO?"}
],
"stream": true
}'
from openai import OpenAI
client = OpenAI(
base_url="https://api.eugpt.eu/v1",
api_key="eugpt-IhrKeyHier...",
)
# Streaming response
stream = client.chat.completions.create(
model="llama-3.3-70b-instruct",
messages=[
{"role": "system", "content": "Sie sind ein hilfreicher Assistent."},
{"role": "user", "content": "Was ist DSGVO?"},
],
stream=True,
)
for chunk in stream:
if chunk.choices[0].delta.content:
print(chunk.choices[0].delta.content, end="")
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.eugpt.eu/v1",
apiKey: "eugpt-IhrKeyHier...",
});
// Streaming response
const stream = await client.chat.completions.create({
model: "llama-3.3-70b-instruct",
messages: [
{ role: "system", content: "Sie sind ein hilfreicher Assistent." },
{ role: "user", content: "Was ist DSGVO?" },
],
stream: true,
});
for await (const chunk of stream) {
process.stdout.write(chunk.choices[0]?.delta?.content || "");
}
use OpenAI;
$client = OpenAI::factory()
->withBaseUri('https://api.eugpt.eu/v1')
->withApiKey('eugpt-IhrKeyHier...')
->make();
$response = $client->chat()->create([
'model' => 'llama-3.3-70b-instruct',
'messages' => [
['role' => 'user', 'content' => 'Was ist DSGVO?'],
],
]);
echo $response->choices[0]->message->content;
API-Übersicht
Base URL
https://api.eugpt.eu
OpenAI-kompatibel unter /v1/
Authentifizierung
Bearer eugpt-...
Laravel Sanctum Token im Authorization Header
Content-Type
application/json
Streaming-Antworten via Server-Sent Events
API-Referenz
Alle Endpoints sind OpenAI-kompatibel. Bestehende Integrationen funktionieren sofort.
Request Body
{
"model": "llama-3.3-70b-instruct",
"messages": [
{
"role": "user",
"content": "Hallo!"
}
],
"stream": true,
"temperature": 0.7
}
Response (SSE Chunk)
{
"id": "chatcmpl-abc123",
"object": "chat.completion.chunk",
"choices": [{
"index": 0,
"delta": {
"content": "Hallo"
}
}]
}
Request Body
{
"model": "llama-3.3-70b-instruct",
"prompt": "Erklaere KI in 3 Saetzen",
"stream": false
}
Response
{
"model": "llama-3.3-70b-instruct",
"response": "KI ist...",
"done": true,
"total_duration": 1243000000
}
Request
// Kein Body erforderlich
// Auch verfügbar als:
// GET /v1/models (OpenAI-kompatibel)
Response
{
"models": [
{
"name": "llama-3.3-70b-instruct",
"provider": "eugpt",
"capabilities": [...]
}
]
}
Response
{
"chats": [
{
"uuid": "550e8400-e29b-41d4-a716-446655440000",
"title": "DSGVO Erklaerung",
"model": "llama-3.3-70b-instruct",
"created_at": "2026-04-08T12:00:00Z"
}
]
}
Request Body
{
"model": "llama-3.3-70b-instruct",
"title": "Mein neuer Chat"
}
Response
{
"uuid": "550e8400-...",
"title": "Mein neuer Chat",
"model": "llama-3.3-70b-instruct"
}
Response
{
"credit_balance_cents": 4250,
"self_hosted": {
"has_plan": true,
"plan_name": "Pro",
"usage_units_4h": { "used": 128000, "limit": 500000 },
"usage_units_week": { "used": 540000, "limit": 2500000 }
}
}
Gebaut für Entwickler
Alles was Sie brauchen, um KI in Ihre Anwendungen zu integrieren.
Streaming SSE
Echtzeit-Streaming via Server-Sent Events. Token für Token, wie Sie es von ChatGPT kennen. Funktioniert mit allen OpenAI SDKs.
OpenAI-kompatibel
Drop-in Replacement für OpenAI, Ollama und alle kompatiblen SDKs. Tauschen Sie einfach die Base URL aus.
Sanctum Auth
Sichere Token-basierte Authentifizierung via Laravel Sanctum. Erstellen und verwalten Sie API-Keys direkt in Ihrem Dashboard.
DSGVO by Design
Self-Hosted-GPU-Infrastruktur in Frankfurt, dokumentierte Auftragsverarbeitung und EU-AI-Act-Governance für Ihre eigene Risikobewertung.
EuGPT in OpenCode nutzen
OpenCode ist ein Open-Source KI-Coding-Agent fürs Terminal. Da EuGPT OpenAI-kompatibel ist — inklusive Tool-Calling — lässt es sich als DSGVO-konformer Provider einbinden. Chat, Streaming und Datei-Tools sind gegen echte OpenCode-Sessions verifiziert.
{
"provider": {
"eugpt": {
"npm": "@ai-sdk/openai-compatible",
"name": "EuGPT",
"options": {
"baseURL": "https://api.eugpt.eu/v1",
"apiKey": "{env:EUGPT_API_KEY}"
},
"models": {
"qwen/qwen3.6-35b-a3b": {
"name": "Qwen 3.6 35B (A3B)",
"limit": { "context": 131072, "output": 8192 }
},
"qwen/qwen3.5-9b": {
"name": "Qwen 3.5 9B (schnell)",
"limit": { "context": 32768, "output": 8192 }
}
}
}
},
"model": "eugpt/qwen/qwen3.6-35b-a3b",
"small_model": "eugpt/qwen/qwen3.5-9b"
}
Setup in 3 Schritten
- 1 opencode.json herunterladen und ins Projekt oder nach
~/.config/opencode/legen - 2 API-Key erstellen unter Einstellungen → API-Tokens und als
EUGPT_API_KEYexportieren - 3
opencodeim Projekt starten
Abrechnung
Standardmäßig läuft die Nutzung über Ihr Credit-Guthaben (Pay-as-you-go). Haben Sie ein Abo, aktivieren Sie beim Erstellen des API-Keys die Option „Für Abo verwenden“ — dann zählt die OpenCode-Nutzung gegen Ihr Abo-Zeitfenster statt gegen Ihr Guthaben.
Modell-IDs vorher prüfen: GET /v1/models — weitere Endpoints siehe API-Referenz oben.
Credits & Kontingente
Credits für flexible Nutzung und optionale Self-Hosted-Abos mit transparenten Kontingenten.
Credits & Self-Hosted-Abo
Standardmäßig laden Sie Credits in EUR auf und bezahlen pro Anfrage. Ein optionales Self-Hosted-Abo deckt EuGPTs eigene Modelle im Zeitfenster-Kontingent ab; externe Provider werden immer transparent über Credits abgerechnet.
Usage-Endpoint
Prüfen Sie Guthaben, Abo-Status und Kontingente jederzeit über GET /v1/usage. Der Endpoint liefert Credit-Balance, Self-Hosted-Abo, Usage-Units und Limits.
Transparente Preise
Kosten pro Modell sind auf der Pricing-Seite einsehbar. Keine versteckten Gebühren, keine überraschenden Abrechnungen.
Bereit loszulegen?
Erstellen Sie Ihren API-Key und integrieren Sie DSGVO-konforme KI in Ihre Anwendung -- in wenigen Minuten.