Chat API Docs Blog Anmelden Neuer Chat
DSGVO-konform

LLM API für Entwickler

Einfache REST API mit Streaming-Antworten. Gehostet in Deutschland, volle DSGVO-Konformität, keine Logs.

🇩🇪

Gehostet in Deutschland

Alle Daten auf deutschen Servern. Volle EU-Datensouveränität.

🔒

Keine Logs

Ihre Prompts werden nicht gespeichert. Maximale Privatsphäre.

Streaming API

Server-Sent Events für Echtzeit-Antworten. Token für Token.

Schnellstart

Eine einfache cURL-Anfrage genügt.

bash
curl -X POST https://privatai.com/api/v1/chat \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"prompt": "Hello, how are you?"}'

Antwort (Server-Sent Events)

json
data: {"token": "Hello"}
data: {"token": "!"}
data: {"token": " I"}
data: {"token": "'m"}
data: {"token": " doing"}
data: {"token": " great"}
data: {"done": true, "usage": {"prompt_tokens": 12, "completion_tokens": 8}}

Konversation mit Kontext

Für mehrteilige Gespräche senden Sie den Verlauf mit.

bash
curl -X POST https://privatai.com/api/v1/chat \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "messages": [
    {"role": "user", "content": "What is the capital of Germany?"},
    {"role": "assistant", "content": "The capital of Germany is Berlin."},
    {"role": "user", "content": "What is the population?"}
  ]
}'

Nutzung prüfen

bash
curl https://privatai.com/api/v1/usage \
  -H "Authorization: Bearer YOUR_API_KEY"

Einfache Preise

Wählen Sie den Plan, der zu Ihnen passt.

Enterprise

Individuell
  • Alles aus Pro
  • Mehrere Plätze / Team-Zugang
  • Dedizierte Infrastruktur
  • Individuelle Modell-Anpassung
  • Prioritäts-Support
Maßgeschneiderte Lösungen für Ihr Unternehmen.
Kontakt aufnehmen

artur@privatai.com