# LLM config template: no API keys committed. Set api_key or api_key_env after opc init. llm: default_model: "openai/gpt-5.4" api_base: "https://openrouter.ai/api/v1" api_key: "" # api_key_env: "OPENROUTER_API_KEY" temperature: 1 max_tokens: 32768 # reasoning_effort: "high" # optional; use a provider-supported level # such as low, medium, or high routing: {} fallback: {} # Optional: total input context window, used as the denominator for the # context-usage ring and to trigger auto-summarization. Auto-detected via # litellm for most OpenAI / Anthropic models; models litellm cannot map # (e.g. deepseek/doubao/glm or proxy / self-hosted endpoints) fall back to # 128000. Set this only when the fallback is wrong for your model. # Scalar applies to the default model: # context_window: 200000 # Or per-model (wins over the scalar); keys are matched by model name: # context_window_overrides: # gpt-5.4: 400000 # claude-sonnet-4.5: 200000