Skip to content

OpenRouter

OpenRouter is a unified API that gives you access to models from OpenAI, Anthropic, Google, Meta, Mistral, and more. With Fastlane + OpenRouter BYOK, you get smart routing across all of them.

  1. Get an API key from openrouter.ai/keys

  2. Add to your settings:

[byok]
openrouter_key = "sk-or-your-key"
  1. Restart Fastlane

OpenRouter models are prefixed with the provider:

  • openai/gpt-4o
  • openai/gpt-4o-mini
  • anthropic/claude-sonnet-4-20250514
  • anthropic/claude-3.5-haiku
  • meta-llama/llama-3.3-70b-instruct
  • meta-llama/llama-3.1-8b-instruct
  • mistralai/mixtral-8x7b-instruct
  • google/gemma-2-9b-it
  • Single key - One key for dozens of providers
  • More models - Access models not available directly
  • Automatic fallback - If one provider is down, OpenRouter retries another
  • Usage tracking - See all your usage in one dashboard

OpenRouter charges per-token on top of the provider’s base price. Check openrouter.ai/models for current rates.