@mastra/mcp-docs-server 1.3.10-alpha.7 → 1.3.10-alpha.8
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/docs/channels.md +15 -0
- package/.docs/docs/harness/schedules.md +2 -0
- package/.docs/docs/mastra-platform/server.md +10 -6
- package/.docs/docs/mastra-platform/studio.md +1 -1
- package/.docs/docs/observability/integrations/exporters/mastra-storage.md +2 -1
- package/.docs/docs/workflows/agents-and-tools.md +6 -1
- package/.docs/docs/workflows/scheduled-workflows.md +6 -2
- package/.docs/integrations/voice/speechify.md +23 -10
- package/.docs/models/gateways/merge-gateway.md +2 -1
- package/.docs/models/gateways/neon.md +2 -1
- package/.docs/models/gateways/netlify.md +1 -2
- package/.docs/models/gateways/openrouter.md +2 -2
- package/.docs/models/gateways/vercel.md +3 -1
- package/.docs/models/index.md +1 -1
- package/.docs/models/providers/aimlapi.md +2 -1
- package/.docs/models/providers/commandcode.md +2 -1
- package/.docs/models/providers/edenai.md +3 -1
- package/.docs/models/providers/empiriolabs.md +4 -4
- package/.docs/models/providers/huggingface.md +2 -1
- package/.docs/models/providers/inceptron.md +4 -4
- package/.docs/models/providers/kilo.md +15 -15
- package/.docs/models/providers/llmgateway-providers.md +4 -3
- package/.docs/models/providers/llmgateway.md +3 -2
- package/.docs/models/providers/lowrouter.md +2 -1
- package/.docs/models/providers/nano-gpt.md +21 -18
- package/.docs/models/providers/nearai.md +2 -1
- package/.docs/models/providers/openai.md +2 -1
- package/.docs/models/providers/requesty.md +3 -1
- package/.docs/models/providers/wandb.md +2 -2
- package/.docs/reference/agents/channels.md +3 -1
- package/.docs/reference/channels/slack-provider.md +2 -0
- package/.docs/reference/client-js/observability.md +13 -14
- package/.docs/reference/code-sdk/mount-agent-controller.md +1 -1
- package/.docs/reference/core/mastra-model-gateway.md +5 -0
- package/.docs/reference/observability/metrics/automatic-metrics.md +10 -8
- package/.docs/reference/observability/tracing/exporters/mastra-platform-exporter.md +4 -0
- package/.docs/reference/observability/tracing/exporters/mastra-storage-exporter.md +4 -0
- package/.docs/reference/observability/tracing/interfaces.md +21 -1
- package/.docs/reference/processors/classifier-processor.md +1 -1
- package/.docs/reference/processors/processor-interface.md +1 -1
- package/.docs/reference/processors/stream-error-retry-processor.md +9 -5
- package/.docs/reference/schedules/overview.md +16 -0
- package/.docs/reference/storage/overview.md +26 -9
- package/.docs/reference/streaming/agents/streamLegacy.md +1 -1
- package/.docs/reference/streaming/workflows/resumeStream.md +1 -1
- package/.docs/reference/tools/document-chunker-tool.md +1 -1
- package/.docs/reference/vectors/astra.md +2 -0
- package/.docs/reference/vectors/azure-ai-search.md +1 -1
- package/.docs/reference/vectors/convex.md +1 -1
- package/.docs/reference/vectors/couchbase.md +12 -5
- package/.docs/reference/vectors/duckdb.md +5 -5
- package/.docs/reference/vectors/mongodb.md +5 -5
- package/.docs/reference/vectors/pinecone.md +1 -1
- package/.docs/reference/vectors/qdrant.md +1 -1
- package/.docs/reference/vectors/s3vectors.md +3 -0
- package/.docs/reference/vectors/upstash.md +8 -4
- package/.docs/reference/vectors/vectorize.md +4 -2
- package/.docs/reference/vectors/weaviate.md +1 -1
- package/.docs/reference/voice/voice.send.md +1 -1
- package/.docs/reference/workflows/run-methods/restart.md +1 -1
- package/.docs/reference/workflows/run-methods/resume.md +1 -1
- package/.docs/reference/workflows/run-methods/start.md +1 -1
- package/.docs/reference/workflows/run.md +2 -2
- package/.docs/reference/workflows/workflow-methods/dountil.md +1 -1
- package/.docs/reference/workspace/local-sandbox.md +3 -3
- package/.docs/reference/workspace/platform-sandbox.md +4 -2
- package/.docs/reference/workspace/workspace-class.md +11 -11
- package/package.json +5 -5
|
@@ -43,19 +43,19 @@ for await (const chunk of stream) {
|
|
|
43
43
|
| `kilo/~anthropic/claude-opus-latest` | 1.0M | | | | | | $4 | $20 |
|
|
44
44
|
| `kilo/~anthropic/claude-sonnet-latest` | 1.0M | | | | | | $2 | $10 |
|
|
45
45
|
| `kilo/~deepseek/deepseek-flash-latest` | 1.0M | | | | | | $0.02 | $1 |
|
|
46
|
-
| `kilo/~deepseek/deepseek-pro-latest` | 1.0M | | | | | | $0.
|
|
47
|
-
| `kilo/~deepseek/deepseek-v4-flash-latest` | 1.0M | | | | | | $0.
|
|
46
|
+
| `kilo/~deepseek/deepseek-pro-latest` | 1.0M | | | | | | $0.24 | $8 |
|
|
47
|
+
| `kilo/~deepseek/deepseek-v4-flash-latest` | 1.0M | | | | | | $0.05 | $0.16 |
|
|
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.15 | $20 |
|
|
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
|
-
| `kilo/~openai/gpt-terra-latest` | 1.1M | | | | | | $
|
|
55
|
+
| `kilo/~openai/gpt-terra-latest` | 1.1M | | | | | | $1 | $5 |
|
|
56
56
|
| `kilo/~unbiased/pareto-latest` | 1.0M | | | | | | $0.80 | $3 |
|
|
57
57
|
| `kilo/~x-ai/grok-latest` | 500K | | | | | | $2 | $6 |
|
|
58
|
-
| `kilo/~z-ai/glm-flash-latest` | 1.0M | | | | | | $0.
|
|
58
|
+
| `kilo/~z-ai/glm-flash-latest` | 1.0M | | | | | | $0.03 | $0.09 |
|
|
59
59
|
| `kilo/~z-ai/glm-latest` | 1.0M | | | | | | $0.07 | $1 |
|
|
60
60
|
| `kilo/aion-labs/aion-2.0` | 131K | | | | | | $0.80 | $2 |
|
|
61
61
|
| `kilo/aion-labs/aion-3.0` | 131K | | | | | | $3 | $6 |
|
|
@@ -101,7 +101,7 @@ for await (const chunk of stream) {
|
|
|
101
101
|
| `kilo/deepseek/deepseek-v3.1-terminus` | 164K | | | | | | $0.27 | $1 |
|
|
102
102
|
| `kilo/deepseek/deepseek-v3.2` | 131K | | | | | | $0.28 | $0.42 |
|
|
103
103
|
| `kilo/deepseek/deepseek-v3.2-exp` | 164K | | | | | | $0.27 | $0.41 |
|
|
104
|
-
| `kilo/deepseek/deepseek-v4-flash` | 1.0M | | | | | | $0.
|
|
104
|
+
| `kilo/deepseek/deepseek-v4-flash` | 1.0M | | | | | | $0.05 | $0.45 |
|
|
105
105
|
| `kilo/deepseek/deepseek-v4-flash-0731` | 1.0M | | | | | | $0.44 | $1 |
|
|
106
106
|
| `kilo/deepseek/deepseek-v4-flash-vision-exp` | 1.0M | | | | | | $0.22 | $0.65 |
|
|
107
107
|
| `kilo/deepseek/deepseek-v4-pro` | 1.0M | | | | | | $2 | $3 |
|
|
@@ -139,7 +139,6 @@ for await (const chunk of stream) {
|
|
|
139
139
|
| `kilo/google/lyria-3-clip-preview` | 1.0M | | | | | | — | — |
|
|
140
140
|
| `kilo/google/lyria-3-pro-preview` | 1.0M | | | | | | — | — |
|
|
141
141
|
| `kilo/gryphe/mythomax-l2-13b` | 4K | | | | | | $0.08 | $0.11 |
|
|
142
|
-
| `kilo/ibm-granite/granite-4.0-h-micro` | 131K | | | | | | $0.02 | $0.11 |
|
|
143
142
|
| `kilo/ibm-granite/granite-4.2-8b` | 131K | | | | | | $0.06 | $0.15 |
|
|
144
143
|
| `kilo/inception/mercury-2` | 128K | | | | | | $0.25 | $0.75 |
|
|
145
144
|
| `kilo/inception/mercury-2.5` | 260K | | | | | | $0.20 | $0.75 |
|
|
@@ -184,7 +183,7 @@ for await (const chunk of stream) {
|
|
|
184
183
|
| `kilo/minimax/minimax-m2.5` | 205K | | | | | | $0.27 | $0.95 |
|
|
185
184
|
| `kilo/minimax/minimax-m2.7` | 205K | | | | | | $0.30 | $1 |
|
|
186
185
|
| `kilo/minimax/minimax-m3` | 524K | | | | | | $0.22 | $0.88 |
|
|
187
|
-
| `kilo/minimax/minimax-m3.1-flash` | 1.0M | | | | | | $0.
|
|
186
|
+
| `kilo/minimax/minimax-m3.1-flash` | 1.0M | | | | | | $0.15 | $0.60 |
|
|
188
187
|
| `kilo/mistralai/codestral-2508` | 256K | | | | | | $0.30 | $0.90 |
|
|
189
188
|
| `kilo/mistralai/devstral-2512` | 262K | | | | | | $0.40 | $2 |
|
|
190
189
|
| `kilo/mistralai/ministral-14b-2512` | 262K | | | | | | $0.20 | $0.20 |
|
|
@@ -212,7 +211,7 @@ for await (const chunk of stream) {
|
|
|
212
211
|
| `kilo/moonshotai/kimi-k2-thinking` | 262K | | | | | | $0.60 | $3 |
|
|
213
212
|
| `kilo/moonshotai/kimi-k2.5` | 262K | | | | | | $0.60 | $3 |
|
|
214
213
|
| `kilo/moonshotai/kimi-k2.6` | 262K | | | | | | $0.65 | $3 |
|
|
215
|
-
| `kilo/moonshotai/kimi-k2.7-code` | 262K | | | | | | $0.
|
|
214
|
+
| `kilo/moonshotai/kimi-k2.7-code` | 262K | | | | | | $0.56 | $3 |
|
|
216
215
|
| `kilo/moonshotai/kimi-k3` | 1.0M | | | | | | $3 | $15 |
|
|
217
216
|
| `kilo/moonshotai/kimi-k3.1-pro` | 1.0M | | | | | | $2 | $10 |
|
|
218
217
|
| `kilo/morph/morph-v3-fast` | 262K | | | | | | $0.80 | $1 |
|
|
@@ -223,7 +222,6 @@ for await (const chunk of stream) {
|
|
|
223
222
|
| `kilo/nvidia/nemotron-3-nano-30b-a3b` | 262K | | | | | | $0.05 | $0.20 |
|
|
224
223
|
| `kilo/nvidia/nemotron-3-nano-omni-30b-a3b-reasoning:free` | 256K | | | | | | — | — |
|
|
225
224
|
| `kilo/nvidia/nemotron-3-super-120b-a12b` | 262K | | | | | | $0.08 | $0.45 |
|
|
226
|
-
| `kilo/nvidia/nemotron-3-super-120b-a12b:free` | 262K | | | | | | — | — |
|
|
227
225
|
| `kilo/nvidia/nemotron-3-ultra-550b-a55b` | 203K | | | | | | $0.40 | $2 |
|
|
228
226
|
| `kilo/nvidia/nemotron-3-ultra-550b-a55b:free` | 1.0M | | | | | | — | — |
|
|
229
227
|
| `kilo/nvidia/nemotron-3.5-content-safety` | 131K | | | | | | $0.20 | $0.20 |
|
|
@@ -281,6 +279,8 @@ for await (const chunk of stream) {
|
|
|
281
279
|
| `kilo/openai/gpt-6-sol-pro` | 1.1M | | | | | | $2 | $10 |
|
|
282
280
|
| `kilo/openai/gpt-6.1-sol` | 1.1M | | | | | | $2 | $10 |
|
|
283
281
|
| `kilo/openai/gpt-6.1-sol-pro` | 1.1M | | | | | | $2 | $10 |
|
|
282
|
+
| `kilo/openai/gpt-6.1-terra` | 1.1M | | | | | | $1 | $5 |
|
|
283
|
+
| `kilo/openai/gpt-6.1-terra-pro` | 1.1M | | | | | | $1 | $5 |
|
|
284
284
|
| `kilo/openai/gpt-audio` | 128K | | | | | | $3 | $10 |
|
|
285
285
|
| `kilo/openai/gpt-audio-mini` | 128K | | | | | | $0.60 | $2 |
|
|
286
286
|
| `kilo/openai/gpt-chat-latest` | 400K | | | | | | $5 | $30 |
|
|
@@ -351,7 +351,7 @@ for await (const chunk of stream) {
|
|
|
351
351
|
| `kilo/qwen/qwen3.8-max-prime` | 1.0M | | | | | | $4 | $12 |
|
|
352
352
|
| `kilo/qwen/qwen3.8-omni-flash` | 1.0M | | | | | | $0.15 | $0.47 |
|
|
353
353
|
| `kilo/recursive/flint-v1.0:free` | 262K | | | | | | — | — |
|
|
354
|
-
| `kilo/reflection/beam-1.0-501b-a23b` | 1.0M | | | | | | $0.
|
|
354
|
+
| `kilo/reflection/beam-1.0-501b-a23b` | 1.0M | | | | | | $0.25 | $1 |
|
|
355
355
|
| `kilo/reflection/beam-free` | 1.0M | | | | | | — | — |
|
|
356
356
|
| `kilo/rekaai/reka-edge` | 16K | | | | | | $0.10 | $0.10 |
|
|
357
357
|
| `kilo/rekaai/reka-flash-3` | 66K | | | | | | $0.10 | $0.20 |
|
|
@@ -378,9 +378,9 @@ for await (const chunk of stream) {
|
|
|
378
378
|
| `kilo/tencent/hy-mt2-1.8b` | 8K | | | | | | $0.04 | $0.18 |
|
|
379
379
|
| `kilo/tencent/hy-mt2-30b-a3b` | 8K | | | | | | $0.07 | $0.29 |
|
|
380
380
|
| `kilo/tencent/hy-mt2-7b` | 8K | | | | | | $0.07 | $0.29 |
|
|
381
|
-
| `kilo/tencent/hy3` | 262K | | | | | | $0.
|
|
381
|
+
| `kilo/tencent/hy3` | 262K | | | | | | $0.13 | $0.53 |
|
|
382
382
|
| `kilo/tencent/hy3-preview` | 262K | | | | | | $0.18 | $0.60 |
|
|
383
|
-
| `kilo/tencent/hy4-preview` | 1.0M | | | | | | $0.
|
|
383
|
+
| `kilo/tencent/hy4-preview` | 1.0M | | | | | | $0.83 | $3 |
|
|
384
384
|
| `kilo/thedrummer/cydonia-24b-v4.1` | 131K | | | | | | $0.30 | $0.50 |
|
|
385
385
|
| `kilo/thedrummer/skyfall-36b-v2` | 33K | | | | | | $0.55 | $0.80 |
|
|
386
386
|
| `kilo/thedrummer/unslopnemo-12b` | 1.0M | | | | | | $0.40 | $0.40 |
|
|
@@ -400,7 +400,7 @@ for await (const chunk of stream) {
|
|
|
400
400
|
| `kilo/x-ai/grok-4.6` | 500K | | | | | | $2 | $6 |
|
|
401
401
|
| `kilo/x-ai/grok-4.7` | 500K | | | | | | $2 | $6 |
|
|
402
402
|
| `kilo/x-ai/grok-build-0.1` | 256K | | | | | | $1 | $2 |
|
|
403
|
-
| `kilo/xiaomi/mimo-v2.6-flash` | 1.0M | | | | | | $0.
|
|
403
|
+
| `kilo/xiaomi/mimo-v2.6-flash` | 1.0M | | | | | | $0.10 | $0.28 |
|
|
404
404
|
| `kilo/xiaomi/mimo-v2.6-pro` | 1.0M | | | | | | $0.43 | $0.87 |
|
|
405
405
|
| `kilo/xiaomi/mimo-v2.6-pro-ultraspeed` | 1.0M | | | | | | $4 | $9 |
|
|
406
406
|
| `kilo/xingchen-agi/xing4.0-29b-a4b:free` | 262K | | | | | | — | — |
|
|
@@ -413,7 +413,7 @@ for await (const chunk of stream) {
|
|
|
413
413
|
| `kilo/z-ai/glm-4.7-flash` | 131K | | | | | | $0.06 | $0.40 |
|
|
414
414
|
| `kilo/z-ai/glm-5` | 203K | | | | | | $1 | $3 |
|
|
415
415
|
| `kilo/z-ai/glm-5-turbo` | 203K | | | | | | $1 | $4 |
|
|
416
|
-
| `kilo/z-ai/glm-5.1` |
|
|
416
|
+
| `kilo/z-ai/glm-5.1` | 200K | | | | | | $1 | $4 |
|
|
417
417
|
| `kilo/z-ai/glm-5.2` | 1.0M | | | | | | $1 | $4 |
|
|
418
418
|
| `kilo/z-ai/glm-5.3` | 1.0M | | | | | | $1 | $4 |
|
|
419
419
|
| `kilo/z-ai/glm-5.3-flash` | 1.0M | | | | | | $0.15 | $0.50 |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# LLM Gateway
|
|
6
6
|
|
|
7
|
-
Access
|
|
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
|
|
|
@@ -64,6 +64,7 @@ for await (const chunk of stream) {
|
|
|
64
64
|
| `llmgateway-providers/alibaba/qwen3.7-plus` | 984K | | | | | | $0.40 | $2 |
|
|
65
65
|
| `llmgateway-providers/alibaba/qwen3.8-flash` | 984K | | | | | | $0.15 | $0.47 |
|
|
66
66
|
| `llmgateway-providers/alibaba/qwen3.8-max` | 984K | | | | | | $2 | $6 |
|
|
67
|
+
| `llmgateway-providers/alibaba/qwen3.8-omni-flash` | 984K | | | | | | $0.15 | $0.47 |
|
|
67
68
|
| `llmgateway-providers/alibaba/qwen35-397b-a17b` | 262K | | | | | | $0.60 | $4 |
|
|
68
69
|
| `llmgateway-providers/anthropic/claude-fable-5` | 1.0M | | | | | | $10 | $50 |
|
|
69
70
|
| `llmgateway-providers/anthropic/claude-fable-5-1` | 1.0M | | | | | | $10 | $50 |
|
|
@@ -322,8 +323,6 @@ for await (const chunk of stream) {
|
|
|
322
323
|
| `llmgateway-providers/novita/qwen3-coder-480b-a35b-instruct` | 262K | | | | | | $0.38 | $2 |
|
|
323
324
|
| `llmgateway-providers/novita/qwen3-max` | 262K | | | | | | $0.84 | $3 |
|
|
324
325
|
| `llmgateway-providers/novita/qwen3-next-80b-a3b-instruct` | 131K | | | | | | $0.15 | $2 |
|
|
325
|
-
| `llmgateway-providers/novita/qwen3-vl-235b-a22b-instruct` | 131K | | | | | | $0.30 | $2 |
|
|
326
|
-
| `llmgateway-providers/novita/qwen3-vl-235b-a22b-thinking` | 131K | | | | | | $0.98 | $4 |
|
|
327
326
|
| `llmgateway-providers/novita/qwen3-vl-30b-a3b-instruct` | 131K | | | | | | $0.20 | $0.70 |
|
|
328
327
|
| `llmgateway-providers/novita/qwen3.5-122b-a10b` | 262K | | | | | | $0.40 | $3 |
|
|
329
328
|
| `llmgateway-providers/novita/qwen3.6-35b-a3b` | 262K | | | | | | $0.25 | $1 |
|
|
@@ -361,6 +360,7 @@ for await (const chunk of stream) {
|
|
|
361
360
|
| `llmgateway-providers/openai/gpt-6-luna` | 1.1M | | | | | | $0.10 | $0.50 |
|
|
362
361
|
| `llmgateway-providers/openai/gpt-6-sol` | 1.1M | | | | | | $2 | $10 |
|
|
363
362
|
| `llmgateway-providers/openai/gpt-6.1-sol` | 1.1M | | | | | | $2 | $10 |
|
|
363
|
+
| `llmgateway-providers/openai/gpt-6.1-terra` | 1.1M | | | | | | $1 | $5 |
|
|
364
364
|
| `llmgateway-providers/openai/gpt-live-transcribe` | — | | | | | | — | — |
|
|
365
365
|
| `llmgateway-providers/openai/gpt-transcribe` | — | | | | | | — | — |
|
|
366
366
|
| `llmgateway-providers/openai/o3` | 200K | | | | | | $2 | $8 |
|
|
@@ -388,6 +388,7 @@ for await (const chunk of stream) {
|
|
|
388
388
|
| `llmgateway-providers/sakana/fugu-max` | 1.0M | | | | | | $2 | $6 |
|
|
389
389
|
| `llmgateway-providers/sakana/fugu-ultra` | 1.0M | | | | | | $5 | $30 |
|
|
390
390
|
| `llmgateway-providers/sakana/fugu-ultra-v2.0` | 1.0M | | | | | | $5 | $30 |
|
|
391
|
+
| `llmgateway-providers/sciforium/deepseek-v4.1-flash-1017` | 1.1M | | | | | | $0.15 | $0.60 |
|
|
391
392
|
| `llmgateway-providers/scx-ai-gp/deepseek-v4.1-flash` | 1.0M | | | | | | $0.15 | $0.60 |
|
|
392
393
|
| `llmgateway-providers/scx-ai-gp/glm-5.2` | 1.0M | | | | | | $0.60 | $2 |
|
|
393
394
|
| `llmgateway-providers/scx-ai-gp/glm-5.2-fast` | 1.0M | | | | | | $2 | $7 |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# DevPass (LLM Gateway)
|
|
6
6
|
|
|
7
|
-
Access
|
|
7
|
+
Access 208 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
|
|
|
@@ -129,6 +129,7 @@ for await (const chunk of stream) {
|
|
|
129
129
|
| `llmgateway/gpt-6-luna` | 1.1M | | | | | | $0.10 | $0.50 |
|
|
130
130
|
| `llmgateway/gpt-6-sol` | 1.1M | | | | | | $2 | $10 |
|
|
131
131
|
| `llmgateway/gpt-6.1-sol` | 1.1M | | | | | | $2 | $10 |
|
|
132
|
+
| `llmgateway/gpt-6.1-terra` | 1.1M | | | | | | $1 | $5 |
|
|
132
133
|
| `llmgateway/gpt-live-transcribe` | — | | | | | | — | — |
|
|
133
134
|
| `llmgateway/gpt-oss-120b` | 131K | | | | | | $0.03 | $0.14 |
|
|
134
135
|
| `llmgateway/gpt-oss-20b` | 131K | | | | | | $0.04 | $0.19 |
|
|
@@ -214,7 +215,6 @@ for await (const chunk of stream) {
|
|
|
214
215
|
| `llmgateway/qwen3-max` | 262K | | | | | | $0.84 | $3 |
|
|
215
216
|
| `llmgateway/qwen3-next-80b-a3b-instruct` | 131K | | | | | | $0.15 | $2 |
|
|
216
217
|
| `llmgateway/qwen3-vl-235b-a22b-instruct` | 262K | | | | | | $0.20 | $0.88 |
|
|
217
|
-
| `llmgateway/qwen3-vl-235b-a22b-thinking` | 131K | | | | | | $0.98 | $4 |
|
|
218
218
|
| `llmgateway/qwen3-vl-30b-a3b-instruct` | 262K | | | | | | $0.15 | $0.60 |
|
|
219
219
|
| `llmgateway/qwen3-vl-plus` | 262K | | | | | | $0.20 | $2 |
|
|
220
220
|
| `llmgateway/qwen3.5-122b-a10b` | 262K | | | | | | $0.40 | $3 |
|
|
@@ -232,6 +232,7 @@ for await (const chunk of stream) {
|
|
|
232
232
|
| `llmgateway/Qwen3.8-27B` | 262K | | | | | | $0.08 | $0.35 |
|
|
233
233
|
| `llmgateway/qwen3.8-flash` | 1.0M | | | | | | $0.15 | $0.47 |
|
|
234
234
|
| `llmgateway/qwen3.8-max` | 1.0M | | | | | | $2 | $5 |
|
|
235
|
+
| `llmgateway/qwen3.8-omni-flash` | 984K | | | | | | $0.15 | $0.47 |
|
|
235
236
|
| `llmgateway/qwen35-397b-a17b` | 262K | | | | | | $0.60 | $4 |
|
|
236
237
|
| `llmgateway/reka-edge-2603` | 16K | | | | | | $0.10 | $0.10 |
|
|
237
238
|
| `llmgateway/seed-1-6-250615` | 256K | | | | | | $0.25 | $2 |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# LowRouter
|
|
6
6
|
|
|
7
|
-
Access
|
|
7
|
+
Access 32 LowRouter models through Mastra's model router. Authentication is handled automatically using the `LOWROUTER_API_KEY` environment variable.
|
|
8
8
|
|
|
9
9
|
Learn more in the [LowRouter documentation](https://lowrouter.ai/docs/models/available).
|
|
10
10
|
|
|
@@ -64,6 +64,7 @@ for await (const chunk of stream) {
|
|
|
64
64
|
| `lowrouter/auto/openai/gpt-6-luna` | 1.1M | | | | | | $0.10 | $0.50 |
|
|
65
65
|
| `lowrouter/auto/openai/gpt-6-sol` | 1.1M | | | | | | $2 | $10 |
|
|
66
66
|
| `lowrouter/auto/openai/gpt-6.1-sol` | 1.1M | | | | | | $2 | $10 |
|
|
67
|
+
| `lowrouter/auto/openai/gpt-6.1-terra` | 1.1M | | | | | | $1 | $5 |
|
|
67
68
|
| `lowrouter/auto/openai/gpt-oss-120b` | 131K | | | | | | $0.17 | $0.68 |
|
|
68
69
|
| `lowrouter/auto/openai/gpt-oss-20b` | 131K | | | | | | $0.11 | $0.47 |
|
|
69
70
|
| `lowrouter/auto/openai/gpt-oss-safeguard-120b` | 131K | | | | | | $0.18 | $0.73 |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# NanoGPT
|
|
6
6
|
|
|
7
|
-
Access
|
|
7
|
+
Access 652 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
|
|
|
@@ -122,24 +122,28 @@ for await (const chunk of stream) {
|
|
|
122
122
|
| `nano-gpt/deepseek-chat` | 128K | | | | | | $0.10 | $0.42 |
|
|
123
123
|
| `nano-gpt/deepseek-chat-cheaper` | 128K | | | | | | $0.10 | $0.42 |
|
|
124
124
|
| `nano-gpt/deepseek-v3-0324` | 128K | | | | | | $0.20 | $0.77 |
|
|
125
|
-
| `nano-gpt/deepseek/deepseek-latest` | 1.0M | | | | | | $0.
|
|
125
|
+
| `nano-gpt/deepseek/deepseek-latest` | 1.0M | | | | | | $0.66 | $2 |
|
|
126
126
|
| `nano-gpt/deepseek/deepseek-v3.2` | 163K | | | | | | $0.21 | $0.31 |
|
|
127
127
|
| `nano-gpt/deepseek/deepseek-v3.2:thinking` | 163K | | | | | | $0.21 | $0.31 |
|
|
128
128
|
| `nano-gpt/deepseek/deepseek-v4-flash` | 1.0M | | | | | | $0.14 | $0.28 |
|
|
129
129
|
| `nano-gpt/deepseek/deepseek-v4-flash-0423` | 1.0M | | | | | | $0.14 | $0.28 |
|
|
130
130
|
| `nano-gpt/deepseek/deepseek-v4-flash-0423:thinking` | 1.0M | | | | | | $0.14 | $0.28 |
|
|
131
|
-
| `nano-gpt/deepseek/deepseek-v4-flash-0731` | 1.0M | | | | | | $0.
|
|
132
|
-
| `nano-gpt/deepseek/deepseek-v4-flash-0731:thinking` | 1.0M | | | | | | $0.
|
|
133
|
-
| `nano-gpt/deepseek/deepseek-v4-flash-latest` | 1.0M | | | | | | $0.
|
|
131
|
+
| `nano-gpt/deepseek/deepseek-v4-flash-0731` | 1.0M | | | | | | $0.05 | $0.16 |
|
|
132
|
+
| `nano-gpt/deepseek/deepseek-v4-flash-0731:thinking` | 1.0M | | | | | | $0.05 | $0.16 |
|
|
133
|
+
| `nano-gpt/deepseek/deepseek-v4-flash-latest` | 1.0M | | | | | | $0.03 | $0.60 |
|
|
134
134
|
| `nano-gpt/deepseek/deepseek-v4-flash-vision-exp` | 1.0M | | | | | | $0.22 | $0.65 |
|
|
135
135
|
| `nano-gpt/deepseek/deepseek-v4-flash:thinking` | 1.0M | | | | | | $0.14 | $0.28 |
|
|
136
136
|
| `nano-gpt/deepseek/deepseek-v4-pro` | 1.0M | | | | | | $0.70 | $1 |
|
|
137
|
-
| `nano-gpt/deepseek/deepseek-v4-pro-0813` | 1.0M | | | | | | $0.
|
|
138
|
-
| `nano-gpt/deepseek/deepseek-v4-pro-0813:thinking` | 1.0M | | | | | | $0.
|
|
137
|
+
| `nano-gpt/deepseek/deepseek-v4-pro-0813` | 1.0M | | | | | | $0.66 | $2 |
|
|
138
|
+
| `nano-gpt/deepseek/deepseek-v4-pro-0813:thinking` | 1.0M | | | | | | $0.66 | $2 |
|
|
139
139
|
| `nano-gpt/deepseek/deepseek-v4-pro:thinking` | 1.0M | | | | | | $0.70 | $1 |
|
|
140
140
|
| `nano-gpt/deepseek/deepseek-v4.1-flash` | 1.0M | | | | | | $0.09 | $0.25 |
|
|
141
|
-
| `nano-gpt/deepseek/deepseek-v4.1-flash-
|
|
142
|
-
| `nano-gpt/deepseek/deepseek-v4.1-flash-
|
|
141
|
+
| `nano-gpt/deepseek/deepseek-v4.1-flash-0910-uncensored` | 524K | | | | | | $0.33 | $1 |
|
|
142
|
+
| `nano-gpt/deepseek/deepseek-v4.1-flash-0910-uncensored:thinking` | 524K | | | | | | $0.33 | $1 |
|
|
143
|
+
| `nano-gpt/deepseek/deepseek-v4.1-flash-1017` | 1.0M | | | | | | $0.03 | $0.60 |
|
|
144
|
+
| `nano-gpt/deepseek/deepseek-v4.1-flash-1017-uncensored` | 1.0M | | | | | | $0.33 | $1 |
|
|
145
|
+
| `nano-gpt/deepseek/deepseek-v4.1-flash-1017-uncensored:thinking` | 1.0M | | | | | | $0.33 | $1 |
|
|
146
|
+
| `nano-gpt/deepseek/deepseek-v4.1-flash-1017:thinking` | 1.0M | | | | | | $0.03 | $0.60 |
|
|
143
147
|
| `nano-gpt/deepseek/deepseek-v4.1-flash-uncensored` | 1.0M | | | | | | $0.33 | $1 |
|
|
144
148
|
| `nano-gpt/deepseek/deepseek-v4.1-flash-uncensored:thinking` | 1.0M | | | | | | $0.33 | $1 |
|
|
145
149
|
| `nano-gpt/deepseek/deepseek-v4.1-flash:thinking` | 1.0M | | | | | | $0.09 | $0.25 |
|
|
@@ -352,9 +356,9 @@ for await (const chunk of stream) {
|
|
|
352
356
|
| `nano-gpt/moonshotai/kimi-k2.5:thinking` | 262K | | | | | | $0.38 | $2 |
|
|
353
357
|
| `nano-gpt/moonshotai/kimi-k2.6` | 262K | | | | | | $0.39 | $2 |
|
|
354
358
|
| `nano-gpt/moonshotai/kimi-k2.6:thinking` | 262K | | | | | | $0.39 | $2 |
|
|
355
|
-
| `nano-gpt/moonshotai/kimi-k2.7-code` | 262K | | | | | | $0.
|
|
359
|
+
| `nano-gpt/moonshotai/kimi-k2.7-code` | 262K | | | | | | $0.60 | $3 |
|
|
356
360
|
| `nano-gpt/moonshotai/kimi-k2.7-code-highspeed` | 262K | | | | | | $2 | $8 |
|
|
357
|
-
| `nano-gpt/moonshotai/kimi-k3` | 1.0M | | | | | | $
|
|
361
|
+
| `nano-gpt/moonshotai/kimi-k3` | 1.0M | | | | | | $2 | $8 |
|
|
358
362
|
| `nano-gpt/moonshotai/kimi-k3.1-pro` | 1.0M | | | | | | $2 | $10 |
|
|
359
363
|
| `nano-gpt/moonshotai/kimi-k3.1-pro-highspeed` | 1.0M | | | | | | $4 | $20 |
|
|
360
364
|
| `nano-gpt/moonshotai/kimi-latest` | 1.0M | | | | | | $2 | $10 |
|
|
@@ -382,7 +386,6 @@ for await (const chunk of stream) {
|
|
|
382
386
|
| `nano-gpt/nvidia/nemotron-3.5-lightning` | 1.0M | | | | | | $0.05 | $0.20 |
|
|
383
387
|
| `nano-gpt/nvidia/nemotron-3.5-lightning:thinking` | 1.0M | | | | | | $0.05 | $0.20 |
|
|
384
388
|
| `nano-gpt/nvidia/nemotron-3.5-super-vl` | 262K | | | | | | $0.15 | $0.50 |
|
|
385
|
-
| `nano-gpt/openai/gpt-3.5-turbo` | 16K | | | | | | $0.50 | $2 |
|
|
386
389
|
| `nano-gpt/openai/gpt-4-turbo` | 128K | | | | | | $10 | $30 |
|
|
387
390
|
| `nano-gpt/openai/gpt-4.1` | 1.0M | | | | | | $2 | $8 |
|
|
388
391
|
| `nano-gpt/openai/gpt-4.1-mini` | 1.0M | | | | | | $0.40 | $2 |
|
|
@@ -421,6 +424,8 @@ for await (const chunk of stream) {
|
|
|
421
424
|
| `nano-gpt/openai/gpt-6-sol-pro` | 1.1M | | | | | | $2 | $10 |
|
|
422
425
|
| `nano-gpt/openai/gpt-6.1-sol` | 1.1M | | | | | | $2 | $10 |
|
|
423
426
|
| `nano-gpt/openai/gpt-6.1-sol-pro` | 1.1M | | | | | | $2 | $10 |
|
|
427
|
+
| `nano-gpt/openai/gpt-6.1-terra` | 1.1M | | | | | | $1 | $5 |
|
|
428
|
+
| `nano-gpt/openai/gpt-6.1-terra-pro` | 1.1M | | | | | | $1 | $5 |
|
|
424
429
|
| `nano-gpt/openai/gpt-astra-latest` | 1.1M | | | | | | $10 | $50 |
|
|
425
430
|
| `nano-gpt/openai/gpt-chat-latest` | 1.1M | | | | | | $2 | $10 |
|
|
426
431
|
| `nano-gpt/openai/gpt-latest` | 1.1M | | | | | | $10 | $50 |
|
|
@@ -429,7 +434,7 @@ for await (const chunk of stream) {
|
|
|
429
434
|
| `nano-gpt/openai/gpt-oss-20b` | 131K | | | | | | $0.02 | $0.10 |
|
|
430
435
|
| `nano-gpt/openai/gpt-oss-safeguard-20b` | 128K | | | | | | $0.07 | $0.30 |
|
|
431
436
|
| `nano-gpt/openai/gpt-sol-latest` | 1.1M | | | | | | $2 | $10 |
|
|
432
|
-
| `nano-gpt/openai/gpt-terra-latest` | 1.1M | | | | | | $
|
|
437
|
+
| `nano-gpt/openai/gpt-terra-latest` | 1.1M | | | | | | $1 | $5 |
|
|
433
438
|
| `nano-gpt/openai/o1` | 200K | | | | | | $15 | $60 |
|
|
434
439
|
| `nano-gpt/openai/o1-pro` | 200K | | | | | | $150 | $600 |
|
|
435
440
|
| `nano-gpt/openai/o3` | 200K | | | | | | $2 | $8 |
|
|
@@ -472,8 +477,6 @@ for await (const chunk of stream) {
|
|
|
472
477
|
| `nano-gpt/qwen/qwen3-coder-30b-a3b-instruct` | 128K | | | | | | $0.10 | $0.40 |
|
|
473
478
|
| `nano-gpt/qwen/qwen3-coder-flash` | 128K | | | | | | $0.30 | $2 |
|
|
474
479
|
| `nano-gpt/qwen/qwen3-coder-next` | 262K | | | | | | $0.25 | $0.80 |
|
|
475
|
-
| `nano-gpt/qwen/qwen3-max` | 256K | | | | | | $1 | $6 |
|
|
476
|
-
| `nano-gpt/qwen/qwen3-max-2026-01-23` | 256K | | | | | | $1 | $6 |
|
|
477
480
|
| `nano-gpt/qwen/qwen3-next-80b-a3b-instruct` | 262K | | | | | | $0.09 | $1 |
|
|
478
481
|
| `nano-gpt/qwen/qwen3-next-80b-a3b-thinking` | 256K | | | | | | $0.15 | $0.65 |
|
|
479
482
|
| `nano-gpt/qwen/qwen3-vl-235b-a22b-instruct` | 131K | | | | | | $0.30 | $2 |
|
|
@@ -588,7 +591,7 @@ for await (const chunk of stream) {
|
|
|
588
591
|
| `nano-gpt/TEE/qwen3.6-35b-a3b` | 262K | | | | | | $0.20 | $1 |
|
|
589
592
|
| `nano-gpt/TEE/qwen3.8-27b` | 262K | | | | | | $0.40 | $3 |
|
|
590
593
|
| `nano-gpt/tencent/hy3` | 262K | | | | | | $0.07 | $0.26 |
|
|
591
|
-
| `nano-gpt/tencent/hy4-preview` | 1.0M | | | | | | $0.
|
|
594
|
+
| `nano-gpt/tencent/hy4-preview` | 1.0M | | | | | | $0.83 | $3 |
|
|
592
595
|
| `nano-gpt/TheDrummer/Anubis-70B-v1` | 66K | | | | | | $0.31 | $0.31 |
|
|
593
596
|
| `nano-gpt/TheDrummer/Anubis-70B-v1.1` | 32K | | | | | | $0.31 | $0.31 |
|
|
594
597
|
| `nano-gpt/TheDrummer/Artemis-v1.1` | 262K | | | | | | $0.10 | $0.45 |
|
|
@@ -666,8 +669,8 @@ for await (const chunk of stream) {
|
|
|
666
669
|
| `nano-gpt/z-ai/glm-5:thinking` | 200K | | | | | | $0.60 | $2 |
|
|
667
670
|
| `nano-gpt/z-ai/glm-5.1` | 200K | | | | | | $0.70 | $3 |
|
|
668
671
|
| `nano-gpt/z-ai/glm-5.1:thinking` | 200K | | | | | | $0.70 | $3 |
|
|
669
|
-
| `nano-gpt/z-ai/glm-5.2` | 1.0M | | | | | | $0.
|
|
670
|
-
| `nano-gpt/z-ai/glm-5.2:thinking` | 1.0M | | | | | | $0.
|
|
672
|
+
| `nano-gpt/z-ai/glm-5.2` | 1.0M | | | | | | $0.42 | $1 |
|
|
673
|
+
| `nano-gpt/z-ai/glm-5.2:thinking` | 1.0M | | | | | | $0.42 | $1 |
|
|
671
674
|
| `nano-gpt/z-ai/glm-5.3` | 1.0M | | | | | | $0.60 | $1 |
|
|
672
675
|
| `nano-gpt/z-ai/glm-5.3-flash` | 1.0M | | | | | | $0.10 | $0.30 |
|
|
673
676
|
| `nano-gpt/z-ai/glm-5.3-flash-apex` | 1.0M | | | | | | $0.15 | $0.50 |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# NEAR AI Cloud
|
|
6
6
|
|
|
7
|
-
Access
|
|
7
|
+
Access 57 NEAR AI Cloud models through Mastra's model router. Authentication is handled automatically using the `NEARAI_API_KEY` environment variable.
|
|
8
8
|
|
|
9
9
|
Learn more in the [NEAR AI Cloud documentation](https://docs.near.ai/).
|
|
10
10
|
|
|
@@ -62,6 +62,7 @@ for await (const chunk of stream) {
|
|
|
62
62
|
| `nearai/google/gemini-3.8-flash` | 1.0M | | | | | | $0.75 | $4 |
|
|
63
63
|
| `nearai/moonshotai/kimi-k2.6` | 262K | | | | | | $0.81 | $4 |
|
|
64
64
|
| `nearai/moonshotai/kimi-k3` | 1.0M | | | | | | $3 | $17 |
|
|
65
|
+
| `nearai/moonshotai/kimi-k3.1-pro` | 1.0M | | | | | | $2 | $10 |
|
|
65
66
|
| `nearai/openai/gpt-4.1` | 1.0M | | | | | | $2 | $8 |
|
|
66
67
|
| `nearai/openai/gpt-4.1-mini` | 1.0M | | | | | | $0.40 | $2 |
|
|
67
68
|
| `nearai/openai/gpt-5` | 400K | | | | | | $1 | $10 |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# OpenAI
|
|
6
6
|
|
|
7
|
-
Access
|
|
7
|
+
Access 52 OpenAI models through Mastra's model router. Authentication is handled automatically using the `OPENAI_API_KEY` environment variable.
|
|
8
8
|
|
|
9
9
|
Learn more in the [OpenAI documentation](https://platform.openai.com/docs/models).
|
|
10
10
|
|
|
@@ -66,6 +66,7 @@ for await (const chunk of stream) {
|
|
|
66
66
|
| `openai/gpt-6-luna` | 1.1M | | | | | | $0.10 | $0.50 |
|
|
67
67
|
| `openai/gpt-6-sol` | 1.1M | | | | | | $2 | $10 |
|
|
68
68
|
| `openai/gpt-6.1-sol` | 1.1M | | | | | | $2 | $10 |
|
|
69
|
+
| `openai/gpt-6.1-terra` | 1.1M | | | | | | $1 | $5 |
|
|
69
70
|
| `openai/gpt-daybreak-blue-latest` | 1.1M | | | | | | $4 | $20 |
|
|
70
71
|
| `openai/gpt-daybreak-red-latest` | 400K | | | | | | $13 | $75 |
|
|
71
72
|
| `openai/gpt-image-1-mini` | — | | | | | | — | — |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# Requesty
|
|
6
6
|
|
|
7
|
-
Access
|
|
7
|
+
Access 185 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
|
|
|
@@ -140,6 +140,8 @@ for await (const chunk of stream) {
|
|
|
140
140
|
| `requesty/gpt-6-sol@eu` | 1.1M | | | | | | $2 | $12 |
|
|
141
141
|
| `requesty/gpt-6.1-sol` | 1.1M | | | | | | $2 | $10 |
|
|
142
142
|
| `requesty/gpt-6.1-sol@eu` | 1.1M | | | | | | $2 | $12 |
|
|
143
|
+
| `requesty/gpt-6.1-terra` | 1.1M | | | | | | $1 | $5 |
|
|
144
|
+
| `requesty/gpt-6.1-terra@eu` | 1.1M | | | | | | $1 | $6 |
|
|
143
145
|
| `requesty/grok-4.2-beta` | 2.0M | | | | | | $2 | $6 |
|
|
144
146
|
| `requesty/grok-4.3` | 1.0M | | | | | | $1 | $3 |
|
|
145
147
|
| `requesty/grok-4.5` | 500K | | | | | | $2 | $6 |
|
|
@@ -41,7 +41,7 @@ for await (const chunk of stream) {
|
|
|
41
41
|
| `wandb/deepseek-ai/DeepSeek-V3.1` | 161K | | | | | | $0.55 | $2 |
|
|
42
42
|
| `wandb/deepseek-ai/DeepSeek-V4-Flash-0731` | 262K | | | | | | $0.13 | $0.28 |
|
|
43
43
|
| `wandb/deepseek-ai/DeepSeek-V4-Pro-0813` | 1.0M | | | | | | $1 | $4 |
|
|
44
|
-
| `wandb/deepseek-ai/DeepSeek-V4.1-Flash` | 1.0M | | | | | | $0.
|
|
44
|
+
| `wandb/deepseek-ai/DeepSeek-V4.1-Flash` | 1.0M | | | | | | $0.13 | $0.65 |
|
|
45
45
|
| `wandb/google/gemma-4-26B-A4B-it` | 262K | | | | | | $0.10 | $0.30 |
|
|
46
46
|
| `wandb/google/gemma-4-31B-it` | 262K | | | | | | $0.10 | $0.34 |
|
|
47
47
|
| `wandb/ibm-granite/granite-4.2-8b` | 131K | | | | | | $0.06 | $0.15 |
|
|
@@ -49,7 +49,7 @@ for await (const chunk of stream) {
|
|
|
49
49
|
| `wandb/meta-llama/Llama-3.3-70B-Instruct` | 128K | | | | | | $0.71 | $0.71 |
|
|
50
50
|
| `wandb/MiniMaxAI/MiniMax-M3` | 262K | | | | | | $0.23 | $0.96 |
|
|
51
51
|
| `wandb/moonshotai/Kimi-K2.6` | 262K | | | | | | $0.65 | $3 |
|
|
52
|
-
| `wandb/moonshotai/Kimi-K2.7-Code` | 262K | | | | | | $0.
|
|
52
|
+
| `wandb/moonshotai/Kimi-K2.7-Code` | 262K | | | | | | $0.60 | $3 |
|
|
53
53
|
| `wandb/nvidia/NVIDIA-Nemotron-3-Ultra-550B-A55B` | 262K | | | | | | $0.50 | $2 |
|
|
54
54
|
| `wandb/nvidia/NVIDIA-Nemotron-3.5-Lightning-30B-A3B` | 262K | | | | | | $0.07 | $0.20 |
|
|
55
55
|
| `wandb/nvidia/NVIDIA-Nemotron-3.5-Super-VL-120B-A12B` | 1.0M | | | | | | $0.15 | $0.50 |
|
|
@@ -98,7 +98,7 @@ const agent = new Agent({
|
|
|
98
98
|
|
|
99
99
|
**cors** (`CorsOptions`): CORS configuration for this adapter webhook route. Use this for browser-based channel adapters that need cross-origin credentials.
|
|
100
100
|
|
|
101
|
-
**formatError** (`(error: Error) => PostableMessage`): Override how errors are rendered in the chat. Return a user-friendly message instead of exposing the raw error. (Default: `"❌ Error: <error.message>"`)
|
|
101
|
+
**formatError** (`(error: Error, context: { requestContext?: RequestContext }) => PostableMessage`): Override how errors are rendered in the chat. Return a user-friendly message instead of exposing the raw error. context.requestContext is the failed run's request context, so the message can link back to whatever the run belongs to. (Default: `"❌ Error: <error.message>"`)
|
|
102
102
|
|
|
103
103
|
**formatToolCall** (`(info: { toolName: string; args: Record<string, unknown>; result: unknown; isError?: boolean }) => PostableMessage | null`): \*\*Deprecated\*\* — use toolDisplay (function form) instead. When set, runs as a ToolDisplayFn that only fires on result/error events; running and approval events fall through to no render. Mutually exclusive with toolDisplay at the type level.
|
|
104
104
|
|
|
@@ -110,6 +110,8 @@ const agent = new Agent({
|
|
|
110
110
|
|
|
111
111
|
**toolDisplay** (`'cards' | 'text' | 'timeline' | 'grouped' | 'hidden' | ToolDisplayFn`): How tool calls are rendered in the channel. "cards" posts per-tool running/result cards as rich Block Kit. "text" posts the same lifecycle as plain text (no Block Kit). "timeline" and "grouped" stream tool state as inline task_update chunks (requires streaming: true; Slack only today — other adapters may render a placeholder). "hidden" executes tools silently. Pass a function to render tool events yourself; return { kind: "post", message } for a discrete post/edit, { kind: "stream", chunk } to push into the streaming widget, or undefined to skip rendering that event. Add openIfEmpty: false to a stream result when its chunk should only apply to an active streaming session. Approve/deny prompts render as a separate built-in card in every string mode; a toolDisplay function receives the approval event and may replace the card by returning { kind: "post", message }. (Default: `'cards' ('grouped' for Slack)`)
|
|
112
112
|
|
|
113
|
+
**toolApprovers** (`'requester' | 'anyone'`): Who may approve or deny a pending tool call in this adapter's channel. By default, only the user who triggered the call can respond when their identity was recorded; runs without a recorded requester (such as scheduled runs) may allow another channel member to respond. Set 'anyone' to allow another channel member to respond even when a requester was recorded. Pending-approval and thread-mapping checks still apply. (Default: `'requester'`)
|
|
114
|
+
|
|
113
115
|
**typingStatus** (`boolean | ((chunk: AgentChunkType, ctx: TypingStatusContext) => string | false | null | undefined | void)`): Control the platform typing indicator. true uses built-in defaults (is typing… on text, is calling {tool}… on tool-call, is waiting for approval… on tool-call-approval). false suppresses typing entirely — useful when a live streaming widget (e.g. toolDisplay: "grouped" in Slack) already conveys progress. Pass a function to set custom status copy per chunk; return a string to set the status, or false/null/undefined to leave it unchanged. Compose with defaultTypingStatus (exported from @mastra/core/channels) to fall back to defaults for chunks you don't handle. (Default: `true`)
|
|
114
116
|
|
|
115
117
|
## Tool display modes
|
|
@@ -61,6 +61,8 @@ await slack.configure({
|
|
|
61
61
|
|
|
62
62
|
**toolDisplay** (`ToolDisplay`): How tool calls are rendered in Slack: 'cards', 'text', 'timeline', 'grouped', 'hidden', or a function. 'hidden' suppresses tool call/result rendering entirely. 'timeline' and 'grouped' require streaming. With streaming: false, only static modes are available and the default is 'cards'. (Default: `'grouped'`)
|
|
63
63
|
|
|
64
|
+
**toolApprovers** (`'requester' | 'anyone'`): Who can approve or deny tool calls. By default, only the user whose message triggered the call can respond when their identity was recorded; without a recorded requester, another channel member may respond. Set 'anyone' to allow another member of the shared Slack channel to approve or deny even when a requester was recorded. This bypasses only the requester check; the action still requires a pending approval in the same thread. (Default: `'requester'`)
|
|
65
|
+
|
|
64
66
|
**typingStatus** (`boolean | TypingStatusFn`): Show a typing indicator while the agent works. Set false to disable, or pass a function to return custom status text per stream chunk (return undefined to fall back to the default for that chunk). (Default: `true`)
|
|
65
67
|
|
|
66
68
|
**waitUntil** (`WaitUntilFn`): Returns a waitUntil for the current Slack webhook request. Required on serverless runtimes where Hono can't bridge the platform's ExecutionContext (Vercel, AWS Lambda). Without it, the invocation freezes after the 200 ack and kills the run mid-flight. Pass the bare waitUntil(promise) from your platform SDK (for example, @vercel/functions). Cloudflare Workers and Netlify users typically don't need this.
|
|
@@ -221,25 +221,24 @@ Presence filters use `{ op: 'exists', path: 'userId' }` to check for a non-null
|
|
|
221
221
|
|
|
222
222
|
The response is `{ threads, page: { next } }`, without a total count. Each entry in `threads` contains these fields:
|
|
223
223
|
|
|
224
|
-
| Returned fields | Meaning
|
|
225
|
-
| -------------------------------------------------------------------------------------------------------------------------- |
|
|
226
|
-
| `threadId`, `organizationId` | Thread identity. Equal thread IDs in different organizations remain separate.
|
|
227
|
-
| `firstTraceId`, `lastTraceId` | Earliest and latest trace by start time. Equal start times use trace ID as a deterministic tie-breaker.
|
|
228
|
-
| `resourceId`, `userId`, `runId`, `sessionId`, `requestId`, `serviceName`, `experimentId`, `environment`, `executionSource` | First-trace context, or `null` when missing.
|
|
229
|
-
| `entityType`, `entityId`, `entityName`, `entityVersionId` | First-trace entity.
|
|
230
|
-
| `startedAt`, `endedAt` | Earliest start and maximum end time across the thread.
|
|
231
|
-
| `status` | `error` when the last-started trace's root span has an error, otherwise `success`.
|
|
232
|
-
| `traceCount` | Number of logical traces in the thread.
|
|
233
|
-
| `inputPreview` | First trace's input preview.
|
|
234
|
-
| `outputPreview`, `errorPreview` | Last-started trace's previews.
|
|
235
|
-
| `timeToFirstChunkMs` | First trace's root agent time to first chunk, in milliseconds. `null` when unavailable or the root isn't an agent.
|
|
236
|
-
| `model`, `provider` | Model/provider from the first completed model generation directly under the first trace's root agent. `null` when unavailable. |
|
|
224
|
+
| Returned fields | Meaning |
|
|
225
|
+
| -------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |
|
|
226
|
+
| `threadId`, `organizationId` | Thread identity. Equal thread IDs in different organizations remain separate. |
|
|
227
|
+
| `firstTraceId`, `lastTraceId` | Earliest and latest trace by start time. Equal start times use trace ID as a deterministic tie-breaker. |
|
|
228
|
+
| `resourceId`, `userId`, `runId`, `sessionId`, `requestId`, `serviceName`, `experimentId`, `environment`, `executionSource` | First-trace context, or `null` when missing. |
|
|
229
|
+
| `entityType`, `entityId`, `entityName`, `entityVersionId` | First-trace entity. |
|
|
230
|
+
| `startedAt`, `endedAt` | Earliest start and maximum end time across the thread. |
|
|
231
|
+
| `status` | `error` when the last-started trace's root span has an error, otherwise `success`. |
|
|
232
|
+
| `traceCount` | Number of logical traces in the thread. |
|
|
233
|
+
| `inputPreview` | First trace's input preview. |
|
|
234
|
+
| `outputPreview`, `errorPreview` | Last-started trace's previews. |
|
|
235
|
+
| `timeToFirstChunkMs` | First trace's root agent time to first chunk, in milliseconds. `null` when unavailable or the root isn't an agent. |
|
|
237
236
|
|
|
238
237
|
An earlier-started trace can finish last. In that case, it supplies `endedAt`, while the last-started trace still supplies status and output/error previews. Missing first-trace values aren't replaced with values from a later trace.
|
|
239
238
|
|
|
240
239
|
### Thread ordering and pagination
|
|
241
240
|
|
|
242
|
-
Ordering accepts exactly one of `startedAt` or `endedAt`, with direction `asc` or `desc`. The default is `endedAt` descending. Pages default to
|
|
241
|
+
Ordering accepts exactly one of `startedAt` or `endedAt`, with direction `asc` or `desc`. The default is `endedAt` descending. Pages default to 25 rows and allow at most 100. Pass `result.page.next` as `page.after` with the same time selector, filters, scope and ordering. A `null` cursor means no more pages are available. Pagination reflects live data, so new traces can move a thread between pages.
|
|
243
242
|
|
|
244
243
|
To load the traces within a thread, use [`queryTraces()`](#querying-traces) with a `threadId` filter and a time range covering the thread's activity.
|
|
245
244
|
|
|
@@ -62,7 +62,7 @@ const { controller } = await mountAgentControllerOnMastra({ mastra })
|
|
|
62
62
|
|
|
63
63
|
**modes** (`AgentControllerMode[]`): Override agent modes (model ids, colors, which modes exist). (Default: `build/plan/fast`)
|
|
64
64
|
|
|
65
|
-
**subagents** (`AgentControllerSubagent[]`):
|
|
65
|
+
**subagents** (`AgentControllerSubagent[]`): Subagent definitions to register. None are registered by default. Pass \[...builtinSubagents] (exported from @mastra/code-sdk) to enable the explore, plan, and execute subagents. (Default: `[]`)
|
|
66
66
|
|
|
67
67
|
**extraTools** (`Record<string, ToolAction> | (ctx) => Record<string, ToolAction>`): Extra tools merged into the dynamic tool set.
|
|
68
68
|
|
|
@@ -198,6 +198,11 @@ Examples:
|
|
|
198
198
|
|
|
199
199
|
- Gateway with `id = 'custom'`: `'custom/my-provider/model-1'`
|
|
200
200
|
|
|
201
|
+
Two-part IDs are also accepted:
|
|
202
|
+
|
|
203
|
+
- `[gateway-id]/[model]`: for gateways whose provider ID is the same as the gateway ID, such as `amazon-bedrock`. The provider ID resolves to the gateway ID, so `'custom/model-1'` resolves to provider `custom` and model `model-1`. The model segment can't be empty.
|
|
204
|
+
- `azure-openai/[deployment]`: Azure OpenAI uses the deployment name in place of a provider and model.
|
|
205
|
+
|
|
201
206
|
## Built-in implementations
|
|
202
207
|
|
|
203
208
|
- **NetlifyGateway** - Netlify AI Gateway integration
|
|
@@ -39,14 +39,16 @@ Token metrics are emitted from `MODEL_GENERATION` and `CLASSIFIER_EVALUATION` sp
|
|
|
39
39
|
|
|
40
40
|
### Input token metrics
|
|
41
41
|
|
|
42
|
-
| Metric name
|
|
43
|
-
|
|
|
44
|
-
| `mastra_model_total_input_tokens`
|
|
45
|
-
| `mastra_model_input_text_tokens`
|
|
46
|
-
| `mastra_model_input_cache_read_tokens`
|
|
47
|
-
| `mastra_model_input_cache_write_tokens`
|
|
48
|
-
| `
|
|
49
|
-
| `
|
|
42
|
+
| Metric name | Description |
|
|
43
|
+
| ------------------------------------------ | ------------------------------------------------------------------- |
|
|
44
|
+
| `mastra_model_total_input_tokens` | Total input tokens |
|
|
45
|
+
| `mastra_model_input_text_tokens` | Text tokens in the input prompt |
|
|
46
|
+
| `mastra_model_input_cache_read_tokens` | Tokens read from prompt cache (e.g. Anthropic) |
|
|
47
|
+
| `mastra_model_input_cache_write_tokens` | Tokens written to prompt cache |
|
|
48
|
+
| `mastra_model_input_cache_write_5m_tokens` | Tokens written to prompt cache with a 5-minute TTL (e.g. Anthropic) |
|
|
49
|
+
| `mastra_model_input_cache_write_1h_tokens` | Tokens written to prompt cache with a 1-hour TTL (e.g. Anthropic) |
|
|
50
|
+
| `mastra_model_input_audio_tokens` | Audio tokens in the input (multimodal models) |
|
|
51
|
+
| `mastra_model_input_image_tokens` | Image tokens in the input (vision models) |
|
|
50
52
|
|
|
51
53
|
### Output token metrics
|
|
52
54
|
|
|
@@ -10,6 +10,10 @@ Sends tracing spans, logs, metrics, scores, and feedback to the Mastra platform
|
|
|
10
10
|
|
|
11
11
|
> **Note:** `MastraPlatformExporter` was previously called `CloudExporter`. The original `CloudExporter` class is still exported from `@mastra/observability` so existing imports keep working, but it's deprecated and will be removed in a future major version. New code should use `MastraPlatformExporter`.
|
|
12
12
|
|
|
13
|
+
## Span previews
|
|
14
|
+
|
|
15
|
+
`MastraPlatformExporter` automatically generates short, readable `inputPreview`, `outputPreview`, and `errorPreview` summaries based on the span type. Each preview contains up to 100 characters plus an ellipsis when truncated. Full payloads remain available separately.
|
|
16
|
+
|
|
13
17
|
## Constructor
|
|
14
18
|
|
|
15
19
|
```typescript
|
|
@@ -8,6 +8,10 @@ Persists traces to Mastra's configured storage with automatic batching and retry
|
|
|
8
8
|
|
|
9
9
|
> **Note:** `MastraStorageExporter` was previously called `DefaultExporter`. The original `DefaultExporter` class is still exported from `@mastra/observability` so existing imports keep working, but it's deprecated and will be removed in a future major version. New code should use `MastraStorageExporter`.
|
|
10
10
|
|
|
11
|
+
## Span previews
|
|
12
|
+
|
|
13
|
+
`MastraStorageExporter` automatically generates short, readable `inputPreview`, `outputPreview`, and `errorPreview` summaries based on the span type. Each preview contains up to 100 characters plus an ellipsis when truncated. Full payloads remain available separately.
|
|
14
|
+
|
|
11
15
|
## Constructor
|
|
12
16
|
|
|
13
17
|
```typescript
|