@mastra/mcp-docs-server 1.3.2 → 1.3.3-alpha.3

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 (56) hide show
  1. package/.docs/docs/agents/human-in-the-loop.md +6 -4
  2. package/.docs/docs/agents/processors.md +58 -4
  3. package/.docs/docs/connections/mcp.md +2 -0
  4. package/.docs/docs/deployment/workers.md +3 -1
  5. package/.docs/docs/guides/authentication-identity.md +4 -2
  6. package/.docs/docs/guides/mcp-authentication-authorization.md +136 -0
  7. package/.docs/docs/index.md +1 -1
  8. package/.docs/docs/server/server-adapters.md +54 -11
  9. package/.docs/docs/workflows/control-flow.md +2 -4
  10. package/.docs/docs/workflows/scheduled-workflows.md +5 -1
  11. package/.docs/models/environment-variables.md +1 -1
  12. package/.docs/models/gateways/merge-gateway.md +2 -1
  13. package/.docs/models/gateways/openrouter.md +2 -1
  14. package/.docs/models/gateways/vercel.md +6 -1
  15. package/.docs/models/index.md +2 -2
  16. package/.docs/models/providers/302ai.md +2 -1
  17. package/.docs/models/providers/baseten.md +2 -1
  18. package/.docs/models/providers/cortecs.md +3 -2
  19. package/.docs/models/providers/crossmodel.md +3 -3
  20. package/.docs/models/providers/deepinfra.md +1 -5
  21. package/.docs/models/providers/edenai.md +3 -2
  22. package/.docs/models/providers/kilo.md +16 -14
  23. package/.docs/models/providers/llmgateway-providers.md +3 -11
  24. package/.docs/models/providers/llmgateway.md +2 -1
  25. package/.docs/models/providers/nano-gpt.md +5 -2
  26. package/.docs/models/providers/opencode.md +2 -1
  27. package/.docs/models/providers/requesty.md +3 -1
  28. package/.docs/models/providers/tempr.md +23 -4
  29. package/.docs/models/providers/vivgrid.md +3 -1
  30. package/.docs/models/providers/vultr.md +22 -17
  31. package/.docs/models/providers.md +1 -1
  32. package/.docs/reference/agent-controller/agent-controller-class.md +2 -0
  33. package/.docs/reference/agent-controller/session.md +8 -8
  34. package/.docs/reference/classifier/classifier.md +49 -22
  35. package/.docs/reference/client-js/observability.md +1 -1
  36. package/.docs/reference/coding-agent/create-coding-agent.md +2 -2
  37. package/.docs/reference/configuration.md +2 -4
  38. package/.docs/reference/evals/create-classifier-scorer.md +2 -4
  39. package/.docs/reference/evals/create-scorer.md +1 -1
  40. package/.docs/reference/memory/observational-memory.md +3 -1
  41. package/.docs/reference/observability/tracing/spans.md +1 -1
  42. package/.docs/reference/processors/classifier-processor.md +8 -10
  43. package/.docs/reference/processors/model-selection-processor.md +8 -10
  44. package/.docs/reference/processors/prefill-error-handler.md +2 -2
  45. package/.docs/reference/processors/processor-interface.md +2 -2
  46. package/.docs/reference/processors/provider-history-compat.md +37 -17
  47. package/.docs/reference/processors/stream-error-retry-processor.md +9 -4
  48. package/.docs/reference/server/elysia-adapter.md +2 -0
  49. package/.docs/reference/server/express-adapter.md +1 -1
  50. package/.docs/reference/server/fastify-adapter.md +2 -0
  51. package/.docs/reference/server/hono-adapter.md +2 -0
  52. package/.docs/reference/server/koa-adapter.md +2 -0
  53. package/.docs/reference/server/nestjs-adapter.md +48 -0
  54. package/.docs/reference/tools/mcp-server.md +25 -10
  55. package/.docs/reference/workflows/step.md +2 -4
  56. package/package.json +5 -5
@@ -48,10 +48,10 @@ for await (const chunk of stream) {
48
48
  | `crossmodel/anthropic/claude-sonnet-4-6` | 1.0M | | | | | | $3 | $15 |
49
49
  | `crossmodel/anthropic/claude-sonnet-5` | 1.0M | | | | | | $2 | $10 |
50
50
  | `crossmodel/anthropic/claude-sonnet-5-5` | 1.0M | | | | | | $2 | $10 |
51
- | `crossmodel/deepseek/deepseek-v4-flash` | 1.0M | | | | | | $0.27 | $1 |
52
- | `crossmodel/deepseek/deepseek-v4-flash-vision-exp` | 1.0M | | | | | | $0.27 | $1 |
51
+ | `crossmodel/deepseek/deepseek-v4-flash` | 1.0M | | | | | | $0.30 | $1 |
52
+ | `crossmodel/deepseek/deepseek-v4-flash-vision-exp` | 1.0M | | | | | | $0.30 | $1 |
53
53
  | `crossmodel/deepseek/deepseek-v4-pro` | 1.0M | | | | | | $1 | $4 |
54
- | `crossmodel/deepseek/deepseek-v4.1-flash` | 1.0M | | | | | | $0.27 | $1 |
54
+ | `crossmodel/deepseek/deepseek-v4.1-flash` | 1.0M | | | | | | $0.30 | $1 |
55
55
  | `crossmodel/gemini/gemini-2.5-flash` | 1.0M | | | | | | $0.30 | $3 |
56
56
  | `crossmodel/gemini/gemini-2.5-flash-lite` | 1.0M | | | | | | $0.10 | $0.40 |
57
57
  | `crossmodel/gemini/gemini-2.5-pro` | 1.0M | | | | | | $1 | $10 |
@@ -41,7 +41,6 @@ for await (const chunk of stream) {
41
41
  | `deepinfra/ByteDance/Seed-2.0-pro` | 256K | | | | | | $0.50 | $3 |
42
42
  | `deepinfra/deepseek-ai/DeepSeek-R1-0528` | 164K | | | | | | $0.50 | $2 |
43
43
  | `deepinfra/deepseek-ai/DeepSeek-V3` | 164K | | | | | | $0.32 | $0.89 |
44
- | `deepinfra/deepseek-ai/DeepSeek-V3-0324` | 164K | | | | | | $0.24 | $0.90 |
45
44
  | `deepinfra/deepseek-ai/DeepSeek-V3.1` | 164K | | | | | | $0.25 | $0.95 |
46
45
  | `deepinfra/deepseek-ai/DeepSeek-V3.2` | 164K | | | | | | $0.26 | $0.38 |
47
46
  | `deepinfra/deepseek-ai/DeepSeek-V4-Flash` | 1.0M | | | | | | $0.09 | $0.18 |
@@ -56,12 +55,11 @@ for await (const chunk of stream) {
56
55
  | `deepinfra/google/gemma-4-26B-A4B-it` | 262K | | | | | | $0.07 | $0.34 |
57
56
  | `deepinfra/google/gemma-4-31B-it` | 262K | | | | | | $0.13 | $0.38 |
58
57
  | `deepinfra/google/gemma-4-E4B-it` | 131K | | | | | | $0.02 | $0.10 |
59
- | `deepinfra/meta-llama/Llama-3.3-70B-Instruct-Turbo` | 131K | | | | | | $0.10 | $0.32 |
58
+ | `deepinfra/meta-llama/Llama-3.3-70B-Instruct-Turbo` | 66K | | | | | | $0.10 | $0.32 |
60
59
  | `deepinfra/meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8` | 1.0M | | | | | | $0.20 | $0.80 |
61
60
  | `deepinfra/meta-llama/Llama-4-Scout-17B-16E-Instruct` | 328K | | | | | | $0.10 | $0.30 |
62
61
  | `deepinfra/MiniMaxAI/MiniMax-M3` | 524K | | | | | | $0.28 | $1 |
63
62
  | `deepinfra/moonshotai/Kimi-K2.6` | 262K | | | | | | $0.75 | $4 |
64
- | `deepinfra/moonshotai/Kimi-K2.7-Code` | 262K | | | | | | $0.68 | $3 |
65
63
  | `deepinfra/moonshotai/Kimi-K3` | 1.0M | | | | | | $3 | $14 |
66
64
  | `deepinfra/nvidia/Nemotron-3-Nano-30B-A3B` | 262K | | | | | | $0.05 | $0.20 |
67
65
  | `deepinfra/openai/gpt-oss-120b` | 131K | | | | | | $0.04 | $0.17 |
@@ -90,8 +88,6 @@ for await (const chunk of stream) {
90
88
  | `deepinfra/tencent/Hy4-preview` | 1.0M | | | | | | $0.83 | $3 |
91
89
  | `deepinfra/thinkingmachines/Inkling` | 524K | | | | | | $0.95 | $4 |
92
90
  | `deepinfra/thinkingmachines/Inkling-Small` | 524K | | | | | | $0.45 | $1 |
93
- | `deepinfra/XiaomiMiMo/MiMo-V2.5` | 262K | | | | | | $0.14 | $0.28 |
94
- | `deepinfra/XiaomiMiMo/MiMo-V2.5-Pro` | 1.0M | | | | | | $1 | $3 |
95
91
  | `deepinfra/XiaomiMiMo/MiMo-V2.6-Flash` | 1.0M | | | | | | $0.14 | $0.28 |
96
92
  | `deepinfra/XiaomiMiMo/MiMo-V2.6-Pro` | 1.0M | | | | | | $0.43 | $0.87 |
97
93
  | `deepinfra/zai-org/GLM-4.6` | 203K | | | | | | $0.50 | $2 |
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![Eden AI logo](https://models.dev/logos/edenai.svg)Eden AI
6
6
 
7
- Access 285 Eden AI models through Mastra's model router. Authentication is handled automatically using the `EDENAI_API_KEY` environment variable.
7
+ Access 286 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
 
@@ -83,7 +83,7 @@ for await (const chunk of stream) {
83
83
  | `edenai/azure/gpt-5.2-codex` | 272K | | | | | | $2 | $14 |
84
84
  | `edenai/cerebras/gpt-oss-120b` | 131K | | | | | | $0.35 | $0.75 |
85
85
  | `edenai/cloudflare/@cf/aisingapore/gemma-sea-lion-v4-27b-it` | 128K | | | | | | $0.35 | $0.56 |
86
- | `edenai/cloudflare/@cf/deepseek-ai/deepseek-v4-flash-0731` | 1.3M | | | | | | $0.44 | $1 |
86
+ | `edenai/cloudflare/@cf/deepseek-ai/deepseek-v4-flash-0731` | 1.0M | | | | | | $0.44 | $1 |
87
87
  | `edenai/cloudflare/@cf/deepseek-ai/deepseek-v4-pro-0813` | 1.0M | | | | | | $1 | $4 |
88
88
  | `edenai/cloudflare/@cf/meta/llama-guard-3-8b` | 131K | | | | | | $0.48 | $0.03 |
89
89
  | `edenai/cloudflare/@cf/openai/gpt-oss-120b` | 128K | | | | | | $0.35 | $0.75 |
@@ -224,6 +224,7 @@ for await (const chunk of stream) {
224
224
  | `edenai/openai/gpt-6-astra` | 1.1M | | | | | | $10 | $50 |
225
225
  | `edenai/openai/gpt-6-luna` | 1.1M | | | | | | $0.10 | $0.50 |
226
226
  | `edenai/openai/gpt-6-sol` | 1.1M | | | | | | $2 | $10 |
227
+ | `edenai/openai/gpt-6.1-sol` | 1.1M | | | | | | $2 | $10 |
227
228
  | `edenai/openai/gpt-latest` | 1.1M | | | | | | $10 | $50 |
228
229
  | `edenai/openai/gpt-mini-latest` | 400K | | | | | | $0.75 | $5 |
229
230
  | `edenai/openai/gpt-pro-latest` | 1.1M | | | | | | $30 | $180 |
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![Kilo Gateway logo](https://models.dev/logos/kilo.svg)Kilo Gateway
6
6
 
7
- Access 392 Kilo Gateway models through Mastra's model router. Authentication is handled automatically using the `KILO_API_KEY` environment variable.
7
+ Access 394 Kilo Gateway models through Mastra's model router. Authentication is handled automatically using the `KILO_API_KEY` environment variable.
8
8
 
9
9
  Learn more in the [Kilo Gateway documentation](https://kilo.ai).
10
10
 
@@ -42,20 +42,20 @@ for await (const chunk of stream) {
42
42
  | `kilo/~anthropic/claude-haiku-latest` | 200K | | | | | | $1 | $5 |
43
43
  | `kilo/~anthropic/claude-opus-latest` | 1.0M | | | | | | $4 | $20 |
44
44
  | `kilo/~anthropic/claude-sonnet-latest` | 1.0M | | | | | | $2 | $10 |
45
- | `kilo/~deepseek/deepseek-flash-latest` | 1.0M | | | | | | $0.02 | $0.60 |
46
- | `kilo/~deepseek/deepseek-pro-latest` | 1.0M | | | | | | $0.15 | $4 |
47
- | `kilo/~deepseek/deepseek-v4-flash-latest` | 1.0M | | | | | | $0.01 | $1 |
45
+ | `kilo/~deepseek/deepseek-flash-latest` | 1.0M | | | | | | $0.02 | $0.40 |
46
+ | `kilo/~deepseek/deepseek-pro-latest` | 1.0M | | | | | | $0.12 | $4 |
47
+ | `kilo/~deepseek/deepseek-v4-flash-latest` | 1.0M | | | | | | $0.01 | $0.13 |
48
48
  | `kilo/~google/gemini-flash-latest` | 1.0M | | | | | | $0.75 | $4 |
49
49
  | `kilo/~google/gemini-pro-latest` | 1.0M | | | | | | $2 | $12 |
50
- | `kilo/~moonshotai/kimi-latest` | 1.0M | | | | | | $0.40 | $9 |
50
+ | `kilo/~moonshotai/kimi-latest` | 1.0M | | | | | | $0.28 | $10 |
51
51
  | `kilo/~openai/gpt-astra-latest` | 1.1M | | | | | | $10 | $50 |
52
52
  | `kilo/~openai/gpt-luna-latest` | 1.1M | | | | | | $0.10 | $0.50 |
53
53
  | `kilo/~openai/gpt-mini-latest` | 400K | | | | | | $0.75 | $5 |
54
54
  | `kilo/~openai/gpt-sol-latest` | 1.1M | | | | | | $2 | $10 |
55
55
  | `kilo/~openai/gpt-terra-latest` | 1.1M | | | | | | $2 | $12 |
56
56
  | `kilo/~x-ai/grok-latest` | 500K | | | | | | $2 | $6 |
57
- | `kilo/~z-ai/glm-flash-latest` | 1.0M | | | | | | $0.02 | $0.30 |
58
- | `kilo/~z-ai/glm-latest` | 1.0M | | | | | | $0.19 | $4 |
57
+ | `kilo/~z-ai/glm-flash-latest` | 1.0M | | | | | | $0.02 | $0.25 |
58
+ | `kilo/~z-ai/glm-latest` | 1.0M | | | | | | $0.13 | $4 |
59
59
  | `kilo/aion-labs/aion-2.0` | 131K | | | | | | $0.80 | $2 |
60
60
  | `kilo/aion-labs/aion-3.0` | 131K | | | | | | $3 | $6 |
61
61
  | `kilo/aion-labs/aion-3.0-mini` | 131K | | | | | | $0.70 | $1 |
@@ -140,7 +140,7 @@ for await (const chunk of stream) {
140
140
  | `kilo/google/gemma-3-27b-it` | 131K | | | | | | $0.08 | $0.16 |
141
141
  | `kilo/google/gemma-3-4b-it` | 131K | | | | | | $0.05 | $0.10 |
142
142
  | `kilo/google/gemma-4-26b-a4b-it` | 262K | | | | | | $0.04 | $0.22 |
143
- | `kilo/google/gemma-4-31b-it` | 262K | | | | | | $0.08 | $0.30 |
143
+ | `kilo/google/gemma-4-31b-it` | 262K | | | | | | $0.09 | $0.34 |
144
144
  | `kilo/google/lyria-3-clip-preview` | 1.0M | | | | | | — | — |
145
145
  | `kilo/google/lyria-3-pro-preview` | 1.0M | | | | | | — | — |
146
146
  | `kilo/gryphe/mythomax-l2-13b` | 4K | | | | | | $0.08 | $0.11 |
@@ -167,7 +167,7 @@ for await (const chunk of stream) {
167
167
  | `kilo/meta-llama/llama-3.1-8b-instruct` | 131K | | | | | | $0.02 | $0.04 |
168
168
  | `kilo/meta-llama/llama-3.2-1b-instruct` | 60K | | | | | | $0.03 | $0.20 |
169
169
  | `kilo/meta-llama/llama-3.2-3b-instruct` | 131K | | | | | | $0.05 | $0.33 |
170
- | `kilo/meta-llama/llama-3.3-70b-instruct` | 131K | | | | | | $0.10 | $0.32 |
170
+ | `kilo/meta-llama/llama-3.3-70b-instruct` | 66K | | | | | | $0.10 | $0.32 |
171
171
  | `kilo/meta-llama/llama-4-maverick` | 128K | | | | | | $0.19 | $0.65 |
172
172
  | `kilo/meta-llama/llama-4-scout` | 328K | | | | | | $0.10 | $0.30 |
173
173
  | `kilo/meta-llama/llama-guard-4-12b` | 164K | | | | | | $0.18 | $0.18 |
@@ -211,8 +211,8 @@ for await (const chunk of stream) {
211
211
  | `kilo/moonshotai/kimi-k2-thinking` | 262K | | | | | | $0.60 | $3 |
212
212
  | `kilo/moonshotai/kimi-k2.5` | 262K | | | | | | $0.60 | $3 |
213
213
  | `kilo/moonshotai/kimi-k2.6` | 262K | | | | | | $0.65 | $3 |
214
- | `kilo/moonshotai/kimi-k2.7-code` | 262K | | | | | | $0.66 | $3 |
215
- | `kilo/moonshotai/kimi-k3` | 1.0M | | | | | | $3 | $15 |
214
+ | `kilo/moonshotai/kimi-k2.7-code` | 262K | | | | | | $0.67 | $3 |
215
+ | `kilo/moonshotai/kimi-k3` | 1.0M | | | | | | $0.28 | $10 |
216
216
  | `kilo/morph/morph-v3-fast` | 82K | | | | | | $0.80 | $1 |
217
217
  | `kilo/morph/morph-v3-large` | 262K | | | | | | $0.90 | $2 |
218
218
  | `kilo/nex-agi/nex-n2.5-mini` | 262K | | | | | | $0.03 | $0.10 |
@@ -279,6 +279,8 @@ for await (const chunk of stream) {
279
279
  | `kilo/openai/gpt-6-luna-pro` | 1.1M | | | | | | $0.10 | $0.50 |
280
280
  | `kilo/openai/gpt-6-sol` | 1.1M | | | | | | $2 | $10 |
281
281
  | `kilo/openai/gpt-6-sol-pro` | 1.1M | | | | | | $2 | $10 |
282
+ | `kilo/openai/gpt-6.1-sol` | 1.1M | | | | | | $2 | $10 |
283
+ | `kilo/openai/gpt-6.1-sol-pro` | 1.1M | | | | | | $2 | $10 |
282
284
  | `kilo/openai/gpt-audio` | 128K | | | | | | $3 | $10 |
283
285
  | `kilo/openai/gpt-audio-mini` | 128K | | | | | | $0.60 | $2 |
284
286
  | `kilo/openai/gpt-chat-latest` | 400K | | | | | | $5 | $30 |
@@ -357,7 +359,7 @@ for await (const chunk of stream) {
357
359
  | `kilo/qwen/qwen3.7-max` | 1.0M | | | | | | $1 | $4 |
358
360
  | `kilo/qwen/qwen3.7-plus` | 1.0M | | | | | | $0.32 | $1 |
359
361
  | `kilo/qwen/qwen3.8-2.4t-a95b` | 1.0M | | | | | | $2 | $6 |
360
- | `kilo/qwen/qwen3.8-27b` | 262K | | | | | | $0.42 | $3 |
362
+ | `kilo/qwen/qwen3.8-27b` | 1.0M | | | | | | $0.42 | $3 |
361
363
  | `kilo/qwen/qwen3.8-27b:free` | 262K | | | | | | — | — |
362
364
  | `kilo/qwen/qwen3.8-flash` | 1.0M | | | | | | $0.15 | $0.47 |
363
365
  | `kilo/qwen/qwen3.8-max-0902` | 1.0M | | | | | | $2 | $6 |
@@ -389,7 +391,7 @@ for await (const chunk of stream) {
389
391
  | `kilo/tencent/hy-mt2-7b` | 8K | | | | | | $0.07 | $0.29 |
390
392
  | `kilo/tencent/hy3` | 262K | | | | | | $0.08 | $0.33 |
391
393
  | `kilo/tencent/hy3-preview` | 262K | | | | | | $0.18 | $0.60 |
392
- | `kilo/tencent/hy4-preview` | 1.0M | | | | | | $0.83 | $3 |
394
+ | `kilo/tencent/hy4-preview` | 1.0M | | | | | | $0.75 | $2 |
393
395
  | `kilo/thedrummer/cydonia-24b-v4.1` | 131K | | | | | | $0.30 | $0.50 |
394
396
  | `kilo/thedrummer/skyfall-36b-v2` | 33K | | | | | | $0.55 | $0.80 |
395
397
  | `kilo/thedrummer/unslopnemo-12b` | 1.0M | | | | | | $0.40 | $0.40 |
@@ -411,7 +413,7 @@ for await (const chunk of stream) {
411
413
  | `kilo/x-ai/grok-build-0.1` | 256K | | | | | | $1 | $2 |
412
414
  | `kilo/xiaomi/mimo-v2.5` | 1.0M | | | | | | $0.14 | $0.28 |
413
415
  | `kilo/xiaomi/mimo-v2.5-pro` | 1.0M | | | | | | $0.43 | $0.87 |
414
- | `kilo/xiaomi/mimo-v2.6-flash` | 1.0M | | | | | | $0.08 | $1 |
416
+ | `kilo/xiaomi/mimo-v2.6-flash` | 1.0M | | | | | | $0.07 | $0.28 |
415
417
  | `kilo/xiaomi/mimo-v2.6-pro` | 1.0M | | | | | | $0.43 | $0.87 |
416
418
  | `kilo/xiaomi/mimo-v2.6-pro-ultraspeed` | 1.0M | | | | | | $4 | $9 |
417
419
  | `kilo/z-ai/glm-4.5` | 131K | | | | | | $0.60 | $2 |
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![LLM Gateway logo](https://models.dev/logos/llmgateway-providers.svg)LLM Gateway
6
6
 
7
- Access 439 LLM Gateway models through Mastra's model router. Authentication is handled automatically using the `LLMGATEWAY_API_KEY` environment variable.
7
+ Access 431 LLM Gateway models through Mastra's model router. Authentication is handled automatically using the `LLMGATEWAY_API_KEY` environment variable.
8
8
 
9
9
  Learn more in the [LLM Gateway documentation](https://llmgateway.io/docs).
10
10
 
@@ -118,9 +118,6 @@ for await (const chunk of stream) {
118
118
  | `llmgateway-providers/azure-anthropic/claude-opus-4-8` | 1.0M | | | | | | $5 | $25 |
119
119
  | `llmgateway-providers/azure-anthropic/claude-opus-5` | 1.0M | | | | | | $5 | $25 |
120
120
  | `llmgateway-providers/azure-anthropic/claude-sonnet-5` | 1.0M | | | | | | $2 | $10 |
121
- | `llmgateway-providers/azure/gpt-3.5-turbo` | 16K | | | | | | $0.50 | $2 |
122
- | `llmgateway-providers/azure/gpt-4` | 8K | | | | | | $30 | $60 |
123
- | `llmgateway-providers/azure/gpt-4-turbo` | 128K | | | | | | $10 | $30 |
124
121
  | `llmgateway-providers/azure/gpt-4.1` | 1.0M | | | | | | $2 | $8 |
125
122
  | `llmgateway-providers/azure/gpt-4.1-mini` | 1.0M | | | | | | $0.40 | $2 |
126
123
  | `llmgateway-providers/azure/gpt-4.1-nano` | 1.0M | | | | | | $0.10 | $0.40 |
@@ -133,7 +130,6 @@ for await (const chunk of stream) {
133
130
  | `llmgateway-providers/azure/gpt-5.1-codex-mini` | 400K | | | | | | $0.25 | $2 |
134
131
  | `llmgateway-providers/azure/gpt-5.2` | 400K | | | | | | $2 | $14 |
135
132
  | `llmgateway-providers/azure/gpt-5.2-codex` | 400K | | | | | | $2 | $14 |
136
- | `llmgateway-providers/azure/gpt-5.2-pro` | 400K | | | | | | $21 | $168 |
137
133
  | `llmgateway-providers/azure/gpt-5.3-codex` | 400K | | | | | | $2 | $14 |
138
134
  | `llmgateway-providers/azure/gpt-5.4` | 1.1M | | | | | | $3 | $15 |
139
135
  | `llmgateway-providers/azure/gpt-5.4-mini` | 400K | | | | | | $0.75 | $5 |
@@ -147,10 +143,6 @@ for await (const chunk of stream) {
147
143
  | `llmgateway-providers/azure/gpt-6-luna` | 1.1M | | | | | | $0.10 | $0.50 |
148
144
  | `llmgateway-providers/azure/gpt-6-sol` | 1.1M | | | | | | $2 | $10 |
149
145
  | `llmgateway-providers/azure/gpt-oss-120b` | 131K | | | | | | $0.15 | $0.60 |
150
- | `llmgateway-providers/azure/o1` | 200K | | | | | | $15 | $60 |
151
- | `llmgateway-providers/azure/o3` | 200K | | | | | | $2 | $8 |
152
- | `llmgateway-providers/azure/o3-mini` | 200K | | | | | | $1 | $4 |
153
- | `llmgateway-providers/azure/o4-mini` | 200K | | | | | | $1 | $4 |
154
146
  | `llmgateway-providers/baidu/deepseek-v4-flash` | 1.0M | | | | | | $0.44 | $1 |
155
147
  | `llmgateway-providers/baidu/deepseek-v4-pro` | 1.0M | | | | | | $1 | $4 |
156
148
  | `llmgateway-providers/baidu/deepseek-v4.1-flash` | 1.0M | | | | | | $0.30 | $1 |
@@ -183,8 +175,7 @@ for await (const chunk of stream) {
183
175
  | `llmgateway-providers/cerebras/gpt-oss-120b` | 131K | | | | | | $0.35 | $0.75 |
184
176
  | `llmgateway-providers/cerebras/llama-3.3-70b-instruct` | 128K | | | | | | $0.85 | $1 |
185
177
  | `llmgateway-providers/cerebras/qwen3-235b-a22b-instruct-2507` | 262K | | | | | | $0.60 | $1 |
186
- | `llmgateway-providers/consensusprotocol/deepseek-v4-flash` | 524K | | | | | | $0.13 | $0.27 |
187
- | `llmgateway-providers/consensusprotocol/deepseek-v4.1-flash` | 1.0M | | | | | | $0.20 | $0.60 |
178
+ | `llmgateway-providers/consensusprotocol/deepseek-v4.1-flash` | 1.0M | | | | | | $0.15 | $0.60 |
188
179
  | `llmgateway-providers/consensusprotocol/gemma-4-31b-it` | 262K | | | | | | $0.10 | $0.25 |
189
180
  | `llmgateway-providers/consensusprotocol/glm-5.3-flash` | 1.0M | | | | | | $0.10 | $0.25 |
190
181
  | `llmgateway-providers/consensusprotocol/gpt-oss-20b` | 66K | | | | | | $0.04 | $0.19 |
@@ -369,6 +360,7 @@ for await (const chunk of stream) {
369
360
  | `llmgateway-providers/openai/gpt-6-astra` | 1.1M | | | | | | $10 | $50 |
370
361
  | `llmgateway-providers/openai/gpt-6-luna` | 1.1M | | | | | | $0.10 | $0.50 |
371
362
  | `llmgateway-providers/openai/gpt-6-sol` | 1.1M | | | | | | $2 | $10 |
363
+ | `llmgateway-providers/openai/gpt-6.1-sol` | 1.1M | | | | | | $2 | $10 |
372
364
  | `llmgateway-providers/openai/o1` | 200K | | | | | | $15 | $60 |
373
365
  | `llmgateway-providers/openai/o3` | 200K | | | | | | $2 | $8 |
374
366
  | `llmgateway-providers/openai/o3-mini` | 200K | | | | | | $1 | $4 |
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![DevPass (LLM Gateway) logo](https://models.dev/logos/llmgateway.svg)DevPass (LLM Gateway)
6
6
 
7
- Access 213 DevPass (LLM Gateway) models through Mastra's model router. Authentication is handled automatically using the `LLMGATEWAY_API_KEY` environment variable.
7
+ Access 214 DevPass (LLM Gateway) models through Mastra's model router. Authentication is handled automatically using the `LLMGATEWAY_API_KEY` environment variable.
8
8
 
9
9
  Learn more in the [DevPass (LLM Gateway) documentation](https://llmgateway.io/docs).
10
10
 
@@ -133,6 +133,7 @@ for await (const chunk of stream) {
133
133
  | `llmgateway/gpt-6-astra` | 1.1M | | | | | | $10 | $50 |
134
134
  | `llmgateway/gpt-6-luna` | 1.1M | | | | | | $0.10 | $0.50 |
135
135
  | `llmgateway/gpt-6-sol` | 1.1M | | | | | | $2 | $10 |
136
+ | `llmgateway/gpt-6.1-sol` | 1.1M | | | | | | $2 | $10 |
136
137
  | `llmgateway/gpt-oss-120b` | 131K | | | | | | $0.03 | $0.14 |
137
138
  | `llmgateway/gpt-oss-20b` | 131K | | | | | | $0.04 | $0.19 |
138
139
  | `llmgateway/granite-4.2-8b` | 131K | | | | | | $0.06 | $0.25 |
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![NanoGPT logo](https://models.dev/logos/nano-gpt.svg)NanoGPT
6
6
 
7
- Access 597 NanoGPT models through Mastra's model router. Authentication is handled automatically using the `NANO_GPT_API_KEY` environment variable.
7
+ Access 600 NanoGPT models through Mastra's model router. Authentication is handled automatically using the `NANO_GPT_API_KEY` environment variable.
8
8
 
9
9
  Learn more in the [NanoGPT documentation](https://docs.nano-gpt.com).
10
10
 
@@ -260,6 +260,7 @@ for await (const chunk of stream) {
260
260
  | `nano-gpt/inclusionai/ling-3.0-flash` | 262K | | | | | | $0.07 | $0.22 |
261
261
  | `nano-gpt/inclusionai/ling-3.0-flash-vl` | 262K | | | | | | $0.06 | $0.18 |
262
262
  | `nano-gpt/inclusionai/ling-3.0-flash:thinking` | 262K | | | | | | $0.07 | $0.22 |
263
+ | `nano-gpt/inclusionai/ling-3.1-flash` | 262K | | | | | | $0.07 | $0.22 |
263
264
  | `nano-gpt/inference-net/schematron-v2-small` | 128K | | | | | | $0.05 | $0.23 |
264
265
  | `nano-gpt/inference-net/schematron-v2-turbo` | 128K | | | | | | $0.03 | $0.15 |
265
266
  | `nano-gpt/inflatebot/MN-12B-Mag-Mell-R1` | 16K | | | | | | $0.49 | $0.49 |
@@ -396,6 +397,8 @@ for await (const chunk of stream) {
396
397
  | `nano-gpt/openai/gpt-6-luna-pro` | 1.1M | | | | | | $0.10 | $0.50 |
397
398
  | `nano-gpt/openai/gpt-6-sol` | 1.1M | | | | | | $2 | $10 |
398
399
  | `nano-gpt/openai/gpt-6-sol-pro` | 1.1M | | | | | | $2 | $10 |
400
+ | `nano-gpt/openai/gpt-6.1-sol` | 1.1M | | | | | | $2 | $10 |
401
+ | `nano-gpt/openai/gpt-6.1-sol-pro` | 1.1M | | | | | | $2 | $10 |
399
402
  | `nano-gpt/openai/gpt-astra-latest` | 1.1M | | | | | | $10 | $50 |
400
403
  | `nano-gpt/openai/gpt-chat-latest` | 1.1M | | | | | | $2 | $10 |
401
404
  | `nano-gpt/openai/gpt-latest` | 1.1M | | | | | | $10 | $50 |
@@ -627,7 +630,7 @@ for await (const chunk of stream) {
627
630
  | `nano-gpt/z-ai/glm-5.2` | 1.0M | | | | | | $0.42 | $1 |
628
631
  | `nano-gpt/z-ai/glm-5.2:thinking` | 1.0M | | | | | | $0.42 | $1 |
629
632
  | `nano-gpt/z-ai/glm-5.3` | 1.0M | | | | | | $1 | $3 |
630
- | `nano-gpt/z-ai/glm-5.3-flash` | 1.0M | | | | | | $0.07 | $0.25 |
633
+ | `nano-gpt/z-ai/glm-5.3-flash` | 1.0M | | | | | | $0.10 | $0.30 |
631
634
  | `nano-gpt/z-ai/glm-5.3-flash-cybersecurity` | 1.0M | | | | | | $0.15 | $0.50 |
632
635
  | `nano-gpt/z-ai/glm-5.3-flash-uncensored` | 1.0M | | | | | | $0.20 | $0.80 |
633
636
  | `nano-gpt/z-ai/glm-5.3-uncensored` | 1.0M | | | | | | $1 | $2 |
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![OpenCode Zen logo](https://models.dev/logos/opencode.svg)OpenCode Zen
6
6
 
7
- Access 113 OpenCode Zen models through Mastra's model router. Authentication is handled automatically using the `OPENCODE_API_KEY` environment variable.
7
+ Access 114 OpenCode Zen models through Mastra's model router. Authentication is handled automatically using the `OPENCODE_API_KEY` environment variable.
8
8
 
9
9
  Learn more in the [OpenCode Zen documentation](https://opencode.ai/docs/zen).
10
10
 
@@ -92,6 +92,7 @@ for await (const chunk of stream) {
92
92
  | `opencode/gpt-6-astra` | 1.1M | | | | | | $10 | $50 |
93
93
  | `opencode/gpt-6-luna` | 1.1M | | | | | | $0.10 | $0.50 |
94
94
  | `opencode/gpt-6-sol` | 1.1M | | | | | | $2 | $10 |
95
+ | `opencode/gpt-6.1-sol` | 1.1M | | | | | | $2 | $10 |
95
96
  | `opencode/grok-4.5` | 500K | | | | | | $2 | $6 |
96
97
  | `opencode/grok-4.6` | 500K | | | | | | $2 | $6 |
97
98
  | `opencode/grok-4.7` | 500K | | | | | | $2 | $6 |
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![Requesty logo](https://models.dev/logos/requesty.svg)Requesty
6
6
 
7
- Access 163 Requesty models through Mastra's model router. Authentication is handled automatically using the `REQUESTY_API_KEY` environment variable.
7
+ Access 165 Requesty models through Mastra's model router. Authentication is handled automatically using the `REQUESTY_API_KEY` environment variable.
8
8
 
9
9
  Learn more in the [Requesty documentation](https://requesty.ai/solution/llm-routing/models).
10
10
 
@@ -63,6 +63,8 @@ for await (const chunk of stream) {
63
63
  | `requesty/claude-sonnet-4-6@eu` | 1.0M | | | | | | $3 | $17 |
64
64
  | `requesty/claude-sonnet-4@eu` | 1.0M | | | | | | $3 | $15 |
65
65
  | `requesty/claude-sonnet-5` | 1.0M | | | | | | $2 | $10 |
66
+ | `requesty/claude-sonnet-5-5` | 1.0M | | | | | | $2 | $10 |
67
+ | `requesty/claude-sonnet-5-5@eu` | 1.0M | | | | | | $2 | $11 |
66
68
  | `requesty/claude-sonnet-5@eu` | 1.0M | | | | | | $2 | $11 |
67
69
  | `requesty/deepseek-v4-flash` | 1.0M | | | | | | $0.28 | $0.56 |
68
70
  | `requesty/deepseek-v4-flash-0731` | 1.0M | | | | | | $0.28 | $0.56 |
@@ -2,11 +2,11 @@
2
2
 
3
3
  > Discover all available pages from the documentation index: https://mastra.ai/llms.txt
4
4
 
5
- # ![Tempr logo](https://models.dev/logos/tempr.svg)Tempr
5
+ # ![Tempr Gateway logo](https://models.dev/logos/tempr.svg)Tempr Gateway
6
6
 
7
- Access 63 Tempr models through Mastra's model router. Authentication is handled automatically using the `TEMPR_API_KEY` environment variable.
7
+ Access 82 Tempr Gateway models through Mastra's model router. Authentication is handled automatically using the `TEMPR_API_KEY` environment variable.
8
8
 
9
- Learn more in the [Tempr documentation](https://temprhq.io/docs/gateway-reference.html).
9
+ Learn more in the [Tempr Gateway documentation](https://temprhq.io/docs/gateway-reference.html).
10
10
 
11
11
  ```bash
12
12
  TEMPR_API_KEY=your-api-key
@@ -32,7 +32,7 @@ for await (const chunk of stream) {
32
32
  }
33
33
  ```
34
34
 
35
- > **Note:** Mastra uses the OpenAI-compatible `/chat/completions` endpoint. Some provider-specific features may not be available. Check the [Tempr documentation](https://temprhq.io/docs/gateway-reference.html) for details.
35
+ > **Note:** Mastra uses the OpenAI-compatible `/chat/completions` endpoint. Some provider-specific features may not be available. Check the [Tempr Gateway documentation](https://temprhq.io/docs/gateway-reference.html) for details.
36
36
 
37
37
  ## Models
38
38
 
@@ -54,6 +54,8 @@ for await (const chunk of stream) {
54
54
  | `tempr/anthropic/claude-sonnet-5` | 1.0M | | | | | | $2 | $10 |
55
55
  | `tempr/cerebras/gpt-oss-120b` | 131K | | | | | | $0.35 | $0.75 |
56
56
  | `tempr/cerebras/qwen-3.8-27b` | 131K | | | | | | $0.99 | $1 |
57
+ | `tempr/deepseek/deepseek-flash` | 1.0M | | | | | | $0.15 | $0.60 |
58
+ | `tempr/deepseek/deepseek-v4-pro` | 1.0M | | | | | | $0.66 | $2 |
57
59
  | `tempr/google/gemini-3-flash-preview` | 1.0M | | | | | | $0.50 | $3 |
58
60
  | `tempr/google/gemini-3.1-flash-lite` | 1.0M | | | | | | $0.25 | $2 |
59
61
  | `tempr/google/gemini-3.1-pro-preview` | 1.0M | | | | | | $2 | $12 |
@@ -73,6 +75,9 @@ for await (const chunk of stream) {
73
75
  | `tempr/groq/openai/gpt-oss-120b` | 131K | | | | | | $0.15 | $0.60 |
74
76
  | `tempr/groq/openai/gpt-oss-20b` | 131K | | | | | | $0.07 | $0.30 |
75
77
  | `tempr/groq/qwen/qwen3.8-27b` | 131K | | | | | | $0.80 | $4 |
78
+ | `tempr/minimax/MiniMax-M2.7` | 205K | | | | | | $0.30 | $1 |
79
+ | `tempr/minimax/MiniMax-M2.7-highspeed` | 205K | | | | | | $0.60 | $2 |
80
+ | `tempr/minimax/MiniMax-M3` | 1.0M | | | | | | $0.30 | $1 |
76
81
  | `tempr/mistral/mistral-embed` | 8K | | | | | | $0.10 | — |
77
82
  | `tempr/mistral/mistral-large-2512` | 262K | | | | | | $0.50 | $2 |
78
83
  | `tempr/mistral/mistral-large-latest` | 262K | | | | | | $0.50 | $2 |
@@ -83,6 +88,20 @@ for await (const chunk of stream) {
83
88
  | `tempr/mistral/voxtral-small-latest` | 32K | | | | | | $0.10 | $0.30 |
84
89
  | `tempr/mistral/zai-glm-5-2` | 1.0M | | | | | | $1 | $4 |
85
90
  | `tempr/mistral/zai-glm-5-3` | 1.0M | | | | | | $1 | $4 |
91
+ | `tempr/moonshot/kimi-k2.6` | 262K | | | | | | $0.95 | $4 |
92
+ | `tempr/moonshot/kimi-k2.7-code` | 262K | | | | | | $0.95 | $4 |
93
+ | `tempr/moonshot/kimi-k2.7-code-highspeed` | 262K | | | | | | $2 | $8 |
94
+ | `tempr/moonshot/kimi-k3` | 1.0M | | | | | | $3 | $15 |
95
+ | `tempr/xai/grok-4.20-0309-non-reasoning` | 1.0M | | | | | | $1 | $3 |
96
+ | `tempr/xai/grok-4.20-0309-reasoning` | 1.0M | | | | | | $1 | $3 |
97
+ | `tempr/xai/grok-4.3` | 1.0M | | | | | | $1 | $3 |
98
+ | `tempr/xai/grok-4.5` | 500K | | | | | | $2 | $6 |
99
+ | `tempr/xai/grok-4.6` | 500K | | | | | | $2 | $6 |
100
+ | `tempr/xai/grok-4.7` | 500K | | | | | | $2 | $6 |
101
+ | `tempr/xai/grok-build-0.1` | 256K | | | | | | $1 | $2 |
102
+ | `tempr/xiaomi-mimo/mimo-v2.6-flash` | 1.0M | | | | | | $0.14 | $0.28 |
103
+ | `tempr/xiaomi-mimo/mimo-v2.6-pro` | 1.0M | | | | | | $0.43 | $0.87 |
104
+ | `tempr/xiaomi-mimo/mimo-v2.6-pro-ultraspeed` | 1.0M | | | | | | $4 | $9 |
86
105
  | `tempr/zai/glm-4.5` | 131K | | | | | | $0.60 | $2 |
87
106
  | `tempr/zai/glm-4.5-air` | 131K | | | | | | $0.20 | $1 |
88
107
  | `tempr/zai/glm-4.5-flash` | 131K | | | | | | — | — |
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![Vivgrid logo](https://models.dev/logos/vivgrid.svg)Vivgrid
6
6
 
7
- Access 34 Vivgrid models through Mastra's model router. Authentication is handled automatically using the `VIVGRID_API_KEY` environment variable.
7
+ Access 36 Vivgrid models through Mastra's model router. Authentication is handled automatically using the `VIVGRID_API_KEY` environment variable.
8
8
 
9
9
  Learn more in the [Vivgrid documentation](https://docs.vivgrid.com/models).
10
10
 
@@ -43,6 +43,7 @@ for await (const chunk of stream) {
43
43
  | `vivgrid/claude-opus-5` | 1.0M | | | | | | $5 | $25 |
44
44
  | `vivgrid/claude-opus-5-5` | 1.0M | | | | | | $4 | $20 |
45
45
  | `vivgrid/claude-sonnet-5` | 1.0M | | | | | | $2 | $10 |
46
+ | `vivgrid/claude-sonnet-5-5` | 1.0M | | | | | | $2 | $10 |
46
47
  | `vivgrid/deepseek-v3.2` | 128K | | | | | | $0.28 | $0.42 |
47
48
  | `vivgrid/deepseek-v4-flash` | 1.0M | | | | | | $0.15 | $0.30 |
48
49
  | `vivgrid/deepseek-v4-pro` | 1.0M | | | | | | $0.43 | $0.87 |
@@ -70,6 +71,7 @@ for await (const chunk of stream) {
70
71
  | `vivgrid/gpt-6-astra` | 1.1M | | | | | | $10 | $50 |
71
72
  | `vivgrid/gpt-6-luna` | 1.1M | | | | | | $0.10 | $0.50 |
72
73
  | `vivgrid/gpt-6-sol` | 1.1M | | | | | | $2 | $10 |
74
+ | `vivgrid/gpt-6.1-sol` | 1.1M | | | | | | $2 | $10 |
73
75
  | `vivgrid/kimi-k3` | 1.0M | | | | | | $3 | $15 |
74
76
  | `vivgrid/viv-fast` | 1.0M | | | | | | $0.13 | $0.40 |
75
77
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![Vultr logo](https://models.dev/logos/vultr.svg)Vultr
6
6
 
7
- Access 10 Vultr models through Mastra's model router. Authentication is handled automatically using the `VULTR_API_KEY` environment variable.
7
+ Access 15 Vultr models through Mastra's model router. Authentication is handled automatically using the `VULTR_API_KEY` environment variable.
8
8
 
9
9
  Learn more in the [Vultr documentation](https://api.vultrinference.com/).
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: "vultr/MiniMaxAI/MiniMax-M2.7"
22
+ model: "vultr/deepseek-v4-flash-0731"
23
23
  });
24
24
 
25
25
  // Generate a response
@@ -36,18 +36,23 @@ for await (const chunk of stream) {
36
36
 
37
37
  ## Models
38
38
 
39
- | Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
40
- | ---------------------------------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
41
- | `vultr/deepseek-ai/DeepSeek-V4-Flash` | 1.0M | | | | | | $0.30 | $1 |
42
- | `vultr/MiniMaxAI/MiniMax-M2.7` | 205K | | | | | | $0.30 | $1 |
43
- | `vultr/moonshotai/Kimi-K2.6` | 262K | | | | | | $0.30 | $1 |
44
- | `vultr/nvidia/DeepSeek-V3.2-NVFP4` | 131K | | | | | | $0.55 | $2 |
45
- | `vultr/nvidia/Nemotron-3-Nano-Omni-30B-A3B-Reasoning-BF16` | 262K | | | | | | $0.13 | $0.38 |
46
- | `vultr/nvidia/Nemotron-Cascade-2-30B-A3B` | 262K | | | | | | $0.15 | $0.60 |
47
- | `vultr/Qwen/Qwen3.5-397B-A17B` | 262K | | | | | | $0.30 | $2 |
48
- | `vultr/Qwen/Qwen3.6-27B` | 262K | | | | | | $0.30 | $2 |
49
- | `vultr/XiaomiMiMo/MiMo-V2.5-Pro` | 1.0M | | | | | | $0.55 | $2 |
50
- | `vultr/zai-org/GLM-5.2-FP8` | 393K | | | | | | $0.85 | $3 |
39
+ | Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
40
+ | ---------------------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
41
+ | `vultr/deepseek-v4-flash-0731` | 1.0M | | | | | | $0.10 | $0.25 |
42
+ | `vultr/deepseek-v4.1-flash` | 1.0M | | | | | | $0.15 | $0.60 |
43
+ | `vultr/glm-5.2` | 1.0M | | | | | | $0.75 | $3 |
44
+ | `vultr/glm-5.3` | 1.0M | | | | | | $0.75 | $3 |
45
+ | `vultr/glm-5.3-flash` | 1.0M | | | | | | $0.10 | $0.35 |
46
+ | `vultr/glm-5.x-menthol` | 203K | | | | | | $0.40 | $2 |
47
+ | `vultr/laguna-s-2.1` | 1.0M | | | | | | $0.09 | $0.18 |
48
+ | `vultr/mimo-v2.6-flash-rl` | 1.0M | | | | | | $0.10 | $0.25 |
49
+ | `vultr/mimo-v2.6-pro-rl` | 1.0M | | | | | | $0.40 | $0.80 |
50
+ | `vultr/minimax-m3` | 524K | | | | | | $0.20 | $0.90 |
51
+ | `vultr/muse-glimmer-30b` | 131K | | | | | | $0.25 | $1 |
52
+ | `vultr/nemotron-3-nano-omni-30b-a3b-reasoning` | 262K | | | | | | $0.10 | $0.25 |
53
+ | `vultr/nemotron-3.5-content-safety` | 131K | | | | | | $0.05 | $0.15 |
54
+ | `vultr/qwen3.8-27b` | 262K | | | | | | $0.15 | $1 |
55
+ | `vultr/qwen3.8-flash-next` | 262K | | | | | | $0.10 | $0.20 |
51
56
 
52
57
  Model availability, capabilities, context windows, and pricing are sourced from [models.dev](https://models.dev) and may change.
53
58
 
@@ -61,7 +66,7 @@ const agent = new Agent({
61
66
  name: "custom-agent",
62
67
  model: {
63
68
  url: "https://api.vultrinference.com/v1",
64
- id: "vultr/MiniMaxAI/MiniMax-M2.7",
69
+ id: "vultr/deepseek-v4-flash-0731",
65
70
  apiKey: process.env.VULTR_API_KEY,
66
71
  headers: {
67
72
  "X-Custom-Header": "value"
@@ -79,8 +84,8 @@ const agent = new Agent({
79
84
  model: ({ requestContext }) => {
80
85
  const useAdvanced = requestContext.task === "complex";
81
86
  return useAdvanced
82
- ? "vultr/zai-org/GLM-5.2-FP8"
83
- : "vultr/MiniMaxAI/MiniMax-M2.7";
87
+ ? "vultr/qwen3.8-flash-next"
88
+ : "vultr/deepseek-v4-flash-0731";
84
89
  }
85
90
  });
86
91
  ```
@@ -175,7 +175,7 @@ Direct access to individual AI model providers. Each provider offers unique mode
175
175
  - [Subconscious](https://mastra.ai/models/providers/subconscious)
176
176
  - [submodel](https://mastra.ai/models/providers/submodel)
177
177
  - [Synthetic](https://mastra.ai/models/providers/synthetic)
178
- - [Tempr](https://mastra.ai/models/providers/tempr)
178
+ - [Tempr Gateway](https://mastra.ai/models/providers/tempr)
179
179
  - [Tencent Coding Plan (China)](https://mastra.ai/models/providers/tencent-coding-plan)
180
180
  - [Tencent Token Plan](https://mastra.ai/models/providers/tencent-token-plan)
181
181
  - [Tencent TokenHub](https://mastra.ai/models/providers/tencent-tokenhub)
@@ -134,6 +134,8 @@ A message lifecycle starts with the initial message in `message_start`. Compact
134
134
 
135
135
  **subagents.forked** (`boolean`): Whether the subagent inherits a cloned parent thread by default.
136
136
 
137
+ **resolveSubagentModel** (`(modelId: string, options: { requestContext?: RequestContext }) => MastraModelConfig`): Resolves a subagent's model ID into a model config. It receives a copy of the calling run's request context without the parent thread and resource IDs, so tenant credentials and request-scoped providers work for subagents. When unset, the model ID goes to the model gateway router.
138
+
137
139
  **gateways** (`MastraModelGatewayInterface[]`): Custom model gateways merged with the built-in gateways.
138
140
 
139
141
  **omConfig** (`AgentControllerOMConfig`): Default observational memory models and thresholds.
@@ -293,9 +293,9 @@ To change the resource ID, use [`controller.setResourceId()`](https://mastra.ai/
293
293
 
294
294
  `session.thread` owns the active thread binding and resource-scoped thread operations. Stored threads and messages can survive controller recreation when storage is configured. The live session and its event bus don't.
295
295
 
296
- ### `session.thread.create({ title?, id? })`
296
+ ### `session.thread.create({ title?, id?, requestContext? })`
297
297
 
298
- Create a thread, bind the session to it, and open its event stream.
298
+ Create a thread, bind the session to it, and open its event stream. Pass `requestContext` when memory is a function that reads the signed-in user.
299
299
 
300
300
  ```typescript
301
301
  const thread = await session.thread.create({
@@ -314,9 +314,9 @@ Rename the active stored thread.
314
314
  await session.thread.rename({ title: 'Fix login failure' })
315
315
  ```
316
316
 
317
- ### `session.thread.clone({ sourceThreadId?, title?, resourceId? })`
317
+ ### `session.thread.clone({ sourceThreadId?, title?, resourceId?, requestContext? })`
318
318
 
319
- Clone an owned thread and its messages, then bind the session to the clone.
319
+ Clone an owned thread and its messages, then bind the session to the clone. Pass `requestContext` when memory is a function that reads the signed-in user.
320
320
 
321
321
  ```typescript
322
322
  const clone = await session.thread.clone({
@@ -327,17 +327,17 @@ const clone = await session.thread.clone({
327
327
 
328
328
  Returns: `Promise<AgentControllerThread>`
329
329
 
330
- ### `session.thread.switch({ threadId, emitEvent? })`
330
+ ### `session.thread.switch({ threadId, emitEvent?, requestContext? })`
331
331
 
332
- Switch to an owned stored thread and hydrate its mode, model, and observational memory settings.
332
+ Switch to an owned stored thread and hydrate its mode, model, and observational memory settings. Pass `requestContext` when memory is a function that reads the signed-in user.
333
333
 
334
334
  ```typescript
335
335
  await session.thread.switch({ threadId: 'thread-8' })
336
336
  ```
337
337
 
338
- ### `session.thread.delete({ threadId })`
338
+ ### `session.thread.delete({ threadId, requestContext? })`
339
339
 
340
- Delete an owned thread. Deleting the active thread also clears the current binding.
340
+ Delete an owned thread. Deleting the active thread also clears the current binding. Pass `requestContext` when memory is a function that reads the signed-in user.
341
341
 
342
342
  ```typescript
343
343
  await session.thread.delete({ threadId: 'thread-8' })