@mastra/mcp-docs-server 1.2.19-alpha.3 → 1.2.19
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 +28 -1
- package/.docs/docs/deployment/cloud-providers.md +1 -0
- package/.docs/docs/deployment/mastra-server.md +19 -0
- package/.docs/docs/deployment/overview.md +1 -0
- package/.docs/docs/deployment/workers.md +2 -2
- package/.docs/docs/evals/overview.md +33 -1
- package/.docs/docs/harness/durable-agents.md +1 -1
- package/.docs/docs/mastra-platform/api.md +54 -0
- package/.docs/docs/mastra-platform/deploy.md +101 -0
- package/.docs/docs/mastra-platform/observability.md +3 -1
- package/.docs/docs/mastra-platform/server.md +6 -11
- package/.docs/docs/mastra-platform/studio.md +8 -10
- package/.docs/docs/memory/semantic-recall.md +19 -0
- package/.docs/docs/observability/feedback.md +14 -0
- package/.docs/docs/observability/integrations/exporters/mastra-storage.md +19 -14
- package/.docs/docs/observability/metrics/overview.md +31 -44
- package/.docs/docs/sandbox/overview.md +43 -0
- package/.docs/docs/server/middleware.md +30 -0
- package/.docs/docs/server/server-adapters.md +109 -34
- package/.docs/docs/storage.md +2 -0
- package/.docs/docs/subagents.md +6 -6
- package/.docs/integrations/channels/github.md +56 -9
- package/.docs/integrations/channels/imessage.md +150 -8
- package/.docs/integrations/databases/elasticsearch.md +156 -0
- package/.docs/integrations/databases/libsql.md +16 -0
- package/.docs/integrations/databases/mongodb.md +1 -1
- package/.docs/integrations/databases/postgresql.md +26 -0
- package/.docs/integrations/databases/valkey.md +99 -0
- package/.docs/integrations/deploy/kubernetes-helm.md +332 -0
- package/.docs/integrations/deploy/kubernetes.md +1 -1
- package/.docs/integrations/deploy/render.md +47 -61
- package/.docs/integrations/sandboxes/daytona.md +52 -0
- package/.docs/integrations/sandboxes/e2b-desktop.md +128 -0
- package/.docs/integrations/sandboxes/e2b.md +6 -0
- package/.docs/integrations/sandboxes/vercel.md +2 -2
- package/.docs/integrations/tools/parallel.md +240 -0
- package/.docs/integrations.md +5 -0
- package/.docs/models/environment-variables.md +9 -0
- package/.docs/models/gateways/merge-gateway.md +2 -1
- package/.docs/models/gateways/netlify.md +12 -6
- package/.docs/models/gateways/openrouter.md +9 -11
- package/.docs/models/gateways/vercel.md +7 -6
- package/.docs/models/index.md +1 -1
- package/.docs/models/providers/agentrouter.md +17 -34
- package/.docs/models/providers/agnes.md +75 -0
- package/.docs/models/providers/aixy.md +73 -0
- package/.docs/models/providers/aki-io.md +14 -13
- package/.docs/models/providers/chutes.md +2 -2
- package/.docs/models/providers/cline-pass.md +4 -2
- package/.docs/models/providers/crof.md +3 -8
- package/.docs/models/providers/crossmodel.md +56 -55
- package/.docs/models/providers/deepseek.md +9 -10
- package/.docs/models/providers/digitalocean.md +1 -1
- package/.docs/models/providers/edenai.md +14 -13
- package/.docs/models/providers/evroc.md +3 -2
- package/.docs/models/providers/gmicloud.md +6 -4
- package/.docs/models/providers/huggingface.md +2 -1
- package/.docs/models/providers/hyper.md +6 -6
- package/.docs/models/providers/inceptron.md +2 -2
- package/.docs/models/providers/iteracompute.md +73 -0
- package/.docs/models/providers/kilo.md +31 -28
- package/.docs/models/providers/llmgateway-providers.md +20 -9
- package/.docs/models/providers/llmgateway.md +3 -5
- package/.docs/models/providers/llmtech.md +73 -0
- package/.docs/models/providers/nano-gpt.md +24 -13
- package/.docs/models/providers/neosmith.md +104 -0
- package/.docs/models/providers/nvidia.md +3 -1
- package/.docs/models/providers/ofox.md +114 -110
- package/.docs/models/providers/openai.md +2 -2
- package/.docs/models/providers/opencode-go.md +26 -24
- package/.docs/models/providers/opencode.md +1 -1
- package/.docs/models/providers/opper.md +112 -0
- package/.docs/models/providers/pendra.md +78 -0
- package/.docs/models/providers/requesty.md +1 -1
- package/.docs/models/providers/scaleway.md +2 -1
- package/.docs/models/providers/standardcompute.md +73 -0
- package/.docs/models/providers/vivgrid.md +2 -1
- package/.docs/models/providers/wandb.md +2 -1
- package/.docs/models/providers/zai.md +2 -1
- package/.docs/models/providers.md +9 -0
- package/.docs/reference/agents/channels.md +1 -1
- package/.docs/reference/ai-sdk/handle-chat-stream.md +11 -0
- package/.docs/reference/ai-sdk/with-sse-heartbeat.md +47 -0
- package/.docs/reference/cli/mastra.md +10 -4
- package/.docs/reference/client-js/observability.md +1 -1
- package/.docs/reference/index.md +5 -0
- package/.docs/reference/observability/feedback.md +4 -0
- package/.docs/reference/observability/metrics/automatic-metrics.md +1 -1
- package/.docs/reference/observability/metrics/queries.md +462 -0
- package/.docs/reference/pubsub/valkey-streams.md +84 -0
- package/.docs/reference/rag/vector-databases.md +4 -4
- package/.docs/reference/server/elysia-adapter.md +184 -0
- package/.docs/reference/server/express-adapter.md +6 -8
- package/.docs/reference/server/hono-adapter.md +19 -6
- package/.docs/reference/storage/turso.md +88 -0
- package/.docs/reference/streaming/ChunkType.md +29 -1
- package/.docs/reference/streaming/agents/stream.md +1 -3
- package/.docs/reference/tools/mcp-client.md +41 -9
- package/.docs/reference/vectors/mongodb.md +11 -11
- package/.docs/reference/vectors/pg.md +2 -0
- package/.docs/reference/workspace/local-sandbox.md +2 -0
- package/.docs/reference/workspace/platform-sandbox.md +3 -1
- package/.docs/reference/workspace/sandbox.md +143 -3
- package/.docs/reference/workspace/workspace-class.md +13 -1
- package/CHANGELOG.md +88 -0
- package/package.json +6 -6
- package/.docs/docs/observability/metrics/querying.md +0 -314
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
> Discover all available pages from the documentation index: https://mastra.ai/llms.txt
|
|
2
|
+
|
|
3
|
+
# NeoSmith
|
|
4
|
+
|
|
5
|
+
Access 4 NeoSmith models through Mastra's model router. Authentication is handled automatically using the `NEOSMITH_API_KEY` environment variable.
|
|
6
|
+
|
|
7
|
+
Learn more in the [NeoSmith documentation](https://neosmith.ai/docs).
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
NEOSMITH_API_KEY=your-api-key
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { Agent } from "@mastra/core/agent";
|
|
15
|
+
|
|
16
|
+
const agent = new Agent({
|
|
17
|
+
id: "my-agent",
|
|
18
|
+
name: "My Agent",
|
|
19
|
+
instructions: "You are a helpful assistant",
|
|
20
|
+
model: "neosmith/neosmith.intelligent-basic"
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
// Generate a response
|
|
24
|
+
const response = await agent.generate("Hello!");
|
|
25
|
+
|
|
26
|
+
// Stream a response
|
|
27
|
+
const stream = await agent.stream("Tell me a story");
|
|
28
|
+
for await (const chunk of stream) {
|
|
29
|
+
console.log(chunk);
|
|
30
|
+
}
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
> **Note:** Mastra uses the OpenAI-compatible `/chat/completions` endpoint. Some provider-specific features may not be available. Check the [NeoSmith documentation](https://neosmith.ai/docs) for details.
|
|
34
|
+
|
|
35
|
+
## Models
|
|
36
|
+
|
|
37
|
+
| Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
|
|
38
|
+
| --------------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
39
|
+
| `neosmith/neosmith.intelligent-basic` | 1.0M | | | | | | $1 | $4 |
|
|
40
|
+
| `neosmith/neosmith.intelligent-maestro` | 1.0M | | | | | | $2 | $12 |
|
|
41
|
+
| `neosmith/neosmith.intelligent-pro` | 1.0M | | | | | | $2 | $8 |
|
|
42
|
+
| `neosmith/neosmith.neolite` | 512K | | | | | | $0.60 | $2 |
|
|
43
|
+
|
|
44
|
+
## Advanced configuration
|
|
45
|
+
|
|
46
|
+
### Custom headers
|
|
47
|
+
|
|
48
|
+
```typescript
|
|
49
|
+
const agent = new Agent({
|
|
50
|
+
id: "custom-agent",
|
|
51
|
+
name: "custom-agent",
|
|
52
|
+
model: {
|
|
53
|
+
url: "https://router.neosmith.ai/v1",
|
|
54
|
+
id: "neosmith/neosmith.intelligent-basic",
|
|
55
|
+
apiKey: process.env.NEOSMITH_API_KEY,
|
|
56
|
+
headers: {
|
|
57
|
+
"X-Custom-Header": "value"
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
});
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
### Dynamic model selection
|
|
64
|
+
|
|
65
|
+
```typescript
|
|
66
|
+
const agent = new Agent({
|
|
67
|
+
id: "dynamic-agent",
|
|
68
|
+
name: "Dynamic Agent",
|
|
69
|
+
model: ({ requestContext }) => {
|
|
70
|
+
const useAdvanced = requestContext.task === "complex";
|
|
71
|
+
return useAdvanced
|
|
72
|
+
? "neosmith/neosmith.neolite"
|
|
73
|
+
: "neosmith/neosmith.intelligent-basic";
|
|
74
|
+
}
|
|
75
|
+
});
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
## Direct provider installation
|
|
79
|
+
|
|
80
|
+
This provider can also be installed directly as a standalone package, which can be used instead of the Mastra model router string. View the [package documentation](https://www.npmjs.com/package/@ai-sdk/openai) for more details.
|
|
81
|
+
|
|
82
|
+
**npm**:
|
|
83
|
+
|
|
84
|
+
```bash
|
|
85
|
+
npm install @ai-sdk/openai
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
**pnpm**:
|
|
89
|
+
|
|
90
|
+
```bash
|
|
91
|
+
pnpm add @ai-sdk/openai
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
**Yarn**:
|
|
95
|
+
|
|
96
|
+
```bash
|
|
97
|
+
yarn add @ai-sdk/openai
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
**Bun**:
|
|
101
|
+
|
|
102
|
+
```bash
|
|
103
|
+
bun add @ai-sdk/openai
|
|
104
|
+
```
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Nvidia
|
|
4
4
|
|
|
5
|
-
Access
|
|
5
|
+
Access 102 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
|
|
|
@@ -44,6 +44,7 @@ for await (const chunk of stream) {
|
|
|
44
44
|
| `nvidia/black-forest-labs/flux.1-dev` | 4K | | | | | | — | — |
|
|
45
45
|
| `nvidia/bytedance/seed-oss-36b-instruct` | 262K | | | | | | — | — |
|
|
46
46
|
| `nvidia/deepseek-ai/deepseek-v4-flash` | 1.0M | | | | | | $0.14 | $0.28 |
|
|
47
|
+
| `nvidia/deepseek-ai/deepseek-v4-flash-0731` | 1.0M | | | | | | — | — |
|
|
47
48
|
| `nvidia/deepseek-ai/deepseek-v4-pro` | 1.0M | | | | | | $0.43 | $0.87 |
|
|
48
49
|
| `nvidia/google/gemma-2-2b-it` | 128K | | | | | | — | — |
|
|
49
50
|
| `nvidia/google/gemma-3-12b-it` | 131K | | | | | | — | — |
|
|
@@ -78,6 +79,7 @@ for await (const chunk of stream) {
|
|
|
78
79
|
| `nvidia/mistralai/mistral-small-4-119b-2603` | 128K | | | | | | — | — |
|
|
79
80
|
| `nvidia/mistralai/mixtral-8x22b-instruct` | 66K | | | | | | — | — |
|
|
80
81
|
| `nvidia/mistralai/mixtral-8x7b-instruct` | 33K | | | | | | — | — |
|
|
82
|
+
| `nvidia/moonshotai/kimi-k3` | 1.0M | | | | | | — | — |
|
|
81
83
|
| `nvidia/nvidia/active-speaker-detection` | — | | | | | | — | — |
|
|
82
84
|
| `nvidia/nvidia/bevformer` | 128K | | | | | | — | — |
|
|
83
85
|
| `nvidia/nvidia/cosmos-predict1-5b` | — | | | | | | — | — |
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Ofox
|
|
4
4
|
|
|
5
|
-
Access
|
|
5
|
+
Access 111 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
|
|
|
@@ -34,115 +34,119 @@ for await (const chunk of stream) {
|
|
|
34
34
|
|
|
35
35
|
## Models
|
|
36
36
|
|
|
37
|
-
| Model
|
|
38
|
-
|
|
|
39
|
-
| `ofox/anthropic/claude-fable-5`
|
|
40
|
-
| `ofox/anthropic/claude-haiku-4.5`
|
|
41
|
-
| `ofox/anthropic/claude-opus-4.5`
|
|
42
|
-
| `ofox/anthropic/claude-opus-4.6`
|
|
43
|
-
| `ofox/anthropic/claude-opus-4.7`
|
|
44
|
-
| `ofox/anthropic/claude-opus-4.8`
|
|
45
|
-
| `ofox/anthropic/claude-opus-5`
|
|
46
|
-
| `ofox/anthropic/claude-sonnet-4.5`
|
|
47
|
-
| `ofox/anthropic/claude-sonnet-4.6`
|
|
48
|
-
| `ofox/anthropic/claude-sonnet-5`
|
|
49
|
-
| `ofox/bailian/qwen-flash`
|
|
50
|
-
| `ofox/bailian/qwen-max`
|
|
51
|
-
| `ofox/bailian/qwen-plus`
|
|
52
|
-
| `ofox/bailian/qwen-turbo`
|
|
53
|
-
| `ofox/bailian/qwen-vl-max`
|
|
54
|
-
| `ofox/bailian/qwen3-coder-flash`
|
|
55
|
-
| `ofox/bailian/qwen3-coder-next`
|
|
56
|
-
| `ofox/bailian/qwen3-coder-plus`
|
|
57
|
-
| `ofox/bailian/qwen3-max`
|
|
58
|
-
| `ofox/bailian/qwen3.5-122b-a10b`
|
|
59
|
-
| `ofox/bailian/qwen3.5-27b`
|
|
60
|
-
| `ofox/bailian/qwen3.5-35b-a3b`
|
|
61
|
-
| `ofox/bailian/qwen3.5-397b-a17b`
|
|
62
|
-
| `ofox/bailian/qwen3.5-flash`
|
|
63
|
-
| `ofox/bailian/qwen3.5-plus`
|
|
64
|
-
| `ofox/bailian/qwen3.6-27b`
|
|
65
|
-
| `ofox/bailian/qwen3.6-flash`
|
|
66
|
-
| `ofox/bailian/qwen3.6-max-preview`
|
|
67
|
-
| `ofox/bailian/qwen3.6-plus`
|
|
68
|
-
| `ofox/bailian/qwen3.7-max`
|
|
69
|
-
| `ofox/bailian/qwen3.7-plus`
|
|
70
|
-
| `ofox/bailian/qwen3.8-
|
|
71
|
-
| `ofox/
|
|
72
|
-
| `ofox/deepseek/deepseek-
|
|
73
|
-
| `ofox/deepseek/deepseek-v4-
|
|
74
|
-
| `ofox/deepseek/deepseek-v4-
|
|
75
|
-
| `ofox/
|
|
76
|
-
| `ofox/
|
|
77
|
-
| `ofox/
|
|
78
|
-
| `ofox/
|
|
79
|
-
| `ofox/google/gemini-
|
|
80
|
-
| `ofox/google/gemini-
|
|
81
|
-
| `ofox/google/gemini-
|
|
82
|
-
| `ofox/google/gemini-3
|
|
83
|
-
| `ofox/google/gemini-3.
|
|
84
|
-
| `ofox/google/gemini-3.
|
|
85
|
-
| `ofox/
|
|
86
|
-
| `ofox/
|
|
87
|
-
| `ofox/
|
|
88
|
-
| `ofox/
|
|
89
|
-
| `ofox/minimax/
|
|
90
|
-
| `ofox/minimax/minimax-m2
|
|
91
|
-
| `ofox/minimax/minimax-m2.
|
|
92
|
-
| `ofox/minimax/minimax-m2.
|
|
93
|
-
| `ofox/minimax/minimax-
|
|
94
|
-
| `ofox/
|
|
95
|
-
| `ofox/
|
|
96
|
-
| `ofox/
|
|
97
|
-
| `ofox/
|
|
98
|
-
| `ofox/moonshotai/kimi-
|
|
99
|
-
| `ofox/
|
|
100
|
-
| `ofox/
|
|
101
|
-
| `ofox/
|
|
102
|
-
| `ofox/
|
|
103
|
-
| `ofox/openai/gpt-
|
|
104
|
-
| `ofox/openai/gpt-
|
|
105
|
-
| `ofox/openai/gpt-
|
|
106
|
-
| `ofox/openai/gpt-
|
|
107
|
-
| `ofox/openai/gpt-5
|
|
108
|
-
| `ofox/openai/gpt-5
|
|
109
|
-
| `ofox/openai/gpt-5
|
|
110
|
-
| `ofox/openai/gpt-5.
|
|
111
|
-
| `ofox/openai/gpt-5.
|
|
112
|
-
| `ofox/openai/gpt-5.
|
|
113
|
-
| `ofox/openai/gpt-5.
|
|
114
|
-
| `ofox/openai/gpt-5.
|
|
115
|
-
| `ofox/openai/gpt-5.
|
|
116
|
-
| `ofox/openai/gpt-5.
|
|
117
|
-
| `ofox/openai/gpt-5.
|
|
118
|
-
| `ofox/openai/gpt-5.
|
|
119
|
-
| `ofox/openai/gpt-5.
|
|
120
|
-
| `ofox/
|
|
121
|
-
| `ofox/
|
|
122
|
-
| `ofox/
|
|
123
|
-
| `ofox/
|
|
124
|
-
| `ofox/volcengine/doubao-seed-
|
|
125
|
-
| `ofox/volcengine/doubao-seed-
|
|
126
|
-
| `ofox/volcengine/doubao-seed-
|
|
127
|
-
| `ofox/volcengine/doubao-seed-
|
|
128
|
-
| `ofox/volcengine/doubao-seed-2.
|
|
129
|
-
| `ofox/volcengine/doubao-seed-2.
|
|
130
|
-
| `ofox/volcengine/doubao-seed-
|
|
131
|
-
| `ofox/volcengine/doubao-seed-
|
|
132
|
-
| `ofox/
|
|
133
|
-
| `ofox/
|
|
134
|
-
| `ofox/
|
|
135
|
-
| `ofox/
|
|
136
|
-
| `ofox/x-ai/grok-4.
|
|
137
|
-
| `ofox/
|
|
138
|
-
| `ofox/
|
|
139
|
-
| `ofox/
|
|
140
|
-
| `ofox/
|
|
141
|
-
| `ofox/z-ai/glm-
|
|
142
|
-
| `ofox/z-ai/glm-
|
|
143
|
-
| `ofox/z-ai/glm-
|
|
144
|
-
| `ofox/z-ai/glm-5
|
|
145
|
-
| `ofox/z-ai/glm-
|
|
37
|
+
| Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
|
|
38
|
+
| -------------------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
39
|
+
| `ofox/anthropic/claude-fable-5` | 1.0M | | | | | | $10 | $50 |
|
|
40
|
+
| `ofox/anthropic/claude-haiku-4.5` | 200K | | | | | | $1 | $5 |
|
|
41
|
+
| `ofox/anthropic/claude-opus-4.5` | 200K | | | | | | $5 | $25 |
|
|
42
|
+
| `ofox/anthropic/claude-opus-4.6` | 1.0M | | | | | | $5 | $25 |
|
|
43
|
+
| `ofox/anthropic/claude-opus-4.7` | 1.0M | | | | | | $5 | $25 |
|
|
44
|
+
| `ofox/anthropic/claude-opus-4.8` | 1.0M | | | | | | $5 | $25 |
|
|
45
|
+
| `ofox/anthropic/claude-opus-5` | 1.0M | | | | | | $5 | $25 |
|
|
46
|
+
| `ofox/anthropic/claude-sonnet-4.5` | 200K | | | | | | $3 | $15 |
|
|
47
|
+
| `ofox/anthropic/claude-sonnet-4.6` | 1.0M | | | | | | $3 | $15 |
|
|
48
|
+
| `ofox/anthropic/claude-sonnet-5` | 1.0M | | | | | | $2 | $10 |
|
|
49
|
+
| `ofox/bailian/qwen-flash` | 1.0M | | | | | | $0.02 | $0.22 |
|
|
50
|
+
| `ofox/bailian/qwen-max` | 33K | | | | | | $0.35 | $1 |
|
|
51
|
+
| `ofox/bailian/qwen-plus` | 1.0M | | | | | | $0.12 | $0.29 |
|
|
52
|
+
| `ofox/bailian/qwen-turbo` | 128K | | | | | | $0.05 | $0.09 |
|
|
53
|
+
| `ofox/bailian/qwen-vl-max` | 131K | | | | | | $0.23 | $0.58 |
|
|
54
|
+
| `ofox/bailian/qwen3-coder-flash` | 1.0M | | | | | | $0.50 | $3 |
|
|
55
|
+
| `ofox/bailian/qwen3-coder-next` | 262K | | | | | | $0.20 | $2 |
|
|
56
|
+
| `ofox/bailian/qwen3-coder-plus` | 1.0M | | | | | | $2 | $9 |
|
|
57
|
+
| `ofox/bailian/qwen3-max` | 262K | | | | | | $0.36 | $1 |
|
|
58
|
+
| `ofox/bailian/qwen3.5-122b-a10b` | 256K | | | | | | $0.29 | $2 |
|
|
59
|
+
| `ofox/bailian/qwen3.5-27b` | 262K | | | | | | $0.29 | $2 |
|
|
60
|
+
| `ofox/bailian/qwen3.5-35b-a3b` | 262K | | | | | | $0.29 | $2 |
|
|
61
|
+
| `ofox/bailian/qwen3.5-397b-a17b` | 256K | | | | | | $0.55 | $4 |
|
|
62
|
+
| `ofox/bailian/qwen3.5-flash` | 1.0M | | | | | | $0.10 | $0.40 |
|
|
63
|
+
| `ofox/bailian/qwen3.5-plus` | 1.0M | | | | | | $0.40 | $2 |
|
|
64
|
+
| `ofox/bailian/qwen3.6-27b` | 256K | | | | | | $0.60 | $4 |
|
|
65
|
+
| `ofox/bailian/qwen3.6-flash` | 1.0M | | | | | | $0.25 | $2 |
|
|
66
|
+
| `ofox/bailian/qwen3.6-max-preview` | 262K | | | | | | $2 | $13 |
|
|
67
|
+
| `ofox/bailian/qwen3.6-plus` | 1.0M | | | | | | $0.50 | $3 |
|
|
68
|
+
| `ofox/bailian/qwen3.7-max` | 1.0M | | | | | | $3 | $8 |
|
|
69
|
+
| `ofox/bailian/qwen3.7-plus` | 1.0M | | | | | | $0.40 | $2 |
|
|
70
|
+
| `ofox/bailian/qwen3.8-27b` | 1.1M | | | | | | $0.45 | $3 |
|
|
71
|
+
| `ofox/bailian/qwen3.8-max` | 1.0M | | | | | | $2 | $6 |
|
|
72
|
+
| `ofox/deepseek/deepseek-v3.2` | 128K | | | | | | $0.29 | $0.43 |
|
|
73
|
+
| `ofox/deepseek/deepseek-v4-flash` | 1.0M | | | | | | $0.44 | $1 |
|
|
74
|
+
| `ofox/deepseek/deepseek-v4-flash-0731` | 1.0M | | | | | | $0.44 | $1 |
|
|
75
|
+
| `ofox/deepseek/deepseek-v4-flash-vision-exp` | 1.0M | | | | | | $0.44 | $1 |
|
|
76
|
+
| `ofox/deepseek/deepseek-v4-pro` | 1.0M | | | | | | $1 | $4 |
|
|
77
|
+
| `ofox/deepseek/deepseek-v4-pro-0423` | 1.0M | | | | | | $1 | $4 |
|
|
78
|
+
| `ofox/deepseek/deepseek-v4-pro-0813` | 1.0M | | | | | | $1 | $4 |
|
|
79
|
+
| `ofox/google/gemini-2.5-flash` | 1.0M | | | | | | $0.30 | $3 |
|
|
80
|
+
| `ofox/google/gemini-2.5-flash-lite` | 1.0M | | | | | | $0.10 | $0.40 |
|
|
81
|
+
| `ofox/google/gemini-2.5-pro` | 1.0M | | | | | | $1 | $10 |
|
|
82
|
+
| `ofox/google/gemini-3-flash-preview` | 1.0M | | | | | | $0.50 | $3 |
|
|
83
|
+
| `ofox/google/gemini-3.1-flash-lite` | 1.0M | | | | | | $0.25 | $2 |
|
|
84
|
+
| `ofox/google/gemini-3.1-pro-preview` | 1.0M | | | | | | $2 | $12 |
|
|
85
|
+
| `ofox/google/gemini-3.5-flash` | 1.0M | | | | | | $2 | $9 |
|
|
86
|
+
| `ofox/google/gemini-3.5-flash-lite` | 1.0M | | | | | | $0.30 | $3 |
|
|
87
|
+
| `ofox/google/gemini-3.6-flash` | 1.0M | | | | | | $0.75 | $4 |
|
|
88
|
+
| `ofox/google/gemini-3.7-flash` | 1.0M | | | | | | $0.75 | $4 |
|
|
89
|
+
| `ofox/minimax/m2-her` | 200K | | | | | | $0.30 | $1 |
|
|
90
|
+
| `ofox/minimax/minimax-m2` | 197K | | | | | | $0.30 | $1 |
|
|
91
|
+
| `ofox/minimax/minimax-m2.1` | 205K | | | | | | $0.30 | $1 |
|
|
92
|
+
| `ofox/minimax/minimax-m2.1-lightning` | 205K | | | | | | $0.30 | $2 |
|
|
93
|
+
| `ofox/minimax/minimax-m2.5` | 205K | | | | | | $0.30 | $1 |
|
|
94
|
+
| `ofox/minimax/minimax-m2.5-lightning` | 205K | | | | | | $0.30 | $2 |
|
|
95
|
+
| `ofox/minimax/minimax-m2.7` | 205K | | | | | | $0.30 | $1 |
|
|
96
|
+
| `ofox/minimax/minimax-m2.7-highspeed` | 205K | | | | | | $0.60 | $2 |
|
|
97
|
+
| `ofox/minimax/minimax-m3` | 512K | | | | | | $0.60 | $2 |
|
|
98
|
+
| `ofox/moonshotai/kimi-k2.5` | 262K | | | | | | $0.60 | $3 |
|
|
99
|
+
| `ofox/moonshotai/kimi-k2.6` | 262K | | | | | | $0.95 | $4 |
|
|
100
|
+
| `ofox/moonshotai/kimi-k2.7-code` | 262K | | | | | | $0.95 | $4 |
|
|
101
|
+
| `ofox/moonshotai/kimi-k2.7-code-highspeed` | 262K | | | | | | $2 | $8 |
|
|
102
|
+
| `ofox/moonshotai/kimi-k3` | 1.0M | | | | | | $3 | $15 |
|
|
103
|
+
| `ofox/openai/gpt-4.1` | 1.0M | | | | | | $2 | $8 |
|
|
104
|
+
| `ofox/openai/gpt-4.1-mini` | 1.0M | | | | | | $0.40 | $2 |
|
|
105
|
+
| `ofox/openai/gpt-4o` | 128K | | | | | | $3 | $10 |
|
|
106
|
+
| `ofox/openai/gpt-4o-mini` | 128K | | | | | | $0.15 | $0.60 |
|
|
107
|
+
| `ofox/openai/gpt-5` | 400K | | | | | | $1 | $10 |
|
|
108
|
+
| `ofox/openai/gpt-5-mini` | 256K | | | | | | $0.25 | $2 |
|
|
109
|
+
| `ofox/openai/gpt-5-nano` | 400K | | | | | | $0.05 | $0.40 |
|
|
110
|
+
| `ofox/openai/gpt-5.1` | 400K | | | | | | $1 | $10 |
|
|
111
|
+
| `ofox/openai/gpt-5.1-codex-max` | 256K | | | | | | $1 | $10 |
|
|
112
|
+
| `ofox/openai/gpt-5.1-codex-mini` | 256K | | | | | | $0.25 | $2 |
|
|
113
|
+
| `ofox/openai/gpt-5.2` | 400K | | | | | | $2 | $14 |
|
|
114
|
+
| `ofox/openai/gpt-5.2-codex` | 400K | | | | | | $2 | $14 |
|
|
115
|
+
| `ofox/openai/gpt-5.3-codex` | 400K | | | | | | $2 | $14 |
|
|
116
|
+
| `ofox/openai/gpt-5.4` | 1.1M | | | | | | $3 | $15 |
|
|
117
|
+
| `ofox/openai/gpt-5.4-mini` | 400K | | | | | | $0.75 | $5 |
|
|
118
|
+
| `ofox/openai/gpt-5.4-nano` | 400K | | | | | | $0.20 | $1 |
|
|
119
|
+
| `ofox/openai/gpt-5.4-pro` | 1.1M | | | | | | $30 | $180 |
|
|
120
|
+
| `ofox/openai/gpt-5.5` | 1.1M | | | | | | $5 | $30 |
|
|
121
|
+
| `ofox/openai/gpt-5.6-luna` | 1.1M | | | | | | $0.20 | $1 |
|
|
122
|
+
| `ofox/openai/gpt-5.6-sol` | 1.1M | | | | | | $3 | $15 |
|
|
123
|
+
| `ofox/openai/gpt-5.6-terra` | 1.1M | | | | | | $2 | $12 |
|
|
124
|
+
| `ofox/volcengine/doubao-seed-1-6` | 256K | | | | | | $0.12 | $0.29 |
|
|
125
|
+
| `ofox/volcengine/doubao-seed-1-6-flash` | 256K | | | | | | $0.03 | $0.22 |
|
|
126
|
+
| `ofox/volcengine/doubao-seed-1-6-vision` | 256K | | | | | | $0.12 | $1 |
|
|
127
|
+
| `ofox/volcengine/doubao-seed-1-8` | 256K | | | | | | $0.12 | $0.29 |
|
|
128
|
+
| `ofox/volcengine/doubao-seed-2.0-code` | 256K | | | | | | $0.67 | $3 |
|
|
129
|
+
| `ofox/volcengine/doubao-seed-2.0-lite` | 256K | | | | | | $0.13 | $0.76 |
|
|
130
|
+
| `ofox/volcengine/doubao-seed-2.0-mini` | 256K | | | | | | $0.06 | $0.56 |
|
|
131
|
+
| `ofox/volcengine/doubao-seed-2.0-pro` | 256K | | | | | | $0.67 | $3 |
|
|
132
|
+
| `ofox/volcengine/doubao-seed-2.1-pro` | 256K | | | | | | $0.71 | $4 |
|
|
133
|
+
| `ofox/volcengine/doubao-seed-2.1-turbo` | 256K | | | | | | $0.35 | $2 |
|
|
134
|
+
| `ofox/volcengine/doubao-seed-character` | 256K | | | | | | $0.18 | $0.88 |
|
|
135
|
+
| `ofox/volcengine/doubao-seed-evolving` | 256K | | | | | | $0.88 | $4 |
|
|
136
|
+
| `ofox/x-ai/grok-4.1-fast` | 2.0M | | | | | | $0.20 | $0.50 |
|
|
137
|
+
| `ofox/x-ai/grok-4.20` | 2.0M | | | | | | $4 | $12 |
|
|
138
|
+
| `ofox/x-ai/grok-4.3` | 1.0M | | | | | | $1 | $3 |
|
|
139
|
+
| `ofox/x-ai/grok-4.5` | 500K | | | | | | $2 | $6 |
|
|
140
|
+
| `ofox/x-ai/grok-4.6` | 500K | | | | | | $2 | $6 |
|
|
141
|
+
| `ofox/z-ai/glm-4.6` | 205K | | | | | | $0.40 | $2 |
|
|
142
|
+
| `ofox/z-ai/glm-4.7` | 205K | | | | | | $0.40 | $2 |
|
|
143
|
+
| `ofox/z-ai/glm-4.7-flashx` | 200K | | | | | | $0.07 | $0.43 |
|
|
144
|
+
| `ofox/z-ai/glm-5` | 205K | | | | | | $1 | $3 |
|
|
145
|
+
| `ofox/z-ai/glm-5-turbo` | 200K | | | | | | $1 | $4 |
|
|
146
|
+
| `ofox/z-ai/glm-5.1` | 200K | | | | | | $1 | $4 |
|
|
147
|
+
| `ofox/z-ai/glm-5.2` | 1.0M | | | | | | $0.98 | $3 |
|
|
148
|
+
| `ofox/z-ai/glm-5.3` | 1.0M | | | | | | $1 | $4 |
|
|
149
|
+
| `ofox/z-ai/glm-5v-turbo` | 200K | | | | | | $1 | $4 |
|
|
146
150
|
|
|
147
151
|
## Advanced configuration
|
|
148
152
|
|
|
@@ -58,9 +58,9 @@ for await (const chunk of stream) {
|
|
|
58
58
|
| `openai/gpt-5.4-pro` | 1.1M | | | | | | $30 | $180 |
|
|
59
59
|
| `openai/gpt-5.5` | 1.1M | | | | | | $5 | $30 |
|
|
60
60
|
| `openai/gpt-5.5-pro` | 1.1M | | | | | | $30 | $180 |
|
|
61
|
-
| `openai/gpt-5.6` | 1.1M | | | | | | $
|
|
61
|
+
| `openai/gpt-5.6` | 1.1M | | | | | | $4 | $20 |
|
|
62
62
|
| `openai/gpt-5.6-luna` | 1.1M | | | | | | $0.20 | $1 |
|
|
63
|
-
| `openai/gpt-5.6-sol` | 1.1M | | | | | | $
|
|
63
|
+
| `openai/gpt-5.6-sol` | 1.1M | | | | | | $4 | $20 |
|
|
64
64
|
| `openai/gpt-5.6-terra` | 1.1M | | | | | | $2 | $12 |
|
|
65
65
|
| `openai/gpt-image-1-mini` | — | | | | | | — | — |
|
|
66
66
|
| `openai/gpt-image-1.5` | — | | | | | | — | — |
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# OpenCode Go
|
|
4
4
|
|
|
5
|
-
Access
|
|
5
|
+
Access 30 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
|
|
|
@@ -34,29 +34,31 @@ for await (const chunk of stream) {
|
|
|
34
34
|
|
|
35
35
|
## Models
|
|
36
36
|
|
|
37
|
-
| Model
|
|
38
|
-
|
|
|
39
|
-
| `opencode-go/deepseek-v4-flash`
|
|
40
|
-
| `opencode-go/deepseek-v4-
|
|
41
|
-
| `opencode-go/
|
|
42
|
-
| `opencode-go/glm-5.
|
|
43
|
-
| `opencode-go/glm-5.
|
|
44
|
-
| `opencode-go/
|
|
45
|
-
| `opencode-go/
|
|
46
|
-
| `opencode-go/
|
|
47
|
-
| `opencode-go/
|
|
48
|
-
| `opencode-go/kimi-k2.
|
|
49
|
-
| `opencode-go/kimi-
|
|
50
|
-
| `opencode-go/
|
|
51
|
-
| `opencode-go/
|
|
52
|
-
| `opencode-go/
|
|
53
|
-
| `opencode-go/
|
|
54
|
-
| `opencode-go/
|
|
55
|
-
| `opencode-go/
|
|
56
|
-
| `opencode-go/
|
|
57
|
-
| `opencode-go/
|
|
58
|
-
| `opencode-go/qwen3.
|
|
59
|
-
| `opencode-go/qwen3.
|
|
37
|
+
| Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
|
|
38
|
+
| ------------------------------------------ | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
39
|
+
| `opencode-go/deepseek-v4-flash` | 1.0M | | | | | | $0.22 | $0.66 |
|
|
40
|
+
| `opencode-go/deepseek-v4-flash-vision-exp` | 1.0M | | | | | | $0.22 | $0.66 |
|
|
41
|
+
| `opencode-go/deepseek-v4-pro` | 1.0M | | | | | | $0.66 | $2 |
|
|
42
|
+
| `opencode-go/glm-5.1` | 203K | | | | | | $1 | $4 |
|
|
43
|
+
| `opencode-go/glm-5.2` | 1.0M | | | | | | $1 | $4 |
|
|
44
|
+
| `opencode-go/glm-5.3` | 1.0M | | | | | | $1 | $4 |
|
|
45
|
+
| `opencode-go/gpt-5.6-luna` | 1.1M | | | | | | $0.20 | $1 |
|
|
46
|
+
| `opencode-go/grok-4.6` | 500K | | | | | | $2 | $6 |
|
|
47
|
+
| `opencode-go/hy3` | 256K | | | | | | $0.02 | $0.07 |
|
|
48
|
+
| `opencode-go/kimi-k2.6` | 262K | | | | | | $0.95 | $4 |
|
|
49
|
+
| `opencode-go/kimi-k2.7-code` | 262K | | | | | | $0.95 | $4 |
|
|
50
|
+
| `opencode-go/kimi-k3` | 1.0M | | | | | | $3 | $15 |
|
|
51
|
+
| `opencode-go/longcat-2.0` | 1.0M | | | | | | $0.30 | $1 |
|
|
52
|
+
| `opencode-go/mimo-v2.5` | 1.0M | | | | | | $0.14 | $0.28 |
|
|
53
|
+
| `opencode-go/mimo-v2.5-pro` | 1.0M | | | | | | $0.43 | $0.87 |
|
|
54
|
+
| `opencode-go/minimax-m2.7` | 205K | | | | | | $0.30 | $1 |
|
|
55
|
+
| `opencode-go/minimax-m3` | 1.0M | | | | | | $0.30 | $1 |
|
|
56
|
+
| `opencode-go/muse-spark-1.2-contributor` | 1.0M | | | | | | $0.10 | $0.20 |
|
|
57
|
+
| `opencode-go/ox-alpha-free` | 1.0M | | | | | | — | — |
|
|
58
|
+
| `opencode-go/qwen3.6-plus` | 1.0M | | | | | | $0.50 | $3 |
|
|
59
|
+
| `opencode-go/qwen3.7-max` | 1.0M | | | | | | $3 | $8 |
|
|
60
|
+
| `opencode-go/qwen3.7-plus` | 1.0M | | | | | | $0.40 | $2 |
|
|
61
|
+
| `opencode-go/qwen3.8-max` | 1.0M | | | | | | $2 | $6 |
|
|
60
62
|
|
|
61
63
|
## Advanced configuration
|
|
62
64
|
|
|
@@ -77,7 +77,7 @@ for await (const chunk of stream) {
|
|
|
77
77
|
| `opencode/gpt-5.5` | 1.1M | | | | | | $5 | $30 |
|
|
78
78
|
| `opencode/gpt-5.5-pro` | 1.1M | | | | | | $30 | $180 |
|
|
79
79
|
| `opencode/gpt-5.6-luna` | 1.1M | | | | | | $0.20 | $1 |
|
|
80
|
-
| `opencode/gpt-5.6-sol` | 1.1M | | | | | | $
|
|
80
|
+
| `opencode/gpt-5.6-sol` | 1.1M | | | | | | $2 | $10 |
|
|
81
81
|
| `opencode/gpt-5.6-terra` | 1.1M | | | | | | $3 | $15 |
|
|
82
82
|
| `opencode/grok-4.5` | 500K | | | | | | $2 | $6 |
|
|
83
83
|
| `opencode/grok-4.6` | 500K | | | | | | $2 | $6 |
|