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
requiredOpenAIAnthropicDeepSeek
models
optionaltrue. Note that if this is
empty, the default value of allow_any_model is true.
api_key
requiredbase_url
requiredv1/chat/completions; use https://api.openai.com as the provider base. Setting that provider base to https://api.openai.com/v1 produces /v1/v1/chat/completions.
An SDK that sends only chat/completions instead needs the provider base to include /v1, or the SDK base URL to add /v1 after CORAL_PROXY_URL_<NAME>. Confirm the actual upstream path when adapting a new client. The same rule applies to Anthropic’s /v1/messages endpoint and other compatible providers.
The format.type selects request authentication and usage parsing; it does not translate arbitrary provider APIs into OpenAI or Anthropic APIs.
timeout
default10m 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.