All apps
Mastra with OpenRouter

Mastra

coding

About Mastra

An open-source TypeScript framework for building AI-powered applications and agents.

Getting Started with OpenRouter for Mastra

  1. Create an account at openrouter.ai
  2. Add credits and generate an API key at openrouter.ai/settings/keys
  3. 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.