Celedog API Documentation
Integrate 200+ AI models with a single OpenAI-compatible API. Full reference for chat completions, embeddings, auto-routing, streaming, and SDKs in Python, Node.js, Go, and Java.
The interactive docs (with section navigation and code-tab switcher) load in your browser. If JavaScript isn't running, the section summaries below cover the essentials.
Quick start
curl https://celedog.io/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer sk-YOUR-KEY" \
-d '{
"model": "gpt-4o",
"messages": [{"role": "user", "content": "Hello!"}]
}'SDKs
Official SDKs for Python, Node.js, Go, and Java. Plus drop-in compatibility with OpenAI SDK, Anthropic SDK, LangChain, Vercel AI SDK, CrewAI, Continue.dev, Cursor, and Aider — just change the base URL to https://celedog.io/v1.
Sections
- • Quick Start — Make your first request in 5 minutes
- • Authentication — Bearer-token + x-api-key auth schemes
- • Chat Interface — Parameters, streaming, tool use
- • Anthropic Messages API — /v1/messages quickstart for Claude Code / cc-switch
- • Streaming Format — SSE OpenAI delta + Anthropic event shapes
- • Error Codes — HTTP/code/meaning table + envelope
- • Rate Limits — RPM/TPM tier table + retry pattern
- • Model List & Capabilities — 20-model capability matrix
- • Auto-routing — Meta-models that pick a real model per request
- • SDKs & Integrations — LangChain, Vercel AI SDK, cc-switch and more