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]

455 B
Raw Blame
general_settings:
  master_key: os.environ/LITELLM_MASTER_KEY
  store_model_in_db: true
  use_redis_transaction_buffer: true

litellm_settings:
  callbacks: ["prometheus"]
  service_callback: ["prometheus_system"]
  require_auth_for_metrics_endpoint: false
  enable_redis_auth_cache: true
  cache: true
  cache_params:
    type: redis
    host: 127.0.0.1
    port: 6379
    socket_timeout: 0.1

router_settings:
  num_retries: 2
  disable_cooldowns: true