@mastra/mcp-docs-server 1.2.17-alpha.9 → 1.2.18-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (258) hide show
  1. package/.docs/course/02-agent-tools-mcp/32-conclusion.md +1 -1
  2. package/.docs/docs/agents/code-mode.md +3 -3
  3. package/.docs/docs/agents/guardrails.md +1 -1
  4. package/.docs/docs/agents/{agent-approval.md → human-in-the-loop.md} +5 -5
  5. package/.docs/docs/agents/networks.md +3 -3
  6. package/.docs/docs/agents/overview.md +7 -7
  7. package/.docs/docs/agents/processors.md +3 -3
  8. package/.docs/docs/agents/{using-tools.md → tools.md} +7 -7
  9. package/.docs/docs/{server/auth → auth}/custom-auth-provider.md +1 -1
  10. package/.docs/docs/{server/auth → auth}/fga.md +27 -1
  11. package/.docs/docs/{server/auth.md → auth/overview.md} +4 -4
  12. package/.docs/docs/{server/auth → auth}/simple-auth.md +1 -1
  13. package/.docs/docs/{server/auth → auth}/workers.md +2 -2
  14. package/.docs/docs/{capabilities/channels.md → channels.md} +2 -2
  15. package/.docs/docs/{agents → connections}/a2a.md +2 -2
  16. package/.docs/docs/{agents → connections}/acp.md +18 -6
  17. package/.docs/docs/{mcp/overview.md → connections/mcp.md} +1 -1
  18. package/.docs/docs/connections/overview.md +5 -5
  19. package/.docs/docs/{agents → connections}/sdk-agents.md +3 -1
  20. package/.docs/docs/deployment/cloud-providers.md +1 -0
  21. package/.docs/docs/deployment/mastra-server.md +2 -2
  22. package/.docs/docs/deployment/overview.md +2 -1
  23. package/.docs/docs/deployment/sandbox.md +3 -3
  24. package/.docs/docs/deployment/workers.md +4 -4
  25. package/.docs/docs/guides/context-engineering.md +297 -0
  26. package/.docs/docs/guides/multi-agent-systems.md +7 -7
  27. package/.docs/docs/guides/streaming.md +1 -1
  28. package/.docs/docs/harness/agent-controller.md +5 -3
  29. package/.docs/docs/{long-running-agents → harness}/background-tasks.md +5 -5
  30. package/.docs/docs/{long-running-agents → harness}/durable-agents.md +18 -2
  31. package/.docs/docs/{long-running-agents → harness}/goals.md +6 -6
  32. package/.docs/docs/harness/overview.md +11 -10
  33. package/.docs/docs/{long-running-agents → harness}/schedules.md +5 -5
  34. package/.docs/docs/{long-running-agents → harness}/signal-providers.md +4 -4
  35. package/.docs/docs/mastra-platform/deploy.md +1 -1
  36. package/.docs/docs/mastra-platform/overview.md +1 -1
  37. package/.docs/docs/mastra-platform/server.md +1 -1
  38. package/.docs/docs/memory/message-history.md +1 -1
  39. package/.docs/docs/memory/overview.md +4 -4
  40. package/.docs/docs/memory/working-memory.md +1 -1
  41. package/.docs/docs/observability/integrations/exporters/mastra-storage.md +1 -1
  42. package/.docs/docs/{workspace → sandbox}/filesystem.md +2 -2
  43. package/.docs/docs/{workspace → sandbox}/lsp.md +3 -3
  44. package/.docs/docs/{workspace/sandbox.md → sandbox/overview.md} +4 -3
  45. package/.docs/docs/{workspace → sandbox}/search.md +2 -2
  46. package/.docs/docs/{workspace → sandbox}/skills.md +5 -5
  47. package/.docs/docs/server/custom-api-routes.md +2 -2
  48. package/.docs/docs/server/mastra-client.md +2 -2
  49. package/.docs/docs/server/{mastra-server.md → overview.md} +3 -3
  50. package/.docs/docs/server/pubsub.md +2 -2
  51. package/.docs/docs/server/server-adapters.md +4 -4
  52. package/.docs/docs/{agents/skills.md → skills.md} +4 -4
  53. package/.docs/docs/{storage/overview.md → storage.md} +2 -1
  54. package/.docs/docs/studio/auth.md +4 -4
  55. package/.docs/docs/studio/overview.md +2 -2
  56. package/.docs/docs/{capabilities/subagents.md → subagents.md} +35 -5
  57. package/.docs/docs/workflows/agents-and-tools.md +1 -1
  58. package/.docs/docs/workflows/control-flow.md +0 -4
  59. package/.docs/docs/workflows/human-in-the-loop.md +0 -4
  60. package/.docs/docs/workflows/overview.md +1 -1
  61. package/.docs/docs/workflows/scheduled-workflows.md +2 -2
  62. package/.docs/docs/workflows/snapshots.md +1 -1
  63. package/.docs/docs/workflows/suspend-and-resume.md +0 -4
  64. package/.docs/integrations/agentic-ui/ai-sdk-ui.md +1 -1
  65. package/.docs/integrations/agentic-ui/copilotkit.md +1 -1
  66. package/.docs/integrations/auth/google.md +2 -2
  67. package/.docs/integrations/auth/workos.md +1 -1
  68. package/.docs/integrations/browsers/agent-browser.md +2 -2
  69. package/.docs/integrations/browsers/browser-viewer.md +6 -6
  70. package/.docs/integrations/browsers/firecrawl.md +1 -1
  71. package/.docs/integrations/browsers/stagehand.md +2 -2
  72. package/.docs/integrations/channels/discord.md +2 -2
  73. package/.docs/integrations/channels/github.md +1 -1
  74. package/.docs/integrations/channels/imessage.md +4 -4
  75. package/.docs/integrations/channels/slack.md +5 -5
  76. package/.docs/integrations/channels/teams.md +2 -2
  77. package/.docs/integrations/channels/telegram.md +2 -2
  78. package/.docs/integrations/channels/whatsapp.md +2 -2
  79. package/.docs/integrations/databases/postgresql.md +1 -0
  80. package/.docs/integrations/deploy/amazon-ec2.md +2 -2
  81. package/.docs/integrations/deploy/aws-lambda.md +3 -3
  82. package/.docs/integrations/deploy/azure-app-services.md +2 -2
  83. package/.docs/integrations/deploy/cloudflare.md +2 -2
  84. package/.docs/integrations/deploy/digital-ocean.md +3 -3
  85. package/.docs/integrations/deploy/kubernetes.md +11 -11
  86. package/.docs/integrations/deploy/netlify.md +3 -3
  87. package/.docs/integrations/deploy/render.md +389 -0
  88. package/.docs/integrations/deploy/vercel.md +2 -2
  89. package/.docs/integrations/file-storage/amazon-s3.md +1 -1
  90. package/.docs/integrations/file-storage/azure-blob.md +1 -1
  91. package/.docs/integrations/file-storage/google-cloud-storage.md +1 -1
  92. package/.docs/integrations/file-storage/mesa.md +2 -2
  93. package/.docs/integrations/file-storage/vercel-files.md +1 -1
  94. package/.docs/integrations/frameworks/astro.md +6 -2
  95. package/.docs/integrations/frameworks/electron.md +1 -1
  96. package/.docs/integrations/frameworks/express.md +1 -1
  97. package/.docs/integrations/frameworks/hono.md +1 -1
  98. package/.docs/integrations/frameworks/nestjs.md +1 -1
  99. package/.docs/integrations/frameworks/next-js.md +6 -2
  100. package/.docs/integrations/frameworks/nuxt.md +1 -1
  101. package/.docs/integrations/frameworks/sveltekit.md +1 -1
  102. package/.docs/integrations/frameworks/vite-react.md +6 -2
  103. package/.docs/integrations/sandboxes/agentcore.md +1 -1
  104. package/.docs/integrations/sandboxes/apple-container.md +1 -1
  105. package/.docs/integrations/sandboxes/cloudflare-sandbox.md +118 -0
  106. package/.docs/integrations/sandboxes/daytona.md +1 -1
  107. package/.docs/integrations/sandboxes/docker.md +4 -3
  108. package/.docs/integrations/sandboxes/e2b.md +1 -1
  109. package/.docs/integrations/sandboxes/modal.md +1 -1
  110. package/.docs/integrations/sandboxes/railway.md +11 -0
  111. package/.docs/integrations.md +4 -0
  112. package/.docs/models/environment-variables.md +9 -2
  113. package/.docs/models/gateways/merge-gateway.md +212 -0
  114. package/.docs/models/gateways/openrouter.md +3 -1
  115. package/.docs/models/gateways/vercel.md +22 -1
  116. package/.docs/models/gateways.md +1 -0
  117. package/.docs/models/index.md +1 -1
  118. package/.docs/models/providers/alibaba-token-plan-cn.md +2 -1
  119. package/.docs/models/providers/alibaba-token-plan.md +2 -1
  120. package/.docs/models/providers/ambient.md +2 -2
  121. package/.docs/models/providers/amd.md +73 -0
  122. package/.docs/models/providers/arcee.md +79 -0
  123. package/.docs/models/providers/baseten.md +1 -1
  124. package/.docs/models/providers/cerebras.md +2 -3
  125. package/.docs/models/providers/chutes.md +2 -1
  126. package/.docs/models/providers/cloudflare-workers-ai.md +3 -2
  127. package/.docs/models/providers/cortecs.md +2 -1
  128. package/.docs/models/providers/crof.md +1 -1
  129. package/.docs/models/providers/crossmodel.md +3 -2
  130. package/.docs/models/providers/deepinfra.md +5 -1
  131. package/.docs/models/providers/digitalocean.md +3 -2
  132. package/.docs/models/providers/echo.md +73 -0
  133. package/.docs/models/providers/edenai.md +26 -11
  134. package/.docs/models/providers/empiriolabs.md +11 -1
  135. package/.docs/models/providers/hetzner.md +6 -8
  136. package/.docs/models/providers/huggingface.md +4 -1
  137. package/.docs/models/providers/hyper.md +8 -7
  138. package/.docs/models/providers/inferx.md +19 -13
  139. package/.docs/models/providers/jalapeno.md +89 -0
  140. package/.docs/models/providers/kilo.md +12 -11
  141. package/.docs/models/providers/kosmik.md +73 -0
  142. package/.docs/models/providers/llmgateway.md +3 -3
  143. package/.docs/models/providers/llmtr.md +35 -10
  144. package/.docs/models/providers/nano-gpt.md +13 -17
  145. package/.docs/models/providers/ofox.md +8 -4
  146. package/.docs/models/providers/opencode-go.md +23 -22
  147. package/.docs/models/providers/requesty.md +143 -53
  148. package/.docs/models/providers/runinfra.md +76 -0
  149. package/.docs/models/providers/sakana.md +3 -2
  150. package/.docs/models/providers/scnet-token-plan.md +85 -0
  151. package/.docs/models/providers/scx-ai.md +76 -0
  152. package/.docs/models/providers/togetherai.md +2 -1
  153. package/.docs/models/providers/umans-ai-coding-plan.md +2 -1
  154. package/.docs/models/providers/umans-ai.md +2 -1
  155. package/.docs/models/providers/vivgrid.md +2 -1
  156. package/.docs/models/providers/wandb.md +2 -1
  157. package/.docs/models/providers/xai.md +2 -1
  158. package/.docs/models/providers.md +8 -2
  159. package/.docs/reference/acp/acp-agent.md +2 -2
  160. package/.docs/reference/acp/create-acp-tool.md +1 -1
  161. package/.docs/reference/agent-controller/agent-controller-class.md +2 -2
  162. package/.docs/reference/agents/agent.md +2 -2
  163. package/.docs/reference/agents/channels.md +2 -2
  164. package/.docs/reference/agents/createSkill.md +2 -2
  165. package/.docs/reference/agents/durable-agent.md +1 -1
  166. package/.docs/reference/agents/generate.md +3 -1
  167. package/.docs/reference/agents/getSkill.md +1 -1
  168. package/.docs/reference/agents/listSkills.md +1 -1
  169. package/.docs/reference/agents/listSuspendedRuns.md +6 -6
  170. package/.docs/reference/agents/listTools.md +2 -2
  171. package/.docs/reference/agents/network.md +3 -1
  172. package/.docs/reference/ai-sdk/chat-route.md +1 -1
  173. package/.docs/reference/ai-sdk/handle-chat-stream.md +1 -1
  174. package/.docs/reference/ai-sdk/handle-network-stream.md +2 -2
  175. package/.docs/reference/ai-sdk/handle-workflow-stream.md +1 -1
  176. package/.docs/reference/ai-sdk/network-route.md +2 -2
  177. package/.docs/reference/ai-sdk/to-ai-sdk-messages.md +1 -1
  178. package/.docs/reference/ai-sdk/to-ai-sdk-stream.md +1 -1
  179. package/.docs/reference/ai-sdk/workflow-route.md +1 -1
  180. package/.docs/reference/auth/fga.md +7 -5
  181. package/.docs/reference/auth/jwt.md +1 -1
  182. package/.docs/reference/browser/agent-browser.md +2 -2
  183. package/.docs/reference/browser/browser-viewer.md +2 -2
  184. package/.docs/reference/browser/firecrawl-browser.md +1 -1
  185. package/.docs/reference/browser/mastra-browser.md +1 -1
  186. package/.docs/reference/browser/stagehand-browser.md +2 -2
  187. package/.docs/reference/build-with-ai.md +2 -2
  188. package/.docs/reference/channels/channel-provider.md +1 -1
  189. package/.docs/reference/channels/slack-provider.md +1 -1
  190. package/.docs/reference/cli/mastra.md +2 -0
  191. package/.docs/reference/client-js/agents.md +24 -4
  192. package/.docs/reference/coding-agent/create-coding-agent.md +142 -13
  193. package/.docs/reference/configuration.md +6 -6
  194. package/.docs/reference/core/getEditor.md +1 -1
  195. package/.docs/reference/core/getMCPServer.md +1 -1
  196. package/.docs/reference/core/getMCPServerById.md +1 -1
  197. package/.docs/reference/core/getTool.md +1 -1
  198. package/.docs/reference/core/getToolById.md +1 -1
  199. package/.docs/reference/core/listMCPServers.md +1 -1
  200. package/.docs/reference/core/listTools.md +1 -1
  201. package/.docs/reference/core/removeWorkspace.md +1 -1
  202. package/.docs/reference/editor/mastra-editor.md +2 -2
  203. package/.docs/reference/editor/prompt-blocks.md +2 -2
  204. package/.docs/reference/editor/tool-provider.md +108 -1
  205. package/.docs/reference/editor/tools.md +1 -1
  206. package/.docs/reference/editor/versioning.md +3 -3
  207. package/.docs/reference/evals/prompt-alignment.md +18 -0
  208. package/.docs/reference/evals/rubric.md +1 -1
  209. package/.docs/reference/file-based-agents/memory.md +2 -2
  210. package/.docs/reference/file-based-agents/server.md +3 -3
  211. package/.docs/reference/file-based-agents/skills.md +1 -1
  212. package/.docs/reference/file-based-agents/storage.md +3 -3
  213. package/.docs/reference/file-based-agents/subagents.md +1 -1
  214. package/.docs/reference/file-based-agents/workspace.md +3 -3
  215. package/.docs/reference/index.md +1 -0
  216. package/.docs/reference/manual-install.md +3 -3
  217. package/.docs/reference/memory/memory-class.md +1 -0
  218. package/.docs/reference/memory/settled.md +57 -0
  219. package/.docs/reference/migrations/network-to-supervisor.md +2 -2
  220. package/.docs/reference/processors/provider-history-compat.md +6 -5
  221. package/.docs/reference/processors/skill-search-processor.md +3 -1
  222. package/.docs/reference/processors/token-limiter-processor.md +4 -0
  223. package/.docs/reference/processors/tool-call-filter.md +7 -7
  224. package/.docs/reference/processors/tool-search-processor.md +1 -1
  225. package/.docs/reference/project-structure.md +1 -1
  226. package/.docs/reference/pubsub/lease-provider.md +3 -3
  227. package/.docs/reference/pubsub/redis-streams.md +1 -1
  228. package/.docs/reference/rag/graph-rag.md +71 -8
  229. package/.docs/reference/rag/retrieval.md +26 -18
  230. package/.docs/reference/schedules/overview.md +1 -1
  231. package/.docs/reference/streaming/ChunkType.md +2 -2
  232. package/.docs/reference/streaming/agents/stream.md +29 -4
  233. package/.docs/reference/streaming/agents/streamUntilIdle.md +1 -1
  234. package/.docs/reference/tools/ask-user-tool.md +1 -1
  235. package/.docs/reference/tools/create-code-mode.md +1 -1
  236. package/.docs/reference/tools/create-tool.md +4 -4
  237. package/.docs/reference/tools/mcp-client.md +2 -0
  238. package/.docs/reference/tools/mcp-server.md +97 -4
  239. package/.docs/reference/tools/submit-plan-tool.md +1 -1
  240. package/.docs/reference/tools/task-tools.md +2 -2
  241. package/.docs/reference/vectors/vectorize.md +12 -2
  242. package/.docs/reference/workers/overview.md +2 -2
  243. package/.docs/reference/workflows/run-methods/resume.md +21 -0
  244. package/.docs/reference/workspace/local-filesystem.md +1 -1
  245. package/.docs/reference/workspace/local-sandbox.md +4 -3
  246. package/.docs/reference/workspace/platform-sandbox.md +11 -0
  247. package/.docs/reference/workspace/process-manager.md +20 -4
  248. package/.docs/reference/workspace/sandbox.md +1 -1
  249. package/.docs/reference/workspace/workspace-class.md +5 -5
  250. package/CHANGELOG.md +81 -0
  251. package/package.json +6 -6
  252. package/.docs/models/providers/merge-gateway.md +0 -265
  253. /package/.docs/docs/{server/auth → auth}/composite-auth.md +0 -0
  254. /package/.docs/docs/{server/auth → auth}/jwt.md +0 -0
  255. /package/.docs/docs/{browser/overview.md → browser.md} +0 -0
  256. /package/.docs/docs/{getting-started/develop.md → develop.md} +0 -0
  257. /package/.docs/docs/{long-running-agents → harness}/signals.md +0 -0
  258. /package/.docs/docs/{editor/overview.md → studio/editor.md} +0 -0
@@ -2,7 +2,7 @@
2
2
 
3
3
  # ![Alibaba Token Plan (China) logo](https://models.dev/logos/alibaba-token-plan-cn.svg)Alibaba Token Plan (China)
4
4
 
5
- Access 24 Alibaba Token Plan (China) models through Mastra's model router. Authentication is handled automatically using the `ALIBABA_TOKEN_PLAN_API_KEY` environment variable.
5
+ Access 25 Alibaba Token Plan (China) models through Mastra's model router. Authentication is handled automatically using the `ALIBABA_TOKEN_PLAN_API_KEY` environment variable.
6
6
 
7
7
  Learn more in the [Alibaba Token Plan (China) documentation](https://www.alibabacloud.com/help/zh/model-studio/token-plan-overview).
8
8
 
@@ -40,6 +40,7 @@ for await (const chunk of stream) {
40
40
  | `alibaba-token-plan-cn/deepseek-v4-flash` | 1.0M | | | | | | — | — |
41
41
  | `alibaba-token-plan-cn/deepseek-v4-flash-0731` | 1.0M | | | | | | — | — |
42
42
  | `alibaba-token-plan-cn/deepseek-v4-pro` | 1.0M | | | | | | — | — |
43
+ | `alibaba-token-plan-cn/deepseek-v4-pro-0813` | 1.0M | | | | | | — | — |
43
44
  | `alibaba-token-plan-cn/glm-5` | 203K | | | | | | — | — |
44
45
  | `alibaba-token-plan-cn/glm-5.1` | 203K | | | | | | — | — |
45
46
  | `alibaba-token-plan-cn/glm-5.2` | 1.0M | | | | | | — | — |
@@ -2,7 +2,7 @@
2
2
 
3
3
  # ![Alibaba Token Plan logo](https://models.dev/logos/alibaba-token-plan.svg)Alibaba Token Plan
4
4
 
5
- Access 24 Alibaba Token Plan models through Mastra's model router. Authentication is handled automatically using the `ALIBABA_TOKEN_PLAN_API_KEY` environment variable.
5
+ Access 25 Alibaba Token Plan models through Mastra's model router. Authentication is handled automatically using the `ALIBABA_TOKEN_PLAN_API_KEY` environment variable.
6
6
 
7
7
  Learn more in the [Alibaba Token Plan documentation](https://www.alibabacloud.com/help/en/model-studio/token-plan-overview).
8
8
 
@@ -40,6 +40,7 @@ for await (const chunk of stream) {
40
40
  | `alibaba-token-plan/deepseek-v4-flash` | 1.0M | | | | | | — | — |
41
41
  | `alibaba-token-plan/deepseek-v4-flash-0731` | 1.0M | | | | | | — | — |
42
42
  | `alibaba-token-plan/deepseek-v4-pro` | 1.0M | | | | | | — | — |
43
+ | `alibaba-token-plan/deepseek-v4-pro-0813` | 1.0M | | | | | | — | — |
43
44
  | `alibaba-token-plan/glm-5` | 203K | | | | | | — | — |
44
45
  | `alibaba-token-plan/glm-5.1` | 203K | | | | | | — | — |
45
46
  | `alibaba-token-plan/glm-5.2` | 1.0M | | | | | | — | — |
@@ -36,14 +36,14 @@ for await (const chunk of stream) {
36
36
 
37
37
  | Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
38
38
  | ----------------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
39
- | `ambient/ambient/large` | 203K | | | | | | $1 | $4 |
39
+ | `ambient/ambient/large` | 203K | | | | | | $0.60 | $2 |
40
40
  | `ambient/deepseek/deepseek-v4-flash` | 1.0M | | | | | | $0.14 | $0.28 |
41
41
  | `ambient/deepseek/deepseek-v4-flash-0731` | 1.0M | | | | | | $0.14 | $0.28 |
42
42
  | `ambient/moonshotai/kimi-k2.6` | 262K | | | | | | $0.95 | $4 |
43
43
  | `ambient/moonshotai/kimi-k2.7-code` | 262K | | | | | | $0.69 | $3 |
44
44
  | `ambient/stepfun/step-3.7-flash` | 262K | | | | | | $0.19 | $1 |
45
45
  | `ambient/xiaomi/mimo-v2.5` | 1.0M | | | | | | $0.40 | $2 |
46
- | `ambient/z-ai/glm-5.2` | 203K | | | | | | $1 | $4 |
46
+ | `ambient/z-ai/glm-5.2` | 203K | | | | | | $0.60 | $2 |
47
47
  | `ambient/zai-org/GLM-5.1-FP8` | 203K | | | | | | $1 | $4 |
48
48
  | `ambient/zai-org/GLM-5.2-FP8` | 203K | | | | | | $1 | $4 |
49
49
 
@@ -0,0 +1,73 @@
1
+ > Discover all available pages from the documentation index: https://mastra.ai/llms.txt
2
+
3
+ # ![AMD logo](https://models.dev/logos/amd.svg)AMD
4
+
5
+ Access 1 AMD model through Mastra's model router. Authentication is handled automatically using the `AMD_API_KEY` environment variable.
6
+
7
+ Learn more in the [AMD documentation](https://developer.amd.com.cn/radeon/tokenfactory).
8
+
9
+ ```bash
10
+ AMD_API_KEY=your-api-key
11
+ ```
12
+
13
+ ```typescript
14
+ import { Agent } from "@mastra/core/agent";
15
+
16
+ const agent = new Agent({
17
+ id: "my-agent",
18
+ name: "My Agent",
19
+ instructions: "You are a helpful assistant",
20
+ model: "amd/DeepSeek-V4-Flash"
21
+ });
22
+
23
+ // Generate a response
24
+ const response = await agent.generate("Hello!");
25
+
26
+ // Stream a response
27
+ const stream = await agent.stream("Tell me a story");
28
+ for await (const chunk of stream) {
29
+ console.log(chunk);
30
+ }
31
+ ```
32
+
33
+ > **Note:** Mastra uses the OpenAI-compatible `/chat/completions` endpoint. Some provider-specific features may not be available. Check the [AMD documentation](https://developer.amd.com.cn/radeon/tokenfactory) for details.
34
+
35
+ ## Models
36
+
37
+ | Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
38
+ | ----------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
39
+ | `amd/DeepSeek-V4-Flash` | 1.0M | | | | | | $0.14 | $0.28 |
40
+
41
+ ## Advanced configuration
42
+
43
+ ### Custom headers
44
+
45
+ ```typescript
46
+ const agent = new Agent({
47
+ id: "custom-agent",
48
+ name: "custom-agent",
49
+ model: {
50
+ url: "https://developer.amd.com.cn/radeon/api/v1",
51
+ id: "amd/DeepSeek-V4-Flash",
52
+ apiKey: process.env.AMD_API_KEY,
53
+ headers: {
54
+ "X-Custom-Header": "value"
55
+ }
56
+ }
57
+ });
58
+ ```
59
+
60
+ ### Dynamic model selection
61
+
62
+ ```typescript
63
+ const agent = new Agent({
64
+ id: "dynamic-agent",
65
+ name: "Dynamic Agent",
66
+ model: ({ requestContext }) => {
67
+ const useAdvanced = requestContext.task === "complex";
68
+ return useAdvanced
69
+ ? "amd/DeepSeek-V4-Flash"
70
+ : "amd/DeepSeek-V4-Flash";
71
+ }
72
+ });
73
+ ```
@@ -0,0 +1,79 @@
1
+ > Discover all available pages from the documentation index: https://mastra.ai/llms.txt
2
+
3
+ # ![Arcee logo](https://models.dev/logos/arcee.svg)Arcee
4
+
5
+ Access 7 Arcee models through Mastra's model router. Authentication is handled automatically using the `ARCEE_API_KEY` environment variable.
6
+
7
+ Learn more in the [Arcee documentation](https://docs.arcee.ai).
8
+
9
+ ```bash
10
+ ARCEE_API_KEY=your-api-key
11
+ ```
12
+
13
+ ```typescript
14
+ import { Agent } from "@mastra/core/agent";
15
+
16
+ const agent = new Agent({
17
+ id: "my-agent",
18
+ name: "My Agent",
19
+ instructions: "You are a helpful assistant",
20
+ model: "arcee/deepseek/deepseek-v4-flash-latest"
21
+ });
22
+
23
+ // Generate a response
24
+ const response = await agent.generate("Hello!");
25
+
26
+ // Stream a response
27
+ const stream = await agent.stream("Tell me a story");
28
+ for await (const chunk of stream) {
29
+ console.log(chunk);
30
+ }
31
+ ```
32
+
33
+ > **Note:** Mastra uses the OpenAI-compatible `/chat/completions` endpoint. Some provider-specific features may not be available. Check the [Arcee documentation](https://docs.arcee.ai) for details.
34
+
35
+ ## Models
36
+
37
+ | Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
38
+ | ----------------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
39
+ | `arcee/deepseek/deepseek-v4-flash-latest` | 1.0M | | | | | | $0.14 | $0.28 |
40
+ | `arcee/deepseek/deepseek-v4-pro` | 512K | | | | | | $2 | $3 |
41
+ | `arcee/deepseek/deepseek-v4-pro-0813` | 1.0M | | | | | | $1 | $4 |
42
+ | `arcee/moonshotai/kimi-k3` | 1.0M | | | | | | $3 | $15 |
43
+ | `arcee/thinkingmachines/inkling-small` | 262K | | | | | | $0.50 | $1 |
44
+ | `arcee/trinity-large-thinking` | 262K | | | | | | $0.25 | $0.80 |
45
+ | `arcee/zai-org/glm-5.2` | 262K | | | | | | $1 | $4 |
46
+
47
+ ## Advanced configuration
48
+
49
+ ### Custom headers
50
+
51
+ ```typescript
52
+ const agent = new Agent({
53
+ id: "custom-agent",
54
+ name: "custom-agent",
55
+ model: {
56
+ url: "https://api.arcee.ai/api/v1",
57
+ id: "arcee/deepseek/deepseek-v4-flash-latest",
58
+ apiKey: process.env.ARCEE_API_KEY,
59
+ headers: {
60
+ "X-Custom-Header": "value"
61
+ }
62
+ }
63
+ });
64
+ ```
65
+
66
+ ### Dynamic model selection
67
+
68
+ ```typescript
69
+ const agent = new Agent({
70
+ id: "dynamic-agent",
71
+ name: "Dynamic Agent",
72
+ model: ({ requestContext }) => {
73
+ const useAdvanced = requestContext.task === "complex";
74
+ return useAdvanced
75
+ ? "arcee/zai-org/glm-5.2"
76
+ : "arcee/deepseek/deepseek-v4-flash-latest";
77
+ }
78
+ });
79
+ ```
@@ -37,7 +37,7 @@ for await (const chunk of stream) {
37
37
  | Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
38
38
  | -------------------------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
39
39
  | `baseten/deepseek-ai/DeepSeek-V4-Flash-0731` | 1.0M | | | | | | $0.13 | $0.26 |
40
- | `baseten/deepseek-ai/DeepSeek-V4-Pro` | 262K | | | | | | $2 | $3 |
40
+ | `baseten/deepseek-ai/DeepSeek-V4-Pro` | 1.0M | | | | | | $2 | $3 |
41
41
  | `baseten/deepseek-ai/DeepSeek-V4-Pro-0813` | 1.0M | | | | | | $1 | $4 |
42
42
  | `baseten/moonshotai/Kimi-K2.5` | 262K | | | | | | $0.60 | $3 |
43
43
  | `baseten/moonshotai/Kimi-K2.6` | 262K | | | | | | $0.95 | $4 |
@@ -2,7 +2,7 @@
2
2
 
3
3
  # ![Cerebras logo](https://models.dev/logos/cerebras.svg)Cerebras
4
4
 
5
- Access 3 Cerebras models through Mastra's model router. Authentication is handled automatically using the `CEREBRAS_API_KEY` environment variable.
5
+ Access 2 Cerebras models through Mastra's model router. Authentication is handled automatically using the `CEREBRAS_API_KEY` environment variable.
6
6
 
7
7
  Learn more in the [Cerebras documentation](https://inference-docs.cerebras.ai/models/overview).
8
8
 
@@ -36,7 +36,6 @@ for await (const chunk of stream) {
36
36
  | ----------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
37
37
  | `cerebras/gemma-4-31b` | 131K | | | | | | $0.99 | $1 |
38
38
  | `cerebras/gpt-oss-120b` | 131K | | | | | | $0.35 | $0.75 |
39
- | `cerebras/zai-glm-4.7` | 131K | | | | | | $2 | $3 |
40
39
 
41
40
  ## Advanced configuration
42
41
 
@@ -65,7 +64,7 @@ const agent = new Agent({
65
64
  model: ({ requestContext }) => {
66
65
  const useAdvanced = requestContext.task === "complex";
67
66
  return useAdvanced
68
- ? "cerebras/zai-glm-4.7"
67
+ ? "cerebras/gpt-oss-120b"
69
68
  : "cerebras/gemma-4-31b";
70
69
  }
71
70
  });
@@ -2,7 +2,7 @@
2
2
 
3
3
  # ![Chutes logo](https://models.dev/logos/chutes.svg)Chutes
4
4
 
5
- Access 13 Chutes models through Mastra's model router. Authentication is handled automatically using the `CHUTES_API_KEY` environment variable.
5
+ Access 14 Chutes models through Mastra's model router. Authentication is handled automatically using the `CHUTES_API_KEY` environment variable.
6
6
 
7
7
  Learn more in the [Chutes documentation](https://llm.chutes.ai).
8
8
 
@@ -46,6 +46,7 @@ for await (const chunk of stream) {
46
46
  | `chutes/Qwen/Qwen3-32B-TEE` | 41K | | | | | | $0.10 | $0.42 |
47
47
  | `chutes/Qwen/Qwen3.5-397B-A17B-TEE` | 262K | | | | | | $0.45 | $3 |
48
48
  | `chutes/Qwen/Qwen3.6-27B-TEE` | 262K | | | | | | $0.30 | $2 |
49
+ | `chutes/Qwen/Qwen3.8-27B-TEE` | 262K | | | | | | $0.40 | $3 |
49
50
  | `chutes/unsloth/Mistral-Nemo-Instruct-2407-TEE` | 131K | | | | | | $0.02 | $0.10 |
50
51
  | `chutes/zai-org/GLM-5.1-TEE` | 203K | | | | | | $0.98 | $3 |
51
52
  | `chutes/zai-org/GLM-5.2-TEE` | 1.0M | | | | | | $1 | $4 |
@@ -2,7 +2,7 @@
2
2
 
3
3
  # ![Cloudflare Workers AI logo](https://models.dev/logos/cloudflare-workers-ai.svg)Cloudflare Workers AI
4
4
 
5
- Access 24 Cloudflare Workers AI models through Mastra's model router. Authentication is handled automatically using the `CLOUDFLARE_API_KEY` environment variable. Configure `CLOUDFLARE_ACCOUNT_ID` as well.
5
+ Access 25 Cloudflare Workers AI models through Mastra's model router. Authentication is handled automatically using the `CLOUDFLARE_API_KEY` environment variable. Configure `CLOUDFLARE_ACCOUNT_ID` as well.
6
6
 
7
7
  Learn more in the [Cloudflare Workers AI documentation](https://developers.cloudflare.com/workers-ai/models/).
8
8
 
@@ -39,7 +39,7 @@ for await (const chunk of stream) {
39
39
  | -------------------------------------------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
40
40
  | `cloudflare-workers-ai/@cf/aisingapore/gemma-sea-lion-v4-27b-it` | 128K | | | | | | $0.35 | $0.56 |
41
41
  | `cloudflare-workers-ai/@cf/deepseek-ai/deepseek-r1-distill-qwen-32b` | 80K | | | | | | $0.50 | $5 |
42
- | `cloudflare-workers-ai/@cf/deepseek-ai/deepseek-v4-flash-0731` | 1.0M | | | | | | $0.44 | $1 |
42
+ | `cloudflare-workers-ai/@cf/deepseek-ai/deepseek-v4-flash-0731` | 1.3M | | | | | | $0.44 | $1 |
43
43
  | `cloudflare-workers-ai/@cf/deepseek-ai/deepseek-v4-pro-0813` | 1.0M | | | | | | $1 | $4 |
44
44
  | `cloudflare-workers-ai/@cf/google/gemma-4-26b-a4b-it` | 256K | | | | | | $0.10 | $0.30 |
45
45
  | `cloudflare-workers-ai/@cf/ibm-granite/granite-4.0-h-micro` | 131K | | | | | | $0.02 | $0.11 |
@@ -58,6 +58,7 @@ for await (const chunk of stream) {
58
58
  | `cloudflare-workers-ai/@cf/openai/gpt-oss-20b` | 128K | | | | | | $0.20 | $0.30 |
59
59
  | `cloudflare-workers-ai/@cf/qwen/qwen2.5-coder-32b-instruct` | 33K | | | | | | $0.66 | $1 |
60
60
  | `cloudflare-workers-ai/@cf/qwen/qwen3-30b-a3b-fp8` | 33K | | | | | | $0.05 | $0.34 |
61
+ | `cloudflare-workers-ai/@cf/qwen/qwen3.8-27b` | 262K | | | | | | $0.45 | $3 |
61
62
  | `cloudflare-workers-ai/@cf/qwen/qwq-32b` | 24K | | | | | | $0.66 | $1 |
62
63
  | `cloudflare-workers-ai/@cf/zai-org/glm-4.7-flash` | 131K | | | | | | $0.06 | $0.40 |
63
64
  | `cloudflare-workers-ai/@cf/zai-org/glm-5.2` | 262K | | | | | | $1 | $4 |
@@ -2,7 +2,7 @@
2
2
 
3
3
  # ![Cortecs logo](https://models.dev/logos/cortecs.svg)Cortecs
4
4
 
5
- Access 107 Cortecs models through Mastra's model router. Authentication is handled automatically using the `CORTECS_API_KEY` environment variable.
5
+ Access 108 Cortecs models through Mastra's model router. Authentication is handled automatically using the `CORTECS_API_KEY` environment variable.
6
6
 
7
7
  Learn more in the [Cortecs documentation](https://cortecs.ai).
8
8
 
@@ -140,6 +140,7 @@ for await (const chunk of stream) {
140
140
  | `cortecs/qwen3.6-27b` | 262K | | | | | | $0.45 | $3 |
141
141
  | `cortecs/qwen3.6-35b-a3b` | 262K | | | | | | $0.17 | $0.56 |
142
142
  | `cortecs/qwen3.8-2.4t-a95b` | 262K | | | | | | $3 | $6 |
143
+ | `cortecs/qwen3.8-27b` | 262K | | | | | | $0.33 | $2 |
143
144
  | `cortecs/qwen3guard-gen-0.6b` | 32K | | | | | | — | — |
144
145
  | `cortecs/qwen3guard-gen-8b` | 32K | | | | | | — | — |
145
146
  | `cortecs/voxtral-small-2507` | 32K | | | | | | $0.11 | $0.33 |
@@ -46,7 +46,7 @@ for await (const chunk of stream) {
46
46
  | `crof/glm-4.7-flash` | 203K | | | | | | $0.04 | $0.30 |
47
47
  | `crof/glm-5` | 203K | | | | | | $0.48 | $2 |
48
48
  | `crof/glm-5.1` | 203K | | | | | | $0.45 | $2 |
49
- | `crof/glm-5.2` | 1.0M | | | | | | $0.50 | $2 |
49
+ | `crof/glm-5.2` | 1.0M | | | | | | $0.30 | $1 |
50
50
  | `crof/greg-1-mini` | 229K | | | | | | $0.07 | $0.15 |
51
51
  | `crof/greg-2-super` | 229K | | | | | | $2 | $5 |
52
52
  | `crof/greg-2-ultra` | 229K | | | | | | $3 | $10 |
@@ -2,7 +2,7 @@
2
2
 
3
3
  # ![CrossModel logo](https://models.dev/logos/crossmodel.svg)CrossModel
4
4
 
5
- Access 50 CrossModel models through Mastra's model router. Authentication is handled automatically using the `CROSSMODEL_API_KEY` environment variable.
5
+ Access 51 CrossModel models through Mastra's model router. Authentication is handled automatically using the `CROSSMODEL_API_KEY` environment variable.
6
6
 
7
7
  Learn more in the [CrossModel documentation](https://www.crossmodel.ai/docs).
8
8
 
@@ -43,7 +43,7 @@ for await (const chunk of stream) {
43
43
  | `crossmodel/anthropic/claude-opus-5` | 1.0M | | | | | | $5 | $25 |
44
44
  | `crossmodel/anthropic/claude-sonnet-4-6` | 1.0M | | | | | | $3 | $15 |
45
45
  | `crossmodel/anthropic/claude-sonnet-5` | 1.0M | | | | | | $2 | $10 |
46
- | `crossmodel/deepseek/deepseek-v4-flash` | 1.0M | | | | | | $0.45 | $1 |
46
+ | `crossmodel/deepseek/deepseek-v4-flash` | 1.0M | | | | | | $0.41 | $1 |
47
47
  | `crossmodel/deepseek/deepseek-v4-pro` | 1.0M | | | | | | $1 | $4 |
48
48
  | `crossmodel/gemini/gemini-2.5-flash` | 1.0M | | | | | | $0.30 | $3 |
49
49
  | `crossmodel/gemini/gemini-2.5-flash-lite` | 1.0M | | | | | | $0.10 | $0.40 |
@@ -53,6 +53,7 @@ for await (const chunk of stream) {
53
53
  | `crossmodel/gemini/gemini-3.5-flash` | 1.0M | | | | | | $2 | $9 |
54
54
  | `crossmodel/gemini/gemini-3.5-flash-lite` | 1.0M | | | | | | $0.30 | $3 |
55
55
  | `crossmodel/gemini/gemini-3.6-flash` | 1.0M | | | | | | $2 | $8 |
56
+ | `crossmodel/gemini/gemini-3.7-flash` | 1.0M | | | | | | $0.75 | $4 |
56
57
  | `crossmodel/minimax/minimax-m2.7` | 205K | | | | | | $0.33 | $1 |
57
58
  | `crossmodel/minimax/minimax-m3` | 1.0M | | | | | | $0.33 | $1 |
58
59
  | `crossmodel/moonshot/kimi-k2.5` | 262K | | | | | | $0.62 | $3 |
@@ -2,7 +2,7 @@
2
2
 
3
3
  # ![Deep Infra logo](https://models.dev/logos/deepinfra.svg)Deep Infra
4
4
 
5
- Access 56 Deep Infra models through Mastra's model router. Authentication is handled automatically using the `DEEPINFRA_API_KEY` environment variable.
5
+ Access 60 Deep Infra models through Mastra's model router. Authentication is handled automatically using the `DEEPINFRA_API_KEY` environment variable.
6
6
 
7
7
  Learn more in the [Deep Infra documentation](https://deepinfra.com/models).
8
8
 
@@ -45,6 +45,7 @@ for await (const chunk of stream) {
45
45
  | `deepinfra/deepseek-ai/DeepSeek-V4-Flash` | 1.0M | | | | | | $0.09 | $0.18 |
46
46
  | `deepinfra/deepseek-ai/DeepSeek-V4-Flash-0731` | 1.0M | | | | | | $0.08 | $0.18 |
47
47
  | `deepinfra/deepseek-ai/DeepSeek-V4-Pro` | 1.0M | | | | | | $1 | $3 |
48
+ | `deepinfra/deepseek-ai/DeepSeek-V4-Pro-0813` | 1.0M | | | | | | $1 | $3 |
48
49
  | `deepinfra/google/gemma-4-26B-A4B-it` | 262K | | | | | | $0.07 | $0.34 |
49
50
  | `deepinfra/google/gemma-4-31B-it` | 262K | | | | | | $0.13 | $0.38 |
50
51
  | `deepinfra/google/gemma-4-E4B-it` | 131K | | | | | | $0.02 | $0.10 |
@@ -66,6 +67,7 @@ for await (const chunk of stream) {
66
67
  | `deepinfra/Qwen/Qwen3-Coder-480B-A35B-Instruct-Turbo` | 262K | | | | | | $0.30 | $1 |
67
68
  | `deepinfra/Qwen/Qwen3-Max` | 256K | | | | | | $1 | $6 |
68
69
  | `deepinfra/Qwen/Qwen3-Next-80B-A3B-Instruct` | 262K | | | | | | $0.09 | $1 |
70
+ | `deepinfra/Qwen/Qwen3-VL-235B-A22B-Instruct` | 262K | | | | | | $0.20 | $0.88 |
69
71
  | `deepinfra/Qwen/Qwen3.5-122B-A10B` | 262K | | | | | | $0.29 | $2 |
70
72
  | `deepinfra/Qwen/Qwen3.5-27B` | 262K | | | | | | $0.26 | $3 |
71
73
  | `deepinfra/Qwen/Qwen3.5-35B-A3B` | 262K | | | | | | $0.14 | $1 |
@@ -74,6 +76,8 @@ for await (const chunk of stream) {
74
76
  | `deepinfra/Qwen/Qwen3.6-27B` | 262K | | | | | | $0.32 | $3 |
75
77
  | `deepinfra/Qwen/Qwen3.6-35B-A3B` | 262K | | | | | | $0.10 | $0.95 |
76
78
  | `deepinfra/Qwen/Qwen3.7-Max` | 256K | | | | | | $3 | $8 |
79
+ | `deepinfra/Qwen/Qwen3.8-2.4T-A95B` | 262K | | | | | | $2 | $6 |
80
+ | `deepinfra/Qwen/Qwen3.8-27B` | 262K | | | | | | $0.40 | $3 |
77
81
  | `deepinfra/Qwen/Qwen3.8-Max` | 256K | | | | | | $2 | $5 |
78
82
  | `deepinfra/stepfun-ai/Step-3.7-Flash` | 262K | | | | | | $0.20 | $1 |
79
83
  | `deepinfra/tencent/Hy3` | 262K | | | | | | $0.14 | $0.58 |
@@ -2,7 +2,7 @@
2
2
 
3
3
  # ![DigitalOcean logo](https://models.dev/logos/digitalocean.svg)DigitalOcean
4
4
 
5
- Access 91 DigitalOcean models through Mastra's model router. Authentication is handled automatically using the `DIGITALOCEAN_ACCESS_TOKEN` environment variable.
5
+ Access 92 DigitalOcean models through Mastra's model router. Authentication is handled automatically using the `DIGITALOCEAN_ACCESS_TOKEN` environment variable.
6
6
 
7
7
  Learn more in the [DigitalOcean documentation](https://docs.digitalocean.com/products/gradient-ai-platform/details/models/).
8
8
 
@@ -61,6 +61,7 @@ for await (const chunk of stream) {
61
61
  | `digitalocean/deepseek-v3` | 164K | | | | | | — | — |
62
62
  | `digitalocean/deepseek-v4-flash-0731` | 1.0M | | | | | | $0.08 | $0.25 |
63
63
  | `digitalocean/deepseek-v4-pro` | 1.0M | | | | | | $0.87 | $2 |
64
+ | `digitalocean/deepseek-v4-pro-0813` | 1.0M | | | | | | $1 | $4 |
64
65
  | `digitalocean/e5-large-v2` | 512 | | | | | | $0.02 | — |
65
66
  | `digitalocean/fal-ai/elevenlabs/tts/multilingual-v2` | — | | | | | | — | — |
66
67
  | `digitalocean/fal-ai/fast-sdxl` | — | | | | | | — | — |
@@ -69,7 +70,7 @@ for await (const chunk of stream) {
69
70
  | `digitalocean/gemma-4-31B-it` | 256K | | | | | | $0.18 | $0.50 |
70
71
  | `digitalocean/glm-5` | 64K | | | | | | $0.75 | $2 |
71
72
  | `digitalocean/glm-5.1` | 164K | | | | | | $0.97 | $4 |
72
- | `digitalocean/glm-5.2` | 262K | | | | | | $0.63 | $2 |
73
+ | `digitalocean/glm-5.2` | 262K | | | | | | $0.70 | $2 |
73
74
  | `digitalocean/gte-large-en-v1.5` | 8K | | | | | | $0.09 | — |
74
75
  | `digitalocean/kimi-k2.5` | 262K | | | | | | $0.38 | $2 |
75
76
  | `digitalocean/kimi-k2.6` | 262K | | | | | | $0.76 | $3 |
@@ -0,0 +1,73 @@
1
+ > Discover all available pages from the documentation index: https://mastra.ai/llms.txt
2
+
3
+ # ![Echo logo](https://models.dev/logos/echo.svg)Echo
4
+
5
+ Access 1 Echo model through Mastra's model router. Authentication is handled automatically using the `ECHO_API_KEY` environment variable.
6
+
7
+ Learn more in the [Echo documentation](https://echo.tracerml.ai).
8
+
9
+ ```bash
10
+ ECHO_API_KEY=your-api-key
11
+ ```
12
+
13
+ ```typescript
14
+ import { Agent } from "@mastra/core/agent";
15
+
16
+ const agent = new Agent({
17
+ id: "my-agent",
18
+ name: "My Agent",
19
+ instructions: "You are a helpful assistant",
20
+ model: "echo/echo"
21
+ });
22
+
23
+ // Generate a response
24
+ const response = await agent.generate("Hello!");
25
+
26
+ // Stream a response
27
+ const stream = await agent.stream("Tell me a story");
28
+ for await (const chunk of stream) {
29
+ console.log(chunk);
30
+ }
31
+ ```
32
+
33
+ > **Note:** Mastra uses the OpenAI-compatible `/chat/completions` endpoint. Some provider-specific features may not be available. Check the [Echo documentation](https://echo.tracerml.ai) for details.
34
+
35
+ ## Models
36
+
37
+ | Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
38
+ | ----------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
39
+ | `echo/echo` | 262K | | | | | | $10 | $50 |
40
+
41
+ ## Advanced configuration
42
+
43
+ ### Custom headers
44
+
45
+ ```typescript
46
+ const agent = new Agent({
47
+ id: "custom-agent",
48
+ name: "custom-agent",
49
+ model: {
50
+ url: "https://echo.tracerml.ai/v1",
51
+ id: "echo/echo",
52
+ apiKey: process.env.ECHO_API_KEY,
53
+ headers: {
54
+ "X-Custom-Header": "value"
55
+ }
56
+ }
57
+ });
58
+ ```
59
+
60
+ ### Dynamic model selection
61
+
62
+ ```typescript
63
+ const agent = new Agent({
64
+ id: "dynamic-agent",
65
+ name: "Dynamic Agent",
66
+ model: ({ requestContext }) => {
67
+ const useAdvanced = requestContext.task === "complex";
68
+ return useAdvanced
69
+ ? "echo/echo"
70
+ : "echo/echo";
71
+ }
72
+ });
73
+ ```
@@ -2,7 +2,7 @@
2
2
 
3
3
  # ![Eden AI logo](https://models.dev/logos/edenai.svg)Eden AI
4
4
 
5
- Access 220 Eden AI models through Mastra's model router. Authentication is handled automatically using the `EDENAI_API_KEY` environment variable.
5
+ Access 235 Eden AI models through Mastra's model router. Authentication is handled automatically using the `EDENAI_API_KEY` environment variable.
6
6
 
7
7
  Learn more in the [Eden AI documentation](https://docs.edenai.co).
8
8
 
@@ -60,10 +60,13 @@ for await (const chunk of stream) {
60
60
  | `edenai/azure/gpt-5.2-codex` | 272K | | | | | | $2 | $14 |
61
61
  | `edenai/cerebras/gpt-oss-120b` | 131K | | | | | | $0.35 | $0.75 |
62
62
  | `edenai/cloudflare/@cf/aisingapore/gemma-sea-lion-v4-27b-it` | 128K | | | | | | $0.35 | $0.56 |
63
+ | `edenai/cloudflare/@cf/deepseek-ai/deepseek-v4-flash-0731` | 1.3M | | | | | | $0.44 | $1 |
64
+ | `edenai/cloudflare/@cf/deepseek-ai/deepseek-v4-pro-0813` | 1.0M | | | | | | $1 | $4 |
63
65
  | `edenai/cloudflare/@cf/meta/llama-guard-3-8b` | 131K | | | | | | $0.48 | $0.03 |
64
66
  | `edenai/cloudflare/@cf/openai/gpt-oss-120b` | 128K | | | | | | $0.35 | $0.75 |
65
67
  | `edenai/cloudflare/@cf/openai/gpt-oss-20b` | 128K | | | | | | $0.20 | $0.30 |
66
68
  | `edenai/cloudflare/@cf/qwen/qwen2.5-coder-32b-instruct` | 33K | | | | | | $0.66 | $1 |
69
+ | `edenai/cloudflare/@cf/qwen/qwen3.8-27b` | 262K | | | | | | $0.45 | $3 |
67
70
  | `edenai/cloudflare/@cf/zai-org/glm-4.7-flash` | 131K | | | | | | $0.06 | $0.40 |
68
71
  | `edenai/cohere/command-a-03-2025` | 288K | | | | | | $3 | $10 |
69
72
  | `edenai/cohere/command-r-08-2024` | 128K | | | | | | $0.15 | $0.60 |
@@ -77,6 +80,7 @@ for await (const chunk of stream) {
77
80
  | `edenai/deepinfra/deepseek-ai/DeepSeek-V3` | 164K | | | | | | $0.32 | $0.89 |
78
81
  | `edenai/deepinfra/deepseek-ai/DeepSeek-V3-0324` | 164K | | | | | | $0.24 | $0.90 |
79
82
  | `edenai/deepinfra/deepseek-ai/DeepSeek-V4-Flash-0731` | 1.0M | | | | | | $0.08 | $0.18 |
83
+ | `edenai/deepinfra/deepseek-ai/DeepSeek-V4-Pro-0813` | 1.0M | | | | | | $1 | $3 |
80
84
  | `edenai/deepinfra/meta-llama/Llama-3.2-11B-Vision-Instruct` | 131K | | | | | | $0.34 | $0.34 |
81
85
  | `edenai/deepinfra/meta-llama/Llama-3.3-70B-Instruct` | 131K | | | | | | $0.10 | $0.32 |
82
86
  | `edenai/deepinfra/meta-llama/Llama-Guard-3-8B` | 131K | | | | | | $0.06 | $0.06 |
@@ -87,6 +91,7 @@ for await (const chunk of stream) {
87
91
  | `edenai/deepinfra/nvidia/Nemotron-3-Nano-30B-A3B` | 262K | | | | | | $0.05 | $0.20 |
88
92
  | `edenai/deepinfra/openai/gpt-oss-120b` | 131K | | | | | | $0.04 | $0.17 |
89
93
  | `edenai/deepinfra/openai/gpt-oss-20b` | 131K | | | | | | $0.03 | $0.14 |
94
+ | `edenai/deepinfra/Qwen/Qwen3.8-27B` | 262K | | | | | | $0.40 | $3 |
90
95
  | `edenai/deepinfra/stepfun-ai/Step-3.5-Flash` | 262K | | | | | | $0.09 | $0.30 |
91
96
  | `edenai/deepinfra/stepfun-ai/Step-3.7-Flash` | 262K | | | | | | $0.20 | $1 |
92
97
  | `edenai/deepinfra/tencent/Hy3` | 262K | | | | | | $0.14 | $0.58 |
@@ -95,8 +100,8 @@ for await (const chunk of stream) {
95
100
  | `edenai/deepinfra/zai-org/GLM-4.7-Flash` | 203K | | | | | | $0.06 | $0.40 |
96
101
  | `edenai/deepseek/deepseek-chat` | 131K | | | | | | $0.28 | $0.42 |
97
102
  | `edenai/deepseek/deepseek-reasoner` | 131K | | | | | | $0.28 | $0.42 |
98
- | `edenai/deepseek/deepseek-v4-flash` | 1.0M | | | | | | $0.14 | $0.28 |
99
- | `edenai/deepseek/deepseek-v4-pro` | 1.0M | | | | | | $0.43 | $0.87 |
103
+ | `edenai/deepseek/deepseek-v4-flash` | 1.0M | | | | | | $0.44 | $1 |
104
+ | `edenai/deepseek/deepseek-v4-pro` | 1.0M | | | | | | $1 | $4 |
100
105
  | `edenai/fireworks_ai/accounts/fireworks/models/deepseek-v4-flash-0731` | 1.0M | | | | | | $0.14 | $0.28 |
101
106
  | `edenai/fireworks_ai/accounts/fireworks/models/deepseek-v4-pro-0813` | 1.0M | | | | | | $1 | $4 |
102
107
  | `edenai/fireworks_ai/accounts/fireworks/models/gpt-oss-120b` | 131K | | | | | | $0.15 | $0.60 |
@@ -124,8 +129,8 @@ for await (const chunk of stream) {
124
129
  | `edenai/google/gemini-3.5-flash` | 1.0M | | | | | | $2 | $9 |
125
130
  | `edenai/google/gemini-3.5-flash-lite` | 1.0M | | | | | | $0.30 | $3 |
126
131
  | `edenai/google/gemini-3.6-flash` | 1.0M | | | | | | $0.75 | $4 |
127
- | `edenai/google/gemini-3.7-flash` | 1.0M | | | | | | $0.75 | $4 |
128
- | `edenai/google/gemini-flash-latest` | 1.0M | | | | | | $0.75 | $4 |
132
+ | `edenai/google/gemini-3.7-flash` | 1.0M | | | | | | $2 | $8 |
133
+ | `edenai/google/gemini-flash-latest` | 1.0M | | | | | | $2 | $8 |
129
134
  | `edenai/google/gemini-pro-latest` | 1.0M | | | | | | $2 | $12 |
130
135
  | `edenai/google/lyria-3-clip-preview` | 1.0M | | | | | | — | — |
131
136
  | `edenai/groq/openai/gpt-oss-120b` | 131K | | | | | | $0.15 | $0.60 |
@@ -153,7 +158,7 @@ for await (const chunk of stream) {
153
158
  | `edenai/moonshot/kimi-k3` | 1.0M | | | | | | $3 | $15 |
154
159
  | `edenai/nebius/meta-llama/Llama-3.3-70B-Instruct` | 131K | | | | | | $0.13 | $0.40 |
155
160
  | `edenai/nebius/nvidia/nemotron-3-super-120b-a12b` | 8K | | | | | | $0.30 | $0.90 |
156
- | `edenai/nebius/nvidia/Nemotron-3-Ultra-550b-a55b` | 8K | | | | | | $1 | $3 |
161
+ | `edenai/nebius/nvidia/Nemotron-3-Ultra-550b-a55b` | 1.0M | | | | | | $1 | $3 |
157
162
  | `edenai/nebius/openai/gpt-oss-120b` | 131K | | | | | | $0.15 | $0.60 |
158
163
  | `edenai/openai/gpt-3.5-turbo` | 16K | | | | | | $0.50 | $2 |
159
164
  | `edenai/openai/gpt-4` | 8K | | | | | | $30 | $60 |
@@ -194,9 +199,11 @@ for await (const chunk of stream) {
194
199
  | `edenai/ovhcloud/gpt-oss-120b` | 131K | | | | | | $0.09 | $0.47 |
195
200
  | `edenai/ovhcloud/gpt-oss-20b` | 131K | | | | | | $0.05 | $0.18 |
196
201
  | `edenai/perplexityai/sonar` | 127K | | | | | | $1 | $1 |
202
+ | `edenai/perplexityai/sonar-deep-research` | 128K | | | | | | $2 | $8 |
197
203
  | `edenai/perplexityai/sonar-pro` | 200K | | | | | | $3 | $15 |
198
204
  | `edenai/perplexityai/sonar-reasoning-pro` | 128K | | | | | | $2 | $8 |
199
205
  | `edenai/qwen/deepseek-v4-flash-0731` | 1.0M | | | | | | $0.20 | $0.40 |
206
+ | `edenai/qwen/deepseek-v4-pro-0813` | 1.0M | | | | | | $1 | $4 |
200
207
  | `edenai/qwen/qwen-max` | 33K | | | | | | $2 | $6 |
201
208
  | `edenai/qwen/qwen-vl-max` | 131K | | | | | | $0.80 | $3 |
202
209
  | `edenai/qwen/qwen-vl-plus` | 131K | | | | | | $0.21 | $0.63 |
@@ -209,12 +216,19 @@ for await (const chunk of stream) {
209
216
  | `edenai/qwen/qwen3-max` | 262K | | | | | | $1 | $6 |
210
217
  | `edenai/qwen/qwen3-next-80b-a3b-instruct` | 131K | | | | | | $0.15 | $1 |
211
218
  | `edenai/qwen/qwen3-next-80b-a3b-thinking` | 131K | | | | | | $0.15 | $1 |
219
+ | `edenai/qwen/qwen3-vl-235b-a22b-instruct` | 131K | | | | | | $0.40 | $2 |
220
+ | `edenai/qwen/qwen3-vl-235b-a22b-thinking` | 131K | | | | | | $0.40 | $4 |
221
+ | `edenai/qwen/qwen3.8-2.4t-a95b` | 1.0M | | | | | | $2 | $6 |
212
222
  | `edenai/qwen/qwen3.8-max` | 1.0M | | | | | | $2 | $6 |
213
223
  | `edenai/qwen/qwq-plus` | 131K | | | | | | $0.80 | $2 |
214
- | `edenai/scaleway/deepseek-v4-flash-0731` | 256K | | | | | | $0.46 | $0.92 |
224
+ | `edenai/scaleway/deepseek-v4-flash-0731` | 256K | | | | | | $0.46 | $0.93 |
215
225
  | `edenai/scaleway/gpt-oss-120b` | 128K | | | | | | $0.17 | $0.69 |
216
226
  | `edenai/scaleway/llama-3.3-70b-instruct` | 128K | | | | | | $1 | $1 |
227
+ | `edenai/tensorx/deepseek/deepseek-v4-flash-0731` | 1.0M | | | | | | $0.25 | $0.30 |
228
+ | `edenai/tensorx/moonshotai/kimi-k2.5` | 262K | | | | | | $0.50 | $3 |
229
+ | `edenai/tensorx/qwen/qwen3.8-27b` | 262K | | | | | | $0.40 | $2 |
217
230
  | `edenai/together_ai/deepseek-ai/DeepSeek-V4-Flash-0731` | 1.0M | | | | | | $0.14 | $0.28 |
231
+ | `edenai/together_ai/deepseek-ai/DeepSeek-V4-Pro-0813` | 1.0M | | | | | | $1 | $4 |
218
232
  | `edenai/together_ai/meta-models/Muse-Glimmer-30B` | 131K | | | | | | $0.35 | $2 |
219
233
  | `edenai/together_ai/nvidia/nemotron-3-ultra-550b-a55b` | 512K | | | | | | $0.60 | $4 |
220
234
  | `edenai/together_ai/openai/gpt-oss-120b` | 131K | | | | | | $0.15 | $0.60 |
@@ -236,10 +250,10 @@ for await (const chunk of stream) {
236
250
  | `edenai/vertex/gemini-3.6-flash` | 1.0M | | | | | | $0.75 | $4 |
237
251
  | `edenai/vertex/gemini-3.6-flash@eu` | 1.0M | | | | | | $0.75 | $4 |
238
252
  | `edenai/vertex/gemini-3.6-flash@us` | 1.0M | | | | | | $0.75 | $4 |
239
- | `edenai/vertex/gemini-3.7-flash` | 1.0M | | | | | | $0.75 | $4 |
240
- | `edenai/vertex/gemini-3.7-flash@eu` | 1.0M | | | | | | $0.75 | $4 |
241
- | `edenai/vertex/gemini-3.7-flash@us` | 1.0M | | | | | | $0.75 | $4 |
242
- | `edenai/vertex/gemini-flash-latest` | 1.0M | | | | | | $0.75 | $4 |
253
+ | `edenai/vertex/gemini-3.7-flash` | 1.0M | | | | | | $2 | $8 |
254
+ | `edenai/vertex/gemini-3.7-flash@eu` | 1.0M | | | | | | $2 | $8 |
255
+ | `edenai/vertex/gemini-3.7-flash@us` | 1.0M | | | | | | $2 | $8 |
256
+ | `edenai/vertex/gemini-flash-latest` | 1.0M | | | | | | $2 | $8 |
243
257
  | `edenai/vertex/gemini-pro-latest` | 1.0M | | | | | | $2 | $12 |
244
258
  | `edenai/xai/grok-4.20-0309-non-reasoning` | 1.0M | | | | | | $1 | $3 |
245
259
  | `edenai/xai/grok-4.20-0309-reasoning` | 1.0M | | | | | | $1 | $3 |
@@ -255,6 +269,7 @@ for await (const chunk of stream) {
255
269
  | `edenai/zai/glm-5-turbo` | 203K | | | | | | $1 | $4 |
256
270
  | `edenai/zai/glm-5.1` | 203K | | | | | | $1 | $4 |
257
271
  | `edenai/zai/glm-5.2` | 1.0M | | | | | | $1 | $4 |
272
+ | `edenai/zai/glm-5.3` | 1.0M | | | | | | $1 | $4 |
258
273
  | `edenai/zai/glm-5v-turbo` | 203K | | | | | | $1 | $4 |
259
274
 
260
275
  ## Advanced configuration