# Choose the upstream provider Loren should use: ollama or openrouter LOREN_PROVIDER=ollama # Fill in the keys for the selected provider. # Loren rotates one key per upstream request. OLLAMA_API_KEYS= OPENROUTER_API_KEYS= # Optional: override where the bridge listens # BRIDGE_HOST=127.0.0.1 # BRIDGE_PORT=8788 # Optional: Ollama cloud host # OLLAMA_UPSTREAM_BASE_URL=https://ollama.com # Optional: OpenRouter host # OPENROUTER_UPSTREAM_BASE_URL=https://openrouter.ai/api/v1 # Alias map shown to Claude Code users. Left side = selectable model in Claude. # Right side = real Ollama Cloud model id. OLLAMA_MODEL_ALIASES={"ollama-free-auto":"gpt-oss:20b","ollama-free-fast":"gemma3:12b","ollama-free-tools":"qwen3:32b"} # Optional alias map for OpenRouter ids. # Left side = stable alias you can keep using in Claude. # Right side = real OpenRouter model id. OPENROUTER_MODEL_ALIASES={"openrouter/free":"google/gemma-3n-e4b-it:free"}