@mastra/mcp-docs-server 1.2.7 → 1.2.8-alpha.17
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/agent-builder/deploying.md +1 -0
- package/.docs/docs/agent-builder/integrations.md +1 -3
- package/.docs/docs/agent-builder/overview.md +1 -1
- package/.docs/docs/agent-controller/overview.md +1 -1
- package/.docs/docs/agents/overview.md +17 -13
- package/.docs/docs/agents/skills.md +1 -3
- package/.docs/docs/agents/structured-output.md +14 -7
- package/.docs/docs/agents/using-tools.md +80 -26
- package/.docs/docs/browser/agent-browser.md +1 -0
- package/.docs/docs/browser/firecrawl.md +129 -0
- package/.docs/docs/browser/overview.md +16 -2
- package/.docs/docs/capabilities/channels/other-adapters.md +1 -1
- package/.docs/docs/capabilities/channels/overview.md +1 -0
- package/.docs/docs/capabilities/channels/slack.md +113 -3
- package/.docs/docs/deployment/mastra-server.md +35 -0
- package/.docs/docs/deployment/monorepo.md +2 -0
- package/.docs/docs/deployment/overview.md +6 -0
- package/.docs/docs/deployment/sandbox.md +277 -0
- package/.docs/docs/editor/overview.md +2 -6
- package/.docs/docs/editor/tools.md +2 -6
- package/.docs/docs/evals/multi-turn.md +178 -0
- package/.docs/docs/evals/overview.md +1 -0
- package/.docs/docs/evals/running-in-ci.md +3 -9
- package/.docs/docs/getting-started/file-based-agents.md +2 -2
- package/.docs/docs/index.md +17 -13
- package/.docs/docs/long-running-agents/background-tasks.md +2 -2
- package/.docs/docs/long-running-agents/durable-agents.md +2 -1
- package/.docs/docs/long-running-agents/schedules.md +2 -2
- package/.docs/docs/mastra-platform/database.md +13 -6
- package/.docs/docs/mastra-platform/deploy.md +17 -8
- package/.docs/docs/mastra-platform/environments.md +5 -4
- package/.docs/docs/mastra-platform/regions.md +73 -0
- package/.docs/docs/mcp/overview.md +1 -1
- package/.docs/docs/memory/multi-user-threads.md +4 -4
- package/.docs/docs/memory/observational-memory.md +78 -3
- package/.docs/docs/memory/overview.md +4 -0
- package/.docs/docs/memory/working-memory.md +1 -1
- package/.docs/docs/observability/integrations/bridges/otel.md +1 -3
- package/.docs/docs/observability/integrations/exporters/braintrust.md +34 -2
- package/.docs/docs/observability/integrations/exporters/otel.md +1 -3
- package/.docs/docs/server/auth/simple-auth.md +1 -3
- package/.docs/docs/server/request-context.md +2 -0
- package/.docs/docs/studio/overview.md +2 -0
- package/.docs/docs/voice/livekit.md +1 -1
- package/.docs/docs/workflows/control-flow.md +1 -3
- package/.docs/guides/build-your-ui/ai-sdk-ui.md +1 -0
- package/.docs/guides/guide/signal-provider.md +2 -0
- package/.docs/guides/migrations/vnext-to-standard-apis.md +1 -3
- package/.docs/models/environment-variables.md +1 -0
- package/.docs/models/gateways/openrouter.md +339 -345
- package/.docs/models/gateways/vercel.md +6 -5
- package/.docs/models/index.md +1 -1
- package/.docs/models/providers/ambient.md +12 -10
- package/.docs/models/providers/baseten.md +3 -2
- package/.docs/models/providers/crossmodel.md +2 -1
- package/.docs/models/providers/deepinfra.md +4 -7
- package/.docs/models/providers/empiriolabs.md +2 -1
- package/.docs/models/providers/evroc.md +3 -2
- package/.docs/models/providers/google.md +2 -2
- package/.docs/models/providers/kilo.md +1 -1
- package/.docs/models/providers/kimi-for-coding.md +10 -11
- package/.docs/models/providers/llmgateway.md +3 -8
- package/.docs/models/providers/moonshotai-cn.md +3 -2
- package/.docs/models/providers/moonshotai.md +3 -2
- package/.docs/models/providers/nebius.md +3 -1
- package/.docs/models/providers/ollama-cloud.md +25 -42
- package/.docs/models/providers/opencode-go.md +5 -3
- package/.docs/models/providers/orcarouter.md +1 -1
- package/.docs/models/providers/privatemode-ai.md +10 -10
- package/.docs/models/providers/thinkingmachines.md +73 -0
- package/.docs/models/providers/togetherai.md +2 -6
- package/.docs/models/providers/zenmux.md +2 -1
- package/.docs/models/providers.md +1 -0
- package/.docs/reference/acp/acp-agent.md +2 -0
- package/.docs/reference/acp/create-acp-tool.md +28 -0
- package/.docs/reference/agent-controller/agent-controller-class.md +1 -1
- package/.docs/reference/agent-controller/session.md +15 -0
- package/.docs/reference/agents/agent.md +14 -2
- package/.docs/reference/agents/durable-agent.md +23 -0
- package/.docs/reference/agents/generate.md +19 -1
- package/.docs/reference/browser/firecrawl-browser.md +71 -0
- package/.docs/reference/cli/mastra.md +14 -6
- package/.docs/reference/code-sdk/mount-agent-controller.md +1 -3
- package/.docs/reference/core/getMCPServer.md +1 -3
- package/.docs/reference/core/getMCPServerById.md +1 -3
- package/.docs/reference/core/getTool.md +33 -0
- package/.docs/reference/core/getToolById.md +48 -0
- package/.docs/reference/core/getWorkflow.md +1 -3
- package/.docs/reference/core/listMCPServers.md +2 -6
- package/.docs/reference/core/listTools.md +38 -0
- package/.docs/reference/core/mastra-class.md +1 -1
- package/.docs/reference/datasets/addItem.md +1 -3
- package/.docs/reference/datasets/addItems.md +1 -3
- package/.docs/reference/datasets/compareExperiments.md +1 -3
- package/.docs/reference/datasets/create.md +1 -3
- package/.docs/reference/datasets/dataset.md +2 -6
- package/.docs/reference/datasets/datasets-manager.md +5 -15
- package/.docs/reference/datasets/delete.md +1 -3
- package/.docs/reference/datasets/deleteExperiment.md +1 -3
- package/.docs/reference/datasets/deleteItem.md +1 -3
- package/.docs/reference/datasets/deleteItems.md +1 -3
- package/.docs/reference/datasets/get.md +1 -3
- package/.docs/reference/datasets/getDetails.md +1 -3
- package/.docs/reference/datasets/getExperiment.md +1 -3
- package/.docs/reference/datasets/getItem.md +1 -3
- package/.docs/reference/datasets/getItemHistory.md +1 -3
- package/.docs/reference/datasets/list.md +1 -3
- package/.docs/reference/datasets/listExperimentResults.md +1 -3
- package/.docs/reference/datasets/listExperiments.md +1 -3
- package/.docs/reference/datasets/listItems.md +1 -3
- package/.docs/reference/datasets/listVersions.md +1 -3
- package/.docs/reference/datasets/startExperiment.md +1 -3
- package/.docs/reference/datasets/startExperimentAsync.md +1 -3
- package/.docs/reference/datasets/update.md +1 -3
- package/.docs/reference/datasets/updateItem.md +1 -3
- package/.docs/reference/editor/mastra-editor.md +1 -3
- package/.docs/reference/evals/create-scorer.md +4 -10
- package/.docs/reference/evals/mastra-scorer.md +1 -3
- package/.docs/reference/evals/run-evals.md +94 -2
- package/.docs/reference/file-based-agents/logger.md +1 -1
- package/.docs/reference/file-based-agents/tools.md +7 -6
- package/.docs/reference/index.md +5 -0
- package/.docs/reference/memory/observational-memory.md +21 -0
- package/.docs/reference/observability/tracing/processors/sensitive-data-filter.md +1 -3
- package/.docs/reference/processors/token-limiter-processor.md +1 -3
- package/.docs/reference/rag/database-config.md +12 -0
- package/.docs/reference/storage/clickhouse.md +1 -1
- package/.docs/reference/storage/convex.md +17 -10
- package/.docs/reference/storage/retention.md +1 -1
- package/.docs/reference/streaming/agents/stream.md +3 -1
- package/.docs/reference/tools/create-tool.md +78 -52
- package/.docs/reference/tools/mcp-client.md +104 -24
- package/.docs/reference/tools/mcp-server.md +143 -44
- package/.docs/reference/tools/task-tools.md +2 -2
- package/.docs/reference/tools/tavily.md +1 -1
- package/.docs/reference/tools/vector-query-tool.md +22 -0
- package/.docs/reference/vectors/mongodb.md +2 -0
- package/.docs/reference/vectors/turbopuffer.md +4 -0
- package/.docs/reference/voice/mistral.md +127 -0
- package/.docs/reference/workspace/daytona-sandbox.md +2 -6
- package/CHANGELOG.md +64 -0
- package/dist/{chunk-GLPCVXXO.js → chunk-HGADBLKG.js} +2 -2
- package/dist/{chunk-GLPCVXXO.js.map → chunk-HGADBLKG.js.map} +1 -1
- package/dist/index.js +1 -1
- package/dist/stdio.js +1 -1
- package/dist/tools/docs.d.ts.map +1 -1
- package/package.json +7 -7
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Vercel
|
|
4
4
|
|
|
5
|
-
Vercel aggregates models from multiple providers with enhanced features like rate limiting and failover. Access
|
|
5
|
+
Vercel aggregates models from multiple providers with enhanced features like rate limiting and failover. Access 301 models through Mastra's model router.
|
|
6
6
|
|
|
7
7
|
Learn more in the [Vercel documentation](https://ai-sdk.dev/providers/ai-sdk-providers).
|
|
8
8
|
|
|
@@ -83,7 +83,9 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
83
83
|
| `anthropic/claude-opus-4.5` |
|
|
84
84
|
| `anthropic/claude-opus-4.6` |
|
|
85
85
|
| `anthropic/claude-opus-4.7` |
|
|
86
|
+
| `anthropic/claude-opus-4.7-fast` |
|
|
86
87
|
| `anthropic/claude-opus-4.8` |
|
|
88
|
+
| `anthropic/claude-opus-4.8-fast` |
|
|
87
89
|
| `anthropic/claude-sonnet-4` |
|
|
88
90
|
| `anthropic/claude-sonnet-4.5` |
|
|
89
91
|
| `anthropic/claude-sonnet-4.6` |
|
|
@@ -169,10 +171,6 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
169
171
|
| `kwaipilot/kat-coder-pro-v2.5` |
|
|
170
172
|
| `meta/llama-3.1-70b` |
|
|
171
173
|
| `meta/llama-3.1-8b` |
|
|
172
|
-
| `meta/llama-3.2-11b` |
|
|
173
|
-
| `meta/llama-3.2-1b` |
|
|
174
|
-
| `meta/llama-3.2-3b` |
|
|
175
|
-
| `meta/llama-3.2-90b` |
|
|
176
174
|
| `meta/llama-3.3-70b` |
|
|
177
175
|
| `meta/llama-4-maverick` |
|
|
178
176
|
| `meta/llama-4-scout` |
|
|
@@ -207,6 +205,7 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
207
205
|
| `moonshotai/kimi-k2.6` |
|
|
208
206
|
| `moonshotai/kimi-k2.7-code` |
|
|
209
207
|
| `moonshotai/kimi-k2.7-code-highspeed` |
|
|
208
|
+
| `moonshotai/kimi-k3` |
|
|
210
209
|
| `morph/morph-v3-fast` |
|
|
211
210
|
| `morph/morph-v3-large` |
|
|
212
211
|
| `nvidia/nemotron-3-nano-30b-a3b` |
|
|
@@ -261,6 +260,7 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
261
260
|
| `openai/gpt-realtime-2` |
|
|
262
261
|
| `openai/gpt-realtime-2.1` |
|
|
263
262
|
| `openai/gpt-realtime-mini` |
|
|
263
|
+
| `openai/gpt-realtime-whisper` |
|
|
264
264
|
| `openai/o1` |
|
|
265
265
|
| `openai/o3` |
|
|
266
266
|
| `openai/o3-deep-research` |
|
|
@@ -289,6 +289,7 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
289
289
|
| `sakana/fugu-ultra` |
|
|
290
290
|
| `stepfun/step-3.5-flash` |
|
|
291
291
|
| `stepfun/step-3.7-flash` |
|
|
292
|
+
| `thinkingmachines/inkling` |
|
|
292
293
|
| `voyage/rerank-2.5` |
|
|
293
294
|
| `voyage/rerank-2.5-lite` |
|
|
294
295
|
| `voyage/voyage-3-large` |
|
package/.docs/models/index.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Model Providers
|
|
4
4
|
|
|
5
|
-
Mastra provides a unified interface for working with LLMs across multiple providers, giving you access to
|
|
5
|
+
Mastra provides a unified interface for working with LLMs across multiple providers, giving you access to 4846 models from 156 providers through a single API.
|
|
6
6
|
|
|
7
7
|
## Features
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Ambient
|
|
4
4
|
|
|
5
|
-
Access
|
|
5
|
+
Access 9 Ambient models through Mastra's model router. Authentication is handled automatically using the `AMBIENT_API_KEY` environment variable.
|
|
6
6
|
|
|
7
7
|
Learn more in the [Ambient documentation](https://ambient.xyz).
|
|
8
8
|
|
|
@@ -34,15 +34,17 @@ for await (const chunk of stream) {
|
|
|
34
34
|
|
|
35
35
|
## Models
|
|
36
36
|
|
|
37
|
-
| Model
|
|
38
|
-
|
|
|
39
|
-
| `ambient/ambient/large`
|
|
40
|
-
| `ambient/
|
|
41
|
-
| `ambient/moonshotai/kimi-k2.
|
|
42
|
-
| `ambient/
|
|
43
|
-
| `ambient/
|
|
44
|
-
| `ambient/
|
|
45
|
-
| `ambient/
|
|
37
|
+
| Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
|
|
38
|
+
| ------------------------------------ | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
39
|
+
| `ambient/ambient/large` | 101K | | | | | | $1 | $4 |
|
|
40
|
+
| `ambient/deepseek/deepseek-v4-flash` | 1.0M | | | | | | $0.50 | $0.80 |
|
|
41
|
+
| `ambient/moonshotai/kimi-k2.6` | 262K | | | | | | $0.95 | $4 |
|
|
42
|
+
| `ambient/moonshotai/kimi-k2.7-code` | 262K | | | | | | $0.85 | $4 |
|
|
43
|
+
| `ambient/stepfun/step-3.7-flash` | 262K | | | | | | $0.19 | $1 |
|
|
44
|
+
| `ambient/xiaomi/mimo-v2.5` | 1.0M | | | | | | $0.40 | $2 |
|
|
45
|
+
| `ambient/z-ai/glm-5.2` | 101K | | | | | | $1 | $4 |
|
|
46
|
+
| `ambient/zai-org/GLM-5.1-FP8` | 203K | | | | | | $1 | $4 |
|
|
47
|
+
| `ambient/zai-org/GLM-5.2-FP8` | 203K | | | | | | $1 | $4 |
|
|
46
48
|
|
|
47
49
|
## Advanced configuration
|
|
48
50
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Baseten
|
|
4
4
|
|
|
5
|
-
Access
|
|
5
|
+
Access 12 Baseten models through Mastra's model router. Authentication is handled automatically using the `BASETEN_API_KEY` environment variable.
|
|
6
6
|
|
|
7
7
|
Learn more in the [Baseten documentation](https://docs.baseten.co).
|
|
8
8
|
|
|
@@ -43,10 +43,11 @@ for await (const chunk of stream) {
|
|
|
43
43
|
| `baseten/nvidia/Nemotron-120B-A12B` | 203K | | | | | | $0.30 | $0.75 |
|
|
44
44
|
| `baseten/nvidia/NVIDIA-Nemotron-3-Ultra-550B-A55B` | 203K | | | | | | $0.60 | $2 |
|
|
45
45
|
| `baseten/openai/gpt-oss-120b` | 128K | | | | | | $0.10 | $0.50 |
|
|
46
|
+
| `baseten/thinkingmachines/inkling` | 1.0M | | | | | | $1 | $4 |
|
|
46
47
|
| `baseten/zai-org/GLM-4.7` | 200K | | | | | | $0.60 | $2 |
|
|
47
48
|
| `baseten/zai-org/GLM-5` | 203K | | | | | | $0.95 | $3 |
|
|
48
49
|
| `baseten/zai-org/GLM-5.1` | 203K | | | | | | $1 | $4 |
|
|
49
|
-
| `baseten/zai-org/GLM-5.2` |
|
|
50
|
+
| `baseten/zai-org/GLM-5.2` | 256K | | | | | | $1 | $4 |
|
|
50
51
|
|
|
51
52
|
## Advanced configuration
|
|
52
53
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# CrossModel
|
|
4
4
|
|
|
5
|
-
Access
|
|
5
|
+
Access 44 CrossModel models through Mastra's model router. Authentication is handled automatically using the `CROSSMODEL_API_KEY` environment variable.
|
|
6
6
|
|
|
7
7
|
Learn more in the [CrossModel documentation](https://www.crossmodel.ai/docs).
|
|
8
8
|
|
|
@@ -55,6 +55,7 @@ for await (const chunk of stream) {
|
|
|
55
55
|
| `crossmodel/moonshot/kimi-k2.5` | 262K | | | | | | $0.62 | $3 |
|
|
56
56
|
| `crossmodel/moonshot/kimi-k2.6` | 262K | | | | | | $1 | $4 |
|
|
57
57
|
| `crossmodel/moonshot/kimi-k2.7-code` | 262K | | | | | | $1 | $4 |
|
|
58
|
+
| `crossmodel/moonshot/kimi-k3` | 1.0M | | | | | | $3 | $15 |
|
|
58
59
|
| `crossmodel/openai/gpt-4o-mini` | 128K | | | | | | $0.15 | $0.60 |
|
|
59
60
|
| `crossmodel/openai/gpt-5.4` | 1.1M | | | | | | $3 | $15 |
|
|
60
61
|
| `crossmodel/openai/gpt-5.4-mini` | 400K | | | | | | $0.75 | $5 |
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Deep Infra
|
|
4
4
|
|
|
5
|
-
Access
|
|
5
|
+
Access 37 Deep Infra models through Mastra's model router. Authentication is handled automatically using the `DEEPINFRA_API_KEY` environment variable.
|
|
6
6
|
|
|
7
7
|
Learn more in the [Deep Infra documentation](https://deepinfra.com/models).
|
|
8
8
|
|
|
@@ -17,7 +17,7 @@ const agent = new Agent({
|
|
|
17
17
|
id: "my-agent",
|
|
18
18
|
name: "My Agent",
|
|
19
19
|
instructions: "You are a helpful assistant",
|
|
20
|
-
model: "deepinfra/MiniMaxAI/MiniMax-M2.
|
|
20
|
+
model: "deepinfra/MiniMaxAI/MiniMax-M2.7"
|
|
21
21
|
});
|
|
22
22
|
|
|
23
23
|
// Generate a response
|
|
@@ -43,15 +43,12 @@ for await (const chunk of stream) {
|
|
|
43
43
|
| `deepinfra/meta-llama/Llama-3.3-70B-Instruct-Turbo` | 131K | | | | | | $0.10 | $0.32 |
|
|
44
44
|
| `deepinfra/meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8` | 1.0M | | | | | | $0.20 | $0.80 |
|
|
45
45
|
| `deepinfra/meta-llama/Llama-4-Scout-17B-16E-Instruct` | 328K | | | | | | $0.10 | $0.30 |
|
|
46
|
-
| `deepinfra/MiniMaxAI/MiniMax-M2.5` | 197K | | | | | | $0.15 | $1 |
|
|
47
46
|
| `deepinfra/MiniMaxAI/MiniMax-M2.7` | 197K | | | | | | $0.25 | $1 |
|
|
48
47
|
| `deepinfra/MiniMaxAI/MiniMax-M3` | 524K | | | | | | $0.30 | $1 |
|
|
49
48
|
| `deepinfra/moonshotai/Kimi-K2.5` | 262K | | | | | | $0.45 | $2 |
|
|
50
49
|
| `deepinfra/moonshotai/Kimi-K2.6` | 262K | | | | | | $0.75 | $4 |
|
|
51
50
|
| `deepinfra/moonshotai/Kimi-K2.7-Code` | 262K | | | | | | $0.74 | $4 |
|
|
52
|
-
| `deepinfra/nvidia/Llama-3.3-Nemotron-Super-49B-v1.5` | 131K | | | | | | $0.40 | $0.40 |
|
|
53
51
|
| `deepinfra/nvidia/Nemotron-3-Nano-30B-A3B` | 262K | | | | | | $0.05 | $0.20 |
|
|
54
|
-
| `deepinfra/nvidia/Nemotron-3-Nano-Omni-30B-A3B-Reasoning` | 262K | | | | | | $0.20 | $0.80 |
|
|
55
52
|
| `deepinfra/openai/gpt-oss-120b` | 131K | | | | | | $0.04 | $0.17 |
|
|
56
53
|
| `deepinfra/openai/gpt-oss-20b` | 131K | | | | | | $0.03 | $0.14 |
|
|
57
54
|
| `deepinfra/Qwen/Qwen3-32B` | 41K | | | | | | $0.08 | $0.28 |
|
|
@@ -84,7 +81,7 @@ const agent = new Agent({
|
|
|
84
81
|
id: "custom-agent",
|
|
85
82
|
name: "custom-agent",
|
|
86
83
|
model: {
|
|
87
|
-
id: "deepinfra/MiniMaxAI/MiniMax-M2.
|
|
84
|
+
id: "deepinfra/MiniMaxAI/MiniMax-M2.7",
|
|
88
85
|
apiKey: process.env.DEEPINFRA_API_KEY,
|
|
89
86
|
headers: {
|
|
90
87
|
"X-Custom-Header": "value"
|
|
@@ -103,7 +100,7 @@ const agent = new Agent({
|
|
|
103
100
|
const useAdvanced = requestContext.task === "complex";
|
|
104
101
|
return useAdvanced
|
|
105
102
|
? "deepinfra/zai-org/GLM-5.2"
|
|
106
|
-
: "deepinfra/MiniMaxAI/MiniMax-M2.
|
|
103
|
+
: "deepinfra/MiniMaxAI/MiniMax-M2.7";
|
|
107
104
|
}
|
|
108
105
|
});
|
|
109
106
|
```
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# EmpirioLabs AI
|
|
4
4
|
|
|
5
|
-
Access
|
|
5
|
+
Access 37 EmpirioLabs AI models through Mastra's model router. Authentication is handled automatically using the `EMPIRIOLABS_API_KEY` environment variable.
|
|
6
6
|
|
|
7
7
|
Learn more in the [EmpirioLabs AI documentation](https://docs.empiriolabs.ai).
|
|
8
8
|
|
|
@@ -47,6 +47,7 @@ for await (const chunk of stream) {
|
|
|
47
47
|
| `empiriolabs/kimi-k2-6` | 256K | | | | | | $0.89 | $4 |
|
|
48
48
|
| `empiriolabs/kimi-k2-7-code` | 256K | | | | | | $0.95 | $4 |
|
|
49
49
|
| `empiriolabs/kimi-k2-7-code-highspeed` | 256K | | | | | | $2 | $8 |
|
|
50
|
+
| `empiriolabs/kimi-k3` | 1.0M | | | | | | $3 | $15 |
|
|
50
51
|
| `empiriolabs/mimo-v2-5` | 1.0M | | | | | | $0.70 | $1 |
|
|
51
52
|
| `empiriolabs/mimo-v2-5-pro` | 1.0M | | | | | | $2 | $4 |
|
|
52
53
|
| `empiriolabs/minimax-m2-7` | 200K | | | | | | $0.15 | $0.60 |
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# evroc
|
|
4
4
|
|
|
5
|
-
Access
|
|
5
|
+
Access 16 evroc models through Mastra's model router. Authentication is handled automatically using the `EVROC_API_KEY` environment variable.
|
|
6
6
|
|
|
7
7
|
Learn more in the [evroc documentation](https://docs.evroc.com/products/think/overview.html).
|
|
8
8
|
|
|
@@ -51,6 +51,7 @@ for await (const chunk of stream) {
|
|
|
51
51
|
| `evroc/Qwen/Qwen3-Reranker-4B` | 32K | | | | | | $0.06 | — |
|
|
52
52
|
| `evroc/Qwen/Qwen3-VL-30B-A3B-Instruct` | 100K | | | | | | $0.23 | $0.92 |
|
|
53
53
|
| `evroc/Qwen/Qwen3.6-35B-A3B-FP8` | 262K | | | | | | $0.34 | $1 |
|
|
54
|
+
| `evroc/zai-org/GLM-5.2` | 1.0M | | | | | | $1 | $6 |
|
|
54
55
|
|
|
55
56
|
## Advanced configuration
|
|
56
57
|
|
|
@@ -80,7 +81,7 @@ const agent = new Agent({
|
|
|
80
81
|
model: ({ requestContext }) => {
|
|
81
82
|
const useAdvanced = requestContext.task === "complex";
|
|
82
83
|
return useAdvanced
|
|
83
|
-
? "evroc/
|
|
84
|
+
? "evroc/zai-org/GLM-5.2"
|
|
84
85
|
: "evroc/KBLab/kb-whisper-large";
|
|
85
86
|
}
|
|
86
87
|
});
|
|
@@ -49,8 +49,8 @@ for await (const chunk of stream) {
|
|
|
49
49
|
| `google/gemini-3.1-pro-preview-customtools` | 1.0M | | | | | | $2 | $12 |
|
|
50
50
|
| `google/gemini-3.5-flash` | 1.0M | | | | | | $2 | $9 |
|
|
51
51
|
| `google/gemini-embedding-001` | 2K | | | | | | $0.15 | — |
|
|
52
|
-
| `google/gemini-flash-latest` | 1.0M | | | | | | $
|
|
53
|
-
| `google/gemini-flash-lite-latest` | 1.0M | | | | | | $0.
|
|
52
|
+
| `google/gemini-flash-latest` | 1.0M | | | | | | $2 | $9 |
|
|
53
|
+
| `google/gemini-flash-lite-latest` | 1.0M | | | | | | $0.25 | $2 |
|
|
54
54
|
| `google/gemini-omni-flash-preview` | 131K | | | | | | $2 | $18 |
|
|
55
55
|
| `google/gemma-4-26b-a4b-it` | 262K | | | | | | — | — |
|
|
56
56
|
| `google/gemma-4-31b-it` | 262K | | | | | | — | — |
|
|
@@ -39,7 +39,7 @@ for await (const chunk of stream) {
|
|
|
39
39
|
| `kilo/~anthropic/claude-haiku-latest` | 200K | | | | | | $1 | $5 |
|
|
40
40
|
| `kilo/~anthropic/claude-opus-latest` | 1.0M | | | | | | $5 | $25 |
|
|
41
41
|
| `kilo/~anthropic/claude-sonnet-latest` | 1.0M | | | | | | $3 | $15 |
|
|
42
|
-
| `kilo/~google/gemini-flash-latest` | 1.0M | | | | | | $
|
|
42
|
+
| `kilo/~google/gemini-flash-latest` | 1.0M | | | | | | $2 | $9 |
|
|
43
43
|
| `kilo/~google/gemini-pro-latest` | 1.0M | | | | | | $2 | $12 |
|
|
44
44
|
| `kilo/~moonshotai/kimi-latest` | 262K | | | | | | $0.74 | $3 |
|
|
45
45
|
| `kilo/~openai/gpt-latest` | 1.1M | | | | | | $5 | $30 |
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Kimi For Coding
|
|
4
4
|
|
|
5
|
-
Access
|
|
5
|
+
Access 3 Kimi For Coding models through Mastra's model router. Authentication is handled automatically using the `KIMI_API_KEY` environment variable.
|
|
6
6
|
|
|
7
7
|
Learn more in the [Kimi For Coding documentation](https://www.kimi.com/code/docs/en/third-party-tools/other-coding-agents.html).
|
|
8
8
|
|
|
@@ -17,7 +17,7 @@ const agent = new Agent({
|
|
|
17
17
|
id: "my-agent",
|
|
18
18
|
name: "My Agent",
|
|
19
19
|
instructions: "You are a helpful assistant",
|
|
20
|
-
model: "kimi-for-coding/
|
|
20
|
+
model: "kimi-for-coding/k3"
|
|
21
21
|
});
|
|
22
22
|
|
|
23
23
|
// Generate a response
|
|
@@ -34,12 +34,11 @@ for await (const chunk of stream) {
|
|
|
34
34
|
|
|
35
35
|
## Models
|
|
36
36
|
|
|
37
|
-
| Model
|
|
38
|
-
|
|
|
39
|
-
| `kimi-for-coding/
|
|
40
|
-
| `kimi-for-coding/
|
|
41
|
-
| `kimi-for-coding/
|
|
42
|
-
| `kimi-for-coding/kimi-k2-thinking` | 262K | | | | | | — | — |
|
|
37
|
+
| Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
|
|
38
|
+
| ------------------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
39
|
+
| `kimi-for-coding/k3` | 1.0M | | | | | | — | — |
|
|
40
|
+
| `kimi-for-coding/kimi-for-coding` | 262K | | | | | | — | — |
|
|
41
|
+
| `kimi-for-coding/kimi-for-coding-highspeed` | 262K | | | | | | — | — |
|
|
43
42
|
|
|
44
43
|
## Advanced configuration
|
|
45
44
|
|
|
@@ -51,7 +50,7 @@ const agent = new Agent({
|
|
|
51
50
|
name: "custom-agent",
|
|
52
51
|
model: {
|
|
53
52
|
url: "https://api.kimi.com/coding/v1",
|
|
54
|
-
id: "kimi-for-coding/
|
|
53
|
+
id: "kimi-for-coding/k3",
|
|
55
54
|
apiKey: process.env.KIMI_API_KEY,
|
|
56
55
|
headers: {
|
|
57
56
|
"X-Custom-Header": "value"
|
|
@@ -69,8 +68,8 @@ const agent = new Agent({
|
|
|
69
68
|
model: ({ requestContext }) => {
|
|
70
69
|
const useAdvanced = requestContext.task === "complex";
|
|
71
70
|
return useAdvanced
|
|
72
|
-
? "kimi-for-coding/kimi-
|
|
73
|
-
: "kimi-for-coding/
|
|
71
|
+
? "kimi-for-coding/kimi-for-coding-highspeed"
|
|
72
|
+
: "kimi-for-coding/k3";
|
|
74
73
|
}
|
|
75
74
|
});
|
|
76
75
|
```
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# LLM Gateway
|
|
4
4
|
|
|
5
|
-
Access
|
|
5
|
+
Access 171 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
|
|
|
@@ -53,7 +53,6 @@ for await (const chunk of stream) {
|
|
|
53
53
|
| `llmgateway/claude-sonnet-5` | 1.0M | | | | | | $2 | $10 |
|
|
54
54
|
| `llmgateway/codestral-2508` | 256K | | | | | | $0.30 | $0.90 |
|
|
55
55
|
| `llmgateway/custom` | 128K | | | | | | — | — |
|
|
56
|
-
| `llmgateway/deepseek-v3.1` | 128K | | | | | | $0.56 | $2 |
|
|
57
56
|
| `llmgateway/deepseek-v3.2` | 164K | | | | | | $0.26 | $0.38 |
|
|
58
57
|
| `llmgateway/deepseek-v4-flash` | 1.1M | | | | | | $0.14 | $0.28 |
|
|
59
58
|
| `llmgateway/deepseek-v4-pro` | 1.1M | | | | | | $0.43 | $0.87 |
|
|
@@ -134,8 +133,8 @@ for await (const chunk of stream) {
|
|
|
134
133
|
| `llmgateway/kimi-k2.6` | 262K | | | | | | $0.40 | $2 |
|
|
135
134
|
| `llmgateway/kimi-k2.7-code` | 262K | | | | | | $0.95 | $4 |
|
|
136
135
|
| `llmgateway/kimi-k2.7-code-highspeed` | 262K | | | | | | $2 | $8 |
|
|
136
|
+
| `llmgateway/kimi-k3` | 1.0M | | | | | | $3 | $15 |
|
|
137
137
|
| `llmgateway/llama-3-70b-instruct` | 8K | | | | | | $0.51 | $0.74 |
|
|
138
|
-
| `llmgateway/llama-3-8b-instruct` | 8K | | | | | | $0.04 | $0.04 |
|
|
139
138
|
| `llmgateway/llama-3.1-70b-instruct` | 128K | | | | | | $0.72 | $0.72 |
|
|
140
139
|
| `llmgateway/llama-3.1-nemotron-ultra-253b` | 128K | | | | | | $0.60 | $2 |
|
|
141
140
|
| `llmgateway/llama-3.2-11b-instruct` | 128K | | | | | | $0.07 | $0.33 |
|
|
@@ -152,7 +151,7 @@ for await (const chunk of stream) {
|
|
|
152
151
|
| `llmgateway/minimax-m2.5-highspeed` | 205K | | | | | | $0.60 | $2 |
|
|
153
152
|
| `llmgateway/minimax-m2.7` | 205K | | | | | | $0.30 | $1 |
|
|
154
153
|
| `llmgateway/minimax-m2.7-highspeed` | 205K | | | | | | $0.60 | $2 |
|
|
155
|
-
| `llmgateway/minimax-m3` |
|
|
154
|
+
| `llmgateway/minimax-m3` | 524K | | | | | | $0.30 | $1 |
|
|
156
155
|
| `llmgateway/minimax-text-01` | 1.0M | | | | | | $0.20 | $1 |
|
|
157
156
|
| `llmgateway/ministral-14b-2512` | 262K | | | | | | $0.20 | $0.20 |
|
|
158
157
|
| `llmgateway/ministral-3b-2512` | 131K | | | | | | $0.10 | $0.10 |
|
|
@@ -166,7 +165,6 @@ for await (const chunk of stream) {
|
|
|
166
165
|
| `llmgateway/o3` | 200K | | | | | | $2 | $8 |
|
|
167
166
|
| `llmgateway/o3-mini` | 200K | | | | | | $1 | $4 |
|
|
168
167
|
| `llmgateway/o4-mini` | 200K | | | | | | $1 | $4 |
|
|
169
|
-
| `llmgateway/pixtral-large-latest` | 128K | | | | | | $4 | $12 |
|
|
170
168
|
| `llmgateway/qwen-coder-plus` | 131K | | | | | | $0.50 | $1 |
|
|
171
169
|
| `llmgateway/qwen-flash` | 1.0M | | | | | | $0.05 | $0.40 |
|
|
172
170
|
| `llmgateway/qwen-max` | 33K | | | | | | $2 | $6 |
|
|
@@ -181,7 +179,6 @@ for await (const chunk of stream) {
|
|
|
181
179
|
| `llmgateway/qwen3-235b-a22b-thinking-2507` | 262K | | | | | | $0.20 | $0.60 |
|
|
182
180
|
| `llmgateway/qwen3-30b-a3b-instruct-2507` | 262K | | | | | | $0.10 | $0.30 |
|
|
183
181
|
| `llmgateway/qwen3-32b` | 33K | | | | | | $0.10 | $0.30 |
|
|
184
|
-
| `llmgateway/qwen3-4b-fp8` | 128K | | | | | | $0.03 | $0.03 |
|
|
185
182
|
| `llmgateway/qwen3-coder-30b-a3b-instruct` | 262K | | | | | | $0.07 | $0.27 |
|
|
186
183
|
| `llmgateway/qwen3-coder-480b-a35b-instruct` | 262K | | | | | | $0.30 | $1 |
|
|
187
184
|
| `llmgateway/qwen3-coder-flash` | 1.0M | | | | | | $0.30 | $2 |
|
|
@@ -193,8 +190,6 @@ for await (const chunk of stream) {
|
|
|
193
190
|
| `llmgateway/qwen3-vl-235b-a22b-instruct` | 131K | | | | | | $0.30 | $2 |
|
|
194
191
|
| `llmgateway/qwen3-vl-235b-a22b-thinking` | 131K | | | | | | $0.98 | $4 |
|
|
195
192
|
| `llmgateway/qwen3-vl-30b-a3b-instruct` | 131K | | | | | | $0.20 | $0.70 |
|
|
196
|
-
| `llmgateway/qwen3-vl-30b-a3b-thinking` | 131K | | | | | | $0.20 | $1 |
|
|
197
|
-
| `llmgateway/qwen3-vl-8b-instruct` | 131K | | | | | | $0.08 | $0.50 |
|
|
198
193
|
| `llmgateway/qwen3-vl-flash` | 262K | | | | | | $0.05 | $0.40 |
|
|
199
194
|
| `llmgateway/qwen3-vl-plus` | 262K | | | | | | $0.20 | $2 |
|
|
200
195
|
| `llmgateway/qwen3.5-9b` | 262K | | | | | | $0.10 | $0.15 |
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Moonshot AI (China)
|
|
4
4
|
|
|
5
|
-
Access
|
|
5
|
+
Access 10 Moonshot AI (China) models through Mastra's model router. Authentication is handled automatically using the `MOONSHOT_API_KEY` environment variable.
|
|
6
6
|
|
|
7
7
|
Learn more in the [Moonshot AI (China) documentation](https://platform.moonshot.cn).
|
|
8
8
|
|
|
@@ -45,6 +45,7 @@ for await (const chunk of stream) {
|
|
|
45
45
|
| `moonshotai-cn/kimi-k2.6` | 262K | | | | | | $0.95 | $4 |
|
|
46
46
|
| `moonshotai-cn/kimi-k2.7-code` | 262K | | | | | | $0.95 | $4 |
|
|
47
47
|
| `moonshotai-cn/kimi-k2.7-code-highspeed` | 262K | | | | | | $2 | $8 |
|
|
48
|
+
| `moonshotai-cn/kimi-k3` | 1.0M | | | | | | $3 | $15 |
|
|
48
49
|
|
|
49
50
|
## Advanced configuration
|
|
50
51
|
|
|
@@ -74,7 +75,7 @@ const agent = new Agent({
|
|
|
74
75
|
model: ({ requestContext }) => {
|
|
75
76
|
const useAdvanced = requestContext.task === "complex";
|
|
76
77
|
return useAdvanced
|
|
77
|
-
? "moonshotai-cn/kimi-
|
|
78
|
+
? "moonshotai-cn/kimi-k3"
|
|
78
79
|
: "moonshotai-cn/kimi-k2-0711-preview";
|
|
79
80
|
}
|
|
80
81
|
});
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Moonshot AI
|
|
4
4
|
|
|
5
|
-
Access
|
|
5
|
+
Access 10 Moonshot AI models through Mastra's model router. Authentication is handled automatically using the `MOONSHOT_API_KEY` environment variable.
|
|
6
6
|
|
|
7
7
|
Learn more in the [Moonshot AI documentation](https://platform.moonshot.ai).
|
|
8
8
|
|
|
@@ -45,6 +45,7 @@ for await (const chunk of stream) {
|
|
|
45
45
|
| `moonshotai/kimi-k2.6` | 262K | | | | | | $0.95 | $4 |
|
|
46
46
|
| `moonshotai/kimi-k2.7-code` | 262K | | | | | | $0.95 | $4 |
|
|
47
47
|
| `moonshotai/kimi-k2.7-code-highspeed` | 262K | | | | | | $2 | $8 |
|
|
48
|
+
| `moonshotai/kimi-k3` | 1.0M | | | | | | $3 | $15 |
|
|
48
49
|
|
|
49
50
|
## Advanced configuration
|
|
50
51
|
|
|
@@ -74,7 +75,7 @@ const agent = new Agent({
|
|
|
74
75
|
model: ({ requestContext }) => {
|
|
75
76
|
const useAdvanced = requestContext.task === "complex";
|
|
76
77
|
return useAdvanced
|
|
77
|
-
? "moonshotai/kimi-
|
|
78
|
+
? "moonshotai/kimi-k3"
|
|
78
79
|
: "moonshotai/kimi-k2-0711-preview";
|
|
79
80
|
}
|
|
80
81
|
});
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Nebius Token Factory
|
|
4
4
|
|
|
5
|
-
Access
|
|
5
|
+
Access 21 Nebius Token Factory models through Mastra's model router. Authentication is handled automatically using the `NEBIUS_API_KEY` environment variable.
|
|
6
6
|
|
|
7
7
|
Learn more in the [Nebius Token Factory documentation](https://docs.tokenfactory.nebius.com/).
|
|
8
8
|
|
|
@@ -40,6 +40,8 @@ for await (const chunk of stream) {
|
|
|
40
40
|
| `nebius/google/gemma-3-27b-it` | 110K | | | | | | $0.10 | $0.30 |
|
|
41
41
|
| `nebius/meta-llama/Llama-3.3-70B-Instruct` | 128K | | | | | | $0.13 | $0.40 |
|
|
42
42
|
| `nebius/MiniMaxAI/MiniMax-M2.5` | 197K | | | | | | $0.30 | $1 |
|
|
43
|
+
| `nebius/MiniMaxAI/MiniMax-M3` | 1.0M | | | | | | $0.30 | $1 |
|
|
44
|
+
| `nebius/moonshotai/Kimi-K2.7-Code` | 262K | | | | | | $0.95 | $4 |
|
|
43
45
|
| `nebius/NousResearch/Hermes-4-405B` | 128K | | | | | | $1 | $3 |
|
|
44
46
|
| `nebius/NousResearch/Hermes-4-70B` | 128K | | | | | | $0.13 | $0.40 |
|
|
45
47
|
| `nebius/nvidia/Llama-3_1-Nemotron-Ultra-253B-v1` | 128K | | | | | | $0.60 | $2 |
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Ollama Cloud
|
|
4
4
|
|
|
5
|
-
Access
|
|
5
|
+
Access 18 Ollama Cloud models through Mastra's model router. Authentication is handled automatically using the `OLLAMA_API_KEY` environment variable.
|
|
6
6
|
|
|
7
7
|
Learn more in the [Ollama Cloud documentation](https://docs.ollama.com/cloud).
|
|
8
8
|
|
|
@@ -17,7 +17,7 @@ const agent = new Agent({
|
|
|
17
17
|
id: "my-agent",
|
|
18
18
|
name: "My Agent",
|
|
19
19
|
instructions: "You are a helpful assistant",
|
|
20
|
-
model: "ollama-cloud/deepseek-
|
|
20
|
+
model: "ollama-cloud/deepseek-v4-flash"
|
|
21
21
|
});
|
|
22
22
|
|
|
23
23
|
// Generate a response
|
|
@@ -34,43 +34,26 @@ for await (const chunk of stream) {
|
|
|
34
34
|
|
|
35
35
|
## Models
|
|
36
36
|
|
|
37
|
-
| Model
|
|
38
|
-
|
|
|
39
|
-
| `ollama-cloud/deepseek-
|
|
40
|
-
| `ollama-cloud/deepseek-
|
|
41
|
-
| `ollama-cloud/
|
|
42
|
-
| `ollama-cloud/
|
|
43
|
-
| `ollama-cloud/
|
|
44
|
-
| `ollama-cloud/
|
|
45
|
-
| `ollama-cloud/
|
|
46
|
-
| `ollama-cloud/
|
|
47
|
-
| `ollama-cloud/
|
|
48
|
-
| `ollama-cloud/
|
|
49
|
-
| `ollama-cloud/
|
|
50
|
-
| `ollama-cloud/
|
|
51
|
-
| `ollama-cloud/
|
|
52
|
-
| `ollama-cloud/
|
|
53
|
-
| `ollama-cloud/
|
|
54
|
-
| `ollama-cloud/
|
|
55
|
-
| `ollama-cloud/
|
|
56
|
-
| `ollama-cloud/
|
|
57
|
-
| `ollama-cloud/kimi-k2.6` | 262K | | | | | | — | — |
|
|
58
|
-
| `ollama-cloud/kimi-k2.7-code` | 262K | | | | | | — | — |
|
|
59
|
-
| `ollama-cloud/minimax-m2.1` | 205K | | | | | | — | — |
|
|
60
|
-
| `ollama-cloud/minimax-m2.5` | 205K | | | | | | — | — |
|
|
61
|
-
| `ollama-cloud/minimax-m2.7` | 197K | | | | | | — | — |
|
|
62
|
-
| `ollama-cloud/minimax-m3` | 512K | | | | | | — | — |
|
|
63
|
-
| `ollama-cloud/ministral-3:14b` | 262K | | | | | | — | — |
|
|
64
|
-
| `ollama-cloud/ministral-3:3b` | 262K | | | | | | — | — |
|
|
65
|
-
| `ollama-cloud/ministral-3:8b` | 262K | | | | | | — | — |
|
|
66
|
-
| `ollama-cloud/mistral-large-3:675b` | 262K | | | | | | — | — |
|
|
67
|
-
| `ollama-cloud/nemotron-3-nano:30b` | 1.0M | | | | | | — | — |
|
|
68
|
-
| `ollama-cloud/nemotron-3-super` | 262K | | | | | | — | — |
|
|
69
|
-
| `ollama-cloud/nemotron-3-ultra` | 262K | | | | | | — | — |
|
|
70
|
-
| `ollama-cloud/qwen3-coder-next` | 262K | | | | | | — | — |
|
|
71
|
-
| `ollama-cloud/qwen3-coder:480b` | 262K | | | | | | — | — |
|
|
72
|
-
| `ollama-cloud/qwen3.5:397b` | 262K | | | | | | — | — |
|
|
73
|
-
| `ollama-cloud/rnj-1:8b` | 33K | | | | | | — | — |
|
|
37
|
+
| Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
|
|
38
|
+
| ----------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
39
|
+
| `ollama-cloud/deepseek-v4-flash` | 1.0M | | | | | | — | — |
|
|
40
|
+
| `ollama-cloud/deepseek-v4-pro` | 1.0M | | | | | | — | — |
|
|
41
|
+
| `ollama-cloud/gemma4:31b` | 262K | | | | | | — | — |
|
|
42
|
+
| `ollama-cloud/glm-5.1` | 203K | | | | | | — | — |
|
|
43
|
+
| `ollama-cloud/glm-5.2` | 976K | | | | | | — | — |
|
|
44
|
+
| `ollama-cloud/gpt-oss:120b` | 131K | | | | | | — | — |
|
|
45
|
+
| `ollama-cloud/gpt-oss:20b` | 131K | | | | | | — | — |
|
|
46
|
+
| `ollama-cloud/kimi-k2.5` | 262K | | | | | | — | — |
|
|
47
|
+
| `ollama-cloud/kimi-k2.6` | 262K | | | | | | — | — |
|
|
48
|
+
| `ollama-cloud/kimi-k2.7-code` | 262K | | | | | | — | — |
|
|
49
|
+
| `ollama-cloud/minimax-m2.5` | 205K | | | | | | — | — |
|
|
50
|
+
| `ollama-cloud/minimax-m2.7` | 197K | | | | | | — | — |
|
|
51
|
+
| `ollama-cloud/minimax-m3` | 512K | | | | | | — | — |
|
|
52
|
+
| `ollama-cloud/mistral-large-3:675b` | 262K | | | | | | — | — |
|
|
53
|
+
| `ollama-cloud/nemotron-3-nano:30b` | 1.0M | | | | | | — | — |
|
|
54
|
+
| `ollama-cloud/nemotron-3-super` | 262K | | | | | | — | — |
|
|
55
|
+
| `ollama-cloud/nemotron-3-ultra` | 262K | | | | | | — | — |
|
|
56
|
+
| `ollama-cloud/qwen3.5:397b` | 262K | | | | | | — | — |
|
|
74
57
|
|
|
75
58
|
## Advanced configuration
|
|
76
59
|
|
|
@@ -82,7 +65,7 @@ const agent = new Agent({
|
|
|
82
65
|
name: "custom-agent",
|
|
83
66
|
model: {
|
|
84
67
|
url: "https://ollama.com/v1",
|
|
85
|
-
id: "ollama-cloud/deepseek-
|
|
68
|
+
id: "ollama-cloud/deepseek-v4-flash",
|
|
86
69
|
apiKey: process.env.OLLAMA_API_KEY,
|
|
87
70
|
headers: {
|
|
88
71
|
"X-Custom-Header": "value"
|
|
@@ -100,8 +83,8 @@ const agent = new Agent({
|
|
|
100
83
|
model: ({ requestContext }) => {
|
|
101
84
|
const useAdvanced = requestContext.task === "complex";
|
|
102
85
|
return useAdvanced
|
|
103
|
-
? "ollama-cloud/
|
|
104
|
-
: "ollama-cloud/deepseek-
|
|
86
|
+
? "ollama-cloud/qwen3.5:397b"
|
|
87
|
+
: "ollama-cloud/deepseek-v4-flash";
|
|
105
88
|
}
|
|
106
89
|
});
|
|
107
90
|
```
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# OpenCode Go
|
|
4
4
|
|
|
5
|
-
Access
|
|
5
|
+
Access 15 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
|
|
|
@@ -37,13 +37,15 @@ for await (const chunk of stream) {
|
|
|
37
37
|
| Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
|
|
38
38
|
| ------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
39
39
|
| `opencode-go/deepseek-v4-flash` | 1.0M | | | | | | $0.14 | $0.28 |
|
|
40
|
-
| `opencode-go/deepseek-v4-pro` | 1.0M | | | | | | $
|
|
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/grok-4.5` | 500K | | | | | | $2 | $6 |
|
|
43
44
|
| `opencode-go/kimi-k2.6` | 262K | | | | | | $0.95 | $4 |
|
|
44
45
|
| `opencode-go/kimi-k2.7-code` | 262K | | | | | | $0.95 | $4 |
|
|
46
|
+
| `opencode-go/kimi-k3` | 1.0M | | | | | | $3 | $15 |
|
|
45
47
|
| `opencode-go/mimo-v2.5` | 1.0M | | | | | | $0.14 | $0.28 |
|
|
46
|
-
| `opencode-go/mimo-v2.5-pro` | 1.0M | | | | | | $
|
|
48
|
+
| `opencode-go/mimo-v2.5-pro` | 1.0M | | | | | | $0.43 | $0.87 |
|
|
47
49
|
| `opencode-go/minimax-m2.7` | 205K | | | | | | $0.30 | $1 |
|
|
48
50
|
| `opencode-go/minimax-m3` | 1.0M | | | | | | $0.30 | $1 |
|
|
49
51
|
| `opencode-go/qwen3.6-plus` | 1.0M | | | | | | $0.50 | $3 |
|
|
@@ -57,7 +57,7 @@ for await (const chunk of stream) {
|
|
|
57
57
|
| `orcarouter/google/gemini-3.1-flash-lite-preview` | 1.0M | | | | | | $0.25 | $2 |
|
|
58
58
|
| `orcarouter/google/gemini-3.1-pro-preview` | 1.0M | | | | | | $4 | $18 |
|
|
59
59
|
| `orcarouter/google/gemini-3.1-pro-preview-customtools` | 1.0M | | | | | | $4 | $18 |
|
|
60
|
-
| `orcarouter/google/gemini-flash-latest` | 1.0M | | | | | | $
|
|
60
|
+
| `orcarouter/google/gemini-flash-latest` | 1.0M | | | | | | $2 | $9 |
|
|
61
61
|
| `orcarouter/google/gemini-flash-lite-latest` | 1.0M | | | | | | $0.25 | $2 |
|
|
62
62
|
| `orcarouter/google/gemma-4-26b-a4b-it` | 262K | | | | | | $0.06 | $0.33 |
|
|
63
63
|
| `orcarouter/google/gemma-4-31b-it` | 262K | | | | | | $0.13 | $0.38 |
|