Public Endpoint Families
| Request format | Native route | Converter route | Use this when |
|---|---|---|---|
| OpenAI Chat Completions | /v1/chat/completions | /openai/v1/chat/completions | Use the native route for OpenAI-compatible platforms. Use the converter route to keep OpenAI format while calling Anthropic or Gemini models. |
| OpenAI Responses | /v1/responses | Not available yet | Use the native route for OpenAI-compatible platforms. For cross-protocol calls today, use the OpenAI Chat Completions converter instead. |
| Anthropic Messages | /v1/messages | /anthropic/v1/messages | Use the native route for Anthropic-compatible platforms. Use the converter route to keep Anthropic format while calling OpenAI or Gemini models. |
| Gemini Generate Content | /v1beta/models/{model}:generateContent | /gemini/v1beta/models/{model}:generateContent | Use the native route for Gemini platforms. Use the converter route to keep Gemini format while calling OpenAI or Anthropic models. |
Authentication
All public routes use your PipeLLM API key with protocol-specific headers:| API Format | Header |
|---|---|
| OpenAI Compatible | Authorization: Bearer $PIPELLM_API_KEY |
| Anthropic | x-api-key: $PIPELLM_API_KEY |
| Gemini | x-goog-api-key: $PIPELLM_API_KEY |
Base URLs
| Route type | Base URL |
|---|---|
| Native public routes | https://api.pipellm.ai |
| OpenAI converter | https://api.pipellm.ai/openai/v1 |
| Anthropic converter | https://api.pipellm.ai/anthropic |
| Gemini converter | https://api.pipellm.ai/gemini |
Start Here
List Models
Discover the model IDs available to your account
Routing & Protocols
Choose the correct free route or converter route
Errors
Understand error types, status codes, and retry behavior
Rate Limits
Review request limits, balance protection, and headers
Endpoint References
OpenAI Compatible
/v1/chat/completions and /v1/responsesAnthropic
/v1/messagesGemini
/v1beta/models/{model}:generateContent