All apps
About Mastra
An open-source TypeScript framework for building AI-powered applications and agents.
Getting Started with OpenRouter for Mastra
- Create an account at openrouter.ai
- Add credits and generate an API key at openrouter.ai/settings/keys
- Configure your API key in Mastra — see their OpenRouter integration guide for setup details
Using OpenRouter with Mastra
Mastra supports OpenRouter as a provider, giving you access to hundreds of AI models through a single API key. OpenRouter handles model routing and fallbacks so you can focus on what matters.
For detailed setup instructions and configuration options, visit the Mastra OpenRouter documentation.
