Custom providers
Connect an OpenAI Chat Completions or Anthropic Messages upstream from the admin catalog.
Different from the public SDK base URL#
For inbound Anthropic SDK and Claude Code traffic, use the PleumRouter root https://router.pleum.ai; the client appends /v1/messages. This inbound surface supports Messages, count_tokens, tools, and SSE, but does not claim perfect parity with every Anthropic feature.
https://router.pleum.ai ≠ https://api.example.com/v1/messagesWhat the admin stores#
A custom provider base_url is the full upstream endpoint PleumRouter calls. It is not an SDK root, so include /v1/chat/completions or /v1/messages.
Upstream URL safety boundary#
Protocols and authentication#
OpenAI Chat Completions supports bearer or x-api-key authentication. It covers endpoints that implement Chat Completions request and response shapes, including Mistral, Groq, xAI, Google and Cohere compatibility surfaces, and Vercel AI Gateway's openai-compatible surface.
Protocol: OpenAI Chat Completions
Full endpoint: https://api.example.com/v1/chat/completions
Authentication: Authorization: Bearer <encrypted key>Anthropic Messages supports bearer or x-api-key authentication. Amazon Bedrock Mantle and Microsoft Foundry can be registered with their full /v1/messages URL when using their Anthropic Messages-compatible endpoints.
Protocol: Anthropic Messages
Full endpoint: https://api.example.com/v1/messages
Authentication: x-api-key <encrypted key> # or Authorization: BearerCompatibility requirements#
A compatibility label alone is not enough. The endpoint must actually provide the selected protocol's request and response JSON, tool use, usage fields, and streaming SSE events. Keys are encrypted at rest and sent only through the selected header.
Currently excluded#
Next optional priorities#
No additional protocols are registered yet. The next candidates are Ollama native, Gemini native, Cohere v2, then cloud adapters such as Bedrock Runtime and Vertex.