model_list: # General chat — OpenRouter's own auto-router picks the best underlying model per prompt. - model_name: auto litellm_params: model: openrouter/openrouter/auto api_key: os.environ/OPENROUTER_API_KEY # Cheap/fast model used by the agent's own chat-vs-code-task classifier, not by users directly. - model_name: router-classifier litellm_params: model: openrouter/openai/gpt-4o-mini api_key: os.environ/OPENROUTER_API_KEY # NOT included: a "claude-subscription" route forwarding the Claude Pro/Max OAuth token # (from `claude setup-token`) through to Anthropic's raw API. Tested and confirmed # non-functional — Anthropic returns a generic rate_limit_error for ANY direct API call # using this token type outside the real Claude Code CLI client (reproduced with plain # curl straight to api.anthropic.com, bypassing LiteLLM entirely, same result). The # subscription token only works through the actual Claude Code CLI, which is what # claude-agent already uses directly for code tasks — it was never routed through here. general_settings: master_key: os.environ/LITELLM_MASTER_KEY