@mastra/mcp-docs-server 1.3.6-alpha.10 → 1.3.6-alpha.14
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 +12 -0
- package/.docs/docs/subagents.md +1 -0
- package/.docs/models/environment-variables.md +2 -1
- package/.docs/models/gateways/merge-gateway.md +3 -1
- package/.docs/models/gateways/openrouter.md +1 -12
- package/.docs/models/gateways/vercel.md +2 -1
- package/.docs/models/index.md +3 -2
- package/.docs/models/providers/ambient.md +17 -15
- package/.docs/models/providers/cloudflare-workers-ai.md +2 -1
- package/.docs/models/providers/deepinfra.md +2 -2
- package/.docs/models/providers/digitalocean.md +2 -1
- package/.docs/models/providers/edenai.md +10 -2
- package/.docs/models/providers/empiriolabs.md +4 -8
- package/.docs/models/providers/huggingface.md +7 -4
- package/.docs/models/providers/kilo.md +24 -35
- package/.docs/models/providers/llmgateway-providers.md +6 -6
- package/.docs/models/providers/llmgateway.md +3 -7
- package/.docs/models/providers/lowrouter.md +84 -0
- package/.docs/models/providers/nano-gpt.md +12 -12
- package/.docs/models/providers/novita-ai.md +43 -66
- package/.docs/models/providers/ofox.md +2 -1
- package/.docs/models/providers/tinfoil.md +1 -2
- package/.docs/models/providers.md +2 -1
- package/.docs/reference/agents/inngest-agent.md +26 -0
- package/.docs/reference/tools/mcp-client.md +5 -0
- package/package.json +5 -5
|
@@ -48,6 +48,18 @@ for await (const chunk of subscription.stream) {
|
|
|
48
48
|
|
|
49
49
|
When the thread has a running agent stream, `sendMessage()` becomes new input inside that agent loop. When the thread is idle, Mastra starts a stream with the message as the first input.
|
|
50
50
|
|
|
51
|
+
### Input during reasoning
|
|
52
|
+
|
|
53
|
+
In the default loop and experimental durable and evented agents, accepted pending messages and signals interrupt a model request that has produced only reasoning or metadata. This includes the wait for its first token. Mastra cancels that request, discards its response from model history and memory, and includes queued input in the next request within the same run. Earlier completed responses stay in history.
|
|
54
|
+
|
|
55
|
+
Once text, tool calls, or other response content starts, signals wait for the next loop boundary. Running tools aren't cancelled or repeated. If the run reaches `maxSteps`, queued input may be saved without a response. `queueMessage()` still waits for the active run to finish. Signals that processors write directly to the message history don't interrupt their own request.
|
|
56
|
+
|
|
57
|
+
Interrupted requests don't count toward `maxSteps` or advance `stepNumber`. The next request uses the same logical step, so `maxSteps: 1` still allows a replacement response. Mastra doesn't set a separate interruption limit. Repeated signals can keep restarting reasoning until a request completes, the run is cancelled, or its total timeout expires.
|
|
58
|
+
|
|
59
|
+
Already-streamed reasoning may remain visible until the client reloads history. When input arrives while per-step input processors (`processInputStep`) run, the processors finish and Mastra cancels the model request they prepared. Custom output processors also keep running after a cancellation, and the next request waits for their in-flight work to settle. Mastra discards framework-owned response buffers, but doesn't undo processor state, data that processors write while the cancelled request settles, or external side effects. Usage totals exclude interrupted requests, including any usage the provider reports for them. Providers may still bill for those requests.
|
|
60
|
+
|
|
61
|
+
Reasoning interruption doesn't apply to the Inngest engine, or to durable and evented steps that run in a different process from the one that accepted the input.
|
|
62
|
+
|
|
51
63
|
## Message input
|
|
52
64
|
|
|
53
65
|
### Send a message now
|
package/.docs/docs/subagents.md
CHANGED
|
@@ -73,6 +73,7 @@ Called before the parent agent delegates to a subagent. Return an object to cont
|
|
|
73
73
|
- `proceed: false`: Reject the delegation with a `rejectionReason`
|
|
74
74
|
- `modifiedPrompt`: Rewrite the prompt sent to the subagent
|
|
75
75
|
- `modifiedMaxSteps`: Limit the subagent's iteration count
|
|
76
|
+
- `threadMetadata`: Attach metadata (for example a `tenantId`) to the subagent's thread when it's created, so you can filter threads with `memory.listThreads({ filter: { metadata } })`
|
|
76
77
|
|
|
77
78
|
```typescript
|
|
78
79
|
const stream = await parentAgent.stream('Research AI trends', {
|
|
@@ -107,6 +107,7 @@ List of required environment variables for each model provider and gateway suppo
|
|
|
107
107
|
| [LLMTR](https://mastra.ai/models/providers/llmtr) | `llmtr/*` | `LLMTR_API_KEY` |
|
|
108
108
|
| [LMStudio](https://mastra.ai/models/providers/lmstudio) | `lmstudio/*` | `LMSTUDIO_API_KEY` |
|
|
109
109
|
| [LongCat](https://mastra.ai/models/providers/longcat) | `longcat/*` | `LONGCAT_API_KEY` |
|
|
110
|
+
| [LowRouter](https://mastra.ai/models/providers/lowrouter) | `lowrouter/*` | `LOWROUTER_API_KEY` |
|
|
110
111
|
| [LucidQuery](https://mastra.ai/models/providers/lucidquery) | `lucidquery/*` | `LUCIDQUERY_API_KEY` |
|
|
111
112
|
| [Lynkr](https://mastra.ai/models/providers/lynkr) | `lynkr/*` | `LYNKR_API_KEY` |
|
|
112
113
|
| [Meganova](https://mastra.ai/models/providers/meganova) | `meganova/*` | `MEGANOVA_API_KEY` |
|
|
@@ -133,7 +134,7 @@ List of required environment variables for each model provider and gateway suppo
|
|
|
133
134
|
| [NeoSmith](https://mastra.ai/models/providers/neosmith) | `neosmith/*` | `NEOSMITH_API_KEY` |
|
|
134
135
|
| [Neuralwatt](https://mastra.ai/models/providers/neuralwatt) | `neuralwatt/*` | `NEURALWATT_API_KEY` |
|
|
135
136
|
| [Nova](https://mastra.ai/models/providers/nova) | `nova/*` | `NOVA_API_KEY` |
|
|
136
|
-
| [
|
|
137
|
+
| [Novita AI](https://mastra.ai/models/providers/novita-ai) | `novita-ai/*` | `NOVITA_API_KEY` |
|
|
137
138
|
| [Nvidia](https://mastra.ai/models/providers/nvidia) | `nvidia/*` | `NVIDIA_API_KEY` |
|
|
138
139
|
| [OCI Generative AI](https://mastra.ai/models/providers/oci) | `oci/*` | `OCI_GENAI_API_KEY` |
|
|
139
140
|
| [Ofox](https://mastra.ai/models/providers/ofox) | `ofox/*` | `OFOX_API_KEY` |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# Merge Gateway
|
|
6
6
|
|
|
7
|
-
Merge Gateway aggregates models from multiple providers with enhanced features like rate limiting and failover. Access
|
|
7
|
+
Merge Gateway aggregates models from multiple providers with enhanced features like rate limiting and failover. Access 198 models through Mastra's model router.
|
|
8
8
|
|
|
9
9
|
Learn more in the [Merge Gateway documentation](https://docs.merge.dev/merge-gateway).
|
|
10
10
|
|
|
@@ -66,6 +66,7 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
66
66
|
| `cohere/command-r-plus-08-2024` |
|
|
67
67
|
| `cohere/command-r7b-12-2024` |
|
|
68
68
|
| `deepseek/deepseek-r1` |
|
|
69
|
+
| `deepseek/deepseek-r1-0528` |
|
|
69
70
|
| `deepseek/deepseek-v3` |
|
|
70
71
|
| `deepseek/deepseek-v3.1` |
|
|
71
72
|
| `deepseek/deepseek-v3.2` |
|
|
@@ -191,6 +192,7 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
191
192
|
| `qwen/qwen3-next-80b-a3b-thinking` |
|
|
192
193
|
| `qwen/qwen3-vl-235b-a22b-instruct` |
|
|
193
194
|
| `qwen/qwen3-vl-235b-a22b-thinking` |
|
|
195
|
+
| `qwen/qwen3-vl-30b-a3b-instruct` |
|
|
194
196
|
| `qwen/qwen3-vl-plus` |
|
|
195
197
|
| `qwen/qwen3.5-122b-a10b` |
|
|
196
198
|
| `qwen/qwen3.5-27b` |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# OpenRouter
|
|
6
6
|
|
|
7
|
-
OpenRouter aggregates models from multiple providers with enhanced features like rate limiting and failover. Access
|
|
7
|
+
OpenRouter aggregates models from multiple providers with enhanced features like rate limiting and failover. Access 379 models through Mastra's model router.
|
|
8
8
|
|
|
9
9
|
Learn more in the [OpenRouter documentation](https://openrouter.ai/models).
|
|
10
10
|
|
|
@@ -316,33 +316,23 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
316
316
|
| `qwen/qwen-2.5-7b-instruct` |
|
|
317
317
|
| `qwen/qwen-2.5-coder-32b-instruct` |
|
|
318
318
|
| `qwen/qwen-plus` |
|
|
319
|
-
| `qwen/qwen-plus-2025-07-28` |
|
|
320
319
|
| `qwen/qwen2.5-vl-72b-instruct` |
|
|
321
320
|
| `qwen/qwen3-14b` |
|
|
322
|
-
| `qwen/qwen3-235b-a22b` |
|
|
323
321
|
| `qwen/qwen3-235b-a22b-2507` |
|
|
324
322
|
| `qwen/qwen3-235b-a22b-thinking-2507` |
|
|
325
323
|
| `qwen/qwen3-30b-a3b` |
|
|
326
324
|
| `qwen/qwen3-30b-a3b-instruct-2507` |
|
|
327
|
-
| `qwen/qwen3-30b-a3b-thinking-2507` |
|
|
328
325
|
| `qwen/qwen3-32b` |
|
|
329
|
-
| `qwen/qwen3-8b` |
|
|
330
326
|
| `qwen/qwen3-coder` |
|
|
331
327
|
| `qwen/qwen3-coder-30b-a3b-instruct` |
|
|
332
328
|
| `qwen/qwen3-coder-flash` |
|
|
333
329
|
| `qwen/qwen3-coder-next` |
|
|
334
|
-
| `qwen/qwen3-coder-plus` |
|
|
335
|
-
| `qwen/qwen3-max` |
|
|
336
|
-
| `qwen/qwen3-max-thinking` |
|
|
337
330
|
| `qwen/qwen3-next-80b-a3b-instruct` |
|
|
338
331
|
| `qwen/qwen3-next-80b-a3b-thinking` |
|
|
339
332
|
| `qwen/qwen3-vl-235b-a22b-instruct` |
|
|
340
|
-
| `qwen/qwen3-vl-235b-a22b-thinking` |
|
|
341
333
|
| `qwen/qwen3-vl-30b-a3b-instruct` |
|
|
342
334
|
| `qwen/qwen3-vl-30b-a3b-thinking` |
|
|
343
|
-
| `qwen/qwen3-vl-32b-instruct` |
|
|
344
335
|
| `qwen/qwen3-vl-8b-instruct` |
|
|
345
|
-
| `qwen/qwen3-vl-8b-thinking` |
|
|
346
336
|
| `qwen/qwen3.5-122b-a10b` |
|
|
347
337
|
| `qwen/qwen3.5-27b` |
|
|
348
338
|
| `qwen/qwen3.5-35b-a3b` |
|
|
@@ -354,7 +344,6 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
354
344
|
| `qwen/qwen3.6-27b` |
|
|
355
345
|
| `qwen/qwen3.6-35b-a3b` |
|
|
356
346
|
| `qwen/qwen3.6-flash` |
|
|
357
|
-
| `qwen/qwen3.6-max-preview` |
|
|
358
347
|
| `qwen/qwen3.6-plus` |
|
|
359
348
|
| `qwen/qwen3.7-flash` |
|
|
360
349
|
| `qwen/qwen3.7-max` |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# Vercel
|
|
6
6
|
|
|
7
|
-
Vercel aggregates models from multiple providers with enhanced features like rate limiting and failover. Access
|
|
7
|
+
Vercel aggregates models from multiple providers with enhanced features like rate limiting and failover. Access 409 models through Mastra's model router.
|
|
8
8
|
|
|
9
9
|
Learn more in the [Vercel documentation](https://ai-sdk.dev/providers/ai-sdk-providers).
|
|
10
10
|
|
|
@@ -193,6 +193,7 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
193
193
|
| `google/veo-3.1-fast-generate-001` |
|
|
194
194
|
| `google/veo-3.1-generate-001` |
|
|
195
195
|
| `google/veo-3.1-lite-generate-001` |
|
|
196
|
+
| `heygen/heygen-video-1` |
|
|
196
197
|
| `inception/mercury-2` |
|
|
197
198
|
| `inception/mercury-2.5` |
|
|
198
199
|
| `inception/mercury-coder-small` |
|
package/.docs/models/index.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# Model Providers
|
|
6
6
|
|
|
7
|
-
Mastra provides a unified interface for working with LLMs across multiple providers, giving you access to
|
|
7
|
+
Mastra provides a unified interface for working with LLMs across multiple providers, giving you access to 7797 models from 214 providers through a single API.
|
|
8
8
|
|
|
9
9
|
## Features
|
|
10
10
|
|
|
@@ -471,6 +471,7 @@ Every provider below works with the model router as `provider/model`. Read the p
|
|
|
471
471
|
- [LLMTR](https://mastra.ai/models/providers/llmtr)
|
|
472
472
|
- [LMStudio](https://mastra.ai/models/providers/lmstudio)
|
|
473
473
|
- [LongCat](https://mastra.ai/models/providers/longcat)
|
|
474
|
+
- [LowRouter](https://mastra.ai/models/providers/lowrouter)
|
|
474
475
|
- [LucidQuery](https://mastra.ai/models/providers/lucidquery)
|
|
475
476
|
- [Lynkr](https://mastra.ai/models/providers/lynkr)
|
|
476
477
|
- [Meganova](https://mastra.ai/models/providers/meganova)
|
|
@@ -496,7 +497,7 @@ Every provider below works with the model router as `provider/model`. Read the p
|
|
|
496
497
|
- [NeoSmith](https://mastra.ai/models/providers/neosmith)
|
|
497
498
|
- [Neuralwatt](https://mastra.ai/models/providers/neuralwatt)
|
|
498
499
|
- [Nova](https://mastra.ai/models/providers/nova)
|
|
499
|
-
- [
|
|
500
|
+
- [Novita AI](https://mastra.ai/models/providers/novita-ai)
|
|
500
501
|
- [Nvidia](https://mastra.ai/models/providers/nvidia)
|
|
501
502
|
- [OCI Generative AI](https://mastra.ai/models/providers/oci)
|
|
502
503
|
- [Ofox](https://mastra.ai/models/providers/ofox)
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# Ambient
|
|
6
6
|
|
|
7
|
-
Access
|
|
7
|
+
Access 14 Ambient models through Mastra's model router. Authentication is handled automatically using the `AMBIENT_API_KEY` environment variable.
|
|
8
8
|
|
|
9
9
|
Learn more in the [Ambient documentation](https://ambient.xyz).
|
|
10
10
|
|
|
@@ -36,20 +36,22 @@ for await (const chunk of stream) {
|
|
|
36
36
|
|
|
37
37
|
## Models
|
|
38
38
|
|
|
39
|
-
| Model
|
|
40
|
-
|
|
|
41
|
-
| `ambient/ambient/large`
|
|
42
|
-
| `ambient/deepseek/deepseek-v4-flash`
|
|
43
|
-
| `ambient/deepseek/deepseek-v4-flash-0731`
|
|
44
|
-
| `ambient/moonshotai/kimi-k2.6`
|
|
45
|
-
| `ambient/moonshotai/kimi-k2.7-code`
|
|
46
|
-
| `ambient/qwen/qwen3
|
|
47
|
-
| `ambient/qwen/qwen3.
|
|
48
|
-
| `ambient/
|
|
49
|
-
| `ambient/
|
|
50
|
-
| `ambient/
|
|
51
|
-
| `ambient/
|
|
52
|
-
| `ambient/
|
|
39
|
+
| Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
|
|
40
|
+
| ------------------------------------------ | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
41
|
+
| `ambient/ambient/large` | 203K | | | | | | $0.60 | $2 |
|
|
42
|
+
| `ambient/deepseek/deepseek-v4-flash` | 1.0M | | | | | | $0.14 | $0.28 |
|
|
43
|
+
| `ambient/deepseek/deepseek-v4-flash-0731` | 1.0M | | | | | | $0.08 | $0.18 |
|
|
44
|
+
| `ambient/moonshotai/kimi-k2.6` | 262K | | | | | | $0.95 | $4 |
|
|
45
|
+
| `ambient/moonshotai/kimi-k2.7-code` | 262K | | | | | | $0.69 | $3 |
|
|
46
|
+
| `ambient/qwen/qwen3-30b-a3b-instruct-2507` | 131K | | | | | | $0.09 | $0.30 |
|
|
47
|
+
| `ambient/qwen/qwen3.6-27b` | 33K | | | | | | $0.32 | $3 |
|
|
48
|
+
| `ambient/qwen/qwen3.6-35b-a3b` | 262K | | | | | | $0.15 | $1 |
|
|
49
|
+
| `ambient/qwen/qwen3.8-27b` | 33K | | | | | | $0.32 | $3 |
|
|
50
|
+
| `ambient/stepfun/step-3.7-flash` | 262K | | | | | | $0.19 | $1 |
|
|
51
|
+
| `ambient/xiaomi/mimo-v2.5` | 1.0M | | | | | | $0.40 | $2 |
|
|
52
|
+
| `ambient/z-ai/glm-5.2` | 203K | | | | | | $0.60 | $2 |
|
|
53
|
+
| `ambient/zai-org/GLM-5.1-FP8` | 203K | | | | | | $1 | $4 |
|
|
54
|
+
| `ambient/zai-org/GLM-5.2-FP8` | 203K | | | | | | $1 | $4 |
|
|
53
55
|
|
|
54
56
|
Model availability, capabilities, context windows, and pricing are sourced from [models.dev](https://models.dev) and may change.
|
|
55
57
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# Cloudflare Workers AI
|
|
6
6
|
|
|
7
|
-
Access
|
|
7
|
+
Access 28 Cloudflare Workers AI models through Mastra's model router. Authentication is handled automatically using the `CLOUDFLARE_API_KEY` environment variable. Configure `CLOUDFLARE_ACCOUNT_ID` as well.
|
|
8
8
|
|
|
9
9
|
Learn more in the [Cloudflare Workers AI documentation](https://developers.cloudflare.com/workers-ai/models/).
|
|
10
10
|
|
|
@@ -40,6 +40,7 @@ for await (const chunk of stream) {
|
|
|
40
40
|
| Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
|
|
41
41
|
| -------------------------------------------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
42
42
|
| `cloudflare-workers-ai/@cf/aisingapore/gemma-sea-lion-v4-27b-it` | 128K | | | | | | $0.35 | $0.56 |
|
|
43
|
+
| `cloudflare-workers-ai/@cf/cloudflare/clef-omni` | 66K | | | | | | $0.15 | — |
|
|
43
44
|
| `cloudflare-workers-ai/@cf/deepseek-ai/deepseek-r1-distill-qwen-32b` | 80K | | | | | | $0.50 | $5 |
|
|
44
45
|
| `cloudflare-workers-ai/@cf/deepseek-ai/deepseek-v4-flash-0731` | 1.0M | | | | | | $0.44 | $1 |
|
|
45
46
|
| `cloudflare-workers-ai/@cf/deepseek-ai/deepseek-v4-pro-0813` | 1.0M | | | | | | $1 | $4 |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# Deep Infra
|
|
6
6
|
|
|
7
|
-
Access
|
|
7
|
+
Access 72 Deep Infra models through Mastra's model router. Authentication is handled automatically using the `DEEPINFRA_API_KEY` environment variable.
|
|
8
8
|
|
|
9
9
|
Learn more in the [Deep Infra documentation](https://deepinfra.com/models).
|
|
10
10
|
|
|
@@ -65,9 +65,9 @@ for await (const chunk of stream) {
|
|
|
65
65
|
| `deepinfra/Qwen/Qwen3-30B-A3B` | 41K | | | | | | $0.12 | $0.50 |
|
|
66
66
|
| `deepinfra/Qwen/Qwen3-32B` | 41K | | | | | | $0.08 | $0.28 |
|
|
67
67
|
| `deepinfra/Qwen/Qwen3-Coder-480B-A35B-Instruct-Turbo` | 262K | | | | | | $0.30 | $1 |
|
|
68
|
-
| `deepinfra/Qwen/Qwen3-Max` | 256K | | | | | | $1 | $6 |
|
|
69
68
|
| `deepinfra/Qwen/Qwen3-Next-80B-A3B-Instruct` | 262K | | | | | | $0.09 | $1 |
|
|
70
69
|
| `deepinfra/Qwen/Qwen3-VL-235B-A22B-Instruct` | 262K | | | | | | $0.20 | $0.88 |
|
|
70
|
+
| `deepinfra/Qwen/Qwen3-VL-30B-A3B-Instruct` | 262K | | | | | | $0.15 | $0.60 |
|
|
71
71
|
| `deepinfra/Qwen/Qwen3.5-27B` | 262K | | | | | | $0.26 | $3 |
|
|
72
72
|
| `deepinfra/Qwen/Qwen3.5-35B-A3B` | 262K | | | | | | $0.14 | $1 |
|
|
73
73
|
| `deepinfra/Qwen/Qwen3.5-397B-A17B` | 262K | | | | | | $0.45 | $3 |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# DigitalOcean
|
|
6
6
|
|
|
7
|
-
Access
|
|
7
|
+
Access 102 DigitalOcean models through Mastra's model router. Authentication is handled automatically using the `DIGITALOCEAN_ACCESS_TOKEN` environment variable.
|
|
8
8
|
|
|
9
9
|
Learn more in the [DigitalOcean documentation](https://docs.digitalocean.com/products/gradient-ai-platform/details/models/).
|
|
10
10
|
|
|
@@ -44,6 +44,7 @@ for await (const chunk of stream) {
|
|
|
44
44
|
| `digitalocean/anthropic-claude-4.5-sonnet` | 200K | | | | | | $3 | $15 |
|
|
45
45
|
| `digitalocean/anthropic-claude-4.6-sonnet` | 200K | | | | | | $3 | $15 |
|
|
46
46
|
| `digitalocean/anthropic-claude-5-sonnet` | 1.0M | | | | | | $2 | $10 |
|
|
47
|
+
| `digitalocean/anthropic-claude-5.5-haiku` | 1.0M | | | | | | $0.10 | $0.50 |
|
|
47
48
|
| `digitalocean/anthropic-claude-fable-5` | 1.0M | | | | | | $10 | $50 |
|
|
48
49
|
| `digitalocean/anthropic-claude-fable-5.1` | 1.0M | | | | | | $10 | $50 |
|
|
49
50
|
| `digitalocean/anthropic-claude-haiku-4.5` | 200K | | | | | | $1 | $5 |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# Eden AI
|
|
6
6
|
|
|
7
|
-
Access
|
|
7
|
+
Access 305 Eden AI models through Mastra's model router. Authentication is handled automatically using the `EDENAI_API_KEY` environment variable.
|
|
8
8
|
|
|
9
9
|
Learn more in the [Eden AI documentation](https://docs.edenai.co).
|
|
10
10
|
|
|
@@ -86,6 +86,7 @@ for await (const chunk of stream) {
|
|
|
86
86
|
| `edenai/cloudflare/@cf/aisingapore/gemma-sea-lion-v4-27b-it` | 128K | | | | | | $0.35 | $0.56 |
|
|
87
87
|
| `edenai/cloudflare/@cf/deepseek-ai/deepseek-v4-flash-0731` | 1.0M | | | | | | $0.44 | $1 |
|
|
88
88
|
| `edenai/cloudflare/@cf/deepseek-ai/deepseek-v4-pro-0813` | 1.0M | | | | | | $1 | $4 |
|
|
89
|
+
| `edenai/cloudflare/@cf/meta/llama-3.2-1b-instruct` | 60K | | | | | | $0.03 | $0.20 |
|
|
89
90
|
| `edenai/cloudflare/@cf/meta/llama-guard-3-8b` | 131K | | | | | | $0.48 | $0.03 |
|
|
90
91
|
| `edenai/cloudflare/@cf/openai/gpt-oss-120b` | 128K | | | | | | $0.35 | $0.75 |
|
|
91
92
|
| `edenai/cloudflare/@cf/openai/gpt-oss-20b` | 128K | | | | | | $0.20 | $0.30 |
|
|
@@ -106,6 +107,7 @@ for await (const chunk of stream) {
|
|
|
106
107
|
| `edenai/deepinfra/ByteDance/Seed-2.0-code` | 256K | | | | | | $0.50 | $3 |
|
|
107
108
|
| `edenai/deepinfra/ByteDance/Seed-2.0-mini` | 256K | | | | | | $0.10 | $0.40 |
|
|
108
109
|
| `edenai/deepinfra/deepseek-ai/DeepSeek-R1` | 164K | | | | | | $0.70 | $2 |
|
|
110
|
+
| `edenai/deepinfra/deepseek-ai/DeepSeek-R1-0528` | 164K | | | | | | $0.50 | $2 |
|
|
109
111
|
| `edenai/deepinfra/deepseek-ai/DeepSeek-V3` | 164K | | | | | | $0.32 | $0.89 |
|
|
110
112
|
| `edenai/deepinfra/deepseek-ai/DeepSeek-V3-0324` | 164K | | | | | | $0.24 | $0.90 |
|
|
111
113
|
| `edenai/deepinfra/deepseek-ai/DeepSeek-V4-Flash-0731` | 1.0M | | | | | | $0.06 | $0.18 |
|
|
@@ -114,10 +116,13 @@ for await (const chunk of stream) {
|
|
|
114
116
|
| `edenai/deepinfra/google/gemma-3-12b-it` | 131K | | | | | | $0.05 | $0.15 |
|
|
115
117
|
| `edenai/deepinfra/google/gemma-3-27b-it` | 131K | | | | | | $0.08 | $0.16 |
|
|
116
118
|
| `edenai/deepinfra/google/gemma-3-4b-it` | 131K | | | | | | $0.05 | $0.10 |
|
|
119
|
+
| `edenai/deepinfra/Gryphe/MythoMax-L2-13b` | 4K | | | | | | $0.40 | $0.40 |
|
|
117
120
|
| `edenai/deepinfra/meta-llama/Llama-3.2-11B-Vision-Instruct` | 131K | | | | | | $0.34 | $0.34 |
|
|
118
121
|
| `edenai/deepinfra/meta-llama/Llama-3.3-70B-Instruct` | 131K | | | | | | $0.10 | $0.32 |
|
|
119
122
|
| `edenai/deepinfra/meta-llama/Llama-Guard-3-8B` | 131K | | | | | | $0.06 | $0.06 |
|
|
120
123
|
| `edenai/deepinfra/meta-models/Muse-Glimmer-30B` | 131K | | | | | | $0.30 | $1 |
|
|
124
|
+
| `edenai/deepinfra/microsoft/WizardLM-2-8x22B` | 66K | | | | | | $0.48 | $0.48 |
|
|
125
|
+
| `edenai/deepinfra/moonshotai/Kimi-K2-Instruct` | 131K | | | | | | $0.50 | $2 |
|
|
121
126
|
| `edenai/deepinfra/moonshotai/Kimi-K2.5` | 262K | | | | | | $0.45 | $2 |
|
|
122
127
|
| `edenai/deepinfra/nemotron-3-ultra-550b-a55b` | 262K | | | | | | $0.50 | $2 |
|
|
123
128
|
| `edenai/deepinfra/nvidia/Llama-3.1-Nemotron-70B-Instruct` | 131K | | | | | | $0.60 | $0.60 |
|
|
@@ -251,6 +256,7 @@ for await (const chunk of stream) {
|
|
|
251
256
|
| `edenai/qwen/deepseek-v4-pro-0813` | 1.0M | | | | | | $0.66 | $2 |
|
|
252
257
|
| `edenai/qwen/deepseek-v4.1-flash` | 1.0M | | | | | | $0.15 | $0.60 |
|
|
253
258
|
| `edenai/qwen/qwen-max` | 33K | | | | | | $2 | $6 |
|
|
259
|
+
| `edenai/qwen/qwen-mt-plus` | 4K | | | | | | $2 | $7 |
|
|
254
260
|
| `edenai/qwen/qwen-vl-max` | 131K | | | | | | $0.80 | $3 |
|
|
255
261
|
| `edenai/qwen/qwen-vl-plus` | 131K | | | | | | $0.21 | $0.63 |
|
|
256
262
|
| `edenai/qwen/qwen3-235b-a22b-instruct-2507` | 131K | | | | | | $0.23 | $0.92 |
|
|
@@ -266,6 +272,7 @@ for await (const chunk of stream) {
|
|
|
266
272
|
| `edenai/qwen/qwen3-next-80b-a3b-thinking` | 131K | | | | | | $0.15 | $1 |
|
|
267
273
|
| `edenai/qwen/qwen3-vl-235b-a22b-instruct` | 131K | | | | | | $0.40 | $2 |
|
|
268
274
|
| `edenai/qwen/qwen3-vl-235b-a22b-thinking` | 131K | | | | | | $0.40 | $4 |
|
|
275
|
+
| `edenai/qwen/qwen3-vl-30b-a3b-instruct` | 131K | | | | | | $0.20 | $0.80 |
|
|
269
276
|
| `edenai/qwen/qwen3.8-2.4t-a95b` | 1.0M | | | | | | $2 | $6 |
|
|
270
277
|
| `edenai/qwen/qwen3.8-27b` | 1.0M | | | | | | $0.50 | $3 |
|
|
271
278
|
| `edenai/qwen/qwen3.8-flash` | 1.0M | | | | | | $0.15 | $0.47 |
|
|
@@ -273,13 +280,14 @@ for await (const chunk of stream) {
|
|
|
273
280
|
| `edenai/qwen/qwen3.8-max-0902` | 1.0M | | | | | | $2 | $6 |
|
|
274
281
|
| `edenai/qwen/qwen3.8-omni-flash` | 1.0M | | | | | | $0.15 | $0.47 |
|
|
275
282
|
| `edenai/qwen/qwq-plus` | 131K | | | | | | $0.80 | $2 |
|
|
276
|
-
| `edenai/scaleway/deepseek-v4-flash-0731` | 256K | | | | | | $0.45 | $0.
|
|
283
|
+
| `edenai/scaleway/deepseek-v4-flash-0731` | 256K | | | | | | $0.45 | $0.90 |
|
|
277
284
|
| `edenai/scaleway/gemma-3-27b-it` | 40K | | | | | | $0.29 | $0.57 |
|
|
278
285
|
| `edenai/scaleway/gpt-oss-120b` | 128K | | | | | | $0.17 | $0.67 |
|
|
279
286
|
| `edenai/scaleway/llama-3.3-70b-instruct` | 128K | | | | | | $1 | $1 |
|
|
280
287
|
| `edenai/tencent/deepseek-v4-pro-0813` | 1.0M | | | | | | $0.66 | $2 |
|
|
281
288
|
| `edenai/tencent/hy3` | 256K | | | | | | $0.13 | $0.53 |
|
|
282
289
|
| `edenai/tencent/hy4-preview` | 1.0M | | | | | | $0.83 | $3 |
|
|
290
|
+
| `edenai/tensorx/deepseek/deepseek-r1-0528` | 164K | | | | | | $0.66 | $3 |
|
|
283
291
|
| `edenai/tensorx/deepseek/deepseek-v4-flash-0731` | 1.0M | | | | | | $0.25 | $0.30 |
|
|
284
292
|
| `edenai/tensorx/deepseek/deepseek-v4-pro-0813` | 1.0M | | | | | | $2 | $4 |
|
|
285
293
|
| `edenai/tensorx/deepseek/deepseek-v4.1-flash` | 1.0M | | | | | | $0.50 | $2 |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# EmpirioLabs AI
|
|
6
6
|
|
|
7
|
-
Access
|
|
7
|
+
Access 62 EmpirioLabs AI models through Mastra's model router. Authentication is handled automatically using the `EMPIRIOLABS_API_KEY` environment variable.
|
|
8
8
|
|
|
9
9
|
Learn more in the [EmpirioLabs AI documentation](https://docs.empiriolabs.ai).
|
|
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: "empiriolabs/deepseek-
|
|
22
|
+
model: "empiriolabs/deepseek-v4-1-flash"
|
|
23
23
|
});
|
|
24
24
|
|
|
25
25
|
// Generate a response
|
|
@@ -38,9 +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
|
-
| `empiriolabs/deepseek-v3-2` | 128K | | | | | | $0.57 | $2 |
|
|
42
41
|
| `empiriolabs/deepseek-v4-1-flash` | 1.0M | | | | | | $0.30 | $1 |
|
|
43
|
-
| `empiriolabs/deepseek-v4-flash` | 1.0M | | | | | | $0.14 | $0.28 |
|
|
44
42
|
| `empiriolabs/deepseek-v4-flash-0731` | 1.0M | | | | | | $0.42 | $1 |
|
|
45
43
|
| `empiriolabs/deepseek-v4-pro` | 1.0M | | | | | | $2 | $3 |
|
|
46
44
|
| `empiriolabs/deepseek-v4-pro-0813` | 1.0M | | | | | | $1 | $4 |
|
|
@@ -84,7 +82,6 @@ for await (const chunk of stream) {
|
|
|
84
82
|
| `empiriolabs/qwen3-6-27b` | 256K | | | | | | $0.41 | $2 |
|
|
85
83
|
| `empiriolabs/qwen3-6-35b-a3b` | 131K | | | | | | $0.07 | $0.42 |
|
|
86
84
|
| `empiriolabs/qwen3-6-flash` | 1.0M | | | | | | $0.25 | $2 |
|
|
87
|
-
| `empiriolabs/qwen3-6-max-preview` | 256K | | | | | | $1 | $8 |
|
|
88
85
|
| `empiriolabs/qwen3-6-plus` | 1.0M | | | | | | $0.50 | $3 |
|
|
89
86
|
| `empiriolabs/qwen3-7-flash` | 1.0M | | | | | | $0.03 | $0.13 |
|
|
90
87
|
| `empiriolabs/qwen3-7-max` | 1.0M | | | | | | $3 | $8 |
|
|
@@ -94,7 +91,6 @@ for await (const chunk of stream) {
|
|
|
94
91
|
| `empiriolabs/qwen3-8-max` | 1.0M | | | | | | $2 | $6 |
|
|
95
92
|
| `empiriolabs/qwen3-8-max-0902` | 1.0M | | | | | | $2 | $6 |
|
|
96
93
|
| `empiriolabs/qwen3-8-omni-flash` | 1.0M | | | | | | $0.30 | $0.94 |
|
|
97
|
-
| `empiriolabs/qwen3-max` | 256K | | | | | | $1 | $6 |
|
|
98
94
|
| `empiriolabs/seed-2-0-code` | 256K | | | | | | $0.40 | $2 |
|
|
99
95
|
| `empiriolabs/seed-2-0-lite` | 256K | | | | | | $0.31 | $3 |
|
|
100
96
|
| `empiriolabs/seed-2-0-mini` | 256K | | | | | | $0.12 | $0.50 |
|
|
@@ -117,7 +113,7 @@ const agent = new Agent({
|
|
|
117
113
|
name: "custom-agent",
|
|
118
114
|
model: {
|
|
119
115
|
url: "https://api.empiriolabs.ai/v1",
|
|
120
|
-
id: "empiriolabs/deepseek-
|
|
116
|
+
id: "empiriolabs/deepseek-v4-1-flash",
|
|
121
117
|
apiKey: process.env.EMPIRIOLABS_API_KEY,
|
|
122
118
|
headers: {
|
|
123
119
|
"X-Custom-Header": "value"
|
|
@@ -136,7 +132,7 @@ const agent = new Agent({
|
|
|
136
132
|
const useAdvanced = requestContext.task === "complex";
|
|
137
133
|
return useAdvanced
|
|
138
134
|
? "empiriolabs/step-5-preview"
|
|
139
|
-
: "empiriolabs/deepseek-
|
|
135
|
+
: "empiriolabs/deepseek-v4-1-flash";
|
|
140
136
|
}
|
|
141
137
|
});
|
|
142
138
|
```
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# Hugging Face
|
|
6
6
|
|
|
7
|
-
Access
|
|
7
|
+
Access 81 Hugging Face models through Mastra's model router. Authentication is handled automatically using the `HF_TOKEN` environment variable.
|
|
8
8
|
|
|
9
9
|
Learn more in the [Hugging Face documentation](https://huggingface.co).
|
|
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: "huggingface/MiniMaxAI/MiniMax-
|
|
22
|
+
model: "huggingface/MiniMaxAI/MiniMax-M1-80k"
|
|
23
23
|
});
|
|
24
24
|
|
|
25
25
|
// Generate a response
|
|
@@ -57,6 +57,7 @@ for await (const chunk of stream) {
|
|
|
57
57
|
| `huggingface/google/gemma-4-31B-it` | 262K | | | | | | $0.14 | $0.40 |
|
|
58
58
|
| `huggingface/meta-llama/Llama-3.1-8B-Instruct` | 131K | | | | | | $0.06 | $0.06 |
|
|
59
59
|
| `huggingface/meta-llama/Llama-3.3-70B-Instruct` | 131K | | | | | | $0.59 | $0.79 |
|
|
60
|
+
| `huggingface/MiniMaxAI/MiniMax-M1-80k` | 1.0M | | | | | | $0.55 | $2 |
|
|
60
61
|
| `huggingface/MiniMaxAI/MiniMax-M2` | 205K | | | | | | $0.30 | $1 |
|
|
61
62
|
| `huggingface/MiniMaxAI/MiniMax-M2.1` | 205K | | | | | | $0.30 | $1 |
|
|
62
63
|
| `huggingface/MiniMaxAI/MiniMax-M2.5` | 205K | | | | | | $0.30 | $1 |
|
|
@@ -86,6 +87,7 @@ for await (const chunk of stream) {
|
|
|
86
87
|
| `huggingface/Qwen/Qwen3-Next-80B-A3B-Thinking` | 262K | | | | | | $0.30 | $2 |
|
|
87
88
|
| `huggingface/Qwen/Qwen3-VL-235B-A22B-Instruct` | 131K | | | | | | $0.30 | $2 |
|
|
88
89
|
| `huggingface/Qwen/Qwen3-VL-235B-A22B-Thinking` | 131K | | | | | | $0.98 | $4 |
|
|
90
|
+
| `huggingface/Qwen/Qwen3-VL-30B-A3B-Instruct` | 131K | | | | | | $0.20 | $0.70 |
|
|
89
91
|
| `huggingface/Qwen/Qwen3.5-122B-A10B` | 262K | | | | | | $0.40 | $3 |
|
|
90
92
|
| `huggingface/Qwen/Qwen3.5-27B` | 262K | | | | | | $0.30 | $2 |
|
|
91
93
|
| `huggingface/Qwen/Qwen3.5-35B-A3B` | 262K | | | | | | $0.25 | $2 |
|
|
@@ -104,6 +106,7 @@ for await (const chunk of stream) {
|
|
|
104
106
|
| `huggingface/XiaomiMiMo/MiMo-V2-Flash` | 262K | | | | | | $0.10 | $0.30 |
|
|
105
107
|
| `huggingface/XiaomiMiMo/MiMo-V2.5` | 262K | | | | | | $0.40 | $2 |
|
|
106
108
|
| `huggingface/XiaomiMiMo/MiMo-V2.5-Pro` | 1.0M | | | | | | $1 | $3 |
|
|
109
|
+
| `huggingface/zai-org/AutoGLM-Phone-9B-Multilingual` | 66K | | | | | | $0.04 | $0.14 |
|
|
107
110
|
| `huggingface/zai-org/GLM-4.5` | 131K | | | | | | $0.60 | $2 |
|
|
108
111
|
| `huggingface/zai-org/GLM-4.5-Air` | 131K | | | | | | $0.13 | $0.85 |
|
|
109
112
|
| `huggingface/zai-org/GLM-4.5V` | 66K | | | | | | $0.60 | $2 |
|
|
@@ -129,7 +132,7 @@ const agent = new Agent({
|
|
|
129
132
|
name: "custom-agent",
|
|
130
133
|
model: {
|
|
131
134
|
url: "https://router.huggingface.co/v1",
|
|
132
|
-
id: "huggingface/MiniMaxAI/MiniMax-
|
|
135
|
+
id: "huggingface/MiniMaxAI/MiniMax-M1-80k",
|
|
133
136
|
apiKey: process.env.HF_TOKEN,
|
|
134
137
|
headers: {
|
|
135
138
|
"X-Custom-Header": "value"
|
|
@@ -148,7 +151,7 @@ const agent = new Agent({
|
|
|
148
151
|
const useAdvanced = requestContext.task === "complex";
|
|
149
152
|
return useAdvanced
|
|
150
153
|
? "huggingface/zai-org/GLM-5.3-Flash"
|
|
151
|
-
: "huggingface/MiniMaxAI/MiniMax-
|
|
154
|
+
: "huggingface/MiniMaxAI/MiniMax-M1-80k";
|
|
152
155
|
}
|
|
153
156
|
});
|
|
154
157
|
```
|