@mastra/mcp-docs-server 1.3.8-alpha.8 → 1.3.9-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.
- package/.docs/models/gateways/merge-gateway.md +2 -1
- package/.docs/models/gateways/netlify.md +9 -2
- package/.docs/models/gateways/openrouter.md +6 -3
- package/.docs/models/gateways/vercel.md +4 -1
- package/.docs/models/index.md +1 -1
- package/.docs/models/providers/ambient.md +2 -1
- package/.docs/models/providers/deepinfra.md +2 -1
- package/.docs/models/providers/digitalocean.md +2 -1
- package/.docs/models/providers/fireworks-ai.md +2 -1
- package/.docs/models/providers/hyper.md +2 -1
- package/.docs/models/providers/iteracompute.md +11 -10
- package/.docs/models/providers/kilo.md +15 -13
- package/.docs/models/providers/nano-gpt.md +10 -7
- package/.docs/models/providers/nebius.md +3 -1
- package/.docs/models/providers/ollama-cloud.md +2 -1
- package/.docs/models/providers/opencode-go.md +3 -5
- package/.docs/models/providers/opencode.md +3 -3
- package/.docs/models/providers/prime.md +1 -1
- package/.docs/models/providers/requesty.md +2 -1
- package/.docs/models/providers/wandb.md +24 -23
- package/.docs/models/providers/xiaomi-token-plan-ams.md +0 -2
- package/.docs/models/providers/xiaomi-token-plan-cn.md +0 -2
- package/.docs/models/providers/xiaomi-token-plan-sgp.md +0 -2
- package/.docs/models/providers/xiaomi.md +0 -3
- package/.docs/reference/cli/mastra.md +1 -1
- package/.docs/reference/client-js/observability.md +29 -0
- package/.docs/reference/observability/tracing/interfaces.md +3 -2
- package/package.json +6 -6
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# Merge Gateway
|
|
6
6
|
|
|
7
|
-
Merge Gateway aggregates models from multiple providers with enhanced features like rate limiting and failover. Access
|
|
7
|
+
Merge Gateway aggregates models from multiple providers with enhanced features like rate limiting and failover. Access 204 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
|
|
|
@@ -111,6 +111,7 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
111
111
|
| `meta/llama-3.3-70b-instruct` |
|
|
112
112
|
| `meta/muse-spark-1.1` |
|
|
113
113
|
| `meta/muse-spark-1.2` |
|
|
114
|
+
| `meta/muse-spark-open` |
|
|
114
115
|
| `minimax/minimax-m2` |
|
|
115
116
|
| `minimax/minimax-m2.1` |
|
|
116
117
|
| `minimax/minimax-m2.5` |
|
|
@@ -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
|
|
7
|
+
Netlify AI Gateway provides unified access to multiple providers with built-in caching and observability. Access 284 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
|
|
|
@@ -165,6 +165,7 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
165
165
|
| `openrouter/google/gemma-4-26b-a4b-it` |
|
|
166
166
|
| `openrouter/google/gemma-4-31b-it` |
|
|
167
167
|
| `openrouter/gryphe/mythomax-l2-13b` |
|
|
168
|
+
| `openrouter/ibm-granite/granite-4.0-h-micro` |
|
|
168
169
|
| `openrouter/ibm-granite/granite-4.2-8b` |
|
|
169
170
|
| `openrouter/inception/mercury-2` |
|
|
170
171
|
| `openrouter/inception/mercury-2.5` |
|
|
@@ -177,12 +178,14 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
177
178
|
| `openrouter/mancer/weaver` |
|
|
178
179
|
| `openrouter/meta-llama/llama-3.1-70b-instruct` |
|
|
179
180
|
| `openrouter/meta-llama/llama-3.1-8b-instruct` |
|
|
181
|
+
| `openrouter/meta-llama/llama-3.2-1b-instruct` |
|
|
180
182
|
| `openrouter/meta-llama/llama-3.2-3b-instruct` |
|
|
181
183
|
| `openrouter/meta-llama/llama-3.3-70b-instruct` |
|
|
182
184
|
| `openrouter/meta-llama/llama-4-maverick` |
|
|
183
185
|
| `openrouter/meta-llama/llama-4-scout` |
|
|
184
186
|
| `openrouter/meta-llama/llama-guard-4-12b` |
|
|
185
187
|
| `openrouter/meta/muse-glimmer-30b` |
|
|
188
|
+
| `openrouter/meta/muse-spark-open` |
|
|
186
189
|
| `openrouter/microsoft/phi-4` |
|
|
187
190
|
| `openrouter/microsoft/wizardlm-2-8x22b` |
|
|
188
191
|
| `openrouter/minimax/minimax-m1` |
|
|
@@ -205,9 +208,12 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
205
208
|
| `openrouter/mistralai/mistral-saba` |
|
|
206
209
|
| `openrouter/mistralai/mistral-small-24b-instruct-2501` |
|
|
207
210
|
| `openrouter/mistralai/mistral-small-2603` |
|
|
211
|
+
| `openrouter/mistralai/mistral-small-3.1-24b-instruct` |
|
|
208
212
|
| `openrouter/mistralai/mistral-small-3.2-24b-instruct` |
|
|
209
213
|
| `openrouter/mistralai/mixtral-8x22b-instruct` |
|
|
210
214
|
| `openrouter/mistralai/voxtral-small-24b-2507` |
|
|
215
|
+
| `openrouter/moondream/moondream3-preview` |
|
|
216
|
+
| `openrouter/moondream/moondream3.1-9b-a2b` |
|
|
211
217
|
| `openrouter/moonshotai/kimi-k2` |
|
|
212
218
|
| `openrouter/moonshotai/kimi-k2-0905` |
|
|
213
219
|
| `openrouter/moonshotai/kimi-k2-thinking` |
|
|
@@ -225,6 +231,7 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
225
231
|
| `openrouter/nvidia/nemotron-3-ultra-550b-a55b` |
|
|
226
232
|
| `openrouter/nvidia/nemotron-3.5-content-safety` |
|
|
227
233
|
| `openrouter/nvidia/nemotron-3.5-lightning` |
|
|
234
|
+
| `openrouter/nvidia/nemotron-3.5-super-vl` |
|
|
228
235
|
| `openrouter/nvidia/switchyard` |
|
|
229
236
|
| `openrouter/openai/gpt-oss-120b` |
|
|
230
237
|
| `openrouter/openai/gpt-oss-20b` |
|
|
@@ -242,6 +249,7 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
242
249
|
| `openrouter/perplexity/sonar-reasoning-pro` |
|
|
243
250
|
| `openrouter/qwen/qwen-2.5-72b-instruct` |
|
|
244
251
|
| `openrouter/qwen/qwen-2.5-7b-instruct` |
|
|
252
|
+
| `openrouter/qwen/qwen-2.5-coder-32b-instruct` |
|
|
245
253
|
| `openrouter/qwen/qwen2.5-vl-72b-instruct` |
|
|
246
254
|
| `openrouter/qwen/qwen3-14b` |
|
|
247
255
|
| `openrouter/qwen/qwen3-235b-a22b-2507` |
|
|
@@ -286,7 +294,6 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
286
294
|
| `openrouter/thinkingmachines/inkling` |
|
|
287
295
|
| `openrouter/thinkingmachines/inkling-small` |
|
|
288
296
|
| `openrouter/typesafe/jev-router` |
|
|
289
|
-
| `openrouter/unbiased/pareto-26.10-preview` |
|
|
290
297
|
| `openrouter/undi95/remm-slerp-l2-13b` |
|
|
291
298
|
| `openrouter/upstage/solar-mini4` |
|
|
292
299
|
| `openrouter/upstage/solar-pro4` |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# OpenRouter
|
|
6
6
|
|
|
7
|
-
OpenRouter aggregates models from multiple providers with enhanced features like rate limiting and failover. Access
|
|
7
|
+
OpenRouter aggregates models from multiple providers with enhanced features like rate limiting and failover. Access 385 models through Mastra's model router.
|
|
8
8
|
|
|
9
9
|
Learn more in the [OpenRouter documentation](https://openrouter.ai/models).
|
|
10
10
|
|
|
@@ -80,7 +80,6 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
80
80
|
| `anthropic/claude-opus-4.8` |
|
|
81
81
|
| `anthropic/claude-opus-5` |
|
|
82
82
|
| `anthropic/claude-opus-5.5` |
|
|
83
|
-
| `anthropic/claude-sonnet-4` |
|
|
84
83
|
| `anthropic/claude-sonnet-4.5` |
|
|
85
84
|
| `anthropic/claude-sonnet-4.6` |
|
|
86
85
|
| `anthropic/claude-sonnet-5` |
|
|
@@ -176,6 +175,7 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
176
175
|
| `meta/muse-spark-1.2-contributor` |
|
|
177
176
|
| `meta/muse-spark-1.3` |
|
|
178
177
|
| `meta/muse-spark-1.3-contributor` |
|
|
178
|
+
| `meta/muse-spark-open` |
|
|
179
179
|
| `meta/muse-wonder` |
|
|
180
180
|
| `microsoft/phi-4` |
|
|
181
181
|
| `microsoft/wizardlm-2-8x22b` |
|
|
@@ -207,6 +207,8 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
207
207
|
| `mistralai/mistral-small-3.2-24b-instruct` |
|
|
208
208
|
| `mistralai/mixtral-8x22b-instruct` |
|
|
209
209
|
| `mistralai/voxtral-small-24b-2507` |
|
|
210
|
+
| `moondream/moondream3-preview` |
|
|
211
|
+
| `moondream/moondream3.1-9b-a2b` |
|
|
210
212
|
| `moonshotai/kimi-k2` |
|
|
211
213
|
| `moonshotai/kimi-k2-0905` |
|
|
212
214
|
| `moonshotai/kimi-k2-thinking` |
|
|
@@ -231,6 +233,8 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
231
233
|
| `nvidia/nemotron-3.5-content-safety:free` |
|
|
232
234
|
| `nvidia/nemotron-3.5-lightning` |
|
|
233
235
|
| `nvidia/nemotron-3.5-lightning:free` |
|
|
236
|
+
| `nvidia/nemotron-3.5-super-vl` |
|
|
237
|
+
| `nvidia/nemotron-3.5-super-vl:free` |
|
|
234
238
|
| `openai/gpt-3.5-turbo` |
|
|
235
239
|
| `openai/gpt-3.5-turbo-0613` |
|
|
236
240
|
| `openai/gpt-3.5-turbo-16k` |
|
|
@@ -385,7 +389,6 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
385
389
|
| `thinkingmachines/inkling-small` |
|
|
386
390
|
| `thinkingmachines/inkling-small:free` |
|
|
387
391
|
| `thinkingmachines/inkling:free` |
|
|
388
|
-
| `unbiased/pareto-26.10-preview` |
|
|
389
392
|
| `unbiased/pareto-26.9` |
|
|
390
393
|
| `undi95/remm-slerp-l2-13b` |
|
|
391
394
|
| `upstage/solar-mini4` |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# Vercel
|
|
6
6
|
|
|
7
|
-
Vercel aggregates models from multiple providers with enhanced features like rate limiting and failover. Access
|
|
7
|
+
Vercel aggregates models from multiple providers with enhanced features like rate limiting and failover. Access 410 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
|
|
|
@@ -221,6 +221,7 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
221
221
|
| `meta/muse-spark-1.2-contributor` |
|
|
222
222
|
| `meta/muse-spark-1.3` |
|
|
223
223
|
| `meta/muse-spark-1.3-contributor` |
|
|
224
|
+
| `meta/muse-spark-open` |
|
|
224
225
|
| `meta/muse-wonder-1.0` |
|
|
225
226
|
| `microsoft/mai-image-2.6` |
|
|
226
227
|
| `microsoft/mai-image-2.6-flash` |
|
|
@@ -266,6 +267,7 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
266
267
|
| `nvidia/nemotron-3-ultra-550b-a55b` |
|
|
267
268
|
| `nvidia/nemotron-3.5-lightning` |
|
|
268
269
|
| `nvidia/nemotron-3.5-lightning-free` |
|
|
270
|
+
| `nvidia/nemotron-3.5-super-vl` |
|
|
269
271
|
| `nvidia/nemotron-nano-12b-v2-vl` |
|
|
270
272
|
| `nvidia/nemotron-nano-9b-v2` |
|
|
271
273
|
| `openai/gpt-3.5-turbo` |
|
|
@@ -396,6 +398,7 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
396
398
|
| `spacexai/grok-tts` |
|
|
397
399
|
| `spacexai/grok-voice-think-fast-1.0` |
|
|
398
400
|
| `spacexai/grok-voice-think-fast-2.0` |
|
|
401
|
+
| `stealth/cat-jam` |
|
|
399
402
|
| `stealth/glyph-cluster` |
|
|
400
403
|
| `stepfun/step-3.7-flash` |
|
|
401
404
|
| `stepfun/step-5-preview` |
|
package/.docs/models/index.md
CHANGED
|
@@ -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
|
|
7
|
+
Mastra provides a unified interface for working with LLMs across multiple providers, giving you access to 8232 models from 218 providers through a single API.
|
|
8
8
|
|
|
9
9
|
## Features
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# Ambient
|
|
6
6
|
|
|
7
|
-
Access
|
|
7
|
+
Access 17 Ambient models through Mastra's model router. Authentication is handled automatically using the `AMBIENT_API_KEY` environment variable.
|
|
8
8
|
|
|
9
9
|
Learn more in the [Ambient documentation](https://ambient.xyz).
|
|
10
10
|
|
|
@@ -42,6 +42,7 @@ for await (const chunk of stream) {
|
|
|
42
42
|
| `ambient/ambient/small` | 101K | | | | | | $0.00 | $0.00 |
|
|
43
43
|
| `ambient/deepseek/deepseek-v4-flash` | 1.0M | | | | | | $0.14 | $0.28 |
|
|
44
44
|
| `ambient/deepseek/deepseek-v4-flash-0731` | 1.0M | | | | | | $0.08 | $0.18 |
|
|
45
|
+
| `ambient/minimax/minimax-m3` | 262K | | | | | | $0.23 | $0.96 |
|
|
45
46
|
| `ambient/moonshotai/kimi-k2.6` | 262K | | | | | | $0.95 | $4 |
|
|
46
47
|
| `ambient/moonshotai/kimi-k2.7-code` | 262K | | | | | | $0.69 | $3 |
|
|
47
48
|
| `ambient/qwen/qwen3-30b-a3b-instruct-2507` | 131K | | | | | | $0.09 | $0.30 |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# Deep Infra
|
|
6
6
|
|
|
7
|
-
Access
|
|
7
|
+
Access 75 Deep Infra models through Mastra's model router. Authentication is handled automatically using the `DEEPINFRA_API_KEY` environment variable.
|
|
8
8
|
|
|
9
9
|
Learn more in the [Deep Infra documentation](https://deepinfra.com/models).
|
|
10
10
|
|
|
@@ -80,6 +80,7 @@ for await (const chunk of stream) {
|
|
|
80
80
|
| `deepinfra/Qwen/Qwen3.8-27B` | 262K | | | | | | $0.20 | $3 |
|
|
81
81
|
| `deepinfra/Qwen/Qwen3.8-Flash` | 1.0M | | | | | | $0.11 | $0.38 |
|
|
82
82
|
| `deepinfra/Qwen/Qwen3.8-Max` | 256K | | | | | | $2 | $5 |
|
|
83
|
+
| `deepinfra/stepfun-ai/Step-5-Preview` | 1.0M | | | | | | $1 | $3 |
|
|
83
84
|
| `deepinfra/tencent/Hy4-preview` | 1.0M | | | | | | $0.83 | $3 |
|
|
84
85
|
| `deepinfra/thinkingmachines/Inkling` | 524K | | | | | | $0.95 | $4 |
|
|
85
86
|
| `deepinfra/thinkingmachines/Inkling-Small` | 524K | | | | | | $0.45 | $1 |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# DigitalOcean
|
|
6
6
|
|
|
7
|
-
Access
|
|
7
|
+
Access 103 DigitalOcean models through Mastra's model router. Authentication is handled automatically using the `DIGITALOCEAN_ACCESS_TOKEN` environment variable.
|
|
8
8
|
|
|
9
9
|
Learn more in the [DigitalOcean documentation](https://docs.digitalocean.com/products/gradient-ai-platform/details/models/).
|
|
10
10
|
|
|
@@ -95,6 +95,7 @@ for await (const chunk of stream) {
|
|
|
95
95
|
| `digitalocean/nemotron-3-nano-30b` | 262K | | | | | | — | — |
|
|
96
96
|
| `digitalocean/nemotron-3-nano-omni` | 66K | | | | | | $0.50 | $0.90 |
|
|
97
97
|
| `digitalocean/nemotron-3-ultra-550b` | 131K | | | | | | $0.90 | $2 |
|
|
98
|
+
| `digitalocean/nemotron-3.5-super-vl` | 1.0M | | | | | | $0.30 | $0.65 |
|
|
98
99
|
| `digitalocean/nemotron-nano-12b-v2-vl` | 128K | | | | | | $0.20 | $0.60 |
|
|
99
100
|
| `digitalocean/nvidia-nemotron-3-super-120b` | 1.0M | | | | | | $0.30 | $0.65 |
|
|
100
101
|
| `digitalocean/openai-gpt-4.1` | 1.0M | | | | | | $2 | $8 |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# Fireworks AI
|
|
6
6
|
|
|
7
|
-
Access
|
|
7
|
+
Access 23 Fireworks AI models through Mastra's model router. Authentication is handled automatically using the `FIREWORKS_API_KEY` environment variable.
|
|
8
8
|
|
|
9
9
|
Learn more in the [Fireworks AI documentation](https://fireworks.ai/docs/).
|
|
10
10
|
|
|
@@ -46,6 +46,7 @@ for await (const chunk of stream) {
|
|
|
46
46
|
| `fireworks-ai/accounts/fireworks/models/inkling` | 1.0M | | | | | | $1 | $4 |
|
|
47
47
|
| `fireworks-ai/accounts/fireworks/models/kimi-k3` | 1.0M | | | | | | $3 | $15 |
|
|
48
48
|
| `fireworks-ai/accounts/fireworks/models/minimax-m3` | 512K | | | | | | $0.30 | $1 |
|
|
49
|
+
| `fireworks-ai/accounts/fireworks/models/muse-spark-open` | 1.0M | | | | | | $1 | $4 |
|
|
49
50
|
| `fireworks-ai/accounts/fireworks/models/nemotron-3-ultra-nvfp4` | 262K | | | | | | $0.60 | $2 |
|
|
50
51
|
| `fireworks-ai/accounts/fireworks/models/nemotron-lightning-3p5-30b-a3b` | 262K | | | | | | $0.05 | $0.20 |
|
|
51
52
|
| `fireworks-ai/accounts/fireworks/models/qwen3p8-2p4t-a95b` | 262K | | | | | | $2 | $6 |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# Charm Hyper
|
|
6
6
|
|
|
7
|
-
Access
|
|
7
|
+
Access 22 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
|
|
|
@@ -52,6 +52,7 @@ for await (const chunk of stream) {
|
|
|
52
52
|
| `hyper/kimi-k3` | 1.0M | | | | | | $3 | $16 |
|
|
53
53
|
| `hyper/minimax-m2.7` | 262K | | | | | | $0.48 | $2 |
|
|
54
54
|
| `hyper/minimax-m3` | 512K | | | | | | $0.33 | $1 |
|
|
55
|
+
| `hyper/prism` | 1.0M | | | | | | $3 | $16 |
|
|
55
56
|
| `hyper/qwen3.7-flash` | 1.0M | | | | | | $0.20 | $0.80 |
|
|
56
57
|
| `hyper/qwen3.7-max` | 1.0M | | | | | | $3 | $8 |
|
|
57
58
|
| `hyper/qwen3.7-plus` | 1.0M | | | | | | $1 | $5 |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# IteraCompute
|
|
6
6
|
|
|
7
|
-
Access
|
|
7
|
+
Access 10 IteraCompute models through Mastra's model router. Authentication is handled automatically using the `ITERACOMPUTE_API_KEY` environment variable.
|
|
8
8
|
|
|
9
9
|
Learn more in the [IteraCompute documentation](https://iteracompute.com/docs.html).
|
|
10
10
|
|
|
@@ -38,15 +38,16 @@ for await (const chunk of stream) {
|
|
|
38
38
|
|
|
39
39
|
| Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
|
|
40
40
|
| ---------------------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
41
|
-
| `iteracompute/deepseek/deepseek-v4-flash-0731` |
|
|
42
|
-
| `iteracompute/deepseek/deepseek-v4-pro-0813` | 1.0M | | | | | | $
|
|
43
|
-
| `iteracompute/
|
|
44
|
-
| `iteracompute/
|
|
45
|
-
| `iteracompute/
|
|
46
|
-
| `iteracompute/
|
|
47
|
-
| `iteracompute/qwen/qwen3.8-
|
|
48
|
-
| `iteracompute/
|
|
49
|
-
| `iteracompute/z-ai/glm-5.3
|
|
41
|
+
| `iteracompute/deepseek/deepseek-v4-flash-0731` | 1.0M | | | | | | $0.29 | $1 |
|
|
42
|
+
| `iteracompute/deepseek/deepseek-v4-pro-0813` | 1.0M | | | | | | $0.89 | $3 |
|
|
43
|
+
| `iteracompute/deepseek/deepseek-v4.1-flash` | 1.0M | | | | | | $0.29 | $1 |
|
|
44
|
+
| `iteracompute/minimax/minimax-m3` | 1.0M | | | | | | $0.30 | $1 |
|
|
45
|
+
| `iteracompute/moonshotai/kimi-k2.7-code` | 262K | | | | | | $0.69 | $3 |
|
|
46
|
+
| `iteracompute/moonshotai/kimi-k3` | 1.0M | | | | | | $2 | $12 |
|
|
47
|
+
| `iteracompute/qwen/qwen3.8-2.4t-a95b` | 1.0M | | | | | | $2 | $6 |
|
|
48
|
+
| `iteracompute/qwen/qwen3.8-27b` | 131K | | | | | | — | — |
|
|
49
|
+
| `iteracompute/z-ai/glm-5.3` | 1.0M | | | | | | $0.99 | $3 |
|
|
50
|
+
| `iteracompute/z-ai/glm-5.3-flash` | 1.0M | | | | | | $0.10 | $0.35 |
|
|
50
51
|
|
|
51
52
|
Model availability, capabilities, context windows, and pricing are sourced from [models.dev](https://models.dev) and may change.
|
|
52
53
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# Kilo Gateway
|
|
6
6
|
|
|
7
|
-
Access
|
|
7
|
+
Access 392 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,12 +42,12 @@ for await (const chunk of stream) {
|
|
|
42
42
|
| `kilo/~anthropic/claude-haiku-latest` | 1.0M | | | | | | $0.10 | $0.50 |
|
|
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.
|
|
46
|
-
| `kilo/~deepseek/deepseek-pro-latest` | 1.0M | | | | | | $0.
|
|
45
|
+
| `kilo/~deepseek/deepseek-flash-latest` | 1.0M | | | | | | $0.01 | $0.72 |
|
|
46
|
+
| `kilo/~deepseek/deepseek-pro-latest` | 1.0M | | | | | | $0.13 | $8 |
|
|
47
47
|
| `kilo/~deepseek/deepseek-v4-flash-latest` | 1.0M | | | | | | $0.01 | $0.58 |
|
|
48
48
|
| `kilo/~google/gemini-flash-latest` | 1.0M | | | | | | $0.75 | $4 |
|
|
49
49
|
| `kilo/~google/gemini-pro-latest` | 1.0M | | | | | | $2 | $10 |
|
|
50
|
-
| `kilo/~moonshotai/kimi-latest` | 1.0M | | | | | | $0.
|
|
50
|
+
| `kilo/~moonshotai/kimi-latest` | 1.0M | | | | | | $0.32 | $24 |
|
|
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 |
|
|
@@ -55,8 +55,8 @@ for await (const chunk of stream) {
|
|
|
55
55
|
| `kilo/~openai/gpt-terra-latest` | 1.1M | | | | | | $2 | $12 |
|
|
56
56
|
| `kilo/~unbiased/pareto-latest` | 262K | | | | | | $3 | $8 |
|
|
57
57
|
| `kilo/~x-ai/grok-latest` | 500K | | | | | | $2 | $6 |
|
|
58
|
-
| `kilo/~z-ai/glm-flash-latest` | 1.0M | | | | | | $0.
|
|
59
|
-
| `kilo/~z-ai/glm-latest` | 1.0M | | | | | | $0.
|
|
58
|
+
| `kilo/~z-ai/glm-flash-latest` | 1.0M | | | | | | $0.03 | $0.68 |
|
|
59
|
+
| `kilo/~z-ai/glm-latest` | 1.0M | | | | | | $0.06 | $4 |
|
|
60
60
|
| `kilo/aion-labs/aion-2.0` | 131K | | | | | | $0.80 | $2 |
|
|
61
61
|
| `kilo/aion-labs/aion-3.0` | 131K | | | | | | $3 | $6 |
|
|
62
62
|
| `kilo/aion-labs/aion-3.0-mini` | 131K | | | | | | $0.70 | $1 |
|
|
@@ -80,7 +80,6 @@ for await (const chunk of stream) {
|
|
|
80
80
|
| `kilo/anthropic/claude-opus-4.8` | 1.0M | | | | | | $5 | $25 |
|
|
81
81
|
| `kilo/anthropic/claude-opus-5` | 1.0M | | | | | | $5 | $25 |
|
|
82
82
|
| `kilo/anthropic/claude-opus-5.5` | 1.0M | | | | | | $4 | $20 |
|
|
83
|
-
| `kilo/anthropic/claude-sonnet-4` | 200K | | | | | | $3 | $15 |
|
|
84
83
|
| `kilo/anthropic/claude-sonnet-4.5` | 1.0M | | | | | | $3 | $15 |
|
|
85
84
|
| `kilo/anthropic/claude-sonnet-4.6` | 1.0M | | | | | | $3 | $15 |
|
|
86
85
|
| `kilo/anthropic/claude-sonnet-5` | 1.0M | | | | | | $2 | $10 |
|
|
@@ -143,7 +142,7 @@ for await (const chunk of stream) {
|
|
|
143
142
|
| `kilo/google/gemma-3-27b-it` | 131K | | | | | | $0.08 | $0.16 |
|
|
144
143
|
| `kilo/google/gemma-3-4b-it` | 131K | | | | | | $0.04 | $0.05 |
|
|
145
144
|
| `kilo/google/gemma-4-26b-a4b-it` | 262K | | | | | | $0.04 | $0.22 |
|
|
146
|
-
| `kilo/google/gemma-4-31b-it` | 262K | | | | | | $0.
|
|
145
|
+
| `kilo/google/gemma-4-31b-it` | 262K | | | | | | $0.10 | $0.34 |
|
|
147
146
|
| `kilo/google/lyria-3-clip-preview` | 1.0M | | | | | | — | — |
|
|
148
147
|
| `kilo/google/lyria-3-pro-preview` | 1.0M | | | | | | — | — |
|
|
149
148
|
| `kilo/gryphe/mythomax-l2-13b` | 4K | | | | | | $0.08 | $0.11 |
|
|
@@ -179,6 +178,7 @@ for await (const chunk of stream) {
|
|
|
179
178
|
| `kilo/meta/muse-spark-1.2-contributor` | 1.0M | | | | | | $0.10 | $0.20 |
|
|
180
179
|
| `kilo/meta/muse-spark-1.3` | 1.0M | | | | | | $1 | $4 |
|
|
181
180
|
| `kilo/meta/muse-spark-1.3-contributor` | 1.0M | | | | | | $0.10 | $0.20 |
|
|
181
|
+
| `kilo/meta/muse-spark-open` | 1.0M | | | | | | $1 | $4 |
|
|
182
182
|
| `kilo/meta/muse-wonder` | 1.0M | | | | | | $4 | $20 |
|
|
183
183
|
| `kilo/microsoft/phi-4` | 16K | | | | | | $0.07 | $0.14 |
|
|
184
184
|
| `kilo/microsoft/wizardlm-2-8x22b` | 66K | | | | | | $0.62 | $0.62 |
|
|
@@ -207,9 +207,11 @@ for await (const chunk of stream) {
|
|
|
207
207
|
| `kilo/mistralai/mistral-small-24b-instruct-2501` | 33K | | | | | | $0.05 | $0.08 |
|
|
208
208
|
| `kilo/mistralai/mistral-small-2603` | 262K | | | | | | $0.15 | $0.60 |
|
|
209
209
|
| `kilo/mistralai/mistral-small-3.1-24b-instruct` | 128K | | | | | | $0.35 | $0.56 |
|
|
210
|
-
| `kilo/mistralai/mistral-small-3.2-24b-instruct` |
|
|
210
|
+
| `kilo/mistralai/mistral-small-3.2-24b-instruct` | 256K | | | | | | $0.10 | $0.30 |
|
|
211
211
|
| `kilo/mistralai/mixtral-8x22b-instruct` | 66K | | | | | | $2 | $6 |
|
|
212
212
|
| `kilo/mistralai/voxtral-small-24b-2507` | 33K | | | | | | $0.10 | $0.30 |
|
|
213
|
+
| `kilo/moondream/moondream3-preview` | 32K | | | | | | $0.30 | $3 |
|
|
214
|
+
| `kilo/moondream/moondream3.1-9b-a2b` | 32K | | | | | | $0.30 | $3 |
|
|
213
215
|
| `kilo/moonshotai/kimi-k2` | 131K | | | | | | $0.57 | $2 |
|
|
214
216
|
| `kilo/moonshotai/kimi-k2-0905` | 262K | | | | | | $0.60 | $3 |
|
|
215
217
|
| `kilo/moonshotai/kimi-k2-thinking` | 262K | | | | | | $0.60 | $3 |
|
|
@@ -234,6 +236,8 @@ for await (const chunk of stream) {
|
|
|
234
236
|
| `kilo/nvidia/nemotron-3.5-content-safety:free` | 128K | | | | | | — | — |
|
|
235
237
|
| `kilo/nvidia/nemotron-3.5-lightning` | 262K | | | | | | $0.03 | $0.12 |
|
|
236
238
|
| `kilo/nvidia/nemotron-3.5-lightning:free` | 1.0M | | | | | | — | — |
|
|
239
|
+
| `kilo/nvidia/nemotron-3.5-super-vl` | 262K | | | | | | $0.10 | $0.40 |
|
|
240
|
+
| `kilo/nvidia/nemotron-3.5-super-vl:free` | 1.0M | | | | | | — | — |
|
|
237
241
|
| `kilo/openai/gpt-3.5-turbo` | 16K | | | | | | $0.50 | $2 |
|
|
238
242
|
| `kilo/openai/gpt-3.5-turbo-0613` | 4K | | | | | | $1 | $2 |
|
|
239
243
|
| `kilo/openai/gpt-3.5-turbo-16k` | 16K | | | | | | $3 | $4 |
|
|
@@ -379,21 +383,19 @@ for await (const chunk of stream) {
|
|
|
379
383
|
| `kilo/stepfun/step-3.5-flash` | 262K | | | | | | $0.10 | $0.30 |
|
|
380
384
|
| `kilo/stepfun/step-3.7-flash` | 256K | | | | | | $0.20 | $1 |
|
|
381
385
|
| `kilo/stepfun/step-5-preview` | 1.0M | | | | | | $1 | $3 |
|
|
382
|
-
| `kilo/stepfun/step-5-preview-free` | 1.0M | | | | | | — | — |
|
|
383
386
|
| `kilo/tencent/hunyuan-a13b-instruct` | 131K | | | | | | $0.14 | $0.57 |
|
|
384
387
|
| `kilo/tencent/hy-mt2-1.8b` | 8K | | | | | | $0.04 | $0.18 |
|
|
385
388
|
| `kilo/tencent/hy-mt2-30b-a3b` | 8K | | | | | | $0.07 | $0.29 |
|
|
386
389
|
| `kilo/tencent/hy-mt2-7b` | 8K | | | | | | $0.07 | $0.29 |
|
|
387
|
-
| `kilo/tencent/hy3` | 262K | | | | | | $0.
|
|
390
|
+
| `kilo/tencent/hy3` | 262K | | | | | | $0.08 | $0.33 |
|
|
388
391
|
| `kilo/tencent/hy3-preview` | 262K | | | | | | $0.18 | $0.60 |
|
|
389
|
-
| `kilo/tencent/hy4-preview` | 1.0M | | | | | | $0.
|
|
392
|
+
| `kilo/tencent/hy4-preview` | 1.0M | | | | | | $0.75 | $2 |
|
|
390
393
|
| `kilo/thedrummer/cydonia-24b-v4.1` | 131K | | | | | | $0.30 | $0.50 |
|
|
391
394
|
| `kilo/thedrummer/skyfall-36b-v2` | 33K | | | | | | $0.55 | $0.80 |
|
|
392
395
|
| `kilo/thedrummer/unslopnemo-12b` | 1.0M | | | | | | $0.40 | $0.40 |
|
|
393
396
|
| `kilo/thinkingmachines/inkling` | 524K | | | | | | $0.95 | $4 |
|
|
394
397
|
| `kilo/thinkingmachines/inkling-small` | 524K | | | | | | $0.45 | $1 |
|
|
395
398
|
| `kilo/thinkingmachines/inkling-small:free` | 1.0M | | | | | | — | — |
|
|
396
|
-
| `kilo/unbiased/pareto-26.10-preview` | 1.0M | | | | | | $0.80 | $3 |
|
|
397
399
|
| `kilo/unbiased/pareto-26.9` | 262K | | | | | | $3 | $8 |
|
|
398
400
|
| `kilo/undi95/remm-slerp-l2-13b` | 6K | | | | | | $0.35 | $0.65 |
|
|
399
401
|
| `kilo/upstage/solar-mini4` | 524K | | | | | | $0.10 | $0.40 |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# NanoGPT
|
|
6
6
|
|
|
7
|
-
Access
|
|
7
|
+
Access 615 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
|
|
|
@@ -49,6 +49,7 @@ for await (const chunk of stream) {
|
|
|
49
49
|
| `nano-gpt/aion-labs/aion-3.5` | 262K | | | | | | $3 | $6 |
|
|
50
50
|
| `nano-gpt/aion-labs/aion-3.5-mini` | 262K | | | | | | $0.70 | $1 |
|
|
51
51
|
| `nano-gpt/aion-labs/aion-rp-llama-3.1-8b` | 33K | | | | | | $0.80 | $2 |
|
|
52
|
+
| `nano-gpt/aisingapore/Gemma-SEA-LION-v4-27B-IT` | 131K | | | | | | $0.24 | $0.48 |
|
|
52
53
|
| `nano-gpt/amazon/nova-2-lite-v1` | 1.0M | | | | | | $0.51 | $4 |
|
|
53
54
|
| `nano-gpt/amazon/nova-lite-v1` | 300K | | | | | | $0.06 | $0.24 |
|
|
54
55
|
| `nano-gpt/amazon/nova-pro-v1` | 300K | | | | | | $0.80 | $3 |
|
|
@@ -129,7 +130,7 @@ for await (const chunk of stream) {
|
|
|
129
130
|
| `nano-gpt/deepseek-reasoner` | 64K | | | | | | $0.40 | $2 |
|
|
130
131
|
| `nano-gpt/deepseek-reasoner-cheaper` | 128K | | | | | | $0.40 | $2 |
|
|
131
132
|
| `nano-gpt/deepseek-v3-0324` | 128K | | | | | | $0.20 | $0.77 |
|
|
132
|
-
| `nano-gpt/deepseek/deepseek-latest` | 1.0M | | | | | | $
|
|
133
|
+
| `nano-gpt/deepseek/deepseek-latest` | 1.0M | | | | | | $1 | $3 |
|
|
133
134
|
| `nano-gpt/deepseek/deepseek-v3.2` | 163K | | | | | | $0.21 | $0.31 |
|
|
134
135
|
| `nano-gpt/deepseek/deepseek-v3.2:thinking` | 163K | | | | | | $0.21 | $0.31 |
|
|
135
136
|
| `nano-gpt/deepseek/deepseek-v4-flash` | 1.0M | | | | | | $0.14 | $0.28 |
|
|
@@ -139,11 +140,10 @@ for await (const chunk of stream) {
|
|
|
139
140
|
| `nano-gpt/deepseek/deepseek-v4-flash-0731:thinking` | 1.0M | | | | | | $0.05 | $0.16 |
|
|
140
141
|
| `nano-gpt/deepseek/deepseek-v4-flash-latest` | 1.0M | | | | | | $0.05 | $0.16 |
|
|
141
142
|
| `nano-gpt/deepseek/deepseek-v4-flash-vision-exp` | 1.0M | | | | | | $0.22 | $0.66 |
|
|
142
|
-
| `nano-gpt/deepseek/deepseek-v4-flash-vision-exp-cybersecurity` | 1.0M | | | | | | $0.15 | $0.60 |
|
|
143
143
|
| `nano-gpt/deepseek/deepseek-v4-flash:thinking` | 1.0M | | | | | | $0.14 | $0.28 |
|
|
144
144
|
| `nano-gpt/deepseek/deepseek-v4-pro` | 1.0M | | | | | | $1 | $2 |
|
|
145
|
-
| `nano-gpt/deepseek/deepseek-v4-pro-0813` | 1.0M | | | | | | $
|
|
146
|
-
| `nano-gpt/deepseek/deepseek-v4-pro-0813:thinking` | 1.0M | | | | | | $
|
|
145
|
+
| `nano-gpt/deepseek/deepseek-v4-pro-0813` | 1.0M | | | | | | $1 | $3 |
|
|
146
|
+
| `nano-gpt/deepseek/deepseek-v4-pro-0813:thinking` | 1.0M | | | | | | $1 | $3 |
|
|
147
147
|
| `nano-gpt/deepseek/deepseek-v4-pro:thinking` | 1.0M | | | | | | $1 | $2 |
|
|
148
148
|
| `nano-gpt/deepseek/deepseek-v4.1-flash` | 1.0M | | | | | | $0.13 | $0.52 |
|
|
149
149
|
| `nano-gpt/deepseek/deepseek-v4.1-flash:thinking` | 1.0M | | | | | | $0.13 | $0.52 |
|
|
@@ -338,8 +338,8 @@ for await (const chunk of stream) {
|
|
|
338
338
|
| `nano-gpt/moonshotai/kimi-k2-thinking` | 262K | | | | | | $0.60 | $3 |
|
|
339
339
|
| `nano-gpt/moonshotai/kimi-k2.5` | 262K | | | | | | $0.38 | $2 |
|
|
340
340
|
| `nano-gpt/moonshotai/kimi-k2.5:thinking` | 262K | | | | | | $0.38 | $2 |
|
|
341
|
-
| `nano-gpt/moonshotai/kimi-k2.6` | 262K | | | | | | $0.
|
|
342
|
-
| `nano-gpt/moonshotai/kimi-k2.6:thinking` | 262K | | | | | | $0.
|
|
341
|
+
| `nano-gpt/moonshotai/kimi-k2.6` | 262K | | | | | | $0.50 | $3 |
|
|
342
|
+
| `nano-gpt/moonshotai/kimi-k2.6:thinking` | 262K | | | | | | $0.50 | $3 |
|
|
343
343
|
| `nano-gpt/moonshotai/kimi-k2.7-code` | 262K | | | | | | $0.67 | $3 |
|
|
344
344
|
| `nano-gpt/moonshotai/kimi-k2.7-code-highspeed` | 262K | | | | | | $2 | $8 |
|
|
345
345
|
| `nano-gpt/moonshotai/kimi-k3` | 1.0M | | | | | | $2 | $10 |
|
|
@@ -365,6 +365,7 @@ for await (const chunk of stream) {
|
|
|
365
365
|
| `nano-gpt/nvidia/nemotron-3.5-content-safety` | 131K | | | | | | $0.05 | $0.15 |
|
|
366
366
|
| `nano-gpt/nvidia/nemotron-3.5-lightning` | 1.0M | | | | | | $0.05 | $0.20 |
|
|
367
367
|
| `nano-gpt/nvidia/nemotron-3.5-lightning:thinking` | 1.0M | | | | | | $0.05 | $0.20 |
|
|
368
|
+
| `nano-gpt/nvidia/nemotron-3.5-super-vl` | 262K | | | | | | $0.15 | $0.50 |
|
|
368
369
|
| `nano-gpt/openai/gpt-3.5-turbo` | 16K | | | | | | $0.50 | $2 |
|
|
369
370
|
| `nano-gpt/openai/gpt-4-turbo` | 128K | | | | | | $10 | $30 |
|
|
370
371
|
| `nano-gpt/openai/gpt-4.1` | 1.0M | | | | | | $2 | $8 |
|
|
@@ -513,6 +514,8 @@ for await (const chunk of stream) {
|
|
|
513
514
|
| `nano-gpt/Qwen3.5-27B-BlueStar-v3-Derestricted` | 262K | | | | | | $0.31 | $0.31 |
|
|
514
515
|
| `nano-gpt/Qwen3.5-27B-Queen-Derestricted` | 262K | | | | | | $0.31 | $0.31 |
|
|
515
516
|
| `nano-gpt/ReadyArt/MS3.2-The-Omega-Directive-24B-Unslop-v2.0` | 33K | | | | | | $0.50 | $0.50 |
|
|
517
|
+
| `nano-gpt/reka/reka-edge-2603` | 16K | | | | | | $0.10 | $0.10 |
|
|
518
|
+
| `nano-gpt/reka/reka-flash-3` | 66K | | | | | | $0.10 | $0.21 |
|
|
516
519
|
| `nano-gpt/sakana/fugu-max` | 1.0M | | | | | | $2 | $6 |
|
|
517
520
|
| `nano-gpt/sakana/fugu-ultra` | 1.0M | | | | | | $5 | $30 |
|
|
518
521
|
| `nano-gpt/sakana/fugu-ultra-v1.1` | 1.0M | | | | | | $5 | $30 |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# Nebius Token Factory
|
|
6
6
|
|
|
7
|
-
Access
|
|
7
|
+
Access 23 Nebius Token Factory models through Mastra's model router. Authentication is handled automatically using the `NEBIUS_API_KEY` environment variable.
|
|
8
8
|
|
|
9
9
|
Learn more in the [Nebius Token Factory documentation](https://docs.tokenfactory.nebius.com/).
|
|
10
10
|
|
|
@@ -43,6 +43,7 @@ for await (const chunk of stream) {
|
|
|
43
43
|
| `nebius/deepseek-ai/DeepSeek-V4-Pro-0813` | 979K | | | | | | $1 | $4 |
|
|
44
44
|
| `nebius/deepseek-ai/DeepSeek-V4.1-Flash` | 1.0M | | | | | | $0.30 | $1 |
|
|
45
45
|
| `nebius/google/gemma-3-27b-it` | 110K | | | | | | $0.10 | $0.30 |
|
|
46
|
+
| `nebius/meta-models/muse-spark-open` | 1.0M | | | | | | $1 | $4 |
|
|
46
47
|
| `nebius/MiniMaxAI/MiniMax-M3` | 1.0M | | | | | | $0.30 | $1 |
|
|
47
48
|
| `nebius/moonshotai/Kimi-K2.7-Code` | 262K | | | | | | $0.95 | $4 |
|
|
48
49
|
| `nebius/moonshotai/Kimi-K3` | 1.0M | | | | | | $3 | $15 |
|
|
@@ -50,6 +51,7 @@ for await (const chunk of stream) {
|
|
|
50
51
|
| `nebius/nvidia/Nemotron-3_5-Lightning` | 1.0M | | | | | | $0.06 | $0.24 |
|
|
51
52
|
| `nebius/nvidia/nemotron-3-super-120b-a12b` | 262K | | | | | | $0.30 | $0.90 |
|
|
52
53
|
| `nebius/nvidia/Nemotron-3-Ultra-550b-a55b` | 1.0M | | | | | | $1 | $3 |
|
|
54
|
+
| `nebius/nvidia/Nemotron-3.5-Super-VL` | 1.0M | | | | | | $0.30 | $0.90 |
|
|
53
55
|
| `nebius/openai/gpt-oss-120b` | 131K | | | | | | $0.15 | $0.60 |
|
|
54
56
|
| `nebius/Qwen/Qwen3-235B-A22B-Instruct-2507` | 262K | | | | | | $0.20 | $0.60 |
|
|
55
57
|
| `nebius/Qwen/Qwen3-30B-A3B-Instruct-2507` | 262K | | | | | | $0.10 | $0.30 |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# Ollama Cloud
|
|
6
6
|
|
|
7
|
-
Access
|
|
7
|
+
Access 26 Ollama Cloud models through Mastra's model router. Authentication is handled automatically using the `OLLAMA_API_KEY` environment variable.
|
|
8
8
|
|
|
9
9
|
Learn more in the [Ollama Cloud documentation](https://docs.ollama.com/cloud).
|
|
10
10
|
|
|
@@ -59,6 +59,7 @@ for await (const chunk of stream) {
|
|
|
59
59
|
| `ollama-cloud/minimax-m3` | 512K | | | | | | $0.60 | $2 |
|
|
60
60
|
| `ollama-cloud/mistral-large-3:675b` | 262K | | | | | | $0.50 | $2 |
|
|
61
61
|
| `ollama-cloud/mistral-large-4` | 1.0M | | | | | | $1 | $4 |
|
|
62
|
+
| `ollama-cloud/muse-spark-open` | 1.0M | | | | | | $1 | $4 |
|
|
62
63
|
| `ollama-cloud/nemotron-3-nano:30b` | 1.0M | | | | | | $0.06 | $0.24 |
|
|
63
64
|
| `ollama-cloud/nemotron-3-super` | 262K | | | | | | $0.01 | $0.60 |
|
|
64
65
|
| `ollama-cloud/nemotron-3-ultra` | 262K | | | | | | $0.10 | $3 |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# OpenCode Go
|
|
6
6
|
|
|
7
|
-
Access
|
|
7
|
+
Access 31 OpenCode Go 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 Go documentation](https://opencode.ai/v2/docs/console/go/).
|
|
10
10
|
|
|
@@ -38,7 +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
|
-
| `opencode-go/cat-jam-free` |
|
|
41
|
+
| `opencode-go/cat-jam-free` | 1.0M | | | | | | — | — |
|
|
42
42
|
| `opencode-go/claude-haiku-5-5` | 1.0M | | | | | | $0.10 | $0.50 |
|
|
43
43
|
| `opencode-go/deepseek-v4-pro` | 1.0M | | | | | | $0.66 | $2 |
|
|
44
44
|
| `opencode-go/deepseek-v4.1-flash` | 1.0M | | | | | | $0.15 | $0.60 |
|
|
@@ -48,7 +48,6 @@ for await (const chunk of stream) {
|
|
|
48
48
|
| `opencode-go/glm-5.3-flash` | 1.0M | | | | | | $0.15 | $0.50 |
|
|
49
49
|
| `opencode-go/gpt-5.6-luna` | 1.1M | | | | | | $0.20 | $1 |
|
|
50
50
|
| `opencode-go/gpt-6-luna` | 1.1M | | | | | | $0.10 | $0.50 |
|
|
51
|
-
| `opencode-go/grok-4.6` | 500K | | | | | | $2 | $6 |
|
|
52
51
|
| `opencode-go/grok-4.7` | 500K | | | | | | $2 | $6 |
|
|
53
52
|
| `opencode-go/hy3` | 256K | | | | | | $0.14 | $0.58 |
|
|
54
53
|
| `opencode-go/hy4-preview` | 1.0M | | | | | | $0.83 | $3 |
|
|
@@ -60,7 +59,6 @@ for await (const chunk of stream) {
|
|
|
60
59
|
| `opencode-go/mimo-v2.5-pro` | 1.0M | | | | | | $0.43 | $0.87 |
|
|
61
60
|
| `opencode-go/mimo-v2.6-flash` | 1.0M | | | | | | $0.14 | $0.28 |
|
|
62
61
|
| `opencode-go/mimo-v2.6-pro` | 1.0M | | | | | | $0.43 | $0.87 |
|
|
63
|
-
| `opencode-go/minimax-m2.7` | 205K | | | | | | $0.30 | $1 |
|
|
64
62
|
| `opencode-go/minimax-m3` | 1.0M | | | | | | $0.30 | $1 |
|
|
65
63
|
| `opencode-go/muse-spark-1.2-contributor` | 1.0M | | | | | | $0.10 | $0.20 |
|
|
66
64
|
| `opencode-go/muse-spark-1.3-contributor` | 1.0M | | | | | | $0.10 | $0.20 |
|
|
@@ -68,7 +66,7 @@ for await (const chunk of stream) {
|
|
|
68
66
|
| `opencode-go/qwen3.8-flash` | 1.0M | | | | | | $0.15 | $0.47 |
|
|
69
67
|
| `opencode-go/qwen3.8-max` | 1.0M | | | | | | $2 | $6 |
|
|
70
68
|
| `opencode-go/space-bunny` | 1.0M | | | | | | $0.15 | $0.60 |
|
|
71
|
-
| `opencode-go/step-5-preview
|
|
69
|
+
| `opencode-go/step-5-preview` | 1.0M | | | | | | $1 | $3 |
|
|
72
70
|
|
|
73
71
|
Model availability, capabilities, context windows, and pricing are sourced from [models.dev](https://models.dev) and may change.
|
|
74
72
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# OpenCode
|
|
6
6
|
|
|
7
|
-
Access
|
|
7
|
+
Access 124 OpenCode 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 documentation](https://opencode.ai/v2/docs/console/models/).
|
|
10
10
|
|
|
@@ -39,7 +39,7 @@ for await (const chunk of stream) {
|
|
|
39
39
|
| Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
|
|
40
40
|
| ------------------------------------------ | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
41
41
|
| `opencode/big-pickle` | 200K | | | | | | — | — |
|
|
42
|
-
| `opencode/cat-jam-free` |
|
|
42
|
+
| `opencode/cat-jam-free` | 1.0M | | | | | | — | — |
|
|
43
43
|
| `opencode/claude-fable-5` | 1.0M | | | | | | $10 | $50 |
|
|
44
44
|
| `opencode/claude-fable-5-1` | 1.0M | | | | | | $10 | $50 |
|
|
45
45
|
| `opencode/claude-haiku-4-5` | 200K | | | | | | $1 | $5 |
|
|
@@ -116,12 +116,12 @@ for await (const chunk of stream) {
|
|
|
116
116
|
| `opencode/muse-spark-1.3-contributor-free` | 1.0M | | | | | | — | — |
|
|
117
117
|
| `opencode/nemotron-3-ultra-free` | 1.0M | | | | | | — | — |
|
|
118
118
|
| `opencode/nemotron-3.5-lightning-free` | 262K | | | | | | — | — |
|
|
119
|
+
| `opencode/nemotron-3.5-super-vl-free` | 1.0M | | | | | | — | — |
|
|
119
120
|
| `opencode/qwen3.5-plus` | 262K | | | | | | $0.20 | $1 |
|
|
120
121
|
| `opencode/qwen3.6-plus` | 262K | | | | | | $0.50 | $3 |
|
|
121
122
|
| `opencode/qwen3.8-flash` | 1.0M | | | | | | $0.15 | $0.47 |
|
|
122
123
|
| `opencode/qwen3.8-max` | 262K | | | | | | $2 | $6 |
|
|
123
124
|
| `opencode/space-bunny-free` | 1.0M | | | | | | — | — |
|
|
124
|
-
| `opencode/step-5-preview-free` | 1.0M | | | | | | — | — |
|
|
125
125
|
|
|
126
126
|
Model availability, capabilities, context windows, and pricing are sourced from [models.dev](https://models.dev) and may change.
|
|
127
127
|
|
|
@@ -47,6 +47,7 @@ for await (const chunk of stream) {
|
|
|
47
47
|
| `prime/anthropic/claude-opus-5.5` | 1.0M | | | | | | $4 | $20 |
|
|
48
48
|
| `prime/anthropic/claude-sonnet-4.6` | 1.0M | | | | | | $3 | $15 |
|
|
49
49
|
| `prime/anthropic/claude-sonnet-5` | 1.0M | | | | | | $2 | $10 |
|
|
50
|
+
| `prime/anthropic/claude-sonnet-5.5` | 1.0M | | | | | | $2 | $10 |
|
|
50
51
|
| `prime/deepseek/deepseek-v4-flash` | 1.0M | | | | | | $0.44 | $1 |
|
|
51
52
|
| `prime/deepseek/deepseek-v4-flash-0731` | 1.0M | | | | | | $0.44 | $1 |
|
|
52
53
|
| `prime/deepseek/deepseek-v4-pro` | 1.0M | | | | | | $2 | $4 |
|
|
@@ -76,7 +77,6 @@ for await (const chunk of stream) {
|
|
|
76
77
|
| `prime/openai/gpt-5-nano` | 400K | | | | | | $0.05 | $0.40 |
|
|
77
78
|
| `prime/openai/gpt-5.1` | 400K | | | | | | $1 | $10 |
|
|
78
79
|
| `prime/openai/gpt-5.2` | 400K | | | | | | $2 | $14 |
|
|
79
|
-
| `prime/openai/gpt-5.2-pro` | 400K | | | | | | $21 | $168 |
|
|
80
80
|
| `prime/openai/gpt-5.3-codex` | 400K | | | | | | $2 | $14 |
|
|
81
81
|
| `prime/openai/gpt-5.4` | 1.1M | | | | | | $3 | $15 |
|
|
82
82
|
| `prime/openai/gpt-5.4-mini` | 400K | | | | | | $0.75 | $5 |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# Requesty
|
|
6
6
|
|
|
7
|
-
Access
|
|
7
|
+
Access 176 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
|
|
|
@@ -182,6 +182,7 @@ for await (const chunk of stream) {
|
|
|
182
182
|
| `requesty/mistral-small-2603@eu` | 256K | | | | | | $0.17 | $0.66 |
|
|
183
183
|
| `requesty/muse-glimmer-30b` | 131K | | | | | | — | — |
|
|
184
184
|
| `requesty/muse-spark-1.3` | 1.0M | | | | | | $1 | $4 |
|
|
185
|
+
| `requesty/muse-spark-open` | 1.0M | | | | | | $1 | $4 |
|
|
185
186
|
| `requesty/muse-wonder-1.0` | 1.0M | | | | | | $4 | $20 |
|
|
186
187
|
| `requesty/nemotron-3-nano-omni` | 300K | | | | | | $0.06 | $0.24 |
|
|
187
188
|
| `requesty/nemotron-3-nano-omni-30b-a3b-reasoning` | 131K | | | | | | — | — |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# CoreWeave
|
|
6
6
|
|
|
7
|
-
Access
|
|
7
|
+
Access 21 CoreWeave models through Mastra's model router. Authentication is handled automatically using the `WANDB_API_KEY` environment variable.
|
|
8
8
|
|
|
9
9
|
Learn more in the [CoreWeave documentation](https://docs.wandb.ai).
|
|
10
10
|
|
|
@@ -36,28 +36,29 @@ for await (const chunk of stream) {
|
|
|
36
36
|
|
|
37
37
|
## Models
|
|
38
38
|
|
|
39
|
-
| Model
|
|
40
|
-
|
|
|
41
|
-
| `wandb/deepseek-ai/DeepSeek-V3.1`
|
|
42
|
-
| `wandb/deepseek-ai/DeepSeek-V4-Flash-0731`
|
|
43
|
-
| `wandb/deepseek-ai/DeepSeek-V4-Pro-0813`
|
|
44
|
-
| `wandb/deepseek-ai/DeepSeek-V4.1-Flash`
|
|
45
|
-
| `wandb/google/gemma-4-26B-A4B-it`
|
|
46
|
-
| `wandb/google/gemma-4-31B-it`
|
|
47
|
-
| `wandb/ibm-granite/granite-4.2-8b`
|
|
48
|
-
| `wandb/meta-llama/Llama-3.1-8B-Instruct`
|
|
49
|
-
| `wandb/meta-llama/Llama-3.3-70B-Instruct`
|
|
50
|
-
| `wandb/MiniMaxAI/MiniMax-M3`
|
|
51
|
-
| `wandb/moonshotai/Kimi-K2.6`
|
|
52
|
-
| `wandb/moonshotai/Kimi-K2.7-Code`
|
|
53
|
-
| `wandb/nvidia/NVIDIA-Nemotron-3-Ultra-550B-A55B`
|
|
54
|
-
| `wandb/nvidia/NVIDIA-Nemotron-3.5-Lightning-30B-A3B`
|
|
55
|
-
| `wandb/
|
|
56
|
-
| `wandb/openai/gpt-oss-
|
|
57
|
-
| `wandb/
|
|
58
|
-
| `wandb/Qwen/Qwen3.
|
|
59
|
-
| `wandb/
|
|
60
|
-
| `wandb/zai-org/GLM-5.
|
|
39
|
+
| Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
|
|
40
|
+
| ----------------------------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
41
|
+
| `wandb/deepseek-ai/DeepSeek-V3.1` | 161K | | | | | | $0.55 | $2 |
|
|
42
|
+
| `wandb/deepseek-ai/DeepSeek-V4-Flash-0731` | 262K | | | | | | $0.13 | $0.28 |
|
|
43
|
+
| `wandb/deepseek-ai/DeepSeek-V4-Pro-0813` | 1.0M | | | | | | $1 | $4 |
|
|
44
|
+
| `wandb/deepseek-ai/DeepSeek-V4.1-Flash` | 1.0M | | | | | | $0.15 | $0.65 |
|
|
45
|
+
| `wandb/google/gemma-4-26B-A4B-it` | 262K | | | | | | $0.10 | $0.30 |
|
|
46
|
+
| `wandb/google/gemma-4-31B-it` | 262K | | | | | | $0.10 | $0.34 |
|
|
47
|
+
| `wandb/ibm-granite/granite-4.2-8b` | 131K | | | | | | $0.10 | $0.15 |
|
|
48
|
+
| `wandb/meta-llama/Llama-3.1-8B-Instruct` | 131K | | | | | | $0.22 | $0.22 |
|
|
49
|
+
| `wandb/meta-llama/Llama-3.3-70B-Instruct` | 128K | | | | | | $0.71 | $0.71 |
|
|
50
|
+
| `wandb/MiniMaxAI/MiniMax-M3` | 262K | | | | | | $0.23 | $0.96 |
|
|
51
|
+
| `wandb/moonshotai/Kimi-K2.6` | 262K | | | | | | $0.65 | $3 |
|
|
52
|
+
| `wandb/moonshotai/Kimi-K2.7-Code` | 262K | | | | | | $0.71 | $4 |
|
|
53
|
+
| `wandb/nvidia/NVIDIA-Nemotron-3-Ultra-550B-A55B` | 262K | | | | | | $0.50 | $2 |
|
|
54
|
+
| `wandb/nvidia/NVIDIA-Nemotron-3.5-Lightning-30B-A3B` | 262K | | | | | | $0.07 | $0.20 |
|
|
55
|
+
| `wandb/nvidia/NVIDIA-Nemotron-3.5-Super-VL-120B-A12B` | 1.0M | | | | | | $0.15 | $0.75 |
|
|
56
|
+
| `wandb/openai/gpt-oss-120b` | 131K | | | | | | $0.03 | $0.17 |
|
|
57
|
+
| `wandb/openai/gpt-oss-20b` | 131K | | | | | | $0.03 | $0.13 |
|
|
58
|
+
| `wandb/Qwen/Qwen3.6-35B-A3B` | 262K | | | | | | $0.25 | $1 |
|
|
59
|
+
| `wandb/Qwen/Qwen3.8-27B` | 262K | | | | | | $0.40 | $3 |
|
|
60
|
+
| `wandb/zai-org/GLM-5.2` | 1.0M | | | | | | $0.62 | $2 |
|
|
61
|
+
| `wandb/zai-org/GLM-5.3-Flash` | 1.0M | | | | | | $0.15 | $0.50 |
|
|
61
62
|
|
|
62
63
|
Model availability, capabilities, context windows, and pricing are sourced from [models.dev](https://models.dev) and may change.
|
|
63
64
|
|
|
@@ -39,8 +39,6 @@ for await (const chunk of stream) {
|
|
|
39
39
|
| Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
|
|
40
40
|
| ------------------------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
41
41
|
| `xiaomi-token-plan-ams/mimo-v2-tts` | 8K | | | | | | — | — |
|
|
42
|
-
| `xiaomi-token-plan-ams/mimo-v2.5` | 1.0M | | | | | | — | — |
|
|
43
|
-
| `xiaomi-token-plan-ams/mimo-v2.5-pro` | 1.0M | | | | | | — | — |
|
|
44
42
|
| `xiaomi-token-plan-ams/mimo-v2.5-tts` | 8K | | | | | | — | — |
|
|
45
43
|
| `xiaomi-token-plan-ams/mimo-v2.5-tts-voiceclone` | 8K | | | | | | — | — |
|
|
46
44
|
| `xiaomi-token-plan-ams/mimo-v2.5-tts-voicedesign` | 8K | | | | | | — | — |
|
|
@@ -39,8 +39,6 @@ for await (const chunk of stream) {
|
|
|
39
39
|
| Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
|
|
40
40
|
| ------------------------------------------------ | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
41
41
|
| `xiaomi-token-plan-cn/mimo-v2-tts` | 8K | | | | | | — | — |
|
|
42
|
-
| `xiaomi-token-plan-cn/mimo-v2.5` | 1.0M | | | | | | — | — |
|
|
43
|
-
| `xiaomi-token-plan-cn/mimo-v2.5-pro` | 1.0M | | | | | | — | — |
|
|
44
42
|
| `xiaomi-token-plan-cn/mimo-v2.5-tts` | 8K | | | | | | — | — |
|
|
45
43
|
| `xiaomi-token-plan-cn/mimo-v2.5-tts-voiceclone` | 8K | | | | | | — | — |
|
|
46
44
|
| `xiaomi-token-plan-cn/mimo-v2.5-tts-voicedesign` | 8K | | | | | | — | — |
|
|
@@ -39,8 +39,6 @@ for await (const chunk of stream) {
|
|
|
39
39
|
| Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
|
|
40
40
|
| ------------------------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
41
41
|
| `xiaomi-token-plan-sgp/mimo-v2-tts` | 8K | | | | | | — | — |
|
|
42
|
-
| `xiaomi-token-plan-sgp/mimo-v2.5` | 1.0M | | | | | | — | — |
|
|
43
|
-
| `xiaomi-token-plan-sgp/mimo-v2.5-pro` | 1.0M | | | | | | — | — |
|
|
44
42
|
| `xiaomi-token-plan-sgp/mimo-v2.5-tts` | 8K | | | | | | — | — |
|
|
45
43
|
| `xiaomi-token-plan-sgp/mimo-v2.5-tts-voiceclone` | 8K | | | | | | — | — |
|
|
46
44
|
| `xiaomi-token-plan-sgp/mimo-v2.5-tts-voicedesign` | 8K | | | | | | — | — |
|
|
@@ -38,9 +38,6 @@ for await (const chunk of stream) {
|
|
|
38
38
|
|
|
39
39
|
| Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
|
|
40
40
|
| --------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
41
|
-
| `xiaomi/mimo-v2.5` | 1.0M | | | | | | $0.14 | $0.28 |
|
|
42
|
-
| `xiaomi/mimo-v2.5-pro` | 1.0M | | | | | | $0.43 | $0.87 |
|
|
43
|
-
| `xiaomi/mimo-v2.5-pro-ultraspeed` | 1.0M | | | | | | $1 | $3 |
|
|
44
41
|
| `xiaomi/mimo-v2.6-flash` | 1.0M | | | | | | $0.14 | $0.28 |
|
|
45
42
|
| `xiaomi/mimo-v2.6-pro` | 1.0M | | | | | | $0.43 | $0.87 |
|
|
46
43
|
| `xiaomi/mimo-v2.6-pro-ultraspeed` | 1.0M | | | | | | $4 | $9 |
|
|
@@ -1287,7 +1287,7 @@ Use `--url` and `--header` when you need to override another target or its crede
|
|
|
1287
1287
|
|
|
1288
1288
|
### Factory commands
|
|
1289
1289
|
|
|
1290
|
-
Use `mastra api factory` to manage Factory projects, work items, decisions, attention items, queue health
|
|
1290
|
+
Use `mastra api factory` to manage Factory projects, work items, decisions, attention items, and queue health. These commands use the same JSON input, output, authentication, headers, timeout, and target resolution as other `mastra api` commands.
|
|
1291
1291
|
|
|
1292
1292
|
List the Factory projects available to the current organization:
|
|
1293
1293
|
|
|
@@ -118,6 +118,33 @@ Merge `changes.traces` by `traceId`, retain `changes.deltaCursor`, and continue
|
|
|
118
118
|
|
|
119
119
|
See [Delta polling](https://mastra.ai/reference/observability/tracing/trace-query) for bootstrap behavior, cursor lifetime, retention, and a complete polling loop.
|
|
120
120
|
|
|
121
|
+
### Aggregate traces
|
|
122
|
+
|
|
123
|
+
`aggregateTraces()` groups the traces selected by a time range and optional `where` predicate, and returns one row per group. It accepts the same predicates as `queryTraces()`.
|
|
124
|
+
|
|
125
|
+
```typescript
|
|
126
|
+
const { capabilities } = await mastraClient.getObservabilityCapabilities()
|
|
127
|
+
|
|
128
|
+
if (capabilities.traceAggregate) {
|
|
129
|
+
const { rows, truncated } = await mastraClient.aggregateTraces({
|
|
130
|
+
timeRange: {
|
|
131
|
+
from: '2026-08-01T00:00:00.000Z',
|
|
132
|
+
to: '2026-08-08T00:00:00.000Z',
|
|
133
|
+
},
|
|
134
|
+
where: { op: 'eq', left: { path: 'environment' }, right: { literal: 'production' } },
|
|
135
|
+
groupBy: ['entityName'],
|
|
136
|
+
interval: '1d',
|
|
137
|
+
measures: ['count', 'errorRate', 'duration.p95', 'cost.sum'],
|
|
138
|
+
orderBy: { field: 'count', direction: 'desc' },
|
|
139
|
+
limit: 10,
|
|
140
|
+
})
|
|
141
|
+
}
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
Each row has `dimensions` keyed by `groupBy` field, `measures` keyed by measure name, a `bucket` timestamp when `interval` is set, and `cost` coverage when a cost measure is requested. `truncated` is `true` when more groups matched than `limit`.
|
|
145
|
+
|
|
146
|
+
Check `capabilities.traceAggregate` before calling. Unlike `traceQuery`, a missing value means the server doesn't support aggregation. The client retries server errors like `queryTraces()` but doesn't retry `422` validation errors.
|
|
147
|
+
|
|
121
148
|
### Discover trace-query fields and values
|
|
122
149
|
|
|
123
150
|
`getTraceQueryFields()` returns canonical query fields and observed top-level string metadata fields for one predicate scope. The response includes each field's value kind, supported operators, and whether value suggestions are available.
|
|
@@ -136,6 +163,8 @@ const fields = await mastraClient.getTraceQueryFields({
|
|
|
136
163
|
})
|
|
137
164
|
```
|
|
138
165
|
|
|
166
|
+
For the `trace` scope on a server that supports aggregation, the response also includes `aggregate`: the `dimensions` you can pass to `groupBy` and the `measures` you can request. Every observed metadata field is also a dimension, and `countDistinct.<field>` accepts any dimension or `traceId`.
|
|
167
|
+
|
|
139
168
|
Use the exact local path from the response with the same scope. For example, `model` belongs inside a `spans.some` or `spans.none` predicate. A field picker can fetch the `trace` and `spans` scopes in parallel.
|
|
140
169
|
|
|
141
170
|
Call `getTraceQueryValues()` only after selecting a field with `valueSuggestions: true`:
|
|
@@ -805,8 +805,9 @@ interface ProcessorRunAttributes {
|
|
|
805
805
|
/**
|
|
806
806
|
* Milliseconds spent inside `processOutputStream`, summed across every
|
|
807
807
|
* chunk. Only set on output stream processor spans. The span's own duration
|
|
808
|
-
* covers the
|
|
809
|
-
* separates a slow processor from
|
|
808
|
+
* covers its step, from the first chunk to the step's end with model latency
|
|
809
|
+
* and tool calls included, so this is what separates a slow processor from
|
|
810
|
+
* the rest of the step.
|
|
810
811
|
*/
|
|
811
812
|
hookDurationMs?: number
|
|
812
813
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/mcp-docs-server",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.9-alpha.1",
|
|
4
4
|
"description": "MCP server for accessing Mastra.ai documentation, changelogs, and news.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
"@mastra/mcp-legacy": "npm:@mastra/mcp@^1.18.0",
|
|
27
27
|
"local-pkg": "^1.1.2",
|
|
28
28
|
"zod": "^4.6.4",
|
|
29
|
-
"@mastra/
|
|
30
|
-
"@mastra/
|
|
29
|
+
"@mastra/core": "1.78.1-alpha.0",
|
|
30
|
+
"@mastra/mcp": "^2.4.2-alpha.0"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@hono/node-server": "^2.0.0",
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
"tsx": "^4.23.1",
|
|
44
44
|
"typescript": "^7.0.2",
|
|
45
45
|
"vitest": "4.1.11",
|
|
46
|
-
"@internal/lint": "0.0.
|
|
47
|
-
"@internal/types-builder": "0.0.
|
|
48
|
-
"@mastra/core": "1.78.
|
|
46
|
+
"@internal/lint": "0.0.144",
|
|
47
|
+
"@internal/types-builder": "0.0.119",
|
|
48
|
+
"@mastra/core": "1.78.1-alpha.0"
|
|
49
49
|
},
|
|
50
50
|
"homepage": "https://mastra.ai",
|
|
51
51
|
"repository": {
|