# OpenRouter credential. # # Optional: if omp already has an OpenRouter login (`/login openrouter`), # auto-model-router reads it straight from omp's auth store at # ~/.omp/agent/agent.db and needs nothing here. Set this only to override # that, or to point at a different account. # # The model catalog is readable unauthenticated either way, so # `auto-model-router models` and `auto-model-router config --print` work with no key at all. OPENROUTER_API_KEY= # The router runs embedded in omp (router-embed.ts) and binds a free OS-assigned # port so multiple omp sessions never collide. Set AUTO_MODEL_ROUTER_PORT only to pin a # specific port instead (rarely needed). # AUTO_MODEL_ROUTER_PORT= # Config and database directory. Default: ~/.auto-model-router # AUTO_MODEL_ROUTER_HOME= # Log level: silent | error | warn | info | debug. Default: info # AUTO_MODEL_ROUTER_LOG=info # SQLite ledger path. Default: $AUTO_MODEL_ROUTER_HOME/router.db # AUTO_MODEL_ROUTER_DB=