Integrations
LiteLLM with Zurelay
One OpenAI-style API for every provider: a Python SDK and a proxy server. Made by BerriAI.
Set it up
- 1
Install it:
pip install litellmfor the Python SDK, orpip install 'litellm[proxy]'for the proxy server. - 2
Prefix Zurelay model IDs with
openai/and setapi_baseto the base URL, with/v1. - 3
For the proxy, list the models in
config.yamland runlitellm --config config.yaml. It serveshttp://localhost:4000to OpenAI and Anthropic clients alike. - 4
Keep
use_chat_completions_apianduse_chat_completions_url_for_anthropic_messageson. Without them LiteLLM turns Responses and Anthropic Messages requests (Claude Code’s) into calls to OpenAI’s Responses API, which Zurelay doesn’t serve.
Configuration
model_list: - model_name: claude-opus-5-5 litellm_params: model: openai/claude-opus-5-5 api_base: https://api.zurelay.com/v1 api_key: os.environ/ZURELAY_API_KEY use_chat_completions_api: true model_info: input_cost_per_token: 0.0000014 output_cost_per_token: 0.000007 cache_read_input_token_cost: 0.00000007 # Every other Zurelay model, as zurelay/<model ID> - model_name: zurelay/* litellm_params: model: openai/* api_base: https://api.zurelay.com/v1 api_key: os.environ/ZURELAY_API_KEY use_chat_completions_api: truelitellm_settings: use_chat_completions_url_for_anthropic_messages: true check_provider_endpoint: truegeneral_settings: master_key: os.environ/LITELLM_MASTER_KEYmodel_info puts Zurelay’s prices in its spend tracking. For Claude through LiteLLM’s anthropic/ provider instead, use https://api.zurelay.com with no /v1; LiteLLM adds /v1/messages itself.We ran this setup end to end with DeepSeek and Claude. The LiteLLM guide has every error we hit, how to fix it, and what each test task cost.
Questions, or something missing? Ask our support team and we’ll answer by email, usually within a minute.