@mastra/mcp-docs-server 1.3.9-alpha.3 → 1.3.9-alpha.6
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/harness/signals.md +3 -1
- package/.docs/docs/mastra-platform/connect/tools.md +25 -3
- package/.docs/docs/memory/semantic-recall.md +2 -0
- package/.docs/models/environment-variables.md +2 -0
- package/.docs/models/gateways/netlify.md +3 -1
- package/.docs/models/gateways/openrouter.md +3 -1
- package/.docs/models/gateways/vercel.md +3 -1
- package/.docs/models/index.md +3 -1
- package/.docs/models/providers/aimlapi.md +3 -3
- package/.docs/models/providers/commandcode.md +147 -0
- package/.docs/models/providers/databricks.md +2 -1
- package/.docs/models/providers/edenai.md +4 -4
- package/.docs/models/providers/kilo.md +13 -11
- package/.docs/models/providers/nano-gpt.md +6 -1
- package/.docs/models/providers/ofox.md +24 -24
- package/.docs/models/providers/opencode-go.md +5 -5
- package/.docs/models/providers/opencode.md +90 -92
- package/.docs/models/providers/pioneer.md +120 -119
- package/.docs/models/providers/reflection.md +77 -0
- package/.docs/models/providers/requesty.md +3 -2
- package/.docs/models/providers/scaleway.md +2 -1
- package/.docs/models/providers/wandb.md +4 -2
- package/.docs/models/providers.md +2 -0
- package/.docs/reference/agent-controller/session.md +3 -2
- package/.docs/reference/agents/inngest-agent.md +4 -4
- package/.docs/reference/connect/providers.md +5 -3
- package/.docs/reference/connect/tools.md +21 -2
- package/package.json +4 -4
|
@@ -80,12 +80,12 @@ for await (const chunk of stream) {
|
|
|
80
80
|
| `ofox/deepseek/deepseek-v3.2` | 128K | | | | | | $0.29 | $0.43 |
|
|
81
81
|
| `ofox/deepseek/deepseek-v4-flash` | 1.0M | | | | | | $0.44 | $1 |
|
|
82
82
|
| `ofox/deepseek/deepseek-v4-flash-0423` | 1.0M | | | | | | $0.19 | $0.51 |
|
|
83
|
-
| `ofox/deepseek/deepseek-v4-flash-0731` | 1.0M | | | | | | $0.
|
|
83
|
+
| `ofox/deepseek/deepseek-v4-flash-0731` | 1.0M | | | | | | $0.44 | $1 |
|
|
84
84
|
| `ofox/deepseek/deepseek-v4-flash-vision-exp` | 1.0M | | | | | | $0.44 | $1 |
|
|
85
85
|
| `ofox/deepseek/deepseek-v4-pro` | 1.0M | | | | | | $1 | $4 |
|
|
86
86
|
| `ofox/deepseek/deepseek-v4-pro-0423` | 1.0M | | | | | | $1 | $4 |
|
|
87
|
-
| `ofox/deepseek/deepseek-v4-pro-0813` | 1.0M | | | | | | $
|
|
88
|
-
| `ofox/deepseek/deepseek-v4.1-flash` | 1.0M | | | | | | $0.
|
|
87
|
+
| `ofox/deepseek/deepseek-v4-pro-0813` | 1.0M | | | | | | $1 | $4 |
|
|
88
|
+
| `ofox/deepseek/deepseek-v4.1-flash` | 1.0M | | | | | | $0.30 | $1 |
|
|
89
89
|
| `ofox/google/gemini-2.5-flash` | 1.0M | | | | | | $0.30 | $3 |
|
|
90
90
|
| `ofox/google/gemini-2.5-flash-lite` | 1.0M | | | | | | $0.10 | $0.40 |
|
|
91
91
|
| `ofox/google/gemini-2.5-pro` | 1.0M | | | | | | $1 | $10 |
|
|
@@ -112,30 +112,30 @@ for await (const chunk of stream) {
|
|
|
112
112
|
| `ofox/moonshotai/kimi-k2.7-code` | 262K | | | | | | $0.95 | $4 |
|
|
113
113
|
| `ofox/moonshotai/kimi-k2.7-code-highspeed` | 262K | | | | | | $2 | $8 |
|
|
114
114
|
| `ofox/moonshotai/kimi-k3` | 1.0M | | | | | | $3 | $15 |
|
|
115
|
-
| `ofox/openai/gpt-4.1` | 1.0M | | | | | | $2 | $
|
|
116
|
-
| `ofox/openai/gpt-4.1-mini` | 1.0M | | | | | | $0.
|
|
117
|
-
| `ofox/openai/gpt-4o` | 128K | | | | | | $
|
|
118
|
-
| `ofox/openai/gpt-4o-mini` | 128K | | | | | | $0.
|
|
119
|
-
| `ofox/openai/gpt-5` | 400K | | | | | | $1 | $
|
|
120
|
-
| `ofox/openai/gpt-5-mini` | 256K | | | | | | $0.
|
|
121
|
-
| `ofox/openai/gpt-5-nano` | 400K | | | | | | $0.
|
|
122
|
-
| `ofox/openai/gpt-5.1` | 400K | | | | | | $1 | $
|
|
123
|
-
| `ofox/openai/gpt-5.1-codex-max` | 256K | | | | | | $1 | $
|
|
124
|
-
| `ofox/openai/gpt-5.1-codex-mini` | 256K | | | | | | $0.
|
|
125
|
-
| `ofox/openai/gpt-5.2` | 400K | | | | | | $
|
|
126
|
-
| `ofox/openai/gpt-5.2-codex` | 400K | | | | | | $
|
|
127
|
-
| `ofox/openai/gpt-5.3-codex` | 400K | | | | | | $
|
|
128
|
-
| `ofox/openai/gpt-5.4` | 1.1M | | | | | | $
|
|
129
|
-
| `ofox/openai/gpt-5.4-mini` | 400K | | | | | | $0.
|
|
130
|
-
| `ofox/openai/gpt-5.4-nano` | 400K | | | | | | $0.
|
|
131
|
-
| `ofox/openai/gpt-5.4-pro` | 1.1M | | | | | | $
|
|
132
|
-
| `ofox/openai/gpt-5.5` | 1.1M | | | | | | $
|
|
115
|
+
| `ofox/openai/gpt-4.1` | 1.0M | | | | | | $2 | $8 |
|
|
116
|
+
| `ofox/openai/gpt-4.1-mini` | 1.0M | | | | | | $0.40 | $2 |
|
|
117
|
+
| `ofox/openai/gpt-4o` | 128K | | | | | | $3 | $10 |
|
|
118
|
+
| `ofox/openai/gpt-4o-mini` | 128K | | | | | | $0.15 | $0.60 |
|
|
119
|
+
| `ofox/openai/gpt-5` | 400K | | | | | | $1 | $10 |
|
|
120
|
+
| `ofox/openai/gpt-5-mini` | 256K | | | | | | $0.25 | $2 |
|
|
121
|
+
| `ofox/openai/gpt-5-nano` | 400K | | | | | | $0.05 | $0.40 |
|
|
122
|
+
| `ofox/openai/gpt-5.1` | 400K | | | | | | $1 | $10 |
|
|
123
|
+
| `ofox/openai/gpt-5.1-codex-max` | 256K | | | | | | $1 | $10 |
|
|
124
|
+
| `ofox/openai/gpt-5.1-codex-mini` | 256K | | | | | | $0.25 | $2 |
|
|
125
|
+
| `ofox/openai/gpt-5.2` | 400K | | | | | | $2 | $14 |
|
|
126
|
+
| `ofox/openai/gpt-5.2-codex` | 400K | | | | | | $2 | $14 |
|
|
127
|
+
| `ofox/openai/gpt-5.3-codex` | 400K | | | | | | $2 | $14 |
|
|
128
|
+
| `ofox/openai/gpt-5.4` | 1.1M | | | | | | $3 | $15 |
|
|
129
|
+
| `ofox/openai/gpt-5.4-mini` | 400K | | | | | | $0.75 | $5 |
|
|
130
|
+
| `ofox/openai/gpt-5.4-nano` | 400K | | | | | | $0.20 | $1 |
|
|
131
|
+
| `ofox/openai/gpt-5.4-pro` | 1.1M | | | | | | $30 | $180 |
|
|
132
|
+
| `ofox/openai/gpt-5.5` | 1.1M | | | | | | $5 | $30 |
|
|
133
133
|
| `ofox/openai/gpt-5.6-luna` | 1.1M | | | | | | $0.20 | $1 |
|
|
134
134
|
| `ofox/openai/gpt-5.6-sol` | 1.1M | | | | | | $3 | $15 |
|
|
135
135
|
| `ofox/openai/gpt-5.6-terra` | 1.1M | | | | | | $2 | $12 |
|
|
136
|
-
| `ofox/openai/gpt-6-astra` | 1.1M | | | | | | $
|
|
137
|
-
| `ofox/openai/gpt-6-luna` | 1.1M | | | | | | $0.
|
|
138
|
-
| `ofox/openai/gpt-6-sol` | 1.1M | | | | | | $2 | $
|
|
136
|
+
| `ofox/openai/gpt-6-astra` | 1.1M | | | | | | $10 | $50 |
|
|
137
|
+
| `ofox/openai/gpt-6-luna` | 1.1M | | | | | | $0.10 | $0.50 |
|
|
138
|
+
| `ofox/openai/gpt-6-sol` | 1.1M | | | | | | $2 | $10 |
|
|
139
139
|
| `ofox/openai/gpt-6.1-sol` | 1.1M | | | | | | $2 | $10 |
|
|
140
140
|
| `ofox/qwen/qwen-flash` | 1.0M | | | | | | $0.02 | $0.22 |
|
|
141
141
|
| `ofox/qwen/qwen-max` | 32K | | | | | | $0.35 | $1 |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# OpenCode Go
|
|
6
6
|
|
|
7
|
-
Access
|
|
7
|
+
Access 32 OpenCode Go models through Mastra's model router. Authentication is handled automatically using the `OPENCODE_API_KEY` environment variable.
|
|
8
8
|
|
|
9
9
|
Learn more in the [OpenCode Go documentation](https://opencode.ai/v2/docs/console/go/).
|
|
10
10
|
|
|
@@ -19,7 +19,7 @@ const agent = new Agent({
|
|
|
19
19
|
id: "my-agent",
|
|
20
20
|
name: "My Agent",
|
|
21
21
|
instructions: "You are a helpful assistant",
|
|
22
|
-
model: "opencode-go/
|
|
22
|
+
model: "opencode-go/beam-free"
|
|
23
23
|
});
|
|
24
24
|
|
|
25
25
|
// Generate a response
|
|
@@ -38,7 +38,7 @@ for await (const chunk of stream) {
|
|
|
38
38
|
|
|
39
39
|
| Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
|
|
40
40
|
| ---------------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
41
|
-
| `opencode-go/
|
|
41
|
+
| `opencode-go/beam-free` | 1.0M | | | | | | — | — |
|
|
42
42
|
| `opencode-go/claude-haiku-5-5` | 1.0M | | | | | | $0.10 | $0.50 |
|
|
43
43
|
| `opencode-go/deepseek-v4-pro` | 1.0M | | | | | | $0.66 | $2 |
|
|
44
44
|
| `opencode-go/deepseek-v4.1-flash` | 1.0M | | | | | | $0.15 | $0.60 |
|
|
@@ -80,7 +80,7 @@ const agent = new Agent({
|
|
|
80
80
|
name: "custom-agent",
|
|
81
81
|
model: {
|
|
82
82
|
url: "https://opencode.ai/inference/go/openai/v1",
|
|
83
|
-
id: "opencode-go/
|
|
83
|
+
id: "opencode-go/beam-free",
|
|
84
84
|
apiKey: process.env.OPENCODE_API_KEY,
|
|
85
85
|
headers: {
|
|
86
86
|
"X-Custom-Header": "value"
|
|
@@ -99,7 +99,7 @@ const agent = new Agent({
|
|
|
99
99
|
const useAdvanced = requestContext.task === "complex";
|
|
100
100
|
return useAdvanced
|
|
101
101
|
? "opencode-go/step-5-preview-free"
|
|
102
|
-
: "opencode-go/
|
|
102
|
+
: "opencode-go/beam-free";
|
|
103
103
|
}
|
|
104
104
|
});
|
|
105
105
|
```
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# OpenCode
|
|
6
6
|
|
|
7
|
-
Access
|
|
7
|
+
Access 127 OpenCode models through Mastra's model router. Authentication is handled automatically using the `OPENCODE_API_KEY` environment variable.
|
|
8
8
|
|
|
9
9
|
Learn more in the [OpenCode documentation](https://opencode.ai/v2/docs/console/models/).
|
|
10
10
|
|
|
@@ -19,7 +19,7 @@ const agent = new Agent({
|
|
|
19
19
|
id: "my-agent",
|
|
20
20
|
name: "My Agent",
|
|
21
21
|
instructions: "You are a helpful assistant",
|
|
22
|
-
model: "opencode/
|
|
22
|
+
model: "opencode/beam-free"
|
|
23
23
|
});
|
|
24
24
|
|
|
25
25
|
// Generate a response
|
|
@@ -36,94 +36,92 @@ for await (const chunk of stream) {
|
|
|
36
36
|
|
|
37
37
|
## Models
|
|
38
38
|
|
|
39
|
-
| Model
|
|
40
|
-
|
|
|
41
|
-
| `opencode/
|
|
42
|
-
| `opencode/
|
|
43
|
-
| `opencode/claude-fable-5`
|
|
44
|
-
| `opencode/claude-fable-5-1`
|
|
45
|
-
| `opencode/claude-haiku-4-5`
|
|
46
|
-
| `opencode/claude-haiku-5-5`
|
|
47
|
-
| `opencode/claude-opus-4-5`
|
|
48
|
-
| `opencode/claude-opus-4-6`
|
|
49
|
-
| `opencode/claude-opus-4-7`
|
|
50
|
-
| `opencode/claude-opus-4-8`
|
|
51
|
-
| `opencode/claude-opus-5`
|
|
52
|
-
| `opencode/claude-opus-5-5`
|
|
53
|
-
| `opencode/claude-sonnet-4`
|
|
54
|
-
| `opencode/claude-sonnet-4-5`
|
|
55
|
-
| `opencode/claude-sonnet-4-6`
|
|
56
|
-
| `opencode/claude-sonnet-5`
|
|
57
|
-
| `opencode/claude-sonnet-5-5`
|
|
58
|
-
| `opencode/deepseek-v4-flash`
|
|
59
|
-
| `opencode/deepseek-v4-flash-vision-exp`
|
|
60
|
-
| `opencode/deepseek-v4-pro`
|
|
61
|
-
| `opencode/deepseek-v4.1-flash`
|
|
62
|
-
| `opencode/deepseek-v4.1-flash-free`
|
|
63
|
-
| `opencode/gemini-3-flash`
|
|
64
|
-
| `opencode/gemini-3.1-pro`
|
|
65
|
-
| `opencode/gemini-3.5-flash`
|
|
66
|
-
| `opencode/gemini-3.5-flash-lite`
|
|
67
|
-
| `opencode/gemini-3.6-flash`
|
|
68
|
-
| `opencode/gemini-3.7-flash`
|
|
69
|
-
| `opencode/gemini-3.8-flash`
|
|
70
|
-
| `opencode/gemini-4-argon`
|
|
71
|
-
| `opencode/glm-5`
|
|
72
|
-
| `opencode/glm-5.1`
|
|
73
|
-
| `opencode/glm-5.2`
|
|
74
|
-
| `opencode/glm-5.3`
|
|
75
|
-
| `opencode/glm-5.3-flash`
|
|
76
|
-
| `opencode/glm-5.3-flash-free`
|
|
77
|
-
| `opencode/gpt-5`
|
|
78
|
-
| `opencode/gpt-5-codex`
|
|
79
|
-
| `opencode/gpt-5-nano`
|
|
80
|
-
| `opencode/gpt-5.1`
|
|
81
|
-
| `opencode/gpt-5.1-codex`
|
|
82
|
-
| `opencode/gpt-5.1-codex-max`
|
|
83
|
-
| `opencode/gpt-5.1-codex-mini`
|
|
84
|
-
| `opencode/gpt-5.2`
|
|
85
|
-
| `opencode/gpt-5.2-codex`
|
|
86
|
-
| `opencode/gpt-5.3-codex`
|
|
87
|
-
| `opencode/gpt-5.3-codex-spark`
|
|
88
|
-
| `opencode/gpt-5.4`
|
|
89
|
-
| `opencode/gpt-5.4-mini`
|
|
90
|
-
| `opencode/gpt-5.4-nano`
|
|
91
|
-
| `opencode/gpt-5.4-pro`
|
|
92
|
-
| `opencode/gpt-5.5`
|
|
93
|
-
| `opencode/gpt-5.5-pro`
|
|
94
|
-
| `opencode/gpt-5.6-luna`
|
|
95
|
-
| `opencode/gpt-5.6-sol`
|
|
96
|
-
| `opencode/gpt-5.6-terra`
|
|
97
|
-
| `opencode/gpt-6-astra`
|
|
98
|
-
| `opencode/gpt-6-luna`
|
|
99
|
-
| `opencode/gpt-6-sol`
|
|
100
|
-
| `opencode/gpt-6.1-sol`
|
|
101
|
-
| `opencode/grok-4.5`
|
|
102
|
-
| `opencode/grok-4.6`
|
|
103
|
-
| `opencode/grok-4.7`
|
|
104
|
-
| `opencode/grok-build-0.1`
|
|
105
|
-
| `opencode/kimi-k2.5`
|
|
106
|
-
| `opencode/kimi-k2.6`
|
|
107
|
-
| `opencode/kimi-k2.7-code`
|
|
108
|
-
| `opencode/kimi-k3`
|
|
109
|
-
| `opencode/
|
|
110
|
-
| `opencode/
|
|
111
|
-
| `opencode/
|
|
112
|
-
| `opencode/minimax-m2.
|
|
113
|
-
| `opencode/minimax-
|
|
114
|
-
| `opencode/
|
|
115
|
-
| `opencode/
|
|
116
|
-
| `opencode/muse-spark-1.
|
|
117
|
-
| `opencode/
|
|
118
|
-
| `opencode/
|
|
119
|
-
| `opencode/nemotron-3-
|
|
120
|
-
| `opencode/
|
|
121
|
-
| `opencode/
|
|
122
|
-
| `opencode/qwen3.
|
|
123
|
-
| `opencode/qwen3.
|
|
124
|
-
| `opencode/
|
|
125
|
-
| `opencode/qwen3.8-max` | 262K | | | | | | $2 | $6 |
|
|
126
|
-
| `opencode/space-bunny-free` | 1.0M | | | | | | — | — |
|
|
39
|
+
| Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
|
|
40
|
+
| --------------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
41
|
+
| `opencode/beam-free` | 1.0M | | | | | | — | — |
|
|
42
|
+
| `opencode/big-pickle` | 200K | | | | | | — | — |
|
|
43
|
+
| `opencode/claude-fable-5` | 1.0M | | | | | | $10 | $50 |
|
|
44
|
+
| `opencode/claude-fable-5-1` | 1.0M | | | | | | $10 | $50 |
|
|
45
|
+
| `opencode/claude-haiku-4-5` | 200K | | | | | | $1 | $5 |
|
|
46
|
+
| `opencode/claude-haiku-5-5` | 1.0M | | | | | | $0.10 | $0.50 |
|
|
47
|
+
| `opencode/claude-opus-4-5` | 200K | | | | | | $5 | $25 |
|
|
48
|
+
| `opencode/claude-opus-4-6` | 1.0M | | | | | | $5 | $25 |
|
|
49
|
+
| `opencode/claude-opus-4-7` | 1.0M | | | | | | $5 | $25 |
|
|
50
|
+
| `opencode/claude-opus-4-8` | 1.0M | | | | | | $5 | $25 |
|
|
51
|
+
| `opencode/claude-opus-5` | 1.0M | | | | | | $5 | $25 |
|
|
52
|
+
| `opencode/claude-opus-5-5` | 1.0M | | | | | | $4 | $20 |
|
|
53
|
+
| `opencode/claude-sonnet-4` | 1.0M | | | | | | $3 | $15 |
|
|
54
|
+
| `opencode/claude-sonnet-4-5` | 1.0M | | | | | | $3 | $15 |
|
|
55
|
+
| `opencode/claude-sonnet-4-6` | 1.0M | | | | | | $3 | $15 |
|
|
56
|
+
| `opencode/claude-sonnet-5` | 1.0M | | | | | | $2 | $10 |
|
|
57
|
+
| `opencode/claude-sonnet-5-5` | 1.0M | | | | | | $2 | $10 |
|
|
58
|
+
| `opencode/deepseek-v4-flash` | 1.0M | | | | | | $0.14 | $0.28 |
|
|
59
|
+
| `opencode/deepseek-v4-flash-vision-exp` | 1.0M | | | | | | $0.14 | $0.28 |
|
|
60
|
+
| `opencode/deepseek-v4-pro` | 1.0M | | | | | | $2 | $4 |
|
|
61
|
+
| `opencode/deepseek-v4.1-flash` | 1.0M | | | | | | $0.30 | $1 |
|
|
62
|
+
| `opencode/deepseek-v4.1-flash-free` | 200K | | | | | | — | — |
|
|
63
|
+
| `opencode/gemini-3-flash` | 1.0M | | | | | | $0.50 | $3 |
|
|
64
|
+
| `opencode/gemini-3.1-pro` | 1.0M | | | | | | $2 | $12 |
|
|
65
|
+
| `opencode/gemini-3.5-flash` | 1.0M | | | | | | $2 | $9 |
|
|
66
|
+
| `opencode/gemini-3.5-flash-lite` | 1.0M | | | | | | $0.30 | $3 |
|
|
67
|
+
| `opencode/gemini-3.6-flash` | 1.0M | | | | | | $2 | $8 |
|
|
68
|
+
| `opencode/gemini-3.7-flash` | 1.0M | | | | | | $2 | $8 |
|
|
69
|
+
| `opencode/gemini-3.8-flash` | 1.0M | | | | | | $2 | $8 |
|
|
70
|
+
| `opencode/gemini-4-argon` | 1.0M | | | | | | $2 | $10 |
|
|
71
|
+
| `opencode/glm-5` | 205K | | | | | | $1 | $3 |
|
|
72
|
+
| `opencode/glm-5.1` | 205K | | | | | | $1 | $4 |
|
|
73
|
+
| `opencode/glm-5.2` | 1.0M | | | | | | $1 | $4 |
|
|
74
|
+
| `opencode/glm-5.3` | 1.0M | | | | | | $1 | $4 |
|
|
75
|
+
| `opencode/glm-5.3-flash` | 1.0M | | | | | | $0.15 | $0.50 |
|
|
76
|
+
| `opencode/glm-5.3-flash-free` | 200K | | | | | | — | — |
|
|
77
|
+
| `opencode/gpt-5` | 400K | | | | | | $1 | $9 |
|
|
78
|
+
| `opencode/gpt-5-codex` | 400K | | | | | | $1 | $9 |
|
|
79
|
+
| `opencode/gpt-5-nano` | 400K | | | | | | $0.05 | $0.40 |
|
|
80
|
+
| `opencode/gpt-5.1` | 400K | | | | | | $1 | $9 |
|
|
81
|
+
| `opencode/gpt-5.1-codex` | 400K | | | | | | $1 | $9 |
|
|
82
|
+
| `opencode/gpt-5.1-codex-max` | 400K | | | | | | $1 | $10 |
|
|
83
|
+
| `opencode/gpt-5.1-codex-mini` | 400K | | | | | | $0.25 | $2 |
|
|
84
|
+
| `opencode/gpt-5.2` | 400K | | | | | | $2 | $14 |
|
|
85
|
+
| `opencode/gpt-5.2-codex` | 400K | | | | | | $2 | $14 |
|
|
86
|
+
| `opencode/gpt-5.3-codex` | 400K | | | | | | $2 | $14 |
|
|
87
|
+
| `opencode/gpt-5.3-codex-spark` | 128K | | | | | | $2 | $14 |
|
|
88
|
+
| `opencode/gpt-5.4` | 1.1M | | | | | | $3 | $15 |
|
|
89
|
+
| `opencode/gpt-5.4-mini` | 400K | | | | | | $0.75 | $5 |
|
|
90
|
+
| `opencode/gpt-5.4-nano` | 400K | | | | | | $0.20 | $1 |
|
|
91
|
+
| `opencode/gpt-5.4-pro` | 1.1M | | | | | | $30 | $180 |
|
|
92
|
+
| `opencode/gpt-5.5` | 1.1M | | | | | | $5 | $30 |
|
|
93
|
+
| `opencode/gpt-5.5-pro` | 1.1M | | | | | | $30 | $180 |
|
|
94
|
+
| `opencode/gpt-5.6-luna` | 1.1M | | | | | | $0.20 | $1 |
|
|
95
|
+
| `opencode/gpt-5.6-sol` | 1.1M | | | | | | $4 | $20 |
|
|
96
|
+
| `opencode/gpt-5.6-terra` | 1.1M | | | | | | $3 | $15 |
|
|
97
|
+
| `opencode/gpt-6-astra` | 1.1M | | | | | | $10 | $50 |
|
|
98
|
+
| `opencode/gpt-6-luna` | 1.1M | | | | | | $0.10 | $0.50 |
|
|
99
|
+
| `opencode/gpt-6-sol` | 1.1M | | | | | | $2 | $10 |
|
|
100
|
+
| `opencode/gpt-6.1-sol` | 1.1M | | | | | | $2 | $10 |
|
|
101
|
+
| `opencode/grok-4.5` | 500K | | | | | | $2 | $6 |
|
|
102
|
+
| `opencode/grok-4.6` | 500K | | | | | | $2 | $6 |
|
|
103
|
+
| `opencode/grok-4.7` | 500K | | | | | | $2 | $6 |
|
|
104
|
+
| `opencode/grok-build-0.1` | 256K | | | | | | $1 | $2 |
|
|
105
|
+
| `opencode/kimi-k2.5` | 262K | | | | | | $0.60 | $3 |
|
|
106
|
+
| `opencode/kimi-k2.6` | 262K | | | | | | $0.95 | $4 |
|
|
107
|
+
| `opencode/kimi-k2.7-code` | 262K | | | | | | $0.95 | $4 |
|
|
108
|
+
| `opencode/kimi-k3` | 1.0M | | | | | | $3 | $15 |
|
|
109
|
+
| `opencode/longcat-2.5-preview-free` | 1.0M | | | | | | — | — |
|
|
110
|
+
| `opencode/mimo-v2.6-flash-free` | 200K | | | | | | — | — |
|
|
111
|
+
| `opencode/minimax-m2.5` | 205K | | | | | | $0.30 | $1 |
|
|
112
|
+
| `opencode/minimax-m2.7` | 205K | | | | | | $0.30 | $1 |
|
|
113
|
+
| `opencode/minimax-m3` | 512K | | | | | | $0.30 | $1 |
|
|
114
|
+
| `opencode/mistral-large-4` | 524K | | | | | | $0.68 | $2 |
|
|
115
|
+
| `opencode/muse-spark-1.2` | 1.0M | | | | | | $1 | $4 |
|
|
116
|
+
| `opencode/muse-spark-1.3` | 1.0M | | | | | | $1 | $4 |
|
|
117
|
+
| `opencode/nemotron-3-ultra-free` | 1.0M | | | | | | — | — |
|
|
118
|
+
| `opencode/nemotron-3.5-lightning-free` | 262K | | | | | | — | — |
|
|
119
|
+
| `opencode/nemotron-3.5-super-vl-free` | 1.0M | | | | | | — | — |
|
|
120
|
+
| `opencode/qwen3.5-plus` | 262K | | | | | | $0.20 | $1 |
|
|
121
|
+
| `opencode/qwen3.6-plus` | 262K | | | | | | $0.50 | $3 |
|
|
122
|
+
| `opencode/qwen3.8-flash` | 1.0M | | | | | | $0.15 | $0.47 |
|
|
123
|
+
| `opencode/qwen3.8-max` | 262K | | | | | | $2 | $6 |
|
|
124
|
+
| `opencode/space-bunny-free` | 1.0M | | | | | | — | — |
|
|
127
125
|
|
|
128
126
|
Model availability, capabilities, context windows, and pricing are sourced from [models.dev](https://models.dev) and may change.
|
|
129
127
|
|
|
@@ -137,7 +135,7 @@ const agent = new Agent({
|
|
|
137
135
|
name: "custom-agent",
|
|
138
136
|
model: {
|
|
139
137
|
url: "https://opencode.ai/inference/openai/v1",
|
|
140
|
-
id: "opencode/
|
|
138
|
+
id: "opencode/beam-free",
|
|
141
139
|
apiKey: process.env.OPENCODE_API_KEY,
|
|
142
140
|
headers: {
|
|
143
141
|
"X-Custom-Header": "value"
|
|
@@ -156,7 +154,7 @@ const agent = new Agent({
|
|
|
156
154
|
const useAdvanced = requestContext.task === "complex";
|
|
157
155
|
return useAdvanced
|
|
158
156
|
? "opencode/x-preview-f-free"
|
|
159
|
-
: "opencode/
|
|
157
|
+
: "opencode/beam-free";
|
|
160
158
|
}
|
|
161
159
|
});
|
|
162
160
|
```
|