@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
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# OpenRouter
|
|
4
4
|
|
|
5
|
-
OpenRouter aggregates models from multiple providers with enhanced features like rate limiting and failover. Access
|
|
5
|
+
OpenRouter aggregates models from multiple providers with enhanced features like rate limiting and failover. Access 355 models through Mastra's model router.
|
|
6
6
|
|
|
7
7
|
Learn more in the [OpenRouter documentation](https://openrouter.ai/models).
|
|
8
8
|
|
|
@@ -92,7 +92,6 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
92
92
|
| `cohere/command-r-plus-08-2024` |
|
|
93
93
|
| `cohere/command-r7b-12-2024` |
|
|
94
94
|
| `cohere/north-mini-code:free` |
|
|
95
|
-
| `deepcogito/cogito-v2.1-671b` |
|
|
96
95
|
| `deepseek/deepseek-chat` |
|
|
97
96
|
| `deepseek/deepseek-chat-v3-0324` |
|
|
98
97
|
| `deepseek/deepseek-chat-v3.1` |
|
|
@@ -104,6 +103,7 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
104
103
|
| `deepseek/deepseek-v3.2-exp` |
|
|
105
104
|
| `deepseek/deepseek-v4-flash` |
|
|
106
105
|
| `deepseek/deepseek-v4-flash-0731` |
|
|
106
|
+
| `deepseek/deepseek-v4-flash-vision-exp` |
|
|
107
107
|
| `deepseek/deepseek-v4-pro` |
|
|
108
108
|
| `deepseek/deepseek-v4-pro-0813` |
|
|
109
109
|
| `dots-studio/dots-3-note-preview:free` |
|
|
@@ -131,7 +131,6 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
131
131
|
| `google/gemma-3-12b-it` |
|
|
132
132
|
| `google/gemma-3-27b-it` |
|
|
133
133
|
| `google/gemma-3-4b-it` |
|
|
134
|
-
| `google/gemma-3n-e4b-it` |
|
|
135
134
|
| `google/gemma-4-26b-a4b-it` |
|
|
136
135
|
| `google/gemma-4-26b-a4b-it:free` |
|
|
137
136
|
| `google/gemma-4-31b-it` |
|
|
@@ -142,10 +141,7 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
142
141
|
| `ibm-granite/granite-4.0-h-micro` |
|
|
143
142
|
| `ibm-granite/granite-4.1-8b` |
|
|
144
143
|
| `inception/mercury-2` |
|
|
145
|
-
| `inclusionai/ling-2.6-1t` |
|
|
146
|
-
| `inclusionai/ling-2.6-flash` |
|
|
147
144
|
| `inclusionai/ling-3.0-flash` |
|
|
148
|
-
| `inclusionai/ring-2.6-1t` |
|
|
149
145
|
| `kwaipilot/kat-coder-air-v2.5` |
|
|
150
146
|
| `kwaipilot/kat-coder-pro-v2` |
|
|
151
147
|
| `kwaipilot/kat-coder-pro-v2.5` |
|
|
@@ -163,6 +159,7 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
163
159
|
| `meta/muse-glimmer-30b` |
|
|
164
160
|
| `meta/muse-spark-1.1` |
|
|
165
161
|
| `meta/muse-spark-1.2` |
|
|
162
|
+
| `meta/muse-spark-1.2-contributor` |
|
|
166
163
|
| `microsoft/phi-4` |
|
|
167
164
|
| `microsoft/wizardlm-2-8x22b` |
|
|
168
165
|
| `minimax/minimax-01` |
|
|
@@ -172,8 +169,11 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
172
169
|
| `minimax/minimax-m2.1` |
|
|
173
170
|
| `minimax/minimax-m2.5` |
|
|
174
171
|
| `minimax/minimax-m2.7` |
|
|
172
|
+
| `minimax/minimax-m2.7:free` |
|
|
175
173
|
| `minimax/minimax-m3` |
|
|
174
|
+
| `minimax/minimax-m3:free` |
|
|
176
175
|
| `mistralai/codestral-2508` |
|
|
176
|
+
| `mistralai/devstral-2512` |
|
|
177
177
|
| `mistralai/ministral-14b-2512` |
|
|
178
178
|
| `mistralai/ministral-3b-2512` |
|
|
179
179
|
| `mistralai/ministral-8b` |
|
|
@@ -208,7 +208,6 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
208
208
|
| `nousresearch/hermes-4-405b` |
|
|
209
209
|
| `nousresearch/hermes-4-70b` |
|
|
210
210
|
| `nvidia/nemotron-3-nano-30b-a3b` |
|
|
211
|
-
| `nvidia/nemotron-3-nano-30b-a3b:free` |
|
|
212
211
|
| `nvidia/nemotron-3-nano-omni-30b-a3b-reasoning:free` |
|
|
213
212
|
| `nvidia/nemotron-3-super-120b-a12b` |
|
|
214
213
|
| `nvidia/nemotron-3-super-120b-a12b:free` |
|
|
@@ -217,8 +216,6 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
217
216
|
| `nvidia/nemotron-3.5-content-safety:free` |
|
|
218
217
|
| `nvidia/nemotron-3.5-lightning` |
|
|
219
218
|
| `nvidia/nemotron-3.5-lightning:free` |
|
|
220
|
-
| `nvidia/nemotron-nano-12b-v2-vl:free` |
|
|
221
|
-
| `nvidia/nemotron-nano-9b-v2:free` |
|
|
222
219
|
| `openai/gpt-3.5-turbo` |
|
|
223
220
|
| `openai/gpt-3.5-turbo-0613` |
|
|
224
221
|
| `openai/gpt-3.5-turbo-16k` |
|
|
@@ -268,7 +265,6 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
268
265
|
| `openai/gpt-chat-latest` |
|
|
269
266
|
| `openai/gpt-oss-120b` |
|
|
270
267
|
| `openai/gpt-oss-20b` |
|
|
271
|
-
| `openai/gpt-oss-20b:free` |
|
|
272
268
|
| `openai/gpt-oss-safeguard-20b` |
|
|
273
269
|
| `openai/o1` |
|
|
274
270
|
| `openai/o1-pro` |
|
|
@@ -298,7 +294,6 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
298
294
|
| `qwen/qwen-2.5-coder-32b-instruct` |
|
|
299
295
|
| `qwen/qwen-plus` |
|
|
300
296
|
| `qwen/qwen-plus-2025-07-28` |
|
|
301
|
-
| `qwen/qwen-plus-2025-07-28:thinking` |
|
|
302
297
|
| `qwen/qwen2.5-vl-72b-instruct` |
|
|
303
298
|
| `qwen/qwen3-14b` |
|
|
304
299
|
| `qwen/qwen3-235b-a22b` |
|
|
@@ -359,6 +354,7 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
359
354
|
| `tencent/hunyuan-a13b-instruct` |
|
|
360
355
|
| `tencent/hy-mt2-1.8b` |
|
|
361
356
|
| `tencent/hy-mt2-30b-a3b` |
|
|
357
|
+
| `tencent/hy-mt2-7b` |
|
|
362
358
|
| `tencent/hy3` |
|
|
363
359
|
| `tencent/hy3-preview` |
|
|
364
360
|
| `thedrummer/cydonia-24b-v4.1` |
|
|
@@ -367,6 +363,8 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
367
363
|
| `thedrummer/unslopnemo-12b` |
|
|
368
364
|
| `thinkingmachines/inkling` |
|
|
369
365
|
| `thinkingmachines/inkling-small` |
|
|
366
|
+
| `thinkingmachines/inkling-small:free` |
|
|
367
|
+
| `thinkingmachines/inkling:free` |
|
|
370
368
|
| `undi95/remm-slerp-l2-13b` |
|
|
371
369
|
| `upstage/solar-pro-3` |
|
|
372
370
|
| `upstage/solar-pro4` |
|
|
@@ -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 351 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
|
|
|
@@ -75,6 +75,7 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
75
75
|
| `alibaba/wan-v2.6-t2v` |
|
|
76
76
|
| `alibaba/wan-v2.7-r2v` |
|
|
77
77
|
| `alibaba/wan-v2.7-t2v` |
|
|
78
|
+
| `alibaba/wan-v3.0-video` |
|
|
78
79
|
| `amazon/nova-2-lite` |
|
|
79
80
|
| `amazon/nova-lite` |
|
|
80
81
|
| `amazon/nova-micro` |
|
|
@@ -96,7 +97,6 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
96
97
|
| `anthropic/claude-sonnet-4.6` |
|
|
97
98
|
| `anthropic/claude-sonnet-5` |
|
|
98
99
|
| `arcee-ai/trinity-large-thinking` |
|
|
99
|
-
| `arcee-ai/trinity-mini` |
|
|
100
100
|
| `bfl/flux-2-flex` |
|
|
101
101
|
| `bfl/flux-2-klein-4b` |
|
|
102
102
|
| `bfl/flux-2-klein-9b` |
|
|
@@ -112,6 +112,7 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
112
112
|
| `bytedance/seed-1.8` |
|
|
113
113
|
| `bytedance/seedance-2.0` |
|
|
114
114
|
| `bytedance/seedance-2.0-fast` |
|
|
115
|
+
| `bytedance/seedance-2.0-mini` |
|
|
115
116
|
| `bytedance/seedance-2.5` |
|
|
116
117
|
| `bytedance/seedance-v1.0-pro` |
|
|
117
118
|
| `bytedance/seedance-v1.0-pro-fast` |
|
|
@@ -133,6 +134,7 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
133
134
|
| `deepseek/deepseek-v3.2-thinking` |
|
|
134
135
|
| `deepseek/deepseek-v4-flash` |
|
|
135
136
|
| `deepseek/deepseek-v4-flash-0731` |
|
|
137
|
+
| `deepseek/deepseek-v4-flash-vision-exp` |
|
|
136
138
|
| `deepseek/deepseek-v4-pro` |
|
|
137
139
|
| `deepseek/deepseek-v4-pro-0813` |
|
|
138
140
|
| `fish-audio/s1` |
|
|
@@ -202,14 +204,14 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
202
204
|
| `minimax/minimax-m2.5` |
|
|
203
205
|
| `minimax/minimax-m2.5-highspeed` |
|
|
204
206
|
| `minimax/minimax-m2.7` |
|
|
207
|
+
| `minimax/minimax-m2.7-free` |
|
|
205
208
|
| `minimax/minimax-m2.7-highspeed` |
|
|
206
209
|
| `minimax/minimax-m3` |
|
|
210
|
+
| `minimax/minimax-m3-free` |
|
|
207
211
|
| `mistral/codestral` |
|
|
208
212
|
| `mistral/codestral-embed` |
|
|
209
213
|
| `mistral/devstral-2` |
|
|
210
214
|
| `mistral/devstral-small-2` |
|
|
211
|
-
| `mistral/magistral-medium` |
|
|
212
|
-
| `mistral/magistral-small` |
|
|
213
215
|
| `mistral/ministral-14b` |
|
|
214
216
|
| `mistral/ministral-3b` |
|
|
215
217
|
| `mistral/ministral-8b` |
|
|
@@ -248,7 +250,6 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
248
250
|
| `openai/gpt-4o-fast` |
|
|
249
251
|
| `openai/gpt-4o-mini` |
|
|
250
252
|
| `openai/gpt-4o-mini-fast` |
|
|
251
|
-
| `openai/gpt-4o-mini-search-preview` |
|
|
252
253
|
| `openai/gpt-4o-mini-transcribe` |
|
|
253
254
|
| `openai/gpt-4o-transcribe` |
|
|
254
255
|
| `openai/gpt-5` |
|
|
@@ -290,6 +291,7 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
290
291
|
| `openai/gpt-image-2` |
|
|
291
292
|
| `openai/gpt-oss-120b` |
|
|
292
293
|
| `openai/gpt-oss-20b` |
|
|
294
|
+
| `openai/gpt-oss-safeguard-120b` |
|
|
293
295
|
| `openai/gpt-oss-safeguard-20b` |
|
|
294
296
|
| `openai/gpt-realtime-1.5` |
|
|
295
297
|
| `openai/gpt-realtime-2` |
|
|
@@ -298,7 +300,6 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
298
300
|
| `openai/gpt-realtime-whisper` |
|
|
299
301
|
| `openai/o1` |
|
|
300
302
|
| `openai/o3` |
|
|
301
|
-
| `openai/o3-deep-research` |
|
|
302
303
|
| `openai/o3-fast` |
|
|
303
304
|
| `openai/o3-mini` |
|
|
304
305
|
| `openai/o3-pro` |
|
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 6852 models from 189 providers through a single API.
|
|
6
6
|
|
|
7
7
|
## Features
|
|
8
8
|
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
# AgentRouter
|
|
4
4
|
|
|
5
|
-
Access
|
|
5
|
+
Access 3 AgentRouter models through Mastra's model router. Authentication is handled automatically using the `AGENTROUTER_API_KEY` environment variable.
|
|
6
6
|
|
|
7
|
-
Learn more in the [AgentRouter documentation](https://
|
|
7
|
+
Learn more in the [AgentRouter documentation](https://agentrouter.org/docs/opencode.html).
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
10
|
AGENTROUTER_API_KEY=your-api-key
|
|
@@ -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: "agentrouter/claude-
|
|
20
|
+
model: "agentrouter/claude-opus-4-8"
|
|
21
21
|
});
|
|
22
22
|
|
|
23
23
|
// Generate a response
|
|
@@ -30,36 +30,19 @@ for await (const chunk of stream) {
|
|
|
30
30
|
}
|
|
31
31
|
```
|
|
32
32
|
|
|
33
|
-
> **Note:** Mastra uses the OpenAI-compatible `/chat/completions` endpoint. Some provider-specific features may not be available. Check the [AgentRouter documentation](https://
|
|
33
|
+
> **Note:** Mastra uses the OpenAI-compatible `/chat/completions` endpoint. Some provider-specific features may not be available. Check the [AgentRouter documentation](https://agentrouter.org/docs/opencode.html) for details.
|
|
34
34
|
|
|
35
35
|
## Models
|
|
36
36
|
|
|
37
|
-
| Model
|
|
38
|
-
|
|
|
39
|
-
| `agentrouter/claude-
|
|
40
|
-
| `agentrouter/claude-
|
|
41
|
-
| `agentrouter/
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
| `agentrouter/claude-opus-4-20250514-thinking` | 200K | | | | | | $2 | $10 |
|
|
47
|
-
| `agentrouter/claude-sonnet-4-20250514` | 200K | | | | | | $3 | $15 |
|
|
48
|
-
| `agentrouter/claude-sonnet-4-20250514-thinking` | 200K | | | | | | $2 | $10 |
|
|
49
|
-
| `agentrouter/claude-sonnet-4-5-20250929` | 1.0M | | | | | | $6 | $30 |
|
|
50
|
-
| `agentrouter/deepseek-r1-0528` | 128K | | | | | | $0.30 | $0.04 |
|
|
51
|
-
| `agentrouter/deepseek-v3.1` | 128K | | | | | | $0.30 | $0.04 |
|
|
52
|
-
| `agentrouter/deepseek-v3.2` | 128K | | | | | | $0.30 | $0.04 |
|
|
53
|
-
| `agentrouter/gemini-3-pro-preview` | 1.0M | | | | | | $2 | $8 |
|
|
54
|
-
| `agentrouter/glm-4.5` | 131K | | | | | | $0.00 | — |
|
|
55
|
-
| `agentrouter/glm-4.6` | 205K | | | | | | $0.00 | — |
|
|
56
|
-
| `agentrouter/gpt-5` | 1.3M | | | | | | — | — |
|
|
57
|
-
| `agentrouter/gpt-5.1` | 400K | | | | | | $2 | $2 |
|
|
58
|
-
| `agentrouter/kimi-k2-thinking` | 262K | | | | | | $0.00 | — |
|
|
59
|
-
|
|
60
|
-
## Advanced Configuration
|
|
61
|
-
|
|
62
|
-
### Custom Headers
|
|
37
|
+
| Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
|
|
38
|
+
| ----------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
39
|
+
| `agentrouter/claude-opus-4-8` | 1.0M | | | | | | — | — |
|
|
40
|
+
| `agentrouter/claude-opus-5` | 1.0M | | | | | | — | — |
|
|
41
|
+
| `agentrouter/gpt-5.6-sol` | 1.1M | | | | | | — | — |
|
|
42
|
+
|
|
43
|
+
## Advanced configuration
|
|
44
|
+
|
|
45
|
+
### Custom headers
|
|
63
46
|
|
|
64
47
|
```typescript
|
|
65
48
|
const agent = new Agent({
|
|
@@ -67,7 +50,7 @@ const agent = new Agent({
|
|
|
67
50
|
name: "custom-agent",
|
|
68
51
|
model: {
|
|
69
52
|
url: "https://agentrouter.org/v1",
|
|
70
|
-
id: "agentrouter/claude-
|
|
53
|
+
id: "agentrouter/claude-opus-4-8",
|
|
71
54
|
apiKey: process.env.AGENTROUTER_API_KEY,
|
|
72
55
|
headers: {
|
|
73
56
|
"X-Custom-Header": "value"
|
|
@@ -76,7 +59,7 @@ const agent = new Agent({
|
|
|
76
59
|
});
|
|
77
60
|
```
|
|
78
61
|
|
|
79
|
-
### Dynamic
|
|
62
|
+
### Dynamic model selection
|
|
80
63
|
|
|
81
64
|
```typescript
|
|
82
65
|
const agent = new Agent({
|
|
@@ -85,8 +68,8 @@ const agent = new Agent({
|
|
|
85
68
|
model: ({ requestContext }) => {
|
|
86
69
|
const useAdvanced = requestContext.task === "complex";
|
|
87
70
|
return useAdvanced
|
|
88
|
-
? "agentrouter/
|
|
89
|
-
: "agentrouter/claude-
|
|
71
|
+
? "agentrouter/gpt-5.6-sol"
|
|
72
|
+
: "agentrouter/claude-opus-4-8";
|
|
90
73
|
}
|
|
91
74
|
});
|
|
92
75
|
```
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
> Discover all available pages from the documentation index: https://mastra.ai/llms.txt
|
|
2
|
+
|
|
3
|
+
# Agnes AI
|
|
4
|
+
|
|
5
|
+
Access 3 Agnes AI models through Mastra's model router. Authentication is handled automatically using the `AGNES_API_KEY` environment variable.
|
|
6
|
+
|
|
7
|
+
Learn more in the [Agnes AI documentation](https://agnes-ai.com/doc).
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
AGNES_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: "agnes/agnes-2.0-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 [Agnes AI documentation](https://agnes-ai.com/doc) for details.
|
|
34
|
+
|
|
35
|
+
## Models
|
|
36
|
+
|
|
37
|
+
| Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
|
|
38
|
+
| --------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
39
|
+
| `agnes/agnes-2.0-flash` | 512K | | | | | | — | — |
|
|
40
|
+
| `agnes/agnes-2.5-flash` | 512K | | | | | | — | — |
|
|
41
|
+
| `agnes/agnes-2.5-pro-alpha` | 1.0M | | | | | | $0.45 | $0.90 |
|
|
42
|
+
|
|
43
|
+
## Advanced configuration
|
|
44
|
+
|
|
45
|
+
### Custom headers
|
|
46
|
+
|
|
47
|
+
```typescript
|
|
48
|
+
const agent = new Agent({
|
|
49
|
+
id: "custom-agent",
|
|
50
|
+
name: "custom-agent",
|
|
51
|
+
model: {
|
|
52
|
+
url: "https://apihub.agnes-ai.com/v1",
|
|
53
|
+
id: "agnes/agnes-2.0-flash",
|
|
54
|
+
apiKey: process.env.AGNES_API_KEY,
|
|
55
|
+
headers: {
|
|
56
|
+
"X-Custom-Header": "value"
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
### Dynamic model selection
|
|
63
|
+
|
|
64
|
+
```typescript
|
|
65
|
+
const agent = new Agent({
|
|
66
|
+
id: "dynamic-agent",
|
|
67
|
+
name: "Dynamic Agent",
|
|
68
|
+
model: ({ requestContext }) => {
|
|
69
|
+
const useAdvanced = requestContext.task === "complex";
|
|
70
|
+
return useAdvanced
|
|
71
|
+
? "agnes/agnes-2.5-pro-alpha"
|
|
72
|
+
: "agnes/agnes-2.0-flash";
|
|
73
|
+
}
|
|
74
|
+
});
|
|
75
|
+
```
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
> Discover all available pages from the documentation index: https://mastra.ai/llms.txt
|
|
2
|
+
|
|
3
|
+
# Aixy
|
|
4
|
+
|
|
5
|
+
Access 1 Aixy model through Mastra's model router. Authentication is handled automatically using the `AIXY_API_KEY` environment variable.
|
|
6
|
+
|
|
7
|
+
Learn more in the [Aixy documentation](https://docs.aixy-gateway.com/integrations/overview).
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
AIXY_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: "aixy/openai/gpt-4.1-mini"
|
|
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 [Aixy documentation](https://docs.aixy-gateway.com/integrations/overview) for details.
|
|
34
|
+
|
|
35
|
+
## Models
|
|
36
|
+
|
|
37
|
+
| Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
|
|
38
|
+
| -------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
39
|
+
| `aixy/openai/gpt-4.1-mini` | 1.0M | | | | | | $0.40 | $2 |
|
|
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.aixy-gateway.com/v1",
|
|
51
|
+
id: "aixy/openai/gpt-4.1-mini",
|
|
52
|
+
apiKey: process.env.AIXY_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
|
+
? "aixy/openai/gpt-4.1-mini"
|
|
70
|
+
: "aixy/openai/gpt-4.1-mini";
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
```
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# AKI.IO
|
|
4
4
|
|
|
5
|
-
Access
|
|
5
|
+
Access 7 AKI.IO models through Mastra's model router. Authentication is handled automatically using the `AKI_IO_API_KEY` environment variable.
|
|
6
6
|
|
|
7
7
|
Learn more in the [AKI.IO documentation](https://aki.io/docs/).
|
|
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: "aki-io/
|
|
20
|
+
model: "aki-io/deepseek-v4-flash-0731-284b"
|
|
21
21
|
});
|
|
22
22
|
|
|
23
23
|
// Generate a response
|
|
@@ -34,14 +34,15 @@ for await (const chunk of stream) {
|
|
|
34
34
|
|
|
35
35
|
## Models
|
|
36
36
|
|
|
37
|
-
| Model
|
|
38
|
-
|
|
|
39
|
-
| `aki-io/
|
|
40
|
-
| `aki-io/
|
|
41
|
-
| `aki-io/
|
|
42
|
-
| `aki-io/
|
|
43
|
-
| `aki-io/mistral4-119b`
|
|
44
|
-
| `aki-io/qwen3.6-35b`
|
|
37
|
+
| Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
|
|
38
|
+
| ------------------------------------ | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
39
|
+
| `aki-io/deepseek-v4-flash-0731-284b` | 1.0M | | | | | | $0.20 | $0.50 |
|
|
40
|
+
| `aki-io/gemma4-26b` | 256K | | | | | | $0.10 | $0.50 |
|
|
41
|
+
| `aki-io/gpt-oss-120b` | 128K | | | | | | $0.15 | $0.55 |
|
|
42
|
+
| `aki-io/kimi-k2.7-code-1100b` | 262K | | | | | | $0.86 | $3 |
|
|
43
|
+
| `aki-io/mistral4-119b` | 262K | | | | | | $0.20 | $0.60 |
|
|
44
|
+
| `aki-io/qwen3.6-35b` | 256K | | | | | | $0.15 | $0.50 |
|
|
45
|
+
| `aki-io/qwen3.8-27b` | 262K | | | | | | $0.30 | $2 |
|
|
45
46
|
|
|
46
47
|
## Advanced configuration
|
|
47
48
|
|
|
@@ -53,7 +54,7 @@ const agent = new Agent({
|
|
|
53
54
|
name: "custom-agent",
|
|
54
55
|
model: {
|
|
55
56
|
url: "https://aki.io/v1",
|
|
56
|
-
id: "aki-io/
|
|
57
|
+
id: "aki-io/deepseek-v4-flash-0731-284b",
|
|
57
58
|
apiKey: process.env.AKI_IO_API_KEY,
|
|
58
59
|
headers: {
|
|
59
60
|
"X-Custom-Header": "value"
|
|
@@ -71,8 +72,8 @@ const agent = new Agent({
|
|
|
71
72
|
model: ({ requestContext }) => {
|
|
72
73
|
const useAdvanced = requestContext.task === "complex";
|
|
73
74
|
return useAdvanced
|
|
74
|
-
? "aki-io/qwen3.
|
|
75
|
-
: "aki-io/
|
|
75
|
+
? "aki-io/qwen3.8-27b"
|
|
76
|
+
: "aki-io/deepseek-v4-flash-0731-284b";
|
|
76
77
|
}
|
|
77
78
|
});
|
|
78
79
|
```
|
|
@@ -37,7 +37,7 @@ for await (const chunk of stream) {
|
|
|
37
37
|
| Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
|
|
38
38
|
| ----------------------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
39
39
|
| `chutes/deepseek-ai/DeepSeek-V3.2-TEE` | 131K | | | | | | $1 | $1 |
|
|
40
|
-
| `chutes/deepseek-ai/DeepSeek-V4-Flash-0731-TEE` | 1.0M | | | | | | $0.
|
|
40
|
+
| `chutes/deepseek-ai/DeepSeek-V4-Flash-0731-TEE` | 1.0M | | | | | | $0.44 | $1 |
|
|
41
41
|
| `chutes/google/gemma-4-31B-turbo-TEE` | 131K | | | | | | $0.12 | $0.37 |
|
|
42
42
|
| `chutes/moonshotai/Kimi-K2.6-TEE` | 262K | | | | | | $0.58 | $3 |
|
|
43
43
|
| `chutes/moonshotai/Kimi-K3-TEE` | 1.0M | | | | | | $3 | $15 |
|
|
@@ -46,7 +46,7 @@ for await (const chunk of stream) {
|
|
|
46
46
|
| `chutes/Qwen/Qwen3-32B-TEE` | 41K | | | | | | $0.10 | $0.42 |
|
|
47
47
|
| `chutes/Qwen/Qwen3.5-397B-A17B-TEE` | 262K | | | | | | $0.45 | $3 |
|
|
48
48
|
| `chutes/Qwen/Qwen3.6-27B-TEE` | 262K | | | | | | $0.30 | $2 |
|
|
49
|
-
| `chutes/Qwen/Qwen3.8-27B-TEE` | 262K | | | | | | $0.
|
|
49
|
+
| `chutes/Qwen/Qwen3.8-27B-TEE` | 262K | | | | | | $0.35 | $3 |
|
|
50
50
|
| `chutes/unsloth/Mistral-Nemo-Instruct-2407-TEE` | 131K | | | | | | $0.02 | $0.10 |
|
|
51
51
|
| `chutes/zai-org/GLM-5.1-TEE` | 203K | | | | | | $0.98 | $3 |
|
|
52
52
|
| `chutes/zai-org/GLM-5.2-TEE` | 1.0M | | | | | | $1 | $4 |
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# ClinePass
|
|
4
4
|
|
|
5
|
-
Access
|
|
5
|
+
Access 13 ClinePass models through Mastra's model router. Authentication is handled automatically using the `CLINE_API_KEY` environment variable.
|
|
6
6
|
|
|
7
7
|
Learn more in the [ClinePass documentation](https://docs.cline.bot/getting-started/clinepass).
|
|
8
8
|
|
|
@@ -39,6 +39,7 @@ for await (const chunk of stream) {
|
|
|
39
39
|
| `cline-pass/cline-pass/deepseek-v4-flash` | 1.0M | | | | | | $0.14 | $0.28 |
|
|
40
40
|
| `cline-pass/cline-pass/deepseek-v4-pro` | 1.0M | | | | | | $2 | $3 |
|
|
41
41
|
| `cline-pass/cline-pass/glm-5.2` | 1.0M | | | | | | $1 | $4 |
|
|
42
|
+
| `cline-pass/cline-pass/glm-5.3` | 1.0M | | | | | | $1 | $4 |
|
|
42
43
|
| `cline-pass/cline-pass/kimi-k2.6` | 262K | | | | | | $0.95 | $4 |
|
|
43
44
|
| `cline-pass/cline-pass/kimi-k2.7-code` | 262K | | | | | | $0.95 | $4 |
|
|
44
45
|
| `cline-pass/cline-pass/kimi-k3` | 1.0M | | | | | | $3 | $15 |
|
|
@@ -47,6 +48,7 @@ for await (const chunk of stream) {
|
|
|
47
48
|
| `cline-pass/cline-pass/minimax-m3` | 512K | | | | | | $0.30 | $1 |
|
|
48
49
|
| `cline-pass/cline-pass/qwen3.7-max` | 1.0M | | | | | | $3 | $8 |
|
|
49
50
|
| `cline-pass/cline-pass/qwen3.7-plus` | 1.0M | | | | | | $0.40 | $2 |
|
|
51
|
+
| `cline-pass/cline-pass/qwen3.8-max` | 1.0M | | | | | | $2 | $6 |
|
|
50
52
|
|
|
51
53
|
## Advanced configuration
|
|
52
54
|
|
|
@@ -76,7 +78,7 @@ const agent = new Agent({
|
|
|
76
78
|
model: ({ requestContext }) => {
|
|
77
79
|
const useAdvanced = requestContext.task === "complex";
|
|
78
80
|
return useAdvanced
|
|
79
|
-
? "cline-pass/cline-pass/qwen3.
|
|
81
|
+
? "cline-pass/cline-pass/qwen3.8-max"
|
|
80
82
|
: "cline-pass/cline-pass/deepseek-v4-flash";
|
|
81
83
|
}
|
|
82
84
|
});
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# CrofAI
|
|
4
4
|
|
|
5
|
-
Access
|
|
5
|
+
Access 21 CrofAI models through Mastra's model router. Authentication is handled automatically using the `CROF_API_KEY` environment variable.
|
|
6
6
|
|
|
7
7
|
Learn more in the [CrofAI documentation](https://crof.ai/docs).
|
|
8
8
|
|
|
@@ -42,26 +42,21 @@ for await (const chunk of stream) {
|
|
|
42
42
|
| `crof/deepseek-v4-pro` | 1.0M | | | | | | $0.35 | $0.80 |
|
|
43
43
|
| `crof/deepseek-v4-pro-lightning` | 1.0M | | | | | | $0.80 | $2 |
|
|
44
44
|
| `crof/gemma-4-31b-it` | 262K | | | | | | $0.10 | $0.30 |
|
|
45
|
-
| `crof/glm-4.7` | 203K | | | | | | $0.25 | $1 |
|
|
46
|
-
| `crof/glm-4.7-flash` | 203K | | | | | | $0.04 | $0.30 |
|
|
47
|
-
| `crof/glm-5` | 203K | | | | | | $0.48 | $2 |
|
|
48
45
|
| `crof/glm-5.1` | 203K | | | | | | $0.45 | $2 |
|
|
49
46
|
| `crof/glm-5.2` | 1.0M | | | | | | $0.30 | $1 |
|
|
50
47
|
| `crof/greg-1-mini` | 229K | | | | | | $0.07 | $0.15 |
|
|
51
48
|
| `crof/greg-2-super` | 229K | | | | | | $2 | $5 |
|
|
52
49
|
| `crof/greg-2-ultra` | 229K | | | | | | $3 | $10 |
|
|
53
50
|
| `crof/greg-rp` | 229K | | | | | | $0.10 | $0.30 |
|
|
54
|
-
| `crof/kimi-k2.5` | 262K | | | | | | $0.35 | $2 |
|
|
55
|
-
| `crof/kimi-k2.5-lightning` | 131K | | | | | | $1 | $3 |
|
|
56
51
|
| `crof/kimi-k2.6` | 262K | | | | | | $0.50 | $2 |
|
|
57
52
|
| `crof/kimi-k2.7-code` | 262K | | | | | | $0.55 | $2 |
|
|
58
53
|
| `crof/kimi-k3` | 1.0M | | | | | | $2 | $8 |
|
|
59
54
|
| `crof/kimi-k3-eco` | 1.0M | | | | | | $1 | $4 |
|
|
60
55
|
| `crof/mimo-v2.5-pro` | 1.0M | | | | | | $0.40 | $0.80 |
|
|
61
|
-
| `crof/minimax-m2.5` | 205K | | | | | | $0.11 | $0.95 |
|
|
62
56
|
| `crof/qwen3.5-397b-a17b` | 262K | | | | | | $0.35 | $2 |
|
|
63
57
|
| `crof/qwen3.5-9b` | 262K | | | | | | $0.04 | $0.15 |
|
|
64
58
|
| `crof/qwen3.6-27b` | 262K | | | | | | $0.20 | $2 |
|
|
59
|
+
| `crof/qwen3.8-27b` | 262K | | | | | | $0.25 | $2 |
|
|
65
60
|
|
|
66
61
|
## Advanced configuration
|
|
67
62
|
|
|
@@ -91,7 +86,7 @@ const agent = new Agent({
|
|
|
91
86
|
model: ({ requestContext }) => {
|
|
92
87
|
const useAdvanced = requestContext.task === "complex";
|
|
93
88
|
return useAdvanced
|
|
94
|
-
? "crof/qwen3.
|
|
89
|
+
? "crof/qwen3.8-27b"
|
|
95
90
|
: "crof/deepseek-v3.2";
|
|
96
91
|
}
|
|
97
92
|
});
|