@mastra/mcp-docs-server 1.3.6-alpha.1 → 1.3.6-alpha.10

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 (128) hide show
  1. package/.docs/docs/agents/human-in-the-loop.md +5 -3
  2. package/.docs/docs/agents/processors.md +13 -8
  3. package/.docs/docs/agents/tools.md +24 -0
  4. package/.docs/docs/browser.md +0 -2
  5. package/.docs/docs/guides/authentication-identity.md +1 -1
  6. package/.docs/docs/harness/agent-controller.md +29 -0
  7. package/.docs/docs/memory/memory-processors.md +2 -5
  8. package/.docs/docs/memory/message-history.md +15 -8
  9. package/.docs/docs/memory/observational-memory.md +33 -4
  10. package/.docs/docs/memory/semantic-recall.md +2 -2
  11. package/.docs/docs/memory/working-memory.md +16 -0
  12. package/.docs/docs/observability/tracing/overview.md +1 -1
  13. package/.docs/docs/subagents.md +10 -8
  14. package/.docs/docs/workflows/control-flow.md +1 -1
  15. package/.docs/docs/workflows/time-travel.md +5 -3
  16. package/.docs/integrations/agentic-ui/ai-sdk-ui.md +60 -0
  17. package/.docs/integrations/deploy/temporal.md +23 -0
  18. package/.docs/integrations/sandboxes/docker.md +61 -0
  19. package/.docs/integrations/sandboxes/e2b.md +37 -0
  20. package/.docs/models/embeddings.md +1 -1
  21. package/.docs/models/gateways/merge-gateway.md +2 -1
  22. package/.docs/models/gateways/netlify.md +4 -5
  23. package/.docs/models/gateways/openrouter.md +4 -3
  24. package/.docs/models/gateways/vercel.md +4 -5
  25. package/.docs/models/index.md +1 -1
  26. package/.docs/models/providers/alibaba.md +1 -1
  27. package/.docs/models/providers/anthropic.md +4 -3
  28. package/.docs/models/providers/berget.md +1 -1
  29. package/.docs/models/providers/coralbricks.md +1 -2
  30. package/.docs/models/providers/cortecs.md +5 -2
  31. package/.docs/models/providers/crossmodel.md +2 -1
  32. package/.docs/models/providers/deepinfra.md +0 -2
  33. package/.docs/models/providers/edenai.md +11 -8
  34. package/.docs/models/providers/hyper.md +4 -6
  35. package/.docs/models/providers/kilo.md +19 -17
  36. package/.docs/models/providers/llmgateway-providers.md +4 -2
  37. package/.docs/models/providers/llmgateway.md +2 -1
  38. package/.docs/models/providers/mistral.md +10 -17
  39. package/.docs/models/providers/nano-gpt.md +32 -30
  40. package/.docs/models/providers/neuralwatt.md +3 -1
  41. package/.docs/models/providers/ollama-cloud.md +2 -1
  42. package/.docs/models/providers/opencode-go.md +7 -5
  43. package/.docs/models/providers/opencode.md +3 -2
  44. package/.docs/models/providers/ovhcloud.md +1 -2
  45. package/.docs/models/providers/requesty.md +7 -4
  46. package/.docs/models/providers/vivgrid.md +2 -1
  47. package/.docs/reference/agent-controller/agent-controller-class.md +15 -1
  48. package/.docs/reference/agent-controller/session.md +17 -6
  49. package/.docs/reference/agents/generate.md +1 -1
  50. package/.docs/reference/agents/inngest-agent.md +1 -1
  51. package/.docs/reference/ai-sdk/to-ai-sdk-v4-messages.md +3 -3
  52. package/.docs/reference/classifier/classifier.md +35 -35
  53. package/.docs/reference/client-js/memory.md +13 -1
  54. package/.docs/reference/coding-agent/create-coding-agent.md +2 -2
  55. package/.docs/reference/configuration.md +2 -2
  56. package/.docs/reference/connect/providers.md +118 -112
  57. package/.docs/reference/core/getClassifier.md +1 -1
  58. package/.docs/reference/datasets/updateItem.md +10 -0
  59. package/.docs/reference/deployer/vercel.md +1 -1
  60. package/.docs/reference/deployer.md +7 -14
  61. package/.docs/reference/editor/blob-store-provider.md +2 -1
  62. package/.docs/reference/editor/browser-provider.md +3 -2
  63. package/.docs/reference/editor/filesystem-provider.md +2 -1
  64. package/.docs/reference/editor/processor-provider.md +2 -2
  65. package/.docs/reference/editor/sandbox-provider.md +2 -1
  66. package/.docs/reference/editor/storage-workspace-ref.md +27 -2
  67. package/.docs/reference/evals/answer-relevancy.md +4 -2
  68. package/.docs/reference/evals/answer-similarity.md +1 -1
  69. package/.docs/reference/evals/bias.md +3 -1
  70. package/.docs/reference/evals/content-similarity.md +1 -1
  71. package/.docs/reference/evals/context-recall.md +1 -1
  72. package/.docs/reference/evals/context-relevance.md +6 -6
  73. package/.docs/reference/evals/create-classifier-scorer.md +5 -5
  74. package/.docs/reference/evals/hallucination.md +7 -8
  75. package/.docs/reference/evals/keyword-coverage.md +4 -4
  76. package/.docs/reference/evals/noise-sensitivity.md +6 -6
  77. package/.docs/reference/evals/prompt-alignment.md +1 -1
  78. package/.docs/reference/evals/run-evals.md +1 -1
  79. package/.docs/reference/evals/scorer-utils.md +8 -8
  80. package/.docs/reference/evals/tone-consistency.md +23 -24
  81. package/.docs/reference/evals/tool-call-accuracy.md +19 -15
  82. package/.docs/reference/evals/toxicity.md +3 -1
  83. package/.docs/reference/index.md +2 -0
  84. package/.docs/reference/logging/pino-logger.md +4 -4
  85. package/.docs/reference/memory/deleteMessages.md +1 -1
  86. package/.docs/reference/memory/memory-class.md +2 -2
  87. package/.docs/reference/memory/observational-memory.md +8 -4
  88. package/.docs/reference/memory/summarizeConversation.md +1 -1
  89. package/.docs/reference/migrations/ai-sdk-v4-to-v5.md +2 -2
  90. package/.docs/reference/migrations/upgrade-to-v1/mcp.md +2 -0
  91. package/.docs/reference/migrations/upgrade-to-v1/memory.md +1 -1
  92. package/.docs/reference/migrations/upgrade-to-v1/tools.md +1 -1
  93. package/.docs/reference/observability/tracing/configuration.md +10 -1
  94. package/.docs/reference/observability/tracing/instances.md +1 -1
  95. package/.docs/reference/observability/tracing/interfaces.md +1 -1
  96. package/.docs/reference/processors/batch-parts-processor.md +1 -1
  97. package/.docs/reference/processors/classifier-processor.md +6 -6
  98. package/.docs/reference/processors/file-upload-processor.md +236 -0
  99. package/.docs/reference/processors/message-history-processor.md +3 -2
  100. package/.docs/reference/processors/model-selection-processor.md +11 -11
  101. package/.docs/reference/processors/processor-interface.md +2 -0
  102. package/.docs/reference/processors/response-cache.md +1 -1
  103. package/.docs/reference/processors/semantic-recall-processor.md +2 -3
  104. package/.docs/reference/processors/stream-error-retry-processor.md +1 -1
  105. package/.docs/reference/processors/unicode-normalizer.md +1 -1
  106. package/.docs/reference/processors/unsupported-file-handler.md +69 -0
  107. package/.docs/reference/processors/working-memory-processor.md +3 -2
  108. package/.docs/reference/project-structure.md +11 -13
  109. package/.docs/reference/pubsub/unix-socket-pubsub.md +6 -2
  110. package/.docs/reference/rag/chunk.md +2 -2
  111. package/.docs/reference/rag/chunking-and-embedding.md +1 -1
  112. package/.docs/reference/rag/database-config.md +14 -2
  113. package/.docs/reference/rag/document.md +7 -2
  114. package/.docs/reference/rag/extract-params.md +5 -5
  115. package/.docs/reference/rag/graph-rag-guide.md +1 -1
  116. package/.docs/reference/rag/metadata-filters.md +1 -1
  117. package/.docs/reference/rag/rerank.md +5 -4
  118. package/.docs/reference/rag/rerankWithScorer.md +2 -2
  119. package/.docs/reference/rag/retrieval.md +7 -5
  120. package/.docs/reference/rag/vector-databases.md +1 -1
  121. package/.docs/reference/server/mastra-server.md +2 -2
  122. package/.docs/reference/streaming/agents/stream.md +1 -1
  123. package/.docs/reference/tools/isolated-vm-transport.md +0 -2
  124. package/.docs/reference/tools/quickjs-transport.md +0 -2
  125. package/.docs/reference/workflows/run-methods/restart.md +6 -0
  126. package/.docs/reference/workflows/step.md +1 -1
  127. package/.docs/reference/workspace/platform-sandbox.md +36 -2
  128. package/package.json +6 -6
@@ -285,6 +285,43 @@ Resolution is lazy and only ever blocks on a template's very first build. Every
285
285
 
286
286
  `setupCommand` also accepts an array. Each entry runs as its own cached build step. `workingDirectory` sets the cwd for the build and the sandbox, and the repository is cloned to `<workingDirectory>/<repo>`.
287
287
 
288
+ #### Several repositories in one template
289
+
290
+ Pass `repos` instead of `getRepositoryAccess` to clone several repositories into one template, each with its own credential resolver and setup command (a string or an array, each entry its own build step):
291
+
292
+ ```typescript
293
+ const sandbox = new E2BSandbox({
294
+ id: sessionId,
295
+ template: createRepoTemplate({
296
+ repos: [
297
+ {
298
+ getRepositoryAccess: async () => ({
299
+ cloneUrl: 'https://github.com/mastra-ai/mastra.git',
300
+ }),
301
+ setupCommand: 'pnpm install --frozen-lockfile',
302
+ },
303
+ {
304
+ getRepositoryAccess: async () => ({
305
+ cloneUrl: 'https://github.com/mastra-ai/template-docs-expert.git',
306
+ }),
307
+ setupCommand: 'npm install',
308
+ },
309
+ ],
310
+ workspaceSetupCommand: 'npm install --global @mastra/mcp-docs-server',
311
+ continueOnSetupFailure: true,
312
+ workingDirectory: '/home/user/repos',
313
+ }),
314
+ })
315
+ ```
316
+
317
+ Every repository is cloned to `<workingDirectory>/<repo>`. Public repositories are built before private ones, keeping the caller's order within each group. Private credentials are build envs visible to every build step, so any repository's setup command can read every other repository's token: only list repositories whose setup commands you trust together.
318
+
319
+ `workspaceSetupCommand` runs at the working directory after every repository is set up. `continueOnSetupFailure` (default `false`) lets a failing setup command record its repository in `.mastra-sandbox/setup-failed` and continue instead of failing the build.
320
+
321
+ Markers tell a session what the image already ran: `.mastra-sandbox/repos/<repo>` per repository and `.mastra-sandbox/workspace-setup` after the workspace commands, all under the working directory. With `continueOnSetupFailure`, check `.mastra-sandbox/setup-failed` first.
322
+
323
+ Adding or removing a repository starts a new template, as does editing a setup command, while a rotated credential reuses the existing one. If any entry's access can't be resolved the sandbox falls back to its default template. A repository whose head can't be resolved is cloned unpinned while the others keep their pins.
324
+
288
325
  Templates build at E2B's default machine size (2 vCPU, 1024 MB) unless the spec asks for more. Pass `cpuCount` and `memoryMB` to size the machine the template's sandboxes run on:
289
326
 
290
327
  ```typescript
@@ -242,7 +242,7 @@ await vectorStore.upsert(
242
242
  The model router provides full TypeScript autocomplete for embedding model IDs:
243
243
 
244
244
  ```typescript
245
- import type { EmbeddingModelId } from '@mastra/core'
245
+ import type { EmbeddingModelId } from '@mastra/core/llm'
246
246
 
247
247
  // Type-safe embedding model selection
248
248
  const modelId: EmbeddingModelId = 'openai/text-embedding-3-small'
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![Merge Gateway logo](https://models.dev/logos/merge-gateway.svg)Merge Gateway
6
6
 
7
- Merge Gateway aggregates models from multiple providers with enhanced features like rate limiting and failover. Access 195 models through Mastra's model router.
7
+ Merge Gateway aggregates models from multiple providers with enhanced features like rate limiting and failover. Access 196 models through Mastra's model router.
8
8
 
9
9
  Learn more in the [Merge Gateway documentation](https://docs.merge.dev/merge-gateway).
10
10
 
@@ -42,6 +42,7 @@ ANTHROPIC_API_KEY=ant-...
42
42
  | `anthropic/claude-fable-5` |
43
43
  | `anthropic/claude-fable-5-1` |
44
44
  | `anthropic/claude-haiku-4-5-20251001` |
45
+ | `anthropic/claude-haiku-5-5` |
45
46
  | `anthropic/claude-opus-4-1-20250805` |
46
47
  | `anthropic/claude-opus-4-20250514` |
47
48
  | `anthropic/claude-opus-4-5-20251101` |
@@ -4,7 +4,7 @@
4
4
 
5
5
  # Netlify
6
6
 
7
- Netlify AI Gateway provides unified access to multiple providers with built-in caching and observability. Access 271 models through Mastra's model router.
7
+ Netlify AI Gateway provides unified access to multiple providers with built-in caching and observability. Access 270 models through Mastra's model router.
8
8
 
9
9
  Learn more in the [Netlify documentation](https://docs.netlify.com/build/ai-gateway/overview/).
10
10
 
@@ -43,6 +43,7 @@ ANTHROPIC_API_KEY=ant-...
43
43
  | `anthropic/claude-fable-5-1` |
44
44
  | `anthropic/claude-haiku-4-5` |
45
45
  | `anthropic/claude-haiku-4-5-20251001` |
46
+ | `anthropic/claude-haiku-5-5` |
46
47
  | `anthropic/claude-opus-4-5` |
47
48
  | `anthropic/claude-opus-4-5-20251101` |
48
49
  | `anthropic/claude-opus-4-6` |
@@ -132,7 +133,6 @@ ANTHROPIC_API_KEY=ant-...
132
133
  | `openrouter/~z-ai/glm-latest` |
133
134
  | `openrouter/anthracite-org/magnum-v4-72b` |
134
135
  | `openrouter/apodex/apodex-1.1-mini:free` |
135
- | `openrouter/baidu/ernie-4.5-vl-424b-a47b` |
136
136
  | `openrouter/bytedance-seed/seed-1.6` |
137
137
  | `openrouter/bytedance-seed/seed-1.6-flash` |
138
138
  | `openrouter/bytedance-seed/seed-2-1-turbo` |
@@ -166,7 +166,7 @@ ANTHROPIC_API_KEY=ant-...
166
166
  | `openrouter/inception/mercury-2.5` |
167
167
  | `openrouter/inclusionai/ling-3.0-flash` |
168
168
  | `openrouter/inclusionai/ling-3.0-flash-fin` |
169
- | `openrouter/inclusionai/ling-3.0-flash-sante:free` |
169
+ | `openrouter/inclusionai/ling-3.0-flash-sante` |
170
170
  | `openrouter/inclusionai/ling-3.0-flash-vl` |
171
171
  | `openrouter/inclusionai/ling-3.1-flash` |
172
172
  | `openrouter/inference-net/schematron-v2-small` |
@@ -194,6 +194,7 @@ ANTHROPIC_API_KEY=ant-...
194
194
  | `openrouter/mistralai/ministral-8b-2512` |
195
195
  | `openrouter/mistralai/mistral-large-2407` |
196
196
  | `openrouter/mistralai/mistral-large-2512` |
197
+ | `openrouter/mistralai/mistral-large-4-0` |
197
198
  | `openrouter/mistralai/mistral-medium-3` |
198
199
  | `openrouter/mistralai/mistral-medium-3-5` |
199
200
  | `openrouter/mistralai/mistral-medium-3.1` |
@@ -246,11 +247,9 @@ ANTHROPIC_API_KEY=ant-...
246
247
  | `openrouter/qwen/qwen3-30b-a3b-instruct-2507` |
247
248
  | `openrouter/qwen/qwen3-32b` |
248
249
  | `openrouter/qwen/qwen3-coder` |
249
- | `openrouter/qwen/qwen3-coder-30b-a3b-instruct` |
250
250
  | `openrouter/qwen/qwen3-coder-next` |
251
251
  | `openrouter/qwen/qwen3-next-80b-a3b-instruct` |
252
252
  | `openrouter/qwen/qwen3-vl-235b-a22b-instruct` |
253
- | `openrouter/qwen/qwen3-vl-235b-a22b-thinking` |
254
253
  | `openrouter/qwen/qwen3-vl-30b-a3b-instruct` |
255
254
  | `openrouter/qwen/qwen3-vl-8b-instruct` |
256
255
  | `openrouter/qwen/qwen3.5-122b-a10b` |
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![OpenRouter logo](https://models.dev/logos/openrouter.svg)OpenRouter
6
6
 
7
- OpenRouter aggregates models from multiple providers with enhanced features like rate limiting and failover. Access 389 models through Mastra's model router.
7
+ OpenRouter aggregates models from multiple providers with enhanced features like rate limiting and failover. Access 390 models through Mastra's model router.
8
8
 
9
9
  Learn more in the [OpenRouter documentation](https://openrouter.ai/models).
10
10
 
@@ -71,6 +71,7 @@ ANTHROPIC_API_KEY=ant-...
71
71
  | `anthropic/claude-fable-5` |
72
72
  | `anthropic/claude-fable-5.1` |
73
73
  | `anthropic/claude-haiku-4.5` |
74
+ | `anthropic/claude-haiku-5.5` |
74
75
  | `anthropic/claude-opus-4.1` |
75
76
  | `anthropic/claude-opus-4.5` |
76
77
  | `anthropic/claude-opus-4.6` |
@@ -85,7 +86,6 @@ ANTHROPIC_API_KEY=ant-...
85
86
  | `anthropic/claude-sonnet-5.5` |
86
87
  | `apodex/apodex-1.1-mini:free` |
87
88
  | `arcee-ai/trinity-large-thinking` |
88
- | `baidu/ernie-4.5-vl-424b-a47b` |
89
89
  | `bytedance-seed/seed-1.6` |
90
90
  | `bytedance-seed/seed-1.6-flash` |
91
91
  | `bytedance-seed/seed-2-1-turbo` |
@@ -154,7 +154,7 @@ ANTHROPIC_API_KEY=ant-...
154
154
  | `inception/mercury-2.5` |
155
155
  | `inclusionai/ling-3.0-flash` |
156
156
  | `inclusionai/ling-3.0-flash-fin` |
157
- | `inclusionai/ling-3.0-flash-sante:free` |
157
+ | `inclusionai/ling-3.0-flash-sante` |
158
158
  | `inclusionai/ling-3.0-flash-vl` |
159
159
  | `inclusionai/ling-3.1-flash` |
160
160
  | `inference-net/schematron-v2-small` |
@@ -378,6 +378,7 @@ ANTHROPIC_API_KEY=ant-...
378
378
  | `sao10k/l3.3-euryale-70b` |
379
379
  | `stepfun/step-3.5-flash` |
380
380
  | `stepfun/step-3.7-flash` |
381
+ | `stepfun/step-5-preview` |
381
382
  | `tencent/hunyuan-a13b-instruct` |
382
383
  | `tencent/hy-mt2-1.8b` |
383
384
  | `tencent/hy-mt2-30b-a3b` |
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![Vercel logo](https://models.dev/logos/vercel.svg)Vercel
6
6
 
7
- Vercel aggregates models from multiple providers with enhanced features like rate limiting and failover. Access 409 models through Mastra's model router.
7
+ Vercel aggregates models from multiple providers with enhanced features like rate limiting and failover. Access 408 models through Mastra's model router.
8
8
 
9
9
  Learn more in the [Vercel documentation](https://ai-sdk.dev/providers/ai-sdk-providers).
10
10
 
@@ -92,6 +92,7 @@ ANTHROPIC_API_KEY=ant-...
92
92
  | `anthropic/claude-fable-5` |
93
93
  | `anthropic/claude-fable-5.1` |
94
94
  | `anthropic/claude-haiku-4.5` |
95
+ | `anthropic/claude-haiku-5.5` |
95
96
  | `anthropic/claude-opus-4` |
96
97
  | `anthropic/claude-opus-4.5` |
97
98
  | `anthropic/claude-opus-4.6` |
@@ -134,6 +135,7 @@ ANTHROPIC_API_KEY=ant-...
134
135
  | `bytedance/seedream-4.5` |
135
136
  | `bytedance/seedream-5.0-lite` |
136
137
  | `bytedance/seedream-5.0-pro` |
138
+ | `callstack/apex` |
137
139
  | `cohere/command-a` |
138
140
  | `cohere/embed-v4.0` |
139
141
  | `cohere/embed-v5.0-fast` |
@@ -143,7 +145,6 @@ ANTHROPIC_API_KEY=ant-...
143
145
  | `cohere/rerank-v4-pro` |
144
146
  | `deepseek/deepseek-r1` |
145
147
  | `deepseek/deepseek-v3.1` |
146
- | `deepseek/deepseek-v3.1-terminus` |
147
148
  | `deepseek/deepseek-v3.2` |
148
149
  | `deepseek/deepseek-v3.2-thinking` |
149
150
  | `deepseek/deepseek-v4-flash` |
@@ -152,7 +153,6 @@ ANTHROPIC_API_KEY=ant-...
152
153
  | `deepseek/deepseek-v4-pro` |
153
154
  | `deepseek/deepseek-v4-pro-0813` |
154
155
  | `deepseek/deepseek-v4.1-flash` |
155
- | `deepseek/deepseek-v4.1-flash-fast` |
156
156
  | `fireworks/ember-1` |
157
157
  | `fish-audio/s1` |
158
158
  | `fish-audio/s2-pro` |
@@ -255,7 +255,6 @@ ANTHROPIC_API_KEY=ant-...
255
255
  | `mistral/mistral-small` |
256
256
  | `mixedbread/toast-1` |
257
257
  | `moonshotai/kimi-k2` |
258
- | `moonshotai/kimi-k2-thinking` |
259
258
  | `moonshotai/kimi-k2.5` |
260
259
  | `moonshotai/kimi-k2.6` |
261
260
  | `moonshotai/kimi-k2.7-code` |
@@ -398,7 +397,7 @@ ANTHROPIC_API_KEY=ant-...
398
397
  | `spacexai/grok-tts` |
399
398
  | `spacexai/grok-voice-think-fast-1.0` |
400
399
  | `spacexai/grok-voice-think-fast-2.0` |
401
- | `stepfun/step-3.5-flash` |
400
+ | `stealth/glyph-cluster` |
402
401
  | `stepfun/step-3.7-flash` |
403
402
  | `stepfun/step-5-preview` |
404
403
  | `tencent/hy-mt2-lite` |
@@ -4,7 +4,7 @@
4
4
 
5
5
  # Model Providers
6
6
 
7
- Mastra provides a unified interface for working with LLMs across multiple providers, giving you access to 7794 models from 213 providers through a single API.
7
+ Mastra provides a unified interface for working with LLMs across multiple providers, giving you access to 7823 models from 213 providers through a single API.
8
8
 
9
9
  ## Features
10
10
 
@@ -52,7 +52,7 @@ for await (const chunk of stream) {
52
52
  | `alibaba/qwen-plus-character-ja` | 8K | | | | | | $0.50 | $1 |
53
53
  | `alibaba/qwen-turbo` | 1.0M | | | | | | $0.05 | $0.20 |
54
54
  | `alibaba/qwen-vl-max` | 131K | | | | | | $0.80 | $3 |
55
- | `alibaba/qwen-vl-ocr` | 34K | | | | | | $0.72 | $0.72 |
55
+ | `alibaba/qwen-vl-ocr` | 34K | | | | | | $0.07 | $0.16 |
56
56
  | `alibaba/qwen-vl-plus` | 131K | | | | | | $0.21 | $0.63 |
57
57
  | `alibaba/qwen2-5-14b-instruct` | 131K | | | | | | $0.35 | $1 |
58
58
  | `alibaba/qwen2-5-32b-instruct` | 131K | | | | | | $0.70 | $3 |
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![Anthropic logo](https://models.dev/logos/anthropic.svg)Anthropic
6
6
 
7
- Access 16 Anthropic models through Mastra's model router. Authentication is handled automatically using the `ANTHROPIC_API_KEY` environment variable.
7
+ Access 17 Anthropic models through Mastra's model router. Authentication is handled automatically using the `ANTHROPIC_API_KEY` environment variable.
8
8
 
9
9
  Learn more in the [Anthropic documentation](https://docs.anthropic.com/en/docs/about-claude/models).
10
10
 
@@ -40,6 +40,7 @@ for await (const chunk of stream) {
40
40
  | `anthropic/claude-fable-5-1` | 1.0M | | | | | | $10 | $50 |
41
41
  | `anthropic/claude-haiku-4-5` | 200K | | | | | | $1 | $5 |
42
42
  | `anthropic/claude-haiku-4-5-20251001` | 200K | | | | | | $1 | $5 |
43
+ | `anthropic/claude-haiku-5-5` | 1.0M | | | | | | $0.10 | $0.50 |
43
44
  | `anthropic/claude-opus-4-5` | 200K | | | | | | $5 | $25 |
44
45
  | `anthropic/claude-opus-4-5-20251101` | 200K | | | | | | $5 | $25 |
45
46
  | `anthropic/claude-opus-4-6` | 1.0M | | | | | | $5 | $25 |
@@ -47,8 +48,8 @@ for await (const chunk of stream) {
47
48
  | `anthropic/claude-opus-4-8` | 1.0M | | | | | | $5 | $25 |
48
49
  | `anthropic/claude-opus-5` | 1.0M | | | | | | $5 | $25 |
49
50
  | `anthropic/claude-opus-5-5` | 1.0M | | | | | | $4 | $20 |
50
- | `anthropic/claude-sonnet-4-5` | 1.0M | | | | | | $3 | $15 |
51
- | `anthropic/claude-sonnet-4-5-20250929` | 1.0M | | | | | | $3 | $15 |
51
+ | `anthropic/claude-sonnet-4-5` | 200K | | | | | | $3 | $15 |
52
+ | `anthropic/claude-sonnet-4-5-20250929` | 200K | | | | | | $3 | $15 |
52
53
  | `anthropic/claude-sonnet-4-6` | 1.0M | | | | | | $3 | $15 |
53
54
  | `anthropic/claude-sonnet-5` | 1.0M | | | | | | $2 | $10 |
54
55
  | `anthropic/claude-sonnet-5-5` | 1.0M | | | | | | $2 | $10 |
@@ -43,7 +43,7 @@ for await (const chunk of stream) {
43
43
  | `berget/moonshotai/Kimi-K3` | 328K | | | | | | $3 | $15 |
44
44
  | `berget/Qwen/Qwen3.8-27B-FP8` | 262K | | | | | | $0.46 | $3 |
45
45
  | `berget/zai-org/GLM-5.2` | 524K | | | | | | $2 | $5 |
46
- | `berget/zai-org/GLM-5.3-Flash` | 524K | | | | | | $0.29 | $0.58 |
46
+ | `berget/zai-org/GLM-5.3-Flash` | 1.0M | | | | | | $0.29 | $0.58 |
47
47
 
48
48
  Model availability, capabilities, context windows, and pricing are sourced from [models.dev](https://models.dev) and may change.
49
49
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![CoralBricks logo](https://models.dev/logos/coralbricks.svg)CoralBricks
6
6
 
7
- Access 5 CoralBricks models through Mastra's model router. Authentication is handled automatically using the `CORAL_API_KEY` environment variable.
7
+ Access 4 CoralBricks models through Mastra's model router. Authentication is handled automatically using the `CORAL_API_KEY` environment variable.
8
8
 
9
9
  Learn more in the [CoralBricks documentation](https://www.coralbricks.ai/docs).
10
10
 
@@ -41,7 +41,6 @@ for await (const chunk of stream) {
41
41
  | `coralbricks/deepseek-v4.1-flash-fast` | 1.0M | | | | | | $0.30 | $1 |
42
42
  | `coralbricks/deepseek-v4.1-flash-fast-fp4` | 1.0M | | | | | | $0.30 | $1 |
43
43
  | `coralbricks/glm-5.3-fast` | 1.0M | | | | | | $1 | $4 |
44
- | `coralbricks/glm-5.3-flash-fp4` | 1.0M | | | | | | $0.15 | $0.50 |
45
44
  | `coralbricks/glm-5.3-fp4` | 1.0M | | | | | | $1 | $4 |
46
45
 
47
46
  Model availability, capabilities, context windows, and pricing are sourced from [models.dev](https://models.dev) and may change.
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![Cortecs logo](https://models.dev/logos/cortecs.svg)Cortecs
6
6
 
7
- Access 103 Cortecs models through Mastra's model router. Authentication is handled automatically using the `CORTECS_API_KEY` environment variable.
7
+ Access 106 Cortecs models through Mastra's model router. Authentication is handled automatically using the `CORTECS_API_KEY` environment variable.
8
8
 
9
9
  Learn more in the [Cortecs documentation](https://cortecs.ai).
10
10
 
@@ -42,6 +42,7 @@ for await (const chunk of stream) {
42
42
  | `cortecs/claude-4-5-sonnet` | 200K | | | | | | $3 | $15 |
43
43
  | `cortecs/claude-4-6-sonnet` | 1.0M | | | | | | $3 | $16 |
44
44
  | `cortecs/claude-haiku-4-5` | 200K | | | | | | $1.00 | $5 |
45
+ | `cortecs/claude-haiku-5.5` | 1.0M | | | | | | $0.11 | $0.56 |
45
46
  | `cortecs/claude-opus-5` | 1.0M | | | | | | $6 | $27 |
46
47
  | `cortecs/claude-opus-5.5` | 1.0M | | | | | | $4 | $22 |
47
48
  | `cortecs/claude-opus4-5` | 200K | | | | | | $5 | $27 |
@@ -50,6 +51,7 @@ for await (const chunk of stream) {
50
51
  | `cortecs/claude-opus4-8` | 1.0M | | | | | | $5 | $27 |
51
52
  | `cortecs/claude-sonnet-4` | 200K | | | | | | $3 | $15 |
52
53
  | `cortecs/claude-sonnet-5` | 1.0M | | | | | | $2 | $11 |
54
+ | `cortecs/claude-sonnet-5.5` | 1.0M | | | | | | $2 | $11 |
53
55
  | `cortecs/codestral-2508` | 256K | | | | | | $0.37 | $1 |
54
56
  | `cortecs/deepseek-v3.2` | 164K | | | | | | $0.50 | $1 |
55
57
  | `cortecs/deepseek-v4-flash-0731` | 1.0M | | | | | | $0.09 | $0.17 |
@@ -110,6 +112,7 @@ for await (const chunk of stream) {
110
112
  | `cortecs/mistral-7b-instruct-v0.3` | 127K | | | | | | $0.11 | $0.11 |
111
113
  | `cortecs/mistral-large-2402` | 32K | | | | | | $4 | $13 |
112
114
  | `cortecs/mistral-large-2512` | 256K | | | | | | $0.61 | $2 |
115
+ | `cortecs/mistral-large-4-0` | 1.0M | | | | | | $0.77 | $2 |
113
116
  | `cortecs/mistral-medium-3.5` | 256K | | | | | | $2 | $8 |
114
117
  | `cortecs/mistral-nemo-instruct-2407` | 128K | | | | | | $0.14 | $0.14 |
115
118
  | `cortecs/mistral-small-2503` | 128K | | | | | | $0.11 | $0.33 |
@@ -128,7 +131,7 @@ for await (const chunk of stream) {
128
131
  | `cortecs/qwen3-235b-a22b-instruct-2507` | 262K | | | | | | $0.20 | $0.60 |
129
132
  | `cortecs/qwen3-30b-a3b-instruct-2507` | 262K | | | | | | $0.10 | $0.30 |
130
133
  | `cortecs/qwen3-32b` | 16K | | | | | | $0.18 | $0.70 |
131
- | `cortecs/qwen3-coder-30b-a3b-instruct` | 262K | | | | | | $0.07 | $0.24 |
134
+ | `cortecs/qwen3-coder-30b-a3b-instruct` | 262K | | | | | | $0.18 | $0.70 |
132
135
  | `cortecs/qwen3-coder-next` | 256K | | | | | | $0.17 | $0.89 |
133
136
  | `cortecs/qwen3-vl-235b-a22b` | 256K | | | | | | $0.62 | $3 |
134
137
  | `cortecs/qwen3.5-397b-a17b` | 262K | | | | | | $0.67 | $4 |
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![CrossModel logo](https://models.dev/logos/crossmodel.svg)CrossModel
6
6
 
7
- Access 68 CrossModel models through Mastra's model router. Authentication is handled automatically using the `CROSSMODEL_API_KEY` environment variable.
7
+ Access 69 CrossModel models through Mastra's model router. Authentication is handled automatically using the `CROSSMODEL_API_KEY` environment variable.
8
8
 
9
9
  Learn more in the [CrossModel documentation](https://www.crossmodel.ai/docs).
10
10
 
@@ -41,6 +41,7 @@ for await (const chunk of stream) {
41
41
  | `crossmodel/anthropic/claude-fable-5` | 1.0M | | | | | | $10 | $50 |
42
42
  | `crossmodel/anthropic/claude-fable-5-1` | 1.0M | | | | | | $10 | $50 |
43
43
  | `crossmodel/anthropic/claude-haiku-4-5` | 200K | | | | | | $1 | $5 |
44
+ | `crossmodel/anthropic/claude-haiku-5-5` | 1.0M | | | | | | $0.10 | $0.50 |
44
45
  | `crossmodel/anthropic/claude-opus-4-7` | 1.0M | | | | | | $5 | $25 |
45
46
  | `crossmodel/anthropic/claude-opus-4-8` | 1.0M | | | | | | $5 | $25 |
46
47
  | `crossmodel/anthropic/claude-opus-5` | 1.0M | | | | | | $5 | $25 |
@@ -59,7 +59,6 @@ for await (const chunk of stream) {
59
59
  | `deepinfra/MiniMaxAI/MiniMax-M3` | 524K | | | | | | $0.28 | $1 |
60
60
  | `deepinfra/moonshotai/Kimi-K2.6` | 262K | | | | | | $0.75 | $4 |
61
61
  | `deepinfra/moonshotai/Kimi-K3` | 1.0M | | | | | | $3 | $14 |
62
- | `deepinfra/nvidia/Nemotron-3-Nano-30B-A3B` | 262K | | | | | | $0.05 | $0.20 |
63
62
  | `deepinfra/openai/gpt-oss-120b` | 131K | | | | | | $0.04 | $0.17 |
64
63
  | `deepinfra/openai/gpt-oss-20b` | 131K | | | | | | $0.03 | $0.14 |
65
64
  | `deepinfra/Qwen/Qwen3-235B-A22B-Instruct-2507` | 262K | | | | | | $0.09 | $0.55 |
@@ -80,7 +79,6 @@ for await (const chunk of stream) {
80
79
  | `deepinfra/Qwen/Qwen3.8-27B` | 262K | | | | | | $0.20 | $3 |
81
80
  | `deepinfra/Qwen/Qwen3.8-Flash` | 1.0M | | | | | | $0.11 | $0.38 |
82
81
  | `deepinfra/Qwen/Qwen3.8-Max` | 256K | | | | | | $2 | $5 |
83
- | `deepinfra/tencent/Hy3` | 262K | | | | | | $0.13 | $0.53 |
84
82
  | `deepinfra/tencent/Hy4-preview` | 1.0M | | | | | | $0.83 | $3 |
85
83
  | `deepinfra/thinkingmachines/Inkling` | 524K | | | | | | $0.95 | $4 |
86
84
  | `deepinfra/thinkingmachines/Inkling-Small` | 524K | | | | | | $0.45 | $1 |
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![Eden AI logo](https://models.dev/logos/edenai.svg)Eden AI
6
6
 
7
- Access 294 Eden AI models through Mastra's model router. Authentication is handled automatically using the `EDENAI_API_KEY` environment variable.
7
+ Access 297 Eden AI models through Mastra's model router. Authentication is handled automatically using the `EDENAI_API_KEY` environment variable.
8
8
 
9
9
  Learn more in the [Eden AI documentation](https://docs.edenai.co).
10
10
 
@@ -52,10 +52,10 @@ for await (const chunk of stream) {
52
52
  | `edenai/amazon/google.gemma-3-4b-it@us` | 128K | | | | | | $0.04 | $0.08 |
53
53
  | `edenai/amazon/mistral.pixtral-large-2502-v1:0` | 128K | | | | | | $2 | $6 |
54
54
  | `edenai/amazon/mistral.pixtral-large-2502-v1:0@us` | 128K | | | | | | $2 | $6 |
55
- | `edenai/amazon/mistral.voxtral-mini-3b-2507` | 128K | | | | | | $0.04 | $0.04 |
56
- | `edenai/amazon/mistral.voxtral-mini-3b-2507@us` | 128K | | | | | | $0.04 | $0.04 |
57
- | `edenai/amazon/mistral.voxtral-small-24b-2507` | 128K | | | | | | $0.10 | $0.30 |
58
- | `edenai/amazon/mistral.voxtral-small-24b-2507@us` | 128K | | | | | | $0.10 | $0.30 |
55
+ | `edenai/amazon/mistral.voxtral-mini-3b-2507` | 33K | | | | | | $0.04 | $0.04 |
56
+ | `edenai/amazon/mistral.voxtral-mini-3b-2507@us` | 33K | | | | | | $0.04 | $0.04 |
57
+ | `edenai/amazon/mistral.voxtral-small-24b-2507` | 33K | | | | | | $0.10 | $0.30 |
58
+ | `edenai/amazon/mistral.voxtral-small-24b-2507@us` | 33K | | | | | | $0.10 | $0.30 |
59
59
  | `edenai/amazon/moonshot.kimi-k2-thinking` | 256K | | | | | | $0.60 | $3 |
60
60
  | `edenai/amazon/moonshotai.kimi-k2.5` | 262K | | | | | | $0.60 | $3 |
61
61
  | `edenai/amazon/openai.gpt-oss-safeguard-20b` | 128K | | | | | | $0.07 | $0.20 |
@@ -65,6 +65,7 @@ for await (const chunk of stream) {
65
65
  | `edenai/anthropic/claude-fable-5` | 1.0M | | | | | | $10 | $50 |
66
66
  | `edenai/anthropic/claude-fable-5-1` | 1.0M | | | | | | $10 | $50 |
67
67
  | `edenai/anthropic/claude-fable-latest` | 1.0M | | | | | | $10 | $50 |
68
+ | `edenai/anthropic/claude-haiku-5-5` | 1.0M | | | | | | $0.10 | $0.50 |
68
69
  | `edenai/anthropic/claude-opus-4-5` | 200K | | | | | | $5 | $25 |
69
70
  | `edenai/anthropic/claude-opus-4-5-20251101` | 200K | | | | | | $5 | $25 |
70
71
  | `edenai/anthropic/claude-opus-4-6` | 1.0M | | | | | | $5 | $25 |
@@ -161,6 +162,7 @@ for await (const chunk of stream) {
161
162
  | `edenai/google/gemini-3.7-flash` | 1.0M | | | | | | $2 | $8 |
162
163
  | `edenai/google/gemini-3.8-flash` | 1.0M | | | | | | $2 | $8 |
163
164
  | `edenai/google/gemini-flash-latest` | 1.0M | | | | | | $2 | $8 |
165
+ | `edenai/google/gemini-nano-banana-2.1` | 66K | | | | | | $2 | $8 |
164
166
  | `edenai/google/gemini-pro-latest` | 1.0M | | | | | | $2 | $12 |
165
167
  | `edenai/greenference/deepseek-v4.1-flash` | 1.0M | | | | | | $0.22 | $0.88 |
166
168
  | `edenai/greenference/gpt-oss-20b` | 131K | | | | | | $0.01 | $0.04 |
@@ -175,6 +177,7 @@ for await (const chunk of stream) {
175
177
  | `edenai/minimax/MiniMax-M2.5` | 205K | | | | | | $0.30 | $1 |
176
178
  | `edenai/minimax/MiniMax-M2.7` | 205K | | | | | | $0.30 | $1 |
177
179
  | `edenai/minimax/MiniMax-M3` | 524K | | | | | | $0.30 | $1 |
180
+ | `edenai/mistral/codestral-2508` | 256K | | | | | | $0.30 | $0.90 |
178
181
  | `edenai/mistral/codestral-latest` | 256K | | | | | | $0.30 | $0.90 |
179
182
  | `edenai/mistral/devstral-2512` | 262K | | | | | | $0.40 | $2 |
180
183
  | `edenai/mistral/devstral-medium-latest` | 262K | | | | | | $0.40 | $2 |
@@ -270,14 +273,13 @@ for await (const chunk of stream) {
270
273
  | `edenai/qwen/qwen3.8-max-0902` | 1.0M | | | | | | $2 | $6 |
271
274
  | `edenai/qwen/qwen3.8-omni-flash` | 1.0M | | | | | | $0.15 | $0.47 |
272
275
  | `edenai/qwen/qwq-plus` | 131K | | | | | | $0.80 | $2 |
273
- | `edenai/scaleway/deepseek-v4-flash-0731` | 256K | | | | | | $0.45 | $0.90 |
276
+ | `edenai/scaleway/deepseek-v4-flash-0731` | 256K | | | | | | $0.45 | $0.89 |
274
277
  | `edenai/scaleway/gemma-3-27b-it` | 40K | | | | | | $0.29 | $0.57 |
275
- | `edenai/scaleway/gpt-oss-120b` | 128K | | | | | | $0.17 | $0.68 |
278
+ | `edenai/scaleway/gpt-oss-120b` | 128K | | | | | | $0.17 | $0.67 |
276
279
  | `edenai/scaleway/llama-3.3-70b-instruct` | 128K | | | | | | $1 | $1 |
277
280
  | `edenai/tencent/deepseek-v4-pro-0813` | 1.0M | | | | | | $0.66 | $2 |
278
281
  | `edenai/tencent/hy3` | 256K | | | | | | $0.13 | $0.53 |
279
282
  | `edenai/tencent/hy4-preview` | 1.0M | | | | | | $0.83 | $3 |
280
- | `edenai/tencent/step-5-preview` | 1.0M | | | | | | $1 | $3 |
281
283
  | `edenai/tensorx/deepseek/deepseek-v4-flash-0731` | 1.0M | | | | | | $0.25 | $0.30 |
282
284
  | `edenai/tensorx/deepseek/deepseek-v4-pro-0813` | 1.0M | | | | | | $2 | $4 |
283
285
  | `edenai/tensorx/deepseek/deepseek-v4.1-flash` | 1.0M | | | | | | $0.50 | $2 |
@@ -313,6 +315,7 @@ for await (const chunk of stream) {
313
315
  | `edenai/vertex/gemini-3.8-flash@eu` | 1.0M | | | | | | $2 | $8 |
314
316
  | `edenai/vertex/gemini-3.8-flash@us` | 1.0M | | | | | | $2 | $8 |
315
317
  | `edenai/vertex/gemini-flash-latest` | 1.0M | | | | | | $2 | $8 |
318
+ | `edenai/vertex/gemini-nano-banana-2.1` | 131K | | | | | | $2 | $8 |
316
319
  | `edenai/vertex/gemini-pro-latest` | 1.0M | | | | | | $2 | $12 |
317
320
  | `edenai/xai/grok-4.20-0309-non-reasoning` | 1.0M | | | | | | $1 | $3 |
318
321
  | `edenai/xai/grok-4.20-0309-reasoning` | 1.0M | | | | | | $1 | $3 |
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![Charm Hyper logo](https://models.dev/logos/hyper.svg)Charm Hyper
6
6
 
7
- Access 23 Charm Hyper models through Mastra's model router. Authentication is handled automatically using the `HYPER_API_KEY` environment variable.
7
+ Access 21 Charm Hyper models through Mastra's model router. Authentication is handled automatically using the `HYPER_API_KEY` environment variable.
8
8
 
9
9
  Learn more in the [Charm Hyper documentation](https://hyper.charm.land).
10
10
 
@@ -19,7 +19,7 @@ const agent = new Agent({
19
19
  id: "my-agent",
20
20
  name: "My Agent",
21
21
  instructions: "You are a helpful assistant",
22
- model: "hyper/deepseek-v4-flash"
22
+ model: "hyper/deepseek-v4-flash-0731"
23
23
  });
24
24
 
25
25
  // Generate a response
@@ -38,9 +38,7 @@ for await (const chunk of stream) {
38
38
 
39
39
  | Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
40
40
  | ------------------------------ | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
41
- | `hyper/deepseek-v4-flash` | 1.0M | | | | | | $0.20 | $0.40 |
42
41
  | `hyper/deepseek-v4-flash-0731` | 1.0M | | | | | | $0.44 | $1 |
43
- | `hyper/deepseek-v4-pro` | 1.0M | | | | | | $2 | $5 |
44
42
  | `hyper/deepseek-v4-pro-0813` | 1.0M | | | | | | $1 | $4 |
45
43
  | `hyper/deepseek-v4.1-flash` | 1.0M | | | | | | $0.33 | $1 |
46
44
  | `hyper/gemma-4-26b-a4b-it` | 256K | | | | | | $0.10 | $0.33 |
@@ -74,7 +72,7 @@ const agent = new Agent({
74
72
  name: "custom-agent",
75
73
  model: {
76
74
  url: "https://hyper.charm.land/v1",
77
- id: "hyper/deepseek-v4-flash",
75
+ id: "hyper/deepseek-v4-flash-0731",
78
76
  apiKey: process.env.HYPER_API_KEY,
79
77
  headers: {
80
78
  "X-Custom-Header": "value"
@@ -93,7 +91,7 @@ const agent = new Agent({
93
91
  const useAdvanced = requestContext.task === "complex";
94
92
  return useAdvanced
95
93
  ? "hyper/qwen3.8-max"
96
- : "hyper/deepseek-v4-flash";
94
+ : "hyper/deepseek-v4-flash-0731";
97
95
  }
98
96
  });
99
97
  ```