@mastra/mcp-docs-server 1.2.16 → 1.2.17-alpha.11
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/agents/agent-approval.md +2 -0
- package/.docs/docs/agents/code-mode.md +2 -2
- package/.docs/docs/agents/processors.md +1 -1
- package/.docs/docs/agents/skills.md +1 -1
- package/.docs/docs/agents/using-tools.md +1 -1
- package/.docs/docs/capabilities/channels.md +34 -1
- package/.docs/docs/datasets/running-experiments.md +46 -0
- package/.docs/docs/harness/agent-controller.md +1 -1
- package/.docs/docs/mcp/overview.md +4 -5
- package/.docs/docs/server/request-context.md +21 -0
- package/.docs/docs/studio/overview.md +1 -1
- package/.docs/docs/workspace/filesystem.md +182 -153
- package/.docs/docs/workspace/lsp.md +4 -5
- package/.docs/docs/workspace/sandbox.md +234 -141
- package/.docs/docs/workspace/search.md +52 -4
- package/.docs/docs/workspace/skills.md +62 -33
- package/.docs/integrations/browsers/browser-viewer.md +2 -2
- package/.docs/integrations/databases/postgresql.md +2 -1
- package/.docs/integrations/file-storage/amazon-s3.md +1 -1
- package/.docs/integrations/file-storage/azure-blob.md +1 -1
- package/.docs/integrations/file-storage/google-cloud-storage.md +1 -1
- package/.docs/integrations/file-storage/mesa.md +1 -1
- package/.docs/integrations/file-storage/vercel-files.md +1 -1
- package/.docs/integrations/observability/opentelemetry.md +34 -2
- package/.docs/integrations/sandboxes/apple-container.md +1 -1
- package/.docs/integrations/sandboxes/daytona.md +1 -1
- package/.docs/integrations/sandboxes/docker.md +1 -1
- package/.docs/integrations/sandboxes/e2b.md +1 -1
- package/.docs/integrations/sandboxes/modal.md +1 -1
- package/.docs/models/environment-variables.md +1 -0
- package/.docs/models/gateways/openrouter.md +3 -1
- package/.docs/models/gateways/vercel.md +3 -2
- package/.docs/models/index.md +1 -1
- package/.docs/models/providers/abacus.md +14 -1
- package/.docs/models/providers/baseten.md +2 -1
- package/.docs/models/providers/cloudflare-workers-ai.md +3 -1
- package/.docs/models/providers/cortecs.md +5 -2
- package/.docs/models/providers/crossmodel.md +2 -2
- package/.docs/models/providers/crusoe.md +80 -0
- package/.docs/models/providers/deepinfra.md +5 -1
- package/.docs/models/providers/edenai.md +227 -23
- package/.docs/models/providers/empiriolabs.md +2 -1
- package/.docs/models/providers/fireworks-ai.md +26 -20
- package/.docs/models/providers/huggingface.md +6 -1
- package/.docs/models/providers/hyper.md +8 -7
- package/.docs/models/providers/kilo.md +14 -12
- package/.docs/models/providers/llmgateway.md +3 -2
- package/.docs/models/providers/merge-gateway.md +4 -1
- package/.docs/models/providers/nano-gpt.md +13 -10
- package/.docs/models/providers/nvidia.md +2 -1
- package/.docs/models/providers/ofox.md +32 -1
- package/.docs/models/providers/opencode-go.md +2 -1
- package/.docs/models/providers/opencode.md +3 -1
- package/.docs/models/providers/perplexity-agent.md +4 -2
- package/.docs/models/providers/qvac.md +35 -0
- package/.docs/models/providers/requesty.md +5 -3
- package/.docs/models/providers/zai-coding-plan.md +3 -2
- package/.docs/models/providers/zhipuai-coding-plan.md +2 -1
- package/.docs/models/providers.md +1 -0
- package/.docs/reference/agent-controller/agent-controller-class.md +26 -1
- package/.docs/reference/browser/browser-viewer.md +1 -1
- package/.docs/reference/configuration.md +1 -1
- package/.docs/reference/core/removeWorkspace.md +1 -1
- package/.docs/reference/datasets/addItem.md +5 -0
- package/.docs/reference/datasets/addItems.md +12 -2
- package/.docs/reference/datasets/startExperiment.md +1 -1
- package/.docs/reference/datasets/updateItem.md +3 -0
- package/.docs/reference/file-based-agents/workspace.md +3 -3
- package/.docs/reference/memory/observational-memory.md +4 -0
- package/.docs/reference/observability/tracing/exporters/mastra-platform-exporter.md +2 -0
- package/.docs/reference/processors/provider-history-compat.md +6 -5
- package/.docs/reference/processors/skill-search-processor.md +1 -1
- package/.docs/reference/pubsub/base.md +13 -3
- package/.docs/reference/pubsub/caching-pubsub.md +2 -0
- package/.docs/reference/pubsub/event-emitter.md +2 -0
- package/.docs/reference/pubsub/redis-streams.md +11 -3
- package/.docs/reference/tools/create-code-mode.md +1 -1
- package/.docs/reference/tools/create-tool.md +11 -3
- package/.docs/reference/tools/mcp-client.md +34 -5
- package/.docs/reference/tools/mcp-server.md +4 -1
- package/.docs/reference/workspace/local-filesystem.md +1 -1
- package/.docs/reference/workspace/local-sandbox.md +1 -1
- package/.docs/reference/workspace/workspace-class.md +52 -15
- package/CHANGELOG.md +50 -0
- package/package.json +4 -4
- package/.docs/docs/workspace/overview.md +0 -416
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Kilo Gateway
|
|
4
4
|
|
|
5
|
-
Access
|
|
5
|
+
Access 359 Kilo Gateway models through Mastra's model router. Authentication is handled automatically using the `KILO_API_KEY` environment variable.
|
|
6
6
|
|
|
7
7
|
Learn more in the [Kilo Gateway documentation](https://kilo.ai).
|
|
8
8
|
|
|
@@ -40,7 +40,7 @@ for await (const chunk of stream) {
|
|
|
40
40
|
| `kilo/~anthropic/claude-haiku-latest` | 200K | | | | | | $1 | $5 |
|
|
41
41
|
| `kilo/~anthropic/claude-opus-latest` | 1.0M | | | | | | $5 | $25 |
|
|
42
42
|
| `kilo/~anthropic/claude-sonnet-latest` | 1.0M | | | | | | $2 | $10 |
|
|
43
|
-
| `kilo/~deepseek/deepseek-v4-flash-latest` |
|
|
43
|
+
| `kilo/~deepseek/deepseek-v4-flash-latest` | 262K | | | | | | $0.07 | $0.14 |
|
|
44
44
|
| `kilo/~google/gemini-flash-latest` | 1.0M | | | | | | $0.38 | $2 |
|
|
45
45
|
| `kilo/~google/gemini-pro-latest` | 1.0M | | | | | | $2 | $12 |
|
|
46
46
|
| `kilo/~moonshotai/kimi-latest` | 1.0M | | | | | | $3 | $14 |
|
|
@@ -106,8 +106,9 @@ for await (const chunk of stream) {
|
|
|
106
106
|
| `kilo/deepseek/deepseek-v4-flash-0731` | 1.0M | | | | | | $0.14 | $0.28 |
|
|
107
107
|
| `kilo/deepseek/deepseek-v4-flash:discounted` | 1.0M | | | | | | $0.14 | $0.28 |
|
|
108
108
|
| `kilo/deepseek/deepseek-v4-pro` | 1.0M | | | | | | $2 | $3 |
|
|
109
|
-
| `kilo/deepseek/deepseek-v4-pro-0813` | 1.0M | | | | | | $
|
|
109
|
+
| `kilo/deepseek/deepseek-v4-pro-0813` | 1.0M | | | | | | $1 | $4 |
|
|
110
110
|
| `kilo/deepseek/deepseek-v4-pro:discounted` | 1.0M | | | | | | $0.43 | $0.87 |
|
|
111
|
+
| `kilo/dots-studio/dots-3-note-preview:free` | 512K | | | | | | — | — |
|
|
111
112
|
| `kilo/google/gemini-2.5-flash` | 1.0M | | | | | | $0.30 | $3 |
|
|
112
113
|
| `kilo/google/gemini-2.5-flash-image` | 33K | | | | | | $0.30 | $3 |
|
|
113
114
|
| `kilo/google/gemini-2.5-flash-lite` | 1.0M | | | | | | $0.10 | $0.40 |
|
|
@@ -126,7 +127,7 @@ for await (const chunk of stream) {
|
|
|
126
127
|
| `kilo/google/gemini-3.1-pro-preview-customtools` | 1.0M | | | | | | $2 | $12 |
|
|
127
128
|
| `kilo/google/gemini-3.5-flash` | 1.0M | | | | | | $2 | $9 |
|
|
128
129
|
| `kilo/google/gemini-3.5-flash-lite` | 1.0M | | | | | | $0.30 | $3 |
|
|
129
|
-
| `kilo/google/gemini-3.6-flash` | 1.0M | | | | | | $
|
|
130
|
+
| `kilo/google/gemini-3.6-flash` | 1.0M | | | | | | $0.75 | $4 |
|
|
130
131
|
| `kilo/google/gemini-3.7-flash` | 1.0M | | | | | | $0.75 | $4 |
|
|
131
132
|
| `kilo/google/gemma-2-27b-it` | 8K | | | | | | $0.65 | $0.65 |
|
|
132
133
|
| `kilo/google/gemma-3-12b-it` | 131K | | | | | | $0.05 | $0.15 |
|
|
@@ -161,7 +162,7 @@ for await (const chunk of stream) {
|
|
|
161
162
|
| `kilo/meta-llama/llama-3.2-1b-instruct` | 60K | | | | | | $0.03 | $0.20 |
|
|
162
163
|
| `kilo/meta-llama/llama-3.2-3b-instruct` | 131K | | | | | | $0.05 | $0.33 |
|
|
163
164
|
| `kilo/meta-llama/llama-3.3-70b-instruct` | 131K | | | | | | $0.10 | $0.32 |
|
|
164
|
-
| `kilo/meta-llama/llama-4-maverick` |
|
|
165
|
+
| `kilo/meta-llama/llama-4-maverick` | 1.0M | | | | | | $0.20 | $0.70 |
|
|
165
166
|
| `kilo/meta-llama/llama-4-scout` | 328K | | | | | | $0.10 | $0.30 |
|
|
166
167
|
| `kilo/meta-llama/llama-guard-4-12b` | 164K | | | | | | $0.18 | $0.18 |
|
|
167
168
|
| `kilo/meta/muse-glimmer-30b` | 131K | | | | | | $0.30 | $1 |
|
|
@@ -296,7 +297,7 @@ for await (const chunk of stream) {
|
|
|
296
297
|
| `kilo/qwen/qwen-2.5-coder-32b-instruct` | 33K | | | | | | $0.66 | $1 |
|
|
297
298
|
| `kilo/qwen/qwen-plus` | 1.0M | | | | | | $0.26 | $0.78 |
|
|
298
299
|
| `kilo/qwen/qwen-plus-2025-07-28` | 1.0M | | | | | | $0.26 | $0.78 |
|
|
299
|
-
| `kilo/qwen/qwen-plus-2025-07-28:thinking` | 1.0M | | | | | | $0.
|
|
300
|
+
| `kilo/qwen/qwen-plus-2025-07-28:thinking` | 1.0M | | | | | | $0.26 | $0.78 |
|
|
300
301
|
| `kilo/qwen/qwen2.5-vl-72b-instruct` | 32K | | | | | | $0.25 | $0.75 |
|
|
301
302
|
| `kilo/qwen/qwen3-14b` | 41K | | | | | | $0.23 | $0.91 |
|
|
302
303
|
| `kilo/qwen/qwen3-235b-a22b` | 131K | | | | | | $0.46 | $2 |
|
|
@@ -318,7 +319,7 @@ for await (const chunk of stream) {
|
|
|
318
319
|
| `kilo/qwen/qwen3-next-80b-a3b-thinking` | 131K | | | | | | $0.15 | $1 |
|
|
319
320
|
| `kilo/qwen/qwen3-vl-235b-a22b-instruct` | 131K | | | | | | $0.26 | $1 |
|
|
320
321
|
| `kilo/qwen/qwen3-vl-235b-a22b-thinking` | 131K | | | | | | $0.40 | $4 |
|
|
321
|
-
| `kilo/qwen/qwen3-vl-30b-a3b-instruct` |
|
|
322
|
+
| `kilo/qwen/qwen3-vl-30b-a3b-instruct` | 131K | | | | | | $0.13 | $0.52 |
|
|
322
323
|
| `kilo/qwen/qwen3-vl-30b-a3b-thinking` | 131K | | | | | | $0.20 | $2 |
|
|
323
324
|
| `kilo/qwen/qwen3-vl-32b-instruct` | 131K | | | | | | $0.10 | $0.42 |
|
|
324
325
|
| `kilo/qwen/qwen3-vl-8b-instruct` | 131K | | | | | | $0.12 | $0.46 |
|
|
@@ -340,6 +341,7 @@ for await (const chunk of stream) {
|
|
|
340
341
|
| `kilo/qwen/qwen3.7-max` | 1.0M | | | | | | $1 | $4 |
|
|
341
342
|
| `kilo/qwen/qwen3.7-plus` | 1.0M | | | | | | $0.32 | $1 |
|
|
342
343
|
| `kilo/qwen/qwen3.8-2.4t-a95b` | 1.0M | | | | | | $2 | $6 |
|
|
344
|
+
| `kilo/qwen/qwen3.8-27b` | 262K | | | | | | $0.45 | $3 |
|
|
343
345
|
| `kilo/qwen/qwen3.8-max` | 1.0M | | | | | | $2 | $6 |
|
|
344
346
|
| `kilo/rekaai/reka-edge` | 16K | | | | | | $0.10 | $0.10 |
|
|
345
347
|
| `kilo/rekaai/reka-flash-3` | 66K | | | | | | $0.10 | $0.20 |
|
|
@@ -360,7 +362,7 @@ for await (const chunk of stream) {
|
|
|
360
362
|
| `kilo/stepfun/step-3.7-flash` | 256K | | | | | | $0.20 | $1 |
|
|
361
363
|
| `kilo/stepfun/step-3.7-flash:free` | 262K | | | | | | — | — |
|
|
362
364
|
| `kilo/tencent/hunyuan-a13b-instruct` | 131K | | | | | | $0.14 | $0.57 |
|
|
363
|
-
| `kilo/tencent/hy3` | 262K | | | | | | $0.
|
|
365
|
+
| `kilo/tencent/hy3` | 262K | | | | | | $0.13 | $0.53 |
|
|
364
366
|
| `kilo/tencent/hy3-preview` | 262K | | | | | | $0.18 | $0.60 |
|
|
365
367
|
| `kilo/tencent/hy3:free` | 262K | | | | | | — | — |
|
|
366
368
|
| `kilo/thedrummer/cydonia-24b-v4.1` | 131K | | | | | | $0.30 | $0.50 |
|
|
@@ -380,17 +382,17 @@ for await (const chunk of stream) {
|
|
|
380
382
|
| `kilo/x-ai/grok-4.6` | 500K | | | | | | $2 | $6 |
|
|
381
383
|
| `kilo/x-ai/grok-build-0.1` | 256K | | | | | | $1 | $2 |
|
|
382
384
|
| `kilo/xiaomi/mimo-v2.5` | 1.0M | | | | | | $0.14 | $0.28 |
|
|
383
|
-
| `kilo/xiaomi/mimo-v2.5-pro` | 1.0M | | | | | | $0.
|
|
385
|
+
| `kilo/xiaomi/mimo-v2.5-pro` | 1.0M | | | | | | $0.43 | $0.87 |
|
|
384
386
|
| `kilo/z-ai/glm-4.5` | 131K | | | | | | $0.60 | $2 |
|
|
385
387
|
| `kilo/z-ai/glm-4.5-air` | 131K | | | | | | $0.13 | $0.85 |
|
|
386
388
|
| `kilo/z-ai/glm-4.5v` | 66K | | | | | | $0.60 | $2 |
|
|
387
|
-
| `kilo/z-ai/glm-4.6` |
|
|
389
|
+
| `kilo/z-ai/glm-4.6` | 205K | | | | | | $0.55 | $2 |
|
|
388
390
|
| `kilo/z-ai/glm-4.6v` | 131K | | | | | | $0.30 | $0.90 |
|
|
389
391
|
| `kilo/z-ai/glm-4.7` | 203K | | | | | | $0.40 | $2 |
|
|
390
392
|
| `kilo/z-ai/glm-4.7-flash` | 203K | | | | | | $0.06 | $0.40 |
|
|
391
|
-
| `kilo/z-ai/glm-5` |
|
|
393
|
+
| `kilo/z-ai/glm-5` | 198K | | | | | | $0.60 | $2 |
|
|
392
394
|
| `kilo/z-ai/glm-5-turbo` | 203K | | | | | | $1 | $4 |
|
|
393
|
-
| `kilo/z-ai/glm-5.1` |
|
|
395
|
+
| `kilo/z-ai/glm-5.1` | 200K | | | | | | $1 | $4 |
|
|
394
396
|
| `kilo/z-ai/glm-5.2` | 1.0M | | | | | | $1 | $4 |
|
|
395
397
|
| `kilo/z-ai/glm-5v-turbo` | 203K | | | | | | $1 | $4 |
|
|
396
398
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# LLM Gateway
|
|
4
4
|
|
|
5
|
-
Access
|
|
5
|
+
Access 189 LLM Gateway models through Mastra's model router. Authentication is handled automatically using the `LLMGATEWAY_API_KEY` environment variable.
|
|
6
6
|
|
|
7
7
|
Learn more in the [LLM Gateway documentation](https://llmgateway.io/docs).
|
|
8
8
|
|
|
@@ -67,7 +67,8 @@ for await (const chunk of stream) {
|
|
|
67
67
|
| `llmgateway/gemini-3.1-pro-preview` | 1.0M | | | | | | $2 | $12 |
|
|
68
68
|
| `llmgateway/gemini-3.5-flash` | 1.0M | | | | | | $2 | $9 |
|
|
69
69
|
| `llmgateway/gemini-3.5-flash-lite` | 1.0M | | | | | | $0.30 | $3 |
|
|
70
|
-
| `llmgateway/gemini-3.6-flash` | 1.0M | | | | | | $
|
|
70
|
+
| `llmgateway/gemini-3.6-flash` | 1.0M | | | | | | $0.75 | $4 |
|
|
71
|
+
| `llmgateway/gemini-3.7-flash` | 1.0M | | | | | | $0.75 | $4 |
|
|
71
72
|
| `llmgateway/gemini-pro-latest` | 1.0M | | | | | | $2 | $12 |
|
|
72
73
|
| `llmgateway/gemma-3-27b` | 110K | | | | | | $0.10 | $0.30 |
|
|
73
74
|
| `llmgateway/gemma-4-26b-a4b-it` | 262K | | | | | | $0.07 | $0.34 |
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Merge Gateway
|
|
4
4
|
|
|
5
|
-
Access
|
|
5
|
+
Access 169 Merge Gateway models through Mastra's model router. Authentication is handled automatically using the `MERGE_GATEWAY_API_KEY` environment variable.
|
|
6
6
|
|
|
7
7
|
Learn more in the [Merge Gateway documentation](https://docs.merge.dev/merge-gateway).
|
|
8
8
|
|
|
@@ -83,11 +83,13 @@ for await (const chunk of stream) {
|
|
|
83
83
|
| `merge-gateway/google/gemini-3.5-flash` | 1.0M | | | | | | $2 | $9 |
|
|
84
84
|
| `merge-gateway/google/gemini-3.5-flash-lite` | 1.0M | | | | | | $0.30 | $3 |
|
|
85
85
|
| `merge-gateway/google/gemini-3.6-flash` | 1.0M | | | | | | $2 | $8 |
|
|
86
|
+
| `merge-gateway/google/gemini-3.7-flash` | 1.0M | | | | | | $0.75 | $4 |
|
|
86
87
|
| `merge-gateway/google/gemini-embedding-001` | 2K | | | | | | $0.15 | — |
|
|
87
88
|
| `merge-gateway/google/gemini-flash-latest` | 1.0M | | | | | | $2 | $9 |
|
|
88
89
|
| `merge-gateway/google/gemini-flash-lite-latest` | 1.0M | | | | | | $0.25 | $2 |
|
|
89
90
|
| `merge-gateway/google/gemma-4-26b-a4b-it` | 262K | | | | | | $0.13 | $0.40 |
|
|
90
91
|
| `merge-gateway/google/gemma-4-31b-it` | 262K | | | | | | $0.14 | $0.40 |
|
|
92
|
+
| `merge-gateway/meta/llama-3.1-8b-instruct` | 128K | | | | | | $0.22 | $0.22 |
|
|
91
93
|
| `merge-gateway/meta/llama-3.3-70b-instruct` | 131K | | | | | | $0.22 | $0.50 |
|
|
92
94
|
| `merge-gateway/meta/muse-spark-1.1` | 1.0M | | | | | | $1 | $4 |
|
|
93
95
|
| `merge-gateway/meta/muse-spark-1.2` | 1.0M | | | | | | $1 | $4 |
|
|
@@ -153,6 +155,7 @@ for await (const chunk of stream) {
|
|
|
153
155
|
| `merge-gateway/qwen/qwen-plus` | 1.0M | | | | | | $0.12 | $0.29 |
|
|
154
156
|
| `merge-gateway/qwen/qwen3-235b-a22b` | 131K | | | | | | $0.29 | $1 |
|
|
155
157
|
| `merge-gateway/qwen/qwen3-235b-a22b-instruct-2507` | 131K | | | | | | $0.10 | $0.60 |
|
|
158
|
+
| `merge-gateway/qwen/qwen3-30b-a3b` | 131K | | | | | | $0.11 | $1 |
|
|
156
159
|
| `merge-gateway/qwen/qwen3-32b` | 131K | | | | | | $0.15 | $0.60 |
|
|
157
160
|
| `merge-gateway/qwen/qwen3-coder-480b-a35b-instruct` | 131K | | | | | | $0.22 | $2 |
|
|
158
161
|
| `merge-gateway/qwen/qwen3-coder-flash` | 1.0M | | | | | | $0.14 | $0.57 |
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# NanoGPT
|
|
4
4
|
|
|
5
|
-
Access
|
|
5
|
+
Access 599 NanoGPT models through Mastra's model router. Authentication is handled automatically using the `NANO_GPT_API_KEY` environment variable.
|
|
6
6
|
|
|
7
7
|
Learn more in the [NanoGPT documentation](https://docs.nano-gpt.com).
|
|
8
8
|
|
|
@@ -38,7 +38,6 @@ for await (const chunk of stream) {
|
|
|
38
38
|
| ---------------------------------------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
39
39
|
| `nano-gpt/abacusai/Dracarys-72B-Instruct` | 16K | | | | | | $0.49 | $0.49 |
|
|
40
40
|
| `nano-gpt/aion-labs/aion-2.0` | 131K | | | | | | $0.80 | $2 |
|
|
41
|
-
| `nano-gpt/aion-labs/aion-2.5` | 131K | | | | | | $1 | $3 |
|
|
42
41
|
| `nano-gpt/aion-labs/aion-3.0` | 131K | | | | | | $3 | $6 |
|
|
43
42
|
| `nano-gpt/aion-labs/aion-3.0-mini` | 131K | | | | | | $0.70 | $1 |
|
|
44
43
|
| `nano-gpt/aion-labs/aion-rp-llama-3.1-8b` | 33K | | | | | | $0.80 | $2 |
|
|
@@ -145,25 +144,26 @@ for await (const chunk of stream) {
|
|
|
145
144
|
| `nano-gpt/deepseek-reasoner` | 64K | | | | | | $0.40 | $2 |
|
|
146
145
|
| `nano-gpt/deepseek-reasoner-cheaper` | 128K | | | | | | $0.40 | $2 |
|
|
147
146
|
| `nano-gpt/deepseek-v3-0324` | 128K | | | | | | $0.20 | $0.77 |
|
|
148
|
-
| `nano-gpt/deepseek/deepseek-latest` | 1.0M | | | | | | $
|
|
147
|
+
| `nano-gpt/deepseek/deepseek-latest` | 1.0M | | | | | | $1 | $3 |
|
|
149
148
|
| `nano-gpt/deepseek/deepseek-prover-v2-671b` | 160K | | | | | | $1 | $3 |
|
|
150
149
|
| `nano-gpt/deepseek/deepseek-v3.2` | 163K | | | | | | $0.28 | $0.42 |
|
|
151
150
|
| `nano-gpt/deepseek/deepseek-v3.2:thinking` | 163K | | | | | | $0.28 | $0.42 |
|
|
152
|
-
| `nano-gpt/deepseek/deepseek-v4-flash` | 1.0M | | | | | | $0.
|
|
151
|
+
| `nano-gpt/deepseek/deepseek-v4-flash` | 1.0M | | | | | | $0.14 | $0.28 |
|
|
153
152
|
| `nano-gpt/deepseek/deepseek-v4-flash-0731` | 1.0M | | | | | | $0.14 | $0.28 |
|
|
154
153
|
| `nano-gpt/deepseek/deepseek-v4-flash-0731-cheaper` | 1.0M | | | | | | $0.14 | $0.28 |
|
|
155
154
|
| `nano-gpt/deepseek/deepseek-v4-flash-0731-cheaper:thinking` | 1.0M | | | | | | $0.14 | $0.28 |
|
|
156
155
|
| `nano-gpt/deepseek/deepseek-v4-flash-0731:thinking` | 1.0M | | | | | | $0.14 | $0.28 |
|
|
157
156
|
| `nano-gpt/deepseek/deepseek-v4-flash-latest` | 1.0M | | | | | | $0.14 | $0.28 |
|
|
158
|
-
| `nano-gpt/deepseek/deepseek-v4-flash:thinking` | 1.0M | | | | | | $0.
|
|
157
|
+
| `nano-gpt/deepseek/deepseek-v4-flash:thinking` | 1.0M | | | | | | $0.14 | $0.28 |
|
|
159
158
|
| `nano-gpt/deepseek/deepseek-v4-pro` | 1.0M | | | | | | $1 | $2 |
|
|
160
|
-
| `nano-gpt/deepseek/deepseek-v4-pro-0813` | 1.0M | | | | | | $
|
|
161
|
-
| `nano-gpt/deepseek/deepseek-v4-pro-0813:thinking` | 1.0M | | | | | | $
|
|
159
|
+
| `nano-gpt/deepseek/deepseek-v4-pro-0813` | 1.0M | | | | | | $1 | $3 |
|
|
160
|
+
| `nano-gpt/deepseek/deepseek-v4-pro-0813:thinking` | 1.0M | | | | | | $1 | $3 |
|
|
162
161
|
| `nano-gpt/deepseek/deepseek-v4-pro-cheaper` | 1.0M | | | | | | $0.43 | $0.87 |
|
|
163
162
|
| `nano-gpt/deepseek/deepseek-v4-pro-cheaper:thinking` | 1.0M | | | | | | $0.43 | $0.87 |
|
|
164
163
|
| `nano-gpt/deepseek/deepseek-v4-pro:thinking` | 1.0M | | | | | | $1 | $2 |
|
|
165
164
|
| `nano-gpt/dmind/dmind-1-mini` | 33K | | | | | | $0.20 | $0.40 |
|
|
166
165
|
| `nano-gpt/Doctor-Shotgun/MS3.2-24B-Magnum-Diamond` | 16K | | | | | | $0.49 | $0.49 |
|
|
166
|
+
| `nano-gpt/dots-studio/dots-3-note-preview:free` | 393K | | | | | | — | — |
|
|
167
167
|
| `nano-gpt/doubao-1.5-pro-256k` | 256K | | | | | | $0.80 | $1 |
|
|
168
168
|
| `nano-gpt/doubao-1.5-pro-32k` | 32K | | | | | | $0.13 | $0.33 |
|
|
169
169
|
| `nano-gpt/doubao-1.5-vision-pro-32k` | 32K | | | | | | $0.46 | $1 |
|
|
@@ -242,8 +242,9 @@ for await (const chunk of stream) {
|
|
|
242
242
|
| `nano-gpt/google/gemini-3.5-flash` | 1.0M | | | | | | $2 | $9 |
|
|
243
243
|
| `nano-gpt/google/gemini-3.5-flash-lite` | 1.0M | | | | | | $0.30 | $3 |
|
|
244
244
|
| `nano-gpt/google/gemini-3.5-flash-thinking` | 1.0M | | | | | | $2 | $9 |
|
|
245
|
-
| `nano-gpt/google/gemini-3.6-flash` | 1.0M | | | | | | $
|
|
246
|
-
| `nano-gpt/google/gemini-flash
|
|
245
|
+
| `nano-gpt/google/gemini-3.6-flash` | 1.0M | | | | | | $0.75 | $4 |
|
|
246
|
+
| `nano-gpt/google/gemini-3.7-flash` | 1.0M | | | | | | $0.38 | $2 |
|
|
247
|
+
| `nano-gpt/google/gemini-flash-latest` | 1.0M | | | | | | $0.75 | $4 |
|
|
247
248
|
| `nano-gpt/google/gemini-flash-lite-latest` | 1.0M | | | | | | $0.30 | $3 |
|
|
248
249
|
| `nano-gpt/google/gemini-pro-latest` | 1.0M | | | | | | $2 | $12 |
|
|
249
250
|
| `nano-gpt/google/gemma-4-26b-a4b-it` | 262K | | | | | | $0.13 | $0.40 |
|
|
@@ -448,7 +449,6 @@ for await (const chunk of stream) {
|
|
|
448
449
|
| `nano-gpt/qwen/qwen3-14b` | 41K | | | | | | $0.08 | $0.24 |
|
|
449
450
|
| `nano-gpt/qwen/qwen3-235b-a22b` | 41K | | | | | | $0.30 | $0.50 |
|
|
450
451
|
| `nano-gpt/qwen/Qwen3-235B-A22B-Instruct-2507` | 256K | | | | | | $0.13 | $0.50 |
|
|
451
|
-
| `nano-gpt/qwen/Qwen3-235B-A22B-Instruct-2507-TEE` | 256K | | | | | | $0.13 | $0.50 |
|
|
452
452
|
| `nano-gpt/qwen/Qwen3-235B-A22B-Thinking-2507` | 256K | | | | | | $0.30 | $0.50 |
|
|
453
453
|
| `nano-gpt/qwen/qwen3-30b-a3b` | 41K | | | | | | $0.10 | $0.30 |
|
|
454
454
|
| `nano-gpt/qwen/qwen3-32b` | 41K | | | | | | $0.10 | $0.30 |
|
|
@@ -542,6 +542,7 @@ for await (const chunk of stream) {
|
|
|
542
542
|
| `nano-gpt/TEE/gpt-oss-120b` | 131K | | | | | | $2 | $2 |
|
|
543
543
|
| `nano-gpt/TEE/gpt-oss-20b` | 131K | | | | | | $0.20 | $0.80 |
|
|
544
544
|
| `nano-gpt/TEE/kimi-k2.6` | 262K | | | | | | $2 | $5 |
|
|
545
|
+
| `nano-gpt/TEE/kimi-k2.7-code` | 262K | | | | | | $0.95 | $4 |
|
|
545
546
|
| `nano-gpt/TEE/kimi-k3` | 1.0M | | | | | | $3 | $15 |
|
|
546
547
|
| `nano-gpt/TEE/llama3-3-70b` | 128K | | | | | | $2 | $3 |
|
|
547
548
|
| `nano-gpt/TEE/muse-glimmer-30b` | 131K | | | | | | $0.35 | $2 |
|
|
@@ -631,6 +632,8 @@ for await (const chunk of stream) {
|
|
|
631
632
|
| `nano-gpt/zai-org/glm-5.1:thinking` | 200K | | | | | | $0.75 | $3 |
|
|
632
633
|
| `nano-gpt/zai-org/glm-5.2` | 1.0M | | | | | | $0.42 | $1 |
|
|
633
634
|
| `nano-gpt/zai-org/glm-5.2:thinking` | 1.0M | | | | | | $0.42 | $1 |
|
|
635
|
+
| `nano-gpt/zai-org/glm-5.3` | 1.0M | | | | | | $1 | $4 |
|
|
636
|
+
| `nano-gpt/zai-org/glm-5.3:thinking` | 1.0M | | | | | | $1 | $4 |
|
|
634
637
|
| `nano-gpt/zai-org/glm-latest` | 1.0M | | | | | | $0.42 | $1 |
|
|
635
638
|
|
|
636
639
|
## Advanced configuration
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Nvidia
|
|
4
4
|
|
|
5
|
-
Access
|
|
5
|
+
Access 100 Nvidia models through Mastra's model router. Authentication is handled automatically using the `NVIDIA_API_KEY` environment variable.
|
|
6
6
|
|
|
7
7
|
Learn more in the [Nvidia documentation](https://docs.api.nvidia.com/nim/).
|
|
8
8
|
|
|
@@ -63,6 +63,7 @@ for await (const chunk of stream) {
|
|
|
63
63
|
| `nvidia/meta/llama-3.3-70b-instruct` | 128K | | | | | | — | — |
|
|
64
64
|
| `nvidia/meta/llama-4-maverick-17b-128e-instruct` | 128K | | | | | | — | — |
|
|
65
65
|
| `nvidia/meta/llama-guard-4-12b` | 128K | | | | | | — | — |
|
|
66
|
+
| `nvidia/meta/muse-glimmer-30b` | 131K | | | | | | — | — |
|
|
66
67
|
| `nvidia/microsoft/phi-4-mini-instruct` | 131K | | | | | | — | — |
|
|
67
68
|
| `nvidia/microsoft/phi-4-multimodal-instruct` | 128K | | | | | | — | — |
|
|
68
69
|
| `nvidia/minimaxai/minimax-m2.7` | 205K | | | | | | — | — |
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Ofox
|
|
4
4
|
|
|
5
|
-
Access
|
|
5
|
+
Access 103 Ofox models through Mastra's model router. Authentication is handled automatically using the `OFOX_API_KEY` environment variable.
|
|
6
6
|
|
|
7
7
|
Learn more in the [Ofox documentation](https://ofox.ai/docs).
|
|
8
8
|
|
|
@@ -43,10 +43,12 @@ for await (const chunk of stream) {
|
|
|
43
43
|
| `ofox/anthropic/claude-opus-4.7` | 1.0M | | | | | | $5 | $25 |
|
|
44
44
|
| `ofox/anthropic/claude-opus-4.8` | 1.0M | | | | | | $5 | $25 |
|
|
45
45
|
| `ofox/anthropic/claude-opus-5` | 1.0M | | | | | | $5 | $25 |
|
|
46
|
+
| `ofox/anthropic/claude-sonnet-4.5` | 200K | | | | | | $3 | $15 |
|
|
46
47
|
| `ofox/anthropic/claude-sonnet-4.6` | 1.0M | | | | | | $3 | $15 |
|
|
47
48
|
| `ofox/anthropic/claude-sonnet-5` | 1.0M | | | | | | $2 | $10 |
|
|
48
49
|
| `ofox/bailian/qwen-flash` | 1.0M | | | | | | $0.02 | $0.22 |
|
|
49
50
|
| `ofox/bailian/qwen-max` | 33K | | | | | | $0.35 | $1 |
|
|
51
|
+
| `ofox/bailian/qwen-plus` | 1.0M | | | | | | $0.12 | $0.29 |
|
|
50
52
|
| `ofox/bailian/qwen-turbo` | 128K | | | | | | $0.05 | $0.09 |
|
|
51
53
|
| `ofox/bailian/qwen-vl-max` | 131K | | | | | | $0.23 | $0.58 |
|
|
52
54
|
| `ofox/bailian/qwen3-coder-flash` | 1.0M | | | | | | $0.50 | $3 |
|
|
@@ -55,6 +57,7 @@ for await (const chunk of stream) {
|
|
|
55
57
|
| `ofox/bailian/qwen3-max` | 262K | | | | | | $0.36 | $1 |
|
|
56
58
|
| `ofox/bailian/qwen3.5-122b-a10b` | 256K | | | | | | $0.29 | $2 |
|
|
57
59
|
| `ofox/bailian/qwen3.5-27b` | 262K | | | | | | $0.29 | $2 |
|
|
60
|
+
| `ofox/bailian/qwen3.5-35b-a3b` | 262K | | | | | | $0.29 | $2 |
|
|
58
61
|
| `ofox/bailian/qwen3.5-397b-a17b` | 256K | | | | | | $0.55 | $4 |
|
|
59
62
|
| `ofox/bailian/qwen3.5-flash` | 1.0M | | | | | | $0.10 | $0.40 |
|
|
60
63
|
| `ofox/bailian/qwen3.5-plus` | 1.0M | | | | | | $0.40 | $2 |
|
|
@@ -68,6 +71,7 @@ for await (const chunk of stream) {
|
|
|
68
71
|
| `ofox/deepseek/deepseek-v3.2` | 128K | | | | | | $0.29 | $0.43 |
|
|
69
72
|
| `ofox/deepseek/deepseek-v4-flash` | 1.0M | | | | | | $0.14 | $0.28 |
|
|
70
73
|
| `ofox/deepseek/deepseek-v4-pro` | 1.0M | | | | | | $0.45 | $0.88 |
|
|
74
|
+
| `ofox/deepseek/deepseek-v4-pro-0813` | 1.0M | | | | | | $0.45 | $0.88 |
|
|
71
75
|
| `ofox/google/gemini-2.5-flash` | 1.0M | | | | | | $0.30 | $3 |
|
|
72
76
|
| `ofox/google/gemini-2.5-flash-lite` | 1.0M | | | | | | $0.10 | $0.40 |
|
|
73
77
|
| `ofox/google/gemini-2.5-pro` | 1.0M | | | | | | $1 | $10 |
|
|
@@ -75,9 +79,20 @@ for await (const chunk of stream) {
|
|
|
75
79
|
| `ofox/google/gemini-3.1-flash-lite` | 1.0M | | | | | | $0.25 | $2 |
|
|
76
80
|
| `ofox/google/gemini-3.1-pro-preview` | 1.0M | | | | | | $2 | $12 |
|
|
77
81
|
| `ofox/google/gemini-3.5-flash` | 1.0M | | | | | | $2 | $9 |
|
|
82
|
+
| `ofox/google/gemini-3.5-flash-lite` | 1.0M | | | | | | $0.30 | $3 |
|
|
78
83
|
| `ofox/google/gemini-3.6-flash` | 1.0M | | | | | | $2 | $8 |
|
|
84
|
+
| `ofox/minimax/m2-her` | 200K | | | | | | $0.30 | $1 |
|
|
85
|
+
| `ofox/minimax/minimax-m2` | 197K | | | | | | $0.30 | $1 |
|
|
86
|
+
| `ofox/minimax/minimax-m2.1` | 205K | | | | | | $0.30 | $1 |
|
|
87
|
+
| `ofox/minimax/minimax-m2.1-lightning` | 205K | | | | | | $0.30 | $2 |
|
|
88
|
+
| `ofox/minimax/minimax-m2.5` | 205K | | | | | | $0.30 | $1 |
|
|
89
|
+
| `ofox/minimax/minimax-m2.5-lightning` | 205K | | | | | | $0.30 | $2 |
|
|
90
|
+
| `ofox/minimax/minimax-m2.7` | 205K | | | | | | $0.30 | $1 |
|
|
91
|
+
| `ofox/minimax/minimax-m2.7-highspeed` | 205K | | | | | | $0.60 | $2 |
|
|
92
|
+
| `ofox/minimax/minimax-m3` | 512K | | | | | | $0.60 | $2 |
|
|
79
93
|
| `ofox/moonshotai/kimi-k2.5` | 262K | | | | | | $0.60 | $3 |
|
|
80
94
|
| `ofox/moonshotai/kimi-k2.6` | 262K | | | | | | $0.95 | $4 |
|
|
95
|
+
| `ofox/moonshotai/kimi-k2.7-code` | 262K | | | | | | $0.95 | $4 |
|
|
81
96
|
| `ofox/moonshotai/kimi-k2.7-code-highspeed` | 262K | | | | | | $2 | $8 |
|
|
82
97
|
| `ofox/moonshotai/kimi-k3` | 1.0M | | | | | | $3 | $15 |
|
|
83
98
|
| `ofox/openai/gpt-4.1` | 1.0M | | | | | | $2 | $8 |
|
|
@@ -86,17 +101,33 @@ for await (const chunk of stream) {
|
|
|
86
101
|
| `ofox/openai/gpt-4o-mini` | 128K | | | | | | $0.15 | $0.60 |
|
|
87
102
|
| `ofox/openai/gpt-5` | 400K | | | | | | $1 | $10 |
|
|
88
103
|
| `ofox/openai/gpt-5-mini` | 256K | | | | | | $0.25 | $2 |
|
|
104
|
+
| `ofox/openai/gpt-5-nano` | 400K | | | | | | $0.05 | $0.40 |
|
|
89
105
|
| `ofox/openai/gpt-5.1` | 400K | | | | | | $1 | $10 |
|
|
90
106
|
| `ofox/openai/gpt-5.1-codex-max` | 256K | | | | | | $1 | $10 |
|
|
91
107
|
| `ofox/openai/gpt-5.1-codex-mini` | 256K | | | | | | $0.25 | $2 |
|
|
92
108
|
| `ofox/openai/gpt-5.2` | 400K | | | | | | $2 | $14 |
|
|
93
109
|
| `ofox/openai/gpt-5.2-codex` | 400K | | | | | | $2 | $14 |
|
|
110
|
+
| `ofox/openai/gpt-5.3-codex` | 400K | | | | | | $2 | $14 |
|
|
111
|
+
| `ofox/openai/gpt-5.4` | 1.1M | | | | | | $3 | $15 |
|
|
94
112
|
| `ofox/openai/gpt-5.4-mini` | 400K | | | | | | $0.75 | $5 |
|
|
95
113
|
| `ofox/openai/gpt-5.4-nano` | 400K | | | | | | $0.20 | $1 |
|
|
114
|
+
| `ofox/openai/gpt-5.4-pro` | 1.1M | | | | | | $30 | $180 |
|
|
96
115
|
| `ofox/openai/gpt-5.5` | 1.1M | | | | | | $5 | $30 |
|
|
97
116
|
| `ofox/openai/gpt-5.6-luna` | 1.1M | | | | | | $0.20 | $1 |
|
|
98
117
|
| `ofox/openai/gpt-5.6-sol` | 1.1M | | | | | | $5 | $30 |
|
|
99
118
|
| `ofox/openai/gpt-5.6-terra` | 1.1M | | | | | | $2 | $12 |
|
|
119
|
+
| `ofox/volcengine/doubao-seed-1-6` | 256K | | | | | | $0.12 | $0.29 |
|
|
120
|
+
| `ofox/volcengine/doubao-seed-1-6-flash` | 256K | | | | | | $0.03 | $0.22 |
|
|
121
|
+
| `ofox/volcengine/doubao-seed-1-6-vision` | 256K | | | | | | $0.12 | $1 |
|
|
122
|
+
| `ofox/volcengine/doubao-seed-1-8` | 256K | | | | | | $0.12 | $0.29 |
|
|
123
|
+
| `ofox/volcengine/doubao-seed-2.0-code` | 256K | | | | | | $0.67 | $3 |
|
|
124
|
+
| `ofox/volcengine/doubao-seed-2.0-lite` | 256K | | | | | | $0.13 | $0.76 |
|
|
125
|
+
| `ofox/volcengine/doubao-seed-2.0-mini` | 256K | | | | | | $0.06 | $0.56 |
|
|
126
|
+
| `ofox/volcengine/doubao-seed-2.0-pro` | 256K | | | | | | $0.67 | $3 |
|
|
127
|
+
| `ofox/volcengine/doubao-seed-2.1-pro` | 256K | | | | | | $0.88 | $4 |
|
|
128
|
+
| `ofox/volcengine/doubao-seed-2.1-turbo` | 256K | | | | | | $0.44 | $2 |
|
|
129
|
+
| `ofox/volcengine/doubao-seed-character` | 256K | | | | | | $0.18 | $0.88 |
|
|
130
|
+
| `ofox/volcengine/doubao-seed-evolving` | 256K | | | | | | $0.88 | $4 |
|
|
100
131
|
| `ofox/x-ai/grok-4.1-fast` | 2.0M | | | | | | $0.20 | $0.50 |
|
|
101
132
|
| `ofox/x-ai/grok-4.20` | 2.0M | | | | | | $4 | $12 |
|
|
102
133
|
| `ofox/x-ai/grok-4.3` | 1.0M | | | | | | $1 | $3 |
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# OpenCode Go
|
|
4
4
|
|
|
5
|
-
Access
|
|
5
|
+
Access 25 OpenCode Go models through Mastra's model router. Authentication is handled automatically using the `OPENCODE_API_KEY` environment variable.
|
|
6
6
|
|
|
7
7
|
Learn more in the [OpenCode Go documentation](https://opencode.ai/docs/zen).
|
|
8
8
|
|
|
@@ -40,6 +40,7 @@ for await (const chunk of stream) {
|
|
|
40
40
|
| `opencode-go/deepseek-v4-pro` | 1.0M | | | | | | $0.43 | $0.87 |
|
|
41
41
|
| `opencode-go/glm-5.1` | 203K | | | | | | $1 | $4 |
|
|
42
42
|
| `opencode-go/glm-5.2` | 1.0M | | | | | | $1 | $4 |
|
|
43
|
+
| `opencode-go/glm-5.3` | 1.0M | | | | | | $1 | $4 |
|
|
43
44
|
| `opencode-go/gpt-5.6-luna` | 1.1M | | | | | | $0.10 | $0.60 |
|
|
44
45
|
| `opencode-go/grok-4.5` | 500K | | | | | | $2 | $6 |
|
|
45
46
|
| `opencode-go/hy3` | 256K | | | | | | $0.14 | $0.58 |
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# OpenCode Zen
|
|
4
4
|
|
|
5
|
-
Access
|
|
5
|
+
Access 91 OpenCode Zen models through Mastra's model router. Authentication is handled automatically using the `OPENCODE_API_KEY` environment variable.
|
|
6
6
|
|
|
7
7
|
Learn more in the [OpenCode Zen documentation](https://opencode.ai/docs/zen).
|
|
8
8
|
|
|
@@ -56,6 +56,7 @@ for await (const chunk of stream) {
|
|
|
56
56
|
| `opencode/gemini-3.5-flash` | 1.0M | | | | | | $2 | $9 |
|
|
57
57
|
| `opencode/gemini-3.5-flash-lite` | 1.0M | | | | | | $0.30 | $3 |
|
|
58
58
|
| `opencode/gemini-3.6-flash` | 1.0M | | | | | | $2 | $8 |
|
|
59
|
+
| `opencode/gemini-3.7-flash` | 1.0M | | | | | | $2 | $8 |
|
|
59
60
|
| `opencode/glm-5` | 205K | | | | | | $1 | $3 |
|
|
60
61
|
| `opencode/glm-5.1` | 205K | | | | | | $1 | $4 |
|
|
61
62
|
| `opencode/glm-5.2` | 1.0M | | | | | | $1 | $4 |
|
|
@@ -92,6 +93,7 @@ for await (const chunk of stream) {
|
|
|
92
93
|
| `opencode/minimax-m2.5` | 205K | | | | | | $0.30 | $1 |
|
|
93
94
|
| `opencode/minimax-m2.7` | 205K | | | | | | $0.30 | $1 |
|
|
94
95
|
| `opencode/minimax-m3` | 512K | | | | | | $0.30 | $1 |
|
|
96
|
+
| `opencode/muse-spark-1.2` | 1.0M | | | | | | $1 | $4 |
|
|
95
97
|
| `opencode/nemotron-3-ultra-free` | 1.0M | | | | | | — | — |
|
|
96
98
|
| `opencode/nemotron-3.5-lightning-free` | 262K | | | | | | — | — |
|
|
97
99
|
| `opencode/qwen3.5-plus` | 262K | | | | | | $0.20 | $1 |
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Perplexity Agent
|
|
4
4
|
|
|
5
|
-
Access
|
|
5
|
+
Access 22 Perplexity Agent models through Mastra's model router. Authentication is handled automatically using the `PERPLEXITY_API_KEY` environment variable.
|
|
6
6
|
|
|
7
7
|
Learn more in the [Perplexity Agent documentation](https://docs.perplexity.ai/docs/agent-api/models).
|
|
8
8
|
|
|
@@ -42,6 +42,7 @@ for await (const chunk of stream) {
|
|
|
42
42
|
| `perplexity-agent/anthropic/claude-opus-4-7` | 1.0M | | | | | | $5 | $25 |
|
|
43
43
|
| `perplexity-agent/anthropic/claude-sonnet-4-5` | 200K | | | | | | $3 | $15 |
|
|
44
44
|
| `perplexity-agent/anthropic/claude-sonnet-4-6` | 200K | | | | | | $3 | $15 |
|
|
45
|
+
| `perplexity-agent/deepseek/deepseek-v4-flash-0731` | 1.0M | | | | | | $0.13 | $0.26 |
|
|
45
46
|
| `perplexity-agent/google/gemini-2.5-flash` | 1.0M | | | | | | $0.30 | $3 |
|
|
46
47
|
| `perplexity-agent/google/gemini-2.5-pro` | 1.0M | | | | | | $1 | $10 |
|
|
47
48
|
| `perplexity-agent/google/gemini-3-flash-preview` | 1.0M | | | | | | $0.50 | $3 |
|
|
@@ -56,6 +57,7 @@ for await (const chunk of stream) {
|
|
|
56
57
|
| `perplexity-agent/openai/gpt-5.5` | 1.1M | | | | | | $5 | $30 |
|
|
57
58
|
| `perplexity-agent/perplexity/sonar` | 128K | | | | | | $0.25 | $3 |
|
|
58
59
|
| `perplexity-agent/xai/grok-4-1-fast-non-reasoning` | 2.0M | | | | | | $0.20 | $0.50 |
|
|
60
|
+
| `perplexity-agent/xai/grok-4.6` | 500K | | | | | | $2 | $6 |
|
|
59
61
|
|
|
60
62
|
## Advanced configuration
|
|
61
63
|
|
|
@@ -85,7 +87,7 @@ const agent = new Agent({
|
|
|
85
87
|
model: ({ requestContext }) => {
|
|
86
88
|
const useAdvanced = requestContext.task === "complex";
|
|
87
89
|
return useAdvanced
|
|
88
|
-
? "perplexity-agent/xai/grok-4
|
|
90
|
+
? "perplexity-agent/xai/grok-4.6"
|
|
89
91
|
: "perplexity-agent/anthropic/claude-haiku-4-5";
|
|
90
92
|
}
|
|
91
93
|
});
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
> Discover all available pages from the documentation index: https://mastra.ai/llms.txt
|
|
2
|
+
|
|
3
|
+
# QVAC
|
|
4
|
+
|
|
5
|
+
QVAC is available through the AI SDK. Install the provider package to use their models with Mastra.
|
|
6
|
+
|
|
7
|
+
For detailed provider-specific documentation, see the [AI SDK QVAC provider docs](https://ai-sdk.dev/providers/community-providers/qvac).
|
|
8
|
+
|
|
9
|
+
To use this provider with Mastra agents, see the [Agent Overview documentation](https://mastra.ai/docs/agents/overview).
|
|
10
|
+
|
|
11
|
+
## Installation
|
|
12
|
+
|
|
13
|
+
**npm**:
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
npm install @qvac/ai-sdk-provider
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
**pnpm**:
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
pnpm add @qvac/ai-sdk-provider
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
**Yarn**:
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
yarn add @qvac/ai-sdk-provider
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
**Bun**:
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
bun add @qvac/ai-sdk-provider
|
|
35
|
+
```
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Requesty
|
|
4
4
|
|
|
5
|
-
Access
|
|
5
|
+
Access 49 Requesty models through Mastra's model router. Authentication is handled automatically using the `REQUESTY_API_KEY` environment variable.
|
|
6
6
|
|
|
7
7
|
Learn more in the [Requesty documentation](https://requesty.ai/solution/llm-routing/models).
|
|
8
8
|
|
|
@@ -60,10 +60,12 @@ for await (const chunk of stream) {
|
|
|
60
60
|
| `requesty/deepseek-v4-flash-0731` | 1.0M | | | | | | $0.14 | $0.28 |
|
|
61
61
|
| `requesty/deepseek-v4-flash-0731@eu` | 1.0M | | | | | | $0.14 | $0.28 |
|
|
62
62
|
| `requesty/gemini-2.5-flash@eu` | 1.0M | | | | | | $0.30 | $3 |
|
|
63
|
-
| `requesty/gemini-3.1-flash-lite@eu` | 1.0M | | | | | | $0.
|
|
63
|
+
| `requesty/gemini-3.1-flash-lite@eu` | 1.0M | | | | | | $0.28 | $2 |
|
|
64
64
|
| `requesty/gemini-3.5-flash-lite` | 1.0M | | | | | | $0.30 | $3 |
|
|
65
|
-
| `requesty/gemini-3.5-flash@eu` | 1.0M | | | | | | $2 | $
|
|
65
|
+
| `requesty/gemini-3.5-flash@eu` | 1.0M | | | | | | $2 | $10 |
|
|
66
66
|
| `requesty/gemini-3.6-flash` | 1.0M | | | | | | $2 | $7 |
|
|
67
|
+
| `requesty/gemini-3.7-flash` | 1.0M | | | | | | $0.75 | $4 |
|
|
68
|
+
| `requesty/gemini-3.7-flash@eu` | 1.0M | | | | | | $0.82 | $4 |
|
|
67
69
|
| `requesty/glm-5.2` | 1.0M | | | | | | $1 | $4 |
|
|
68
70
|
| `requesty/glm-5.2@eu` | 1.0M | | | | | | $1 | $4 |
|
|
69
71
|
| `requesty/gpt-4.1-mini@eu` | 1.0M | | | | | | $0.44 | $2 |
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Z.AI Coding Plan
|
|
4
4
|
|
|
5
|
-
Access
|
|
5
|
+
Access 5 Z.AI Coding Plan models through Mastra's model router. Authentication is handled automatically using the `ZHIPU_API_KEY` environment variable.
|
|
6
6
|
|
|
7
7
|
Learn more in the [Z.AI Coding Plan documentation](https://docs.z.ai/devpack/overview).
|
|
8
8
|
|
|
@@ -40,6 +40,7 @@ for await (const chunk of stream) {
|
|
|
40
40
|
| `zai-coding-plan/glm-5-turbo` | 200K | | | | | | — | — |
|
|
41
41
|
| `zai-coding-plan/glm-5.2` | 1.0M | | | | | | — | — |
|
|
42
42
|
| `zai-coding-plan/glm-5.2-highspeed` | 1.0M | | | | | | — | — |
|
|
43
|
+
| `zai-coding-plan/glm-5.3` | 1.0M | | | | | | — | — |
|
|
43
44
|
|
|
44
45
|
## Advanced configuration
|
|
45
46
|
|
|
@@ -69,7 +70,7 @@ const agent = new Agent({
|
|
|
69
70
|
model: ({ requestContext }) => {
|
|
70
71
|
const useAdvanced = requestContext.task === "complex";
|
|
71
72
|
return useAdvanced
|
|
72
|
-
? "zai-coding-plan/glm-5.
|
|
73
|
+
? "zai-coding-plan/glm-5.3"
|
|
73
74
|
: "zai-coding-plan/glm-4.7";
|
|
74
75
|
}
|
|
75
76
|
});
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Zhipu AI Coding Plan
|
|
4
4
|
|
|
5
|
-
Access
|
|
5
|
+
Access 8 Zhipu AI Coding Plan models through Mastra's model router. Authentication is handled automatically using the `ZHIPU_API_KEY` environment variable.
|
|
6
6
|
|
|
7
7
|
Learn more in the [Zhipu AI Coding Plan documentation](https://docs.bigmodel.cn/cn/coding-plan/overview).
|
|
8
8
|
|
|
@@ -42,6 +42,7 @@ for await (const chunk of stream) {
|
|
|
42
42
|
| `zhipuai-coding-plan/glm-5.1` | 200K | | | | | | — | — |
|
|
43
43
|
| `zhipuai-coding-plan/glm-5.2` | 1.0M | | | | | | — | — |
|
|
44
44
|
| `zhipuai-coding-plan/glm-5.2-highspeed` | 1.0M | | | | | | — | — |
|
|
45
|
+
| `zhipuai-coding-plan/glm-5.3` | 1.0M | | | | | | — | — |
|
|
45
46
|
| `zhipuai-coding-plan/glm-5v-turbo` | 200K | | | | | | — | — |
|
|
46
47
|
|
|
47
48
|
## Advanced configuration
|
|
@@ -43,6 +43,7 @@ Direct access to individual AI model providers. Each provider offers unique mode
|
|
|
43
43
|
- [Cortecs](https://mastra.ai/models/providers/cortecs)
|
|
44
44
|
- [CrofAI](https://mastra.ai/models/providers/crof)
|
|
45
45
|
- [CrossModel](https://mastra.ai/models/providers/crossmodel)
|
|
46
|
+
- [Crusoe](https://mastra.ai/models/providers/crusoe)
|
|
46
47
|
- [D.Run (China)](https://mastra.ai/models/providers/drun)
|
|
47
48
|
- [DaoXE](https://mastra.ai/models/providers/daoxe)
|
|
48
49
|
- [Databricks](https://mastra.ai/models/providers/databricks)
|
|
@@ -196,6 +196,31 @@ const session = await controller.getSessionByResource('project-42', 'editor-wind
|
|
|
196
196
|
|
|
197
197
|
Returns: `Promise<Session<TState> | undefined>`
|
|
198
198
|
|
|
199
|
+
#### `onSessionCreated(listener, options?)`
|
|
200
|
+
|
|
201
|
+
Subscribe to process-local notifications after `createSession()` materializes a new live session. Listener errors are isolated and don't prevent other listeners from running. Call the returned function to unsubscribe.
|
|
202
|
+
|
|
203
|
+
By default listeners are fire-and-forget. Pass `{ blocking: true }` to make `createSession()` await the listener before resolving the new session, so the host can prepare session state before the caller can start a run. Blocking listeners run sequentially in registration order, before fire-and-forget listeners are notified. A blocking listener must not call `createSession()` for the same `(resourceId, scope)` pair. That call would await its own hydration and deadlock.
|
|
204
|
+
|
|
205
|
+
```typescript
|
|
206
|
+
const unsubscribe = controller.onSessionCreated(
|
|
207
|
+
async session => {
|
|
208
|
+
const settings = await loadSettings(session.identity.getResourceId())
|
|
209
|
+
if (settings) await session.state.set(settings)
|
|
210
|
+
},
|
|
211
|
+
{ blocking: true },
|
|
212
|
+
)
|
|
213
|
+
|
|
214
|
+
// Default listeners stay fire-and-forget.
|
|
215
|
+
controller.onSessionCreated(session => {
|
|
216
|
+
console.log(`Created ${session.identity.getResourceId()}`)
|
|
217
|
+
})
|
|
218
|
+
```
|
|
219
|
+
|
|
220
|
+
Listeners run once per newly materialized session, not for cached sessions returned by later `createSession()` calls. They run only in the current process and aren't persisted events.
|
|
221
|
+
|
|
222
|
+
Returns: `() => void`
|
|
223
|
+
|
|
199
224
|
#### `onSessionDeleted(listener)`
|
|
200
225
|
|
|
201
226
|
Subscribe to process-local notifications after `deleteSession()` tears down a live session. Listener errors are isolated and don't prevent other listeners from running. Call the returned function to unsubscribe.
|
|
@@ -472,5 +497,5 @@ await controller.stopIntervals()
|
|
|
472
497
|
- [AgentController guide](https://mastra.ai/docs/harness/agent-controller)
|
|
473
498
|
- [Session reference](https://mastra.ai/reference/agent-controller/session)
|
|
474
499
|
- [Agents](https://mastra.ai/docs/agents/overview)
|
|
475
|
-
- [
|
|
500
|
+
- [Sandbox](https://mastra.ai/docs/workspace/sandbox)
|
|
476
501
|
- [Channels](https://mastra.ai/docs/capabilities/channels)
|