@mastra/mcp-docs-server 1.2.19-alpha.15 → 1.2.19-alpha.18
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 +27 -1
- package/.docs/docs/mastra-platform/api.md +54 -0
- package/.docs/docs/mastra-platform/observability.md +3 -1
- package/.docs/docs/memory/semantic-recall.md +19 -0
- package/.docs/docs/observability/feedback.md +14 -0
- package/.docs/docs/observability/metrics/overview.md +31 -44
- package/.docs/docs/server/middleware.md +26 -0
- package/.docs/docs/server/server-adapters.md +97 -26
- package/.docs/docs/subagents.md +6 -6
- package/.docs/integrations/channels/github.md +56 -9
- package/.docs/integrations/sandboxes/daytona.md +18 -0
- package/.docs/integrations/sandboxes/e2b.md +4 -0
- package/.docs/integrations/sandboxes/vercel.md +2 -2
- package/.docs/models/environment-variables.md +5 -0
- package/.docs/models/gateways/netlify.md +1 -1
- package/.docs/models/gateways/openrouter.md +2 -2
- package/.docs/models/gateways/vercel.md +5 -2
- package/.docs/models/index.md +1 -1
- package/.docs/models/providers/agnes.md +75 -0
- package/.docs/models/providers/cline-pass.md +4 -2
- package/.docs/models/providers/deepseek.md +4 -6
- package/.docs/models/providers/digitalocean.md +3 -3
- package/.docs/models/providers/edenai.md +5 -4
- package/.docs/models/providers/evroc.md +3 -2
- package/.docs/models/providers/hyper.md +3 -3
- package/.docs/models/providers/inceptron.md +1 -1
- package/.docs/models/providers/iteracompute.md +73 -0
- package/.docs/models/providers/kilo.md +13 -13
- package/.docs/models/providers/llmgateway-providers.md +4 -3
- package/.docs/models/providers/nano-gpt.md +11 -9
- package/.docs/models/providers/neosmith.md +104 -0
- package/.docs/models/providers/openai.md +2 -2
- package/.docs/models/providers/opencode-go.md +2 -2
- package/.docs/models/providers/pendra.md +78 -0
- 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 +5 -0
- package/.docs/reference/cli/mastra.md +10 -4
- package/.docs/reference/client-js/observability.md +1 -1
- package/.docs/reference/index.md +2 -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/server/elysia-adapter.md +184 -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 +70 -2
- package/CHANGELOG.md +14 -0
- package/package.json +5 -5
- package/.docs/docs/observability/metrics/querying.md +0 -314
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
> Discover all available pages from the documentation index: https://mastra.ai/llms.txt
|
|
2
|
+
|
|
3
|
+
# IteraCompute
|
|
4
|
+
|
|
5
|
+
Access 1 IteraCompute model through Mastra's model router. Authentication is handled automatically using the `ITERACOMPUTE_API_KEY` environment variable.
|
|
6
|
+
|
|
7
|
+
Learn more in the [IteraCompute documentation](https://iteracompute.com/docs.html).
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ITERACOMPUTE_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: "iteracompute/iteracompute/qwen3.8-27b"
|
|
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 [IteraCompute documentation](https://iteracompute.com/docs.html) for details.
|
|
34
|
+
|
|
35
|
+
## Models
|
|
36
|
+
|
|
37
|
+
| Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
|
|
38
|
+
| --------------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
39
|
+
| `iteracompute/iteracompute/qwen3.8-27b` | 262K | | | | | | $0.35 | $3 |
|
|
40
|
+
|
|
41
|
+
## Advanced configuration
|
|
42
|
+
|
|
43
|
+
### Custom headers
|
|
44
|
+
|
|
45
|
+
```typescript
|
|
46
|
+
const agent = new Agent({
|
|
47
|
+
id: "custom-agent",
|
|
48
|
+
name: "custom-agent",
|
|
49
|
+
model: {
|
|
50
|
+
url: "https://api.iteracompute.com/v1",
|
|
51
|
+
id: "iteracompute/iteracompute/qwen3.8-27b",
|
|
52
|
+
apiKey: process.env.ITERACOMPUTE_API_KEY,
|
|
53
|
+
headers: {
|
|
54
|
+
"X-Custom-Header": "value"
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
});
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
### Dynamic model selection
|
|
61
|
+
|
|
62
|
+
```typescript
|
|
63
|
+
const agent = new Agent({
|
|
64
|
+
id: "dynamic-agent",
|
|
65
|
+
name: "Dynamic Agent",
|
|
66
|
+
model: ({ requestContext }) => {
|
|
67
|
+
const useAdvanced = requestContext.task === "complex";
|
|
68
|
+
return useAdvanced
|
|
69
|
+
? "iteracompute/iteracompute/qwen3.8-27b"
|
|
70
|
+
: "iteracompute/iteracompute/qwen3.8-27b";
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
```
|
|
@@ -40,10 +40,10 @@ 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` | 1.0M | | | | | | $0.04 | $0.
|
|
43
|
+
| `kilo/~deepseek/deepseek-v4-flash-latest` | 1.0M | | | | | | $0.04 | $0.08 |
|
|
44
44
|
| `kilo/~google/gemini-flash-latest` | 1.0M | | | | | | $0.38 | $2 |
|
|
45
45
|
| `kilo/~google/gemini-pro-latest` | 1.0M | | | | | | $2 | $12 |
|
|
46
|
-
| `kilo/~moonshotai/kimi-latest` |
|
|
46
|
+
| `kilo/~moonshotai/kimi-latest` | 1.0M | | | | | | $3 | $13 |
|
|
47
47
|
| `kilo/~openai/gpt-latest` | 1.1M | | | | | | $2 | $10 |
|
|
48
48
|
| `kilo/~openai/gpt-mini-latest` | 400K | | | | | | $0.75 | $5 |
|
|
49
49
|
| `kilo/~x-ai/grok-latest` | 500K | | | | | | $2 | $6 |
|
|
@@ -114,7 +114,7 @@ for await (const chunk of stream) {
|
|
|
114
114
|
| `kilo/google/gemini-2.5-pro-preview` | 1.0M | | | | | | $1 | $10 |
|
|
115
115
|
| `kilo/google/gemini-2.5-pro-preview-05-06` | 1.0M | | | | | | $1 | $10 |
|
|
116
116
|
| `kilo/google/gemini-3-flash-preview` | 1.0M | | | | | | $0.50 | $3 |
|
|
117
|
-
| `kilo/google/gemini-3-pro-image` |
|
|
117
|
+
| `kilo/google/gemini-3-pro-image` | 131K | | | | | | $2 | $12 |
|
|
118
118
|
| `kilo/google/gemini-3-pro-image-preview` | 66K | | | | | | $2 | $12 |
|
|
119
119
|
| `kilo/google/gemini-3.1-flash-image` | 131K | | | | | | $0.50 | $3 |
|
|
120
120
|
| `kilo/google/gemini-3.1-flash-image-preview` | 66K | | | | | | $0.50 | $3 |
|
|
@@ -131,7 +131,6 @@ for await (const chunk of stream) {
|
|
|
131
131
|
| `kilo/google/gemma-3-12b-it` | 131K | | | | | | $0.05 | $0.15 |
|
|
132
132
|
| `kilo/google/gemma-3-27b-it` | 131K | | | | | | $0.08 | $0.16 |
|
|
133
133
|
| `kilo/google/gemma-3-4b-it` | 131K | | | | | | $0.05 | $0.10 |
|
|
134
|
-
| `kilo/google/gemma-3n-e4b-it` | 33K | | | | | | $0.06 | $0.12 |
|
|
135
134
|
| `kilo/google/gemma-4-26b-a4b-it` | 262K | | | | | | $0.04 | $0.22 |
|
|
136
135
|
| `kilo/google/gemma-4-31b-it` | 262K | | | | | | $0.08 | $0.35 |
|
|
137
136
|
| `kilo/google/lyria-3-clip-preview` | 1.0M | | | | | | — | — |
|
|
@@ -157,9 +156,9 @@ for await (const chunk of stream) {
|
|
|
157
156
|
| `kilo/meta-llama/llama-3.1-8b-instruct` | 131K | | | | | | $0.02 | $0.04 |
|
|
158
157
|
| `kilo/meta-llama/llama-3.2-1b-instruct` | 60K | | | | | | $0.03 | $0.20 |
|
|
159
158
|
| `kilo/meta-llama/llama-3.2-3b-instruct` | 131K | | | | | | $0.05 | $0.33 |
|
|
160
|
-
| `kilo/meta-llama/llama-3.3-70b-instruct` |
|
|
159
|
+
| `kilo/meta-llama/llama-3.3-70b-instruct` | 128K | | | | | | $0.10 | $0.32 |
|
|
161
160
|
| `kilo/meta-llama/llama-4-maverick` | 1.0M | | | | | | $0.20 | $0.70 |
|
|
162
|
-
| `kilo/meta-llama/llama-4-scout` |
|
|
161
|
+
| `kilo/meta-llama/llama-4-scout` | 131K | | | | | | $0.10 | $0.30 |
|
|
163
162
|
| `kilo/meta-llama/llama-guard-4-12b` | 164K | | | | | | $0.18 | $0.18 |
|
|
164
163
|
| `kilo/meta/muse-glimmer-30b` | 131K | | | | | | $0.30 | $1 |
|
|
165
164
|
| `kilo/meta/muse-spark-1.1` | 1.0M | | | | | | $1 | $4 |
|
|
@@ -173,8 +172,10 @@ for await (const chunk of stream) {
|
|
|
173
172
|
| `kilo/minimax/minimax-m2-her` | 66K | | | | | | $0.30 | $1 |
|
|
174
173
|
| `kilo/minimax/minimax-m2.1` | 205K | | | | | | $0.30 | $1 |
|
|
175
174
|
| `kilo/minimax/minimax-m2.5` | 200K | | | | | | $0.30 | $1 |
|
|
176
|
-
| `kilo/minimax/minimax-m2.7` |
|
|
175
|
+
| `kilo/minimax/minimax-m2.7` | 205K | | | | | | $0.30 | $1 |
|
|
176
|
+
| `kilo/minimax/minimax-m2.7:free` | 197K | | | | | | — | — |
|
|
177
177
|
| `kilo/minimax/minimax-m3` | 524K | | | | | | $0.30 | $1 |
|
|
178
|
+
| `kilo/minimax/minimax-m3:free` | 1.0M | | | | | | — | — |
|
|
178
179
|
| `kilo/mistralai/codestral-2508` | 256K | | | | | | $0.30 | $0.90 |
|
|
179
180
|
| `kilo/mistralai/devstral-2512` | 262K | | | | | | $0.44 | $2 |
|
|
180
181
|
| `kilo/mistralai/ministral-14b-2512` | 262K | | | | | | $0.20 | $0.20 |
|
|
@@ -268,7 +269,7 @@ for await (const chunk of stream) {
|
|
|
268
269
|
| `kilo/openai/gpt-audio-mini` | 128K | | | | | | $0.60 | $2 |
|
|
269
270
|
| `kilo/openai/gpt-chat-latest` | 400K | | | | | | $5 | $30 |
|
|
270
271
|
| `kilo/openai/gpt-oss-120b` | 131K | | | | | | $0.03 | $0.17 |
|
|
271
|
-
| `kilo/openai/gpt-oss-20b` | 131K | | | | | | $0.
|
|
272
|
+
| `kilo/openai/gpt-oss-20b` | 131K | | | | | | $0.02 | $0.10 |
|
|
272
273
|
| `kilo/openai/gpt-oss-safeguard-20b` | 131K | | | | | | $0.07 | $0.30 |
|
|
273
274
|
| `kilo/openai/o1` | 200K | | | | | | $15 | $60 |
|
|
274
275
|
| `kilo/openai/o1-pro` | 200K | | | | | | $150 | $600 |
|
|
@@ -297,8 +298,7 @@ for await (const chunk of stream) {
|
|
|
297
298
|
| `kilo/qwen/qwen-2.5-coder-32b-instruct` | 33K | | | | | | $0.66 | $1 |
|
|
298
299
|
| `kilo/qwen/qwen-plus` | 1.0M | | | | | | $0.26 | $0.78 |
|
|
299
300
|
| `kilo/qwen/qwen-plus-2025-07-28` | 1.0M | | | | | | $0.26 | $0.78 |
|
|
300
|
-
| `kilo/qwen/
|
|
301
|
-
| `kilo/qwen/qwen2.5-vl-72b-instruct` | 128K | | | | | | $0.80 | $1 |
|
|
301
|
+
| `kilo/qwen/qwen2.5-vl-72b-instruct` | 32K | | | | | | $0.25 | $0.75 |
|
|
302
302
|
| `kilo/qwen/qwen3-14b` | 41K | | | | | | $0.23 | $0.91 |
|
|
303
303
|
| `kilo/qwen/qwen3-235b-a22b` | 131K | | | | | | $0.46 | $2 |
|
|
304
304
|
| `kilo/qwen/qwen3-235b-a22b-2507` | 262K | | | | | | $0.15 | $0.60 |
|
|
@@ -341,7 +341,7 @@ for await (const chunk of stream) {
|
|
|
341
341
|
| `kilo/qwen/qwen3.7-max` | 1.0M | | | | | | $1 | $4 |
|
|
342
342
|
| `kilo/qwen/qwen3.7-plus` | 1.0M | | | | | | $0.32 | $1 |
|
|
343
343
|
| `kilo/qwen/qwen3.8-2.4t-a95b` | 1.0M | | | | | | $2 | $6 |
|
|
344
|
-
| `kilo/qwen/qwen3.8-27b` |
|
|
344
|
+
| `kilo/qwen/qwen3.8-27b` | 1.0M | | | | | | $0.42 | $3 |
|
|
345
345
|
| `kilo/qwen/qwen3.8-max` | 1.0M | | | | | | $2 | $6 |
|
|
346
346
|
| `kilo/rekaai/reka-edge` | 16K | | | | | | $0.10 | $0.10 |
|
|
347
347
|
| `kilo/rekaai/reka-flash-3` | 66K | | | | | | $0.10 | $0.20 |
|
|
@@ -365,7 +365,7 @@ for await (const chunk of stream) {
|
|
|
365
365
|
| `kilo/tencent/hy-mt2-1.8b` | 8K | | | | | | $0.04 | $0.18 |
|
|
366
366
|
| `kilo/tencent/hy-mt2-30b-a3b` | 8K | | | | | | $0.07 | $0.29 |
|
|
367
367
|
| `kilo/tencent/hy-mt2-7b` | 8K | | | | | | $0.07 | $0.29 |
|
|
368
|
-
| `kilo/tencent/hy3` | 262K | | | | | | $0.
|
|
368
|
+
| `kilo/tencent/hy3` | 262K | | | | | | $0.14 | $0.58 |
|
|
369
369
|
| `kilo/tencent/hy3-preview` | 262K | | | | | | $0.18 | $0.60 |
|
|
370
370
|
| `kilo/tencent/hy3:free` | 262K | | | | | | — | — |
|
|
371
371
|
| `kilo/thedrummer/cydonia-24b-v4.1` | 131K | | | | | | $0.30 | $0.50 |
|
|
@@ -397,7 +397,7 @@ for await (const chunk of stream) {
|
|
|
397
397
|
| `kilo/z-ai/glm-4.7-flash` | 203K | | | | | | $0.06 | $0.40 |
|
|
398
398
|
| `kilo/z-ai/glm-5` | 198K | | | | | | $0.60 | $2 |
|
|
399
399
|
| `kilo/z-ai/glm-5-turbo` | 203K | | | | | | $1 | $4 |
|
|
400
|
-
| `kilo/z-ai/glm-5.1` |
|
|
400
|
+
| `kilo/z-ai/glm-5.1` | 203K | | | | | | $1 | $4 |
|
|
401
401
|
| `kilo/z-ai/glm-5.2` | 1.0M | | | | | | $1 | $4 |
|
|
402
402
|
| `kilo/z-ai/glm-5.3` | 1.0M | | | | | | $1 | $4 |
|
|
403
403
|
| `kilo/z-ai/glm-5v-turbo` | 203K | | | | | | $1 | $4 |
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# LLM Gateway
|
|
4
4
|
|
|
5
|
-
Access
|
|
5
|
+
Access 378 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
|
|
|
@@ -133,11 +133,12 @@ for await (const chunk of stream) {
|
|
|
133
133
|
| `llmgateway-providers/azure/o3` | 200K | | | | | | $2 | $8 |
|
|
134
134
|
| `llmgateway-providers/azure/o3-mini` | 200K | | | | | | $1 | $4 |
|
|
135
135
|
| `llmgateway-providers/azure/o4-mini` | 200K | | | | | | $1 | $4 |
|
|
136
|
-
| `llmgateway-providers/baidu/deepseek-v4-flash` | 1.0M | | | | | | $0.
|
|
137
|
-
| `llmgateway-providers/baidu/deepseek-v4-pro` | 1.0M | | | | | | $
|
|
136
|
+
| `llmgateway-providers/baidu/deepseek-v4-flash` | 1.0M | | | | | | $0.44 | $1 |
|
|
137
|
+
| `llmgateway-providers/baidu/deepseek-v4-pro` | 1.0M | | | | | | $1 | $4 |
|
|
138
138
|
| `llmgateway-providers/baidu/glm-5` | 203K | | | | | | $1 | $3 |
|
|
139
139
|
| `llmgateway-providers/baidu/glm-5.1` | 203K | | | | | | $1 | $4 |
|
|
140
140
|
| `llmgateway-providers/baidu/glm-5.2` | 1.0M | | | | | | $1 | $4 |
|
|
141
|
+
| `llmgateway-providers/baidu/glm-5.3` | 1.0M | | | | | | $1 | $4 |
|
|
141
142
|
| `llmgateway-providers/baidu/kimi-k2.6` | 262K | | | | | | $0.95 | $4 |
|
|
142
143
|
| `llmgateway-providers/bytedance/deepseek-v3.2` | 131K | | | | | | $0.28 | $0.42 |
|
|
143
144
|
| `llmgateway-providers/bytedance/deepseek-v4-flash` | 1.0M | | | | | | $0.44 | $1 |
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# NanoGPT
|
|
4
4
|
|
|
5
|
-
Access
|
|
5
|
+
Access 608 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
|
|
|
@@ -210,8 +210,8 @@ for await (const chunk of stream) {
|
|
|
210
210
|
| `nano-gpt/Gemma-4-31B-Cognitive-Unshackled` | 262K | | | | | | $0.31 | $0.31 |
|
|
211
211
|
| `nano-gpt/Gemma-4-31B-DarkIdol` | 262K | | | | | | $0.31 | $0.31 |
|
|
212
212
|
| `nano-gpt/Gemma-4-31B-GarnetV2` | 262K | | | | | | $0.31 | $0.31 |
|
|
213
|
-
| `nano-gpt/Gemma-4-31B-MeroMero-v2` |
|
|
214
|
-
| `nano-gpt/Gemma-4-31B-MeroMero-v2:thinking` |
|
|
213
|
+
| `nano-gpt/Gemma-4-31B-MeroMero-v2` | 262K | | | | | | $0.08 | $0.33 |
|
|
214
|
+
| `nano-gpt/Gemma-4-31B-MeroMero-v2:thinking` | 262K | | | | | | $0.08 | $0.33 |
|
|
215
215
|
| `nano-gpt/Gemma-4-31B-Queen` | 262K | | | | | | $0.31 | $0.31 |
|
|
216
216
|
| `nano-gpt/gemma-4-e2b-it` | 131K | | | | | | $0.02 | $0.10 |
|
|
217
217
|
| `nano-gpt/gemma-4-e4b-it` | 131K | | | | | | $0.04 | $0.20 |
|
|
@@ -246,8 +246,8 @@ for await (const chunk of stream) {
|
|
|
246
246
|
| `nano-gpt/google/gemini-pro-latest` | 1.0M | | | | | | $2 | $12 |
|
|
247
247
|
| `nano-gpt/google/gemma-4-26b-a4b-it` | 262K | | | | | | $0.08 | $0.33 |
|
|
248
248
|
| `nano-gpt/google/gemma-4-26b-a4b-it:thinking` | 262K | | | | | | $0.13 | $0.40 |
|
|
249
|
-
| `nano-gpt/google/gemma-4-26b-a4b-uncensored` |
|
|
250
|
-
| `nano-gpt/google/gemma-4-26b-a4b-uncensored:thinking` |
|
|
249
|
+
| `nano-gpt/google/gemma-4-26b-a4b-uncensored` | 262K | | | | | | $0.08 | $0.33 |
|
|
250
|
+
| `nano-gpt/google/gemma-4-26b-a4b-uncensored:thinking` | 262K | | | | | | $0.08 | $0.33 |
|
|
251
251
|
| `nano-gpt/google/gemma-4-31b-it` | 262K | | | | | | $0.08 | $0.33 |
|
|
252
252
|
| `nano-gpt/google/gemma-4-31b-it:thinking` | 262K | | | | | | $0.10 | $0.35 |
|
|
253
253
|
| `nano-gpt/Gryphe/MythoMax-L2-13b` | 4K | | | | | | $0.10 | $0.10 |
|
|
@@ -427,8 +427,8 @@ for await (const chunk of stream) {
|
|
|
427
427
|
| `nano-gpt/ornith-ai/ornith-1.5-35b-a3b:thinking` | 262K | | | | | | $0.10 | $0.40 |
|
|
428
428
|
| `nano-gpt/ornith-ai/ornith-1.5-397b` | 262K | | | | | | $0.90 | $4 |
|
|
429
429
|
| `nano-gpt/ornith-ai/ornith-1.5-397b:thinking` | 262K | | | | | | $0.90 | $4 |
|
|
430
|
-
| `nano-gpt/ornith-ai/ornith-1.5-9b` |
|
|
431
|
-
| `nano-gpt/ornith-ai/ornith-1.5-9b:thinking` |
|
|
430
|
+
| `nano-gpt/ornith-ai/ornith-1.5-9b` | 262K | | | | | | $0.05 | $0.10 |
|
|
431
|
+
| `nano-gpt/ornith-ai/ornith-1.5-9b:thinking` | 262K | | | | | | $0.05 | $0.10 |
|
|
432
432
|
| `nano-gpt/pamanseau/OpenReasoning-Nemotron-32B` | 33K | | | | | | $0.10 | $0.40 |
|
|
433
433
|
| `nano-gpt/perceptron/perceptron-mk1` | 33K | | | | | | $0.15 | $2 |
|
|
434
434
|
| `nano-gpt/perplexity-academic-researcher` | 127K | | | | | | $2 | $8 |
|
|
@@ -467,11 +467,13 @@ for await (const chunk of stream) {
|
|
|
467
467
|
| `nano-gpt/qwen/qwen3.5-plus` | 984K | | | | | | $0.40 | $2 |
|
|
468
468
|
| `nano-gpt/qwen/qwen3.5-plus-thinking` | 984K | | | | | | $0.40 | $2 |
|
|
469
469
|
| `nano-gpt/qwen/Qwen3.6-35B-A3B` | 262K | | | | | | $0.11 | $0.80 |
|
|
470
|
-
| `nano-gpt/qwen/qwen3.6-35b-a3b-uncensored` |
|
|
471
|
-
| `nano-gpt/qwen/qwen3.6-35b-a3b-uncensored:thinking` |
|
|
470
|
+
| `nano-gpt/qwen/qwen3.6-35b-a3b-uncensored` | 262K | | | | | | $0.15 | $0.50 |
|
|
471
|
+
| `nano-gpt/qwen/qwen3.6-35b-a3b-uncensored:thinking` | 262K | | | | | | $0.15 | $0.50 |
|
|
472
472
|
| `nano-gpt/qwen/Qwen3.6-35B-A3B:thinking` | 262K | | | | | | $0.11 | $0.80 |
|
|
473
473
|
| `nano-gpt/qwen/qwen3.8-27b-obliterated` | 262K | | | | | | $0.18 | $0.50 |
|
|
474
474
|
| `nano-gpt/qwen/qwen3.8-27b-obliterated:thinking` | 262K | | | | | | $0.18 | $0.50 |
|
|
475
|
+
| `nano-gpt/qwen/qwen3.8-27b-uncensored` | 262K | | | | | | $0.18 | $0.50 |
|
|
476
|
+
| `nano-gpt/qwen/qwen3.8-27b-uncensored:thinking` | 262K | | | | | | $0.18 | $0.50 |
|
|
475
477
|
| `nano-gpt/qwen25-vl-72b-instruct` | 32K | | | | | | $0.70 | $0.70 |
|
|
476
478
|
| `nano-gpt/qwen3-30b-a3b-instruct-2507` | 256K | | | | | | $0.20 | $0.50 |
|
|
477
479
|
| `nano-gpt/qwen3-coder-30b-a3b-instruct` | 128K | | | | | | $0.10 | $0.40 |
|
|
@@ -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
|
+
```
|
|
@@ -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
|
|
|
@@ -43,7 +43,7 @@ for await (const chunk of stream) {
|
|
|
43
43
|
| `opencode-go/glm-5.2` | 1.0M | | | | | | $1 | $4 |
|
|
44
44
|
| `opencode-go/glm-5.3` | 1.0M | | | | | | $1 | $4 |
|
|
45
45
|
| `opencode-go/gpt-5.6-luna` | 1.1M | | | | | | $0.20 | $1 |
|
|
46
|
-
| `opencode-go/grok-4.
|
|
46
|
+
| `opencode-go/grok-4.6` | 500K | | | | | | $2 | $6 |
|
|
47
47
|
| `opencode-go/hy3` | 256K | | | | | | $0.02 | $0.07 |
|
|
48
48
|
| `opencode-go/kimi-k2.6` | 262K | | | | | | $0.95 | $4 |
|
|
49
49
|
| `opencode-go/kimi-k2.7-code` | 262K | | | | | | $0.95 | $4 |
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
> Discover all available pages from the documentation index: https://mastra.ai/llms.txt
|
|
2
|
+
|
|
3
|
+
# Pendra
|
|
4
|
+
|
|
5
|
+
Access 6 Pendra models through Mastra's model router. Authentication is handled automatically using the `PENDRA_API_KEY` environment variable.
|
|
6
|
+
|
|
7
|
+
Learn more in the [Pendra documentation](https://pendra.ai/docs/integrations/opencode).
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
PENDRA_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: "pendra/deepseek-v4-flash"
|
|
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 [Pendra documentation](https://pendra.ai/docs/integrations/opencode) for details.
|
|
34
|
+
|
|
35
|
+
## Models
|
|
36
|
+
|
|
37
|
+
| Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
|
|
38
|
+
| -------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
39
|
+
| `pendra/deepseek-v4-flash` | 1.0M | | | | | | — | — |
|
|
40
|
+
| `pendra/glm-4.7-flash` | 200K | | | | | | — | — |
|
|
41
|
+
| `pendra/gpt-oss:120b` | 131K | | | | | | — | — |
|
|
42
|
+
| `pendra/llama3.3:70b` | 128K | | | | | | — | — |
|
|
43
|
+
| `pendra/qwen3-coder:30b` | 262K | | | | | | — | — |
|
|
44
|
+
| `pendra/qwen3.6:27b` | 262K | | | | | | — | — |
|
|
45
|
+
|
|
46
|
+
## Advanced configuration
|
|
47
|
+
|
|
48
|
+
### Custom headers
|
|
49
|
+
|
|
50
|
+
```typescript
|
|
51
|
+
const agent = new Agent({
|
|
52
|
+
id: "custom-agent",
|
|
53
|
+
name: "custom-agent",
|
|
54
|
+
model: {
|
|
55
|
+
url: "https://api.pendra.ai/api/v1",
|
|
56
|
+
id: "pendra/deepseek-v4-flash",
|
|
57
|
+
apiKey: process.env.PENDRA_API_KEY,
|
|
58
|
+
headers: {
|
|
59
|
+
"X-Custom-Header": "value"
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
});
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
### Dynamic model selection
|
|
66
|
+
|
|
67
|
+
```typescript
|
|
68
|
+
const agent = new Agent({
|
|
69
|
+
id: "dynamic-agent",
|
|
70
|
+
name: "Dynamic Agent",
|
|
71
|
+
model: ({ requestContext }) => {
|
|
72
|
+
const useAdvanced = requestContext.task === "complex";
|
|
73
|
+
return useAdvanced
|
|
74
|
+
? "pendra/qwen3.6:27b"
|
|
75
|
+
: "pendra/deepseek-v4-flash";
|
|
76
|
+
}
|
|
77
|
+
});
|
|
78
|
+
```
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
> Discover all available pages from the documentation index: https://mastra.ai/llms.txt
|
|
2
|
+
|
|
3
|
+
# Standard Compute
|
|
4
|
+
|
|
5
|
+
Access 1 Standard Compute model through Mastra's model router. Authentication is handled automatically using the `STANDARDCOMPUTE_API_KEY` environment variable.
|
|
6
|
+
|
|
7
|
+
Learn more in the [Standard Compute documentation](https://standardcompute.com/models).
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
STANDARDCOMPUTE_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: "standardcompute/standardcompute"
|
|
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 [Standard Compute documentation](https://standardcompute.com/models) for details.
|
|
34
|
+
|
|
35
|
+
## Models
|
|
36
|
+
|
|
37
|
+
| Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
|
|
38
|
+
| --------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
39
|
+
| `standardcompute/standardcompute` | 1.0M | | | | | | — | — |
|
|
40
|
+
|
|
41
|
+
## Advanced configuration
|
|
42
|
+
|
|
43
|
+
### Custom headers
|
|
44
|
+
|
|
45
|
+
```typescript
|
|
46
|
+
const agent = new Agent({
|
|
47
|
+
id: "custom-agent",
|
|
48
|
+
name: "custom-agent",
|
|
49
|
+
model: {
|
|
50
|
+
url: "https://api.stdcmpt.com/v1",
|
|
51
|
+
id: "standardcompute/standardcompute",
|
|
52
|
+
apiKey: process.env.STANDARDCOMPUTE_API_KEY,
|
|
53
|
+
headers: {
|
|
54
|
+
"X-Custom-Header": "value"
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
});
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
### Dynamic model selection
|
|
61
|
+
|
|
62
|
+
```typescript
|
|
63
|
+
const agent = new Agent({
|
|
64
|
+
id: "dynamic-agent",
|
|
65
|
+
name: "Dynamic Agent",
|
|
66
|
+
model: ({ requestContext }) => {
|
|
67
|
+
const useAdvanced = requestContext.task === "complex";
|
|
68
|
+
return useAdvanced
|
|
69
|
+
? "standardcompute/standardcompute"
|
|
70
|
+
: "standardcompute/standardcompute";
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
```
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Vivgrid
|
|
4
4
|
|
|
5
|
-
Access
|
|
5
|
+
Access 21 Vivgrid models through Mastra's model router. Authentication is handled automatically using the `VIVGRID_API_KEY` environment variable.
|
|
6
6
|
|
|
7
7
|
Learn more in the [Vivgrid documentation](https://docs.vivgrid.com/models).
|
|
8
8
|
|
|
@@ -41,6 +41,7 @@ for await (const chunk of stream) {
|
|
|
41
41
|
| `vivgrid/deepseek-v4-pro` | 1.0M | | | | | | $0.43 | $0.87 |
|
|
42
42
|
| `vivgrid/gemini-3.1-flash-lite-preview` | 1.0M | | | | | | $0.25 | $2 |
|
|
43
43
|
| `vivgrid/gemini-3.1-pro-preview` | 1.0M | | | | | | $2 | $12 |
|
|
44
|
+
| `vivgrid/gemini-3.7-flash` | 1.0M | | | | | | $0.75 | $4 |
|
|
44
45
|
| `vivgrid/glm-5.2` | 1.0M | | | | | | $1 | $4 |
|
|
45
46
|
| `vivgrid/glm-5.3` | 1.0M | | | | | | $1 | $4 |
|
|
46
47
|
| `vivgrid/gpt-5-mini` | 272K | | | | | | $0.25 | $2 |
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Weights & Biases
|
|
4
4
|
|
|
5
|
-
Access
|
|
5
|
+
Access 30 Weights & Biases models through Mastra's model router. Authentication is handled automatically using the `WANDB_API_KEY` environment variable.
|
|
6
6
|
|
|
7
7
|
Learn more in the [Weights & Biases documentation](https://docs.wandb.ai).
|
|
8
8
|
|
|
@@ -42,6 +42,7 @@ for await (const chunk of stream) {
|
|
|
42
42
|
| `wandb/deepseek-ai/DeepSeek-V4-Pro` | 1.0M | | | | | | $1 | $3 |
|
|
43
43
|
| `wandb/google/gemma-4-31B-it` | 262K | | | | | | $0.10 | $0.34 |
|
|
44
44
|
| `wandb/ibm-granite/granite-4.1-8b` | 131K | | | | | | $0.05 | $0.10 |
|
|
45
|
+
| `wandb/ibm-granite/granite-4.2-8b` | 131K | | | | | | $0.10 | $0.15 |
|
|
45
46
|
| `wandb/JetBrains/Mellum2-12B-A2.5B-Instruct` | 131K | | | | | | $0.05 | $0.10 |
|
|
46
47
|
| `wandb/meta-llama/Llama-3.1-70B-Instruct` | 128K | | | | | | $0.80 | $0.80 |
|
|
47
48
|
| `wandb/meta-llama/Llama-3.1-8B-Instruct` | 128K | | | | | | $0.22 | $0.22 |
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Z.AI
|
|
4
4
|
|
|
5
|
-
Access
|
|
5
|
+
Access 15 Z.AI 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 documentation](https://docs.z.ai/guides/overview/pricing).
|
|
8
8
|
|
|
@@ -49,6 +49,7 @@ for await (const chunk of stream) {
|
|
|
49
49
|
| `zai/glm-5-turbo` | 200K | | | | | | $1 | $4 |
|
|
50
50
|
| `zai/glm-5.1` | 200K | | | | | | $1 | $4 |
|
|
51
51
|
| `zai/glm-5.2` | 1.0M | | | | | | $1 | $4 |
|
|
52
|
+
| `zai/glm-5.3` | 1.0M | | | | | | $1 | $4 |
|
|
52
53
|
| `zai/glm-5v-turbo` | 200K | | | | | | $1 | $4 |
|
|
53
54
|
|
|
54
55
|
## Advanced configuration
|