LangDB Chat Completions / Routing API
OpenAI-compatible chat completions routed across 250+ models from OpenAI, Anthropic, Google, Meta, Mistral, and DeepSeek, with SSE streaming, tool calling, structured outputs, fallback/load-balancing routing, and attachable MCP servers.
Documentation
Documentation
https://docs.langdb.ai/getting-started/working-with-api/
APIReference
https://docs.langdb.ai/api-reference/ai-gateway-api/
Specifications
OpenAPI
https://raw.githubusercontent.com/api-evangelist/langdb/refs/heads/main/openapi/langdb-openapi.yml
AsyncAPI
https://raw.githubusercontent.com/api-evangelist/langdb/refs/heads/main/asyncapi/langdb-asyncapi.yml