OpenRouter
OpenRouter provides unified access to 100+ AI models from various providers through a single API.
Setup
- Get an API key from openrouter.ai
- In Alma, go to Settings → Providers → Add Provider
- Select OpenRouter as the provider type
- Enter your API key
- 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
