Skip to content

OpenRouter ​

OpenRouter provides unified access to 100+ AI models from various providers through a single API.

Setup ​

  1. Get an API key from openrouter.ai
  2. In Alma, go to Settings → Providers → Add Provider
  3. Select OpenRouter as the provider type
  4. Enter your API key
  5. Click Save

Available Models ​

OpenRouter provides access to models from:

  • OpenAI (GPT-4, GPT-3.5)
  • Anthropic (Claude 3.5, Claude 3)
  • Google (Gemini)
  • Meta (Llama 3)
  • Mistral
  • And many more...

Benefits ​

Pay-Per-Use ​

  • No monthly subscriptions required
  • Pay only for what you use
  • Unified billing across all providers

Model Variety ​

  • Try models from different providers
  • Switch between models easily
  • Access models not available in your region

Fallback Routing ​

OpenRouter can automatically route to alternative models if your primary choice is unavailable.

Pricing ​

OpenRouter adds a small margin to base model prices. Check openrouter.ai/models for current pricing.

Troubleshooting ​

"Insufficient Credits" ​

  • Add credits to your OpenRouter account
  • Check your usage at openrouter.ai/activity

"Model Unavailable" ​

  • The model may be temporarily offline
  • Try an alternative model
  • Check OpenRouter status page