# Or use provider API keys directly
OPENAI_API_KEY=sk-...
ANTHROPIC_API_KEY=ant-...
```


## Available Models

| Model |
|-------|
| `alibaba/qwen3-coder-plus` |
| `alibaba/qwen3-max` |
| `alibaba/qwen3-next-80b-a3b-instruct` |
| `alibaba/qwen3-next-80b-a3b-thinking` |
| `alibaba/qwen3-vl-instruct` |
| `alibaba/qwen3-vl-thinking` |
| `amazon/nova-lite` |
| `amazon/nova-micro` |
| `amazon/nova-pro` |
| `anthropic/claude-3-haiku` |
| `anthropic/claude-3-opus` |
| `anthropic/claude-3.5-haiku` |
| `anthropic/claude-3.5-sonnet` |
| `anthropic/claude-3.7-sonnet` |
| `anthropic/claude-4-1-opus` |
| `anthropic/claude-4-opus` |
| `anthropic/claude-4-sonnet` |
| `anthropic/claude-4.5-sonnet` |
| `anthropic/claude-haiku-4.5` |
| `cerebras/qwen3-coder` |
| `deepseek/deepseek-r1` |
| `deepseek/deepseek-r1-distill-llama-70b` |
| `deepseek/deepseek-v3.1-terminus` |
| `deepseek/deepseek-v3.2-exp` |
| `deepseek/deepseek-v3.2-exp-thinking` |
| `google/gemini-2.0-flash` |
| `google/gemini-2.0-flash-lite` |
| `google/gemini-2.5-flash` |
| `google/gemini-2.5-flash-lite` |
| `google/gemini-2.5-flash-lite-preview-09-2025` |
| `google/gemini-2.5-flash-preview-09-2025` |
| `google/gemini-2.5-pro` |
| `meta/llama-3.3-70b` |
| `meta/llama-4-maverick` |
| `meta/llama-4-scout` |
| `mistral/codestral` |
| `mistral/magistral-medium` |
| `mistral/magistral-small` |
| `mistral/ministral-3b` |
| `mistral/ministral-8b` |
| `mistral/mistral-large` |
| `mistral/mistral-small` |
| `mistral/mixtral-8x22b-instruct` |
| `mistral/pixtral-12b` |
| `mistral/pixtral-large` |
| `moonshotai/kimi-k2` |
| `morph/morph-v3-fast` |
| `morph/morph-v3-large` |
| `openai/gpt-4-turbo` |
| `openai/gpt-4.1` |
| `openai/gpt-4.1-mini` |
| `openai/gpt-4.1-nano` |
| `openai/gpt-4o` |
| `openai/gpt-4o-mini` |
| `openai/gpt-5` |
| `openai/gpt-5-codex` |
| `openai/gpt-5-mini` |
| `openai/gpt-5-nano` |
| `openai/gpt-oss-120b` |
| `openai/gpt-oss-20b` |
| `openai/o1` |
| `openai/o3` |
| `openai/o3-mini` |
| `openai/o4-mini` |
| `perplexity/sonar` |
| `perplexity/sonar-pro` |
| `perplexity/sonar-reasoning` |
| `perplexity/sonar-reasoning-pro` |
| `vercel/v0-1.0-md` |
| `vercel/v0-1.5-md` |
| `xai/grok-2` |
| `xai/grok-2-vision` |
| `xai/grok-3` |
| `xai/grok-3-fast` |
| `xai/grok-3-mini` |
| `xai/grok-3-mini-fast` |
| `xai/grok-4` |
| `xai/grok-4-fast` |
| `xai/grok-4-fast-non-reasoning` |
| `xai/grok-code-fast-1` |
| `zai/glm-4.5` |
| `zai/glm-4.5-air` |
| `zai/glm-4.5v` |
| `zai/glm-4.6` |



---
title: "Models"
description: "Access 48+ AI providers and 834+ models through Mastra's model router."
---

{/* This file is auto-generated by generate-model-docs.ts - DO NOT EDIT MANUALLY */}

import { CardGrid, CardGridItem } from "@site/src/components/cards/card-grid";
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
import { NetlifyLogo } from "@site/src/components/logos/NetlifyLogo";