Skip to main content

LiteLLM

LiteLLM is an open-source LLM gateway that provides a unified API to 100+ model providers. Route WednesdayAI through LiteLLM to get centralized cost tracking, logging, and the flexibility to switch backends without changing your WednesdayAI config.

Why use LiteLLM with WednesdayAI?

  • Cost tracking — See exactly what WednesdayAI spends across all models
  • Model routing — Switch between Claude, GPT-4, Gemini, Bedrock without config changes
  • Virtual keys — Create keys with spend limits for WednesdayAI
  • Logging — Full request/response logs for debugging
  • Fallbacks — Automatic failover if your primary provider is down

Quick start

Via onboarding

Manual setup

  1. Start LiteLLM Proxy:
  1. Point WednesdayAI to LiteLLM:
That’s it. WednesdayAI now routes through LiteLLM.

Configuration

Environment variables

Config file

Virtual keys

Create a dedicated key for WednesdayAI with spend limits:
Use the generated key as LITELLM_API_KEY.

Model routing

LiteLLM can route model requests to different backends. Configure in your LiteLLM config.yaml:
WednesdayAI keeps requesting claude-opus-4-6 — LiteLLM handles the routing.

Viewing usage

Check LiteLLM’s dashboard or API:

Notes

  • LiteLLM runs on http://localhost:4000 by default
  • WednesdayAI connects via the OpenAI-compatible /v1/chat/completions endpoint
  • All WednesdayAI features work through LiteLLM — no limitations

See also