Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.wednesdayai.dev/llms.txt

Use this file to discover all available pages before exploring further.

AI providers

WednesdayAI routes your conversations to any supported AI provider. You choose the model; the gateway handles authentication, retries, and response streaming.

Supported providers

Anthropic

Claude models — Sonnet, Opus, Haiku. Supports thinking mode and prompt caching.

OpenAI

GPT-4, o3, and the Codex family. Standard API key or Codex subscription OAuth.

Google

Gemini models via Vertex AI or the AI Studio API key.

Ollama

Run any model locally — Llama, Mistral, Qwen, and hundreds more.

OpenRouter

Unified API gateway. Access 200+ models from a single API key with automatic fallback.

LiteLLM / Bifrost

Proxy-based providers. Route through your own LiteLLM or Bifrost deployment.

Adding a provider

Use openclaw login to authenticate with a provider interactively:
openclaw login
The wizard prompts you to choose a provider and enter your credentials. You can add as many providers as you like — each becomes an available option in the gateway config. To authenticate non-interactively (for CI or servers), set the environment variable before starting the gateway:
export ANTHROPIC_API_KEY=sk-ant-...
openclaw gateway start
Environment variables take precedence over stored credentials. See each provider page for the exact variable name.

Routing requests to a provider

In ~/.openclaw/openclaw.json, set the default model:
{
  agents: {
    defaults: {
      model: "claude-sonnet-4-6",  // or "gpt-4o", "gemini-2.0-flash", "ollama/llama3.3", etc.
    }
  }
}
To change the model for the current conversation, use the /model command in chat:
/model gpt-4o

Multi-provider routing

You can configure routing rules that send specific agents or channels to different providers. See the Gateway configuration page for the routing table syntax.

Checking provider status

openclaw doctor
openclaw doctor validates credentials for every configured provider and reports which ones are reachable.
openclaw status --providers
Lists all authenticated providers and the models available from each.