OpenAI and Anthropic Compatibility
EmpirioLabs AI exposes compatibility endpoints so you can adopt the platform without rewriting existing integrations. Point your OpenAI or Anthropic SDK at the EmpirioLabs base URL and start making requests immediately.
OpenAI-compatible Chat Completions
POST /v1/chat/completions
Accepts the same request body as the OpenAI Chat Completions API. Supports messages, model, stream, temperature, max_tokens, and other standard parameters.
Using the OpenAI Python SDK:
System prompts
Every chat model ships with a short default system message that establishes its identity (for example, “You are DeepSeek V4 Flash”). The default is prepended to your request automatically when you do not include a role: "system" or role: "developer" message. If you provide one, it fully replaces the default. No merging or prepending happens, and multiple system messages in a single request are forwarded to the upstream as-is.
OpenAI Responses-compatible endpoint
POST /v1/responses
Accepts the same request body as the OpenAI Responses API. Supports model, input, instructions, and related fields.
Anthropic-style Messages endpoint
POST /v1/messages
Accepts the same request body as the Anthropic Messages API. Requires model, messages, and max_tokens.
SDK configuration cheat sheet
For coding agents, IDE assistants, and CLIs, see Integrations for OpenCode, Claude Code, Cline, Aider, Continue, Cursor, and other OpenAI-compatible tools.
Model support
Not every model supports every endpoint format. Use GET /v1/models/{modelId} to check a specific model’s capabilities (streaming, system prompt, web search, images, video) and supported_parameters before integrating.
