How to Use Claude Code With OpenRouter or Ollama (2026 Setup Guide)
Claude Code reads a few environment variables that send its requests somewhere else: OpenRouter, a local Ollama server or Ollama’s cloud. Here is the exact setup from the official docs, and the honest limits.