Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

685 B
Raw Blame
general_settings:
  master_key: os.environ/LITELLM_MASTER_KEY

litellm_settings:
  drop_params: true

model_list:
  - model_name: openai-gpt-4o-mini
    litellm_params:
      model: gpt-4o-mini
  - model_name: anthropic-claude-haiku-4-5
    litellm_params:
      model: anthropic/claude-haiku-4-5

mcp_servers:
  math_stdio:
    transport: stdio
    command: python3
    args:
      - tests/integration/mcp/_math_server.py
    allow_all_keys: true  # Needed for master_key auth when DB/object_permission not used
  math_streamable_http:
    transport: http
    url: http://127.0.0.1:0/mcp
    allow_all_keys: true
  math_restricted:
    transport: http
    url: http://127.0.0.1:0/mcp