Free with rate limit (hosted in Europe). Beispiele in curl, Python und JavaScript, Live-Test.
Im Katalog testen und bewerten
- Typ
- Anbieter
- Anbieter
- OVHcloud AI Endpoints
- Preis
- Kostenlos + bezahlt
- Zugang ohne Schlüssel
- Nein
- Schlüsselvariable
OVH_AI_ENDPOINTS_ACCESS_TOKEN- Basis-URL (OpenAI-kompatibel)
https://oai.endpoints.kepler.ai.cloud.ovh.net/v1- Eingaben
- Text
- Entwicklerbewertung
- Noch nicht bewertet
- Dokumentation
- https://endpoints.ai.cloud.ovh.net/
- Letzte Prüfung
- 2026-12-04T20:20:29+00:00
Codebeispiele
cURL
curl https://oai.endpoints.kepler.ai.cloud.ovh.net/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $OVH_AI_ENDPOINTS_ACCESS_TOKEN" \
-d '{"model":"MODEL_NAME","messages":[{"role":"user","content":"Hallo, stell dich in einem Satz vor."}]}'Python
# pip install openai
import os
from openai import OpenAI
client = OpenAI(base_url="https://oai.endpoints.kepler.ai.cloud.ovh.net/v1", api_key=os.environ["OVH_AI_ENDPOINTS_ACCESS_TOKEN"])
r = client.chat.completions.create(
model="MODEL_NAME",
messages=[{"role": "user", "content": "Hallo, stell dich in einem Satz vor."}],
)
print(r.choices[0].message.content)JavaScript
// npm install openai
import OpenAI from 'openai'
const client = new OpenAI({ baseURL: 'https://oai.endpoints.kepler.ai.cloud.ovh.net/v1', apiKey: process.env.OVH_AI_ENDPOINTS_ACCESS_TOKEN })
const r = await client.chat.completions.create({
model: 'MODEL_NAME',
messages: [{ role: 'user', content: 'Hallo, stell dich in einem Satz vor.' }],
})
console.log(r.choices[0].message.content)
Beliebte Suchen
Häufige Fragen
Ist die API von OVHcloud AI Endpoints kostenlos?
OVHcloud AI Endpoints bietet ein begrenztes Gratiskontingent; darüber hinaus ist die Nutzung kostenpflichtig.
Wie rufe ich OVHcloud AI Endpoints aus meinem Code auf?
OVHcloud AI Endpoints bietet eine OpenAI-kompatible API unter https://oai.endpoints.kepler.ai.cloud.ovh.net/v1: Verwenden Sie ein beliebiges OpenAI-SDK (Python, JavaScript …) mit dieser Basis-URL. Fertiger Code (Streaming, JSON, Wiederholungen) steht im Werkzeugkasten für Entwickler bereit.