You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add official OpenRouter provider integration for access to 300+ models
through a single API. Fixes errors that occurred when using baseURL
override approach.
Changes:
- Install @openrouter/ai-sdk-provider package
- Add OpenRouter to aiService.ts createModel method
- Add OpenRouterProviderOptions to provider types
- Add OPENROUTER_API_KEY environment variable support
- Update docs/models.md with OpenRouter setup guide
OpenRouter provides:
- Universal model access (Anthropic, OpenAI, Google, Cerebras, etc.)
- Pay-as-you-go pricing with transparent per-token costs
- High availability with automatic failover
- Immediate access to new models
Usage:
openrouter:anthropic/claude-3.5-sonnet
openrouter:google/gemini-2.0-flash-thinking-exp
openrouter:cerebras/glm-4.6
openrouter:deepseek/deepseek-chat
_Generated with `cmux`_
0 commit comments