Skip to main content

OpenRouter

OpenRouter provides a unified API that routes requests to many models behind a single endpoint and API key. It is OpenAI-compatible, so most OpenAI SDKs work by switching the base URL to https://openrouter.ai/api/v1.

CLI setup

The same API-key method is available in Agent > Models and through the CLI. Open Agents, select the Agent, then choose OpenRouter in the Models tab. OpenRouter does not have a separate first-party OAuth method in Fased.

Config snippet

Notes

  • Model refs are openrouter/<provider>/<model>.
  • The curated current list includes OpenAI GPT-5.6 Sol, Terra, and Luna plus xAI Grok 4.5. OpenRouter’s live catalog remains authoritative for account availability.
  • openrouter/auto is the guided setup default. Normal pickers show a curated current model list and can still use OpenRouter’s dynamic model catalog when the runtime reports it.
  • For more model/provider options, see /concepts/model-providers.
  • OpenRouter uses a Bearer token with your API key under the hood.