Models & Routing
Choosing, comparing and routing between LLMs.
14 posts
AI SDK v7 support in Mastra
Image generation, reasoning control, multimodal prompts, stream handlers, and UI helpers.
Aug 16, 2026ArticleLLM vs generative AI: key differences and how to choose
LLM vs generative AI explained: how they differ in scope, architecture, and use cases, plus how to choose the right approach for your app.
Aug 15, 2026ArticleGenerative AI examples: real-world uses by industry
See generative AI examples across healthcare, finance, retail, and software, plus how developers build, evaluate, and ship gen AI apps.
Aug 8, 2026ArticleYour open source LLM guide for 2026: models, benefits, and deployment
Compare the best open source LLM models in 2026, how licensing works, deployment tradeoffs, and how to evaluate and run open models in production.
Aug 7, 2026ArticleGenerative AI models: types and how they work
Learn what generative AI models are, the main types of generative AI models, how they work, and how to build and evaluate them in TypeScript.
Aug 6, 2026ArticleGenerative AI tools: what they are and how they work
Explore the main types of generative AI tools, real examples like ChatGPT and Gemini, and how developers build production apps with models, RAG, and evals
Aug 3, 2026ArticleLLM leaderboard: how to read, compare, and use benchmark rankings
Learn how to read LLM leaderboards, compare benchmark scores across reasoning, coding, and safety, and run your own evals to pick the right model.
Jul 22, 2026ArticleGenerative AI vs predictive AI: What’s the difference?
Your guide to generative AI vs predictive AI: how each works, real use cases, tradeoffs, and how to choose the right approach.
Jun 22, 2026ArticleAI gateway: one integration point for every provider
Learn what an AI gateway does, how it routes requests across providers, and how to implement one for cost control, observability, and reliability.
Oct 9, 2025BlogIntroducing Mastra Model Router: 600+ models, one API, zero package installs
Access 600+ LLM models from 40+ providers with a single string. Full TypeScript autocomplete turns your IDE into a model search engine.
Oct 6, 2025BlogMigration Guide: VNext to Standard APIs
Learn how to migrate from Mastra’s VNext streaming methods to the new standard APIs, with details on renaming, compatibility, and key differences between AI SDK v4 and v5.
Oct 1, 2025BlogModel fallbacks: Your safety net for production AI
Model fallbacks ensure your application stays online by automatically switching to backup models when your primary provider fails.
Aug 26, 2025BlogIntroducing Mastra's improved agent orchestration with AI SDK v5 support
Mastra now controls the agent loop and tool calling with increased orchestration capabilities—while maintaining backward compatibility with AI SDK v4 and v5.
Feb 13, 2025BlogUsing Vercel's AI SDK with Mastra
How Mastra enhances Vercel's AI SDK with agent primitives, RAG pipelines, and evaluation capabilities