A definition for an LLM proxy provider. This type is only used in the llm-proxy.providers server config. Any agent that has defined LLM proxy requests requires the server to have a suitable LLM proxy provider configured for every request.Documentation Index
Fetch the complete documentation index at: https://docs.coralos.ai/llms.txt
Use this file to discover all available pages before exploring further.
name
required The name of the LLM proxy provider. This must be unique. Application developers can request the usage of a specific LLM proxy provider by specifying this name in the proxies map.format.type
requiredOpenAIAnthropic
models
optionaltrue. Note that if this is
empty, the default value of allow_any_model is true.
api_key
requiredbase_url
required| Provider | Base URL |
|---|---|
| AI21 Labs | https://api.ai21.com/studio/v1 |
| Aleph Alpha | https://api.aleph-alpha.com |
| Anthropic | https://api.anthropic.com/v1 |
| Cohere | https://api.cohere.ai/v1 |
| DeepSeek | https://api.deepseek.com/v1 |
| Fireworks AI | https://api.fireworks.ai/inference/v1 |
| Google Gemini | https://generativelanguage.googleapis.com/v1beta |
| Groq | https://api.groq.com/openai/v1 |
| Hugging Face Inference | https://api-inference.huggingface.co/models |
| Meta (Llama via API) | https://api.llama.com/v1 |
| Mistral AI | https://api.mistral.ai/v1 |
| Nvidia NIM | https://integrate.api.nvidia.com/v1 |
| OpenAI | https://api.openai.com/v1 |
| OpenRouter | https://openrouter.ai/api/v1 |
| Perplexity AI | https://api.perplexity.ai |
| Replicate | https://api.replicate.com/v1 |
| Together AI | https://api.together.xyz/v1 |
| Voyage AI (embeddings) | https://api.voyageai.com/v1 |
| xAI (Grok) | https://api.x.ai/v1 |
timeout
default10s optional
allow_any_model
optionaltrue, this provider will match a request for any model that matches the specified format. This is useful for defining fallback providers that can handle many models, e.g., OpenRouter.
Resolution of AgentLlmProxyRequest will prioritize providers that have explicitly specified a model over providers that allow any model.
The default value is false if models contains at least one model and true otherwise.