@mastra/mcp-docs-server 1.3.12 → 1.3.13-alpha.10
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/agents/resumable-streams.md +140 -0
- package/.docs/docs/agents/tools.md +3 -2
- package/.docs/docs/auth/overview.md +1 -0
- package/.docs/docs/auth/simple-auth.md +8 -8
- package/.docs/docs/channels.md +34 -1
- package/.docs/docs/connections/mcp.md +73 -7
- package/.docs/docs/deployment/mastra-server.md +10 -2
- package/.docs/docs/deployment/workers.md +3 -1
- package/.docs/docs/guides/authentication-identity.md +4 -0
- package/.docs/docs/harness/background-tasks.md +2 -1
- package/.docs/docs/harness/durable-agents.md +106 -8
- package/.docs/docs/harness/goals.md +1 -1
- package/.docs/docs/harness/schedules.md +2 -0
- package/.docs/docs/knowledge/agents-and-tools.md +122 -0
- package/.docs/docs/knowledge/load-your-content.md +86 -0
- package/.docs/docs/knowledge/overview.md +106 -0
- package/.docs/docs/knowledge/patterns.md +167 -0
- package/.docs/docs/knowledge/pinned-context.md +177 -0
- package/.docs/docs/knowledge/scopes-and-access.md +202 -0
- package/.docs/docs/knowledge/search.md +63 -0
- package/.docs/docs/mastra-platform/connect.md +231 -0
- package/.docs/docs/mastra-platform/overview.md +1 -1
- package/.docs/docs/memory/observational-memory.md +23 -23
- package/.docs/docs/memory/overview.md +19 -7
- package/.docs/docs/memory/semantic-recall.md +26 -1
- package/.docs/docs/observability/integrations/exporters/mastra-storage.md +41 -0
- package/.docs/docs/observability/tracing/overview.md +0 -2
- package/.docs/docs/sandbox/skills.md +32 -3
- package/.docs/docs/server/custom-adapters.md +44 -11
- package/.docs/docs/server/middleware.md +1 -1
- package/.docs/docs/server/request-context.md +6 -6
- package/.docs/docs/server/server-adapters.md +12 -12
- package/.docs/docs/signals/sending-signals.md +3 -1
- package/.docs/docs/studio/knowledge.md +45 -24
- package/.docs/docs/studio/overview.md +3 -1
- package/.docs/docs/workflows/overview.md +12 -0
- package/.docs/docs/workflows/suspend-and-resume.md +1 -1
- package/.docs/integrations/agentic-ui/ai-sdk-ui.md +46 -0
- package/.docs/integrations/auth/clerk.md +46 -7
- package/.docs/integrations/auth/neon.md +217 -0
- package/.docs/integrations/auth/supabase.md +46 -7
- package/.docs/integrations/auth/workos.md +54 -15
- package/.docs/integrations/channels/discord.md +84 -6
- package/.docs/integrations/channels/github.md +63 -24
- package/.docs/integrations/channels/slack.md +89 -8
- package/.docs/integrations/channels/teams.md +79 -5
- package/.docs/integrations/channels/telegram.md +47 -6
- package/.docs/integrations/crm/attio.md +42 -0
- package/.docs/integrations/crm/clay.md +42 -0
- package/.docs/integrations/crm/hubspot.md +41 -0
- package/.docs/integrations/databases/neon.md +37 -1
- package/.docs/integrations/databases/postgresql.md +46 -0
- package/.docs/integrations/deploy/render.md +59 -18
- package/.docs/integrations/deploy/temporal.md +74 -0
- package/.docs/integrations/documents/google-docs.md +41 -0
- package/.docs/integrations/documents/google-sheet.md +41 -0
- package/.docs/integrations/documents/microsoft-excel.md +43 -0
- package/.docs/integrations/documents/microsoft-powerpoint.md +41 -0
- package/.docs/integrations/documents/microsoft-word.md +41 -0
- package/.docs/integrations/documents/notion.md +41 -0
- package/.docs/integrations/documents/one-drive.md +41 -0
- package/.docs/integrations/documents/sharepoint-online.md +41 -0
- package/.docs/integrations/email-calendar/google-calendar.md +41 -0
- package/.docs/integrations/email-calendar/google-mail.md +41 -0
- package/.docs/integrations/email-calendar/outlook.md +41 -0
- package/.docs/integrations/file-storage/amazon-s3.md +1 -1
- package/.docs/integrations/file-storage/google-drive.md +54 -15
- package/.docs/integrations/observability/arize.md +1 -1
- package/.docs/integrations/observability/posthog.md +50 -11
- package/.docs/integrations/other/canva.md +42 -0
- package/.docs/integrations/other/fireflies.md +41 -0
- package/.docs/integrations/other/incident-io.md +41 -0
- package/.docs/integrations/other/resend.md +43 -0
- package/.docs/integrations/other/robinhood.md +44 -0
- package/.docs/integrations/other/sanity.md +42 -0
- package/.docs/integrations/other/snowflake.md +41 -0
- package/.docs/integrations/project-management/jira.md +41 -0
- package/.docs/integrations/project-management/linear.md +41 -0
- package/.docs/integrations/sandboxes/e2b.md +1 -1
- package/.docs/integrations/voice/openai.md +40 -0
- package/.docs/integrations.md +40 -1
- package/.docs/models/environment-variables.md +1 -1
- package/.docs/models/gateways/azure-openai.md +61 -2
- package/.docs/models/gateways/custom-gateways.md +2 -0
- package/.docs/models/gateways/merge-gateway.md +3 -1
- package/.docs/models/gateways/netlify.md +13 -7
- package/.docs/models/gateways/openrouter.md +13 -12
- package/.docs/models/gateways/requesty.md +221 -0
- package/.docs/models/gateways/vercel.md +423 -419
- package/.docs/models/gateways.md +7 -1
- package/.docs/models/index.md +46 -3
- package/.docs/models/providers/aiand.md +1 -1
- package/.docs/models/providers/aihubmix.md +2 -0
- package/.docs/models/providers/amazon-bedrock.md +4 -0
- package/.docs/models/providers/anthropic.md +2 -1
- package/.docs/models/providers/azure.md +4 -0
- package/.docs/models/providers/baseten.md +2 -1
- package/.docs/models/providers/chutes.md +6 -4
- package/.docs/models/providers/cloudflare-ai-gateway.md +2 -0
- package/.docs/models/providers/cloudflare-workers-ai.md +0 -13
- package/.docs/models/providers/cohere.md +2 -0
- package/.docs/models/providers/crossmodel.md +5 -1
- package/.docs/models/providers/deepinfra.md +2 -1
- package/.docs/models/providers/edenai.md +12 -13
- package/.docs/models/providers/empiriolabs.md +3 -3
- package/.docs/models/providers/fireworks-ai.md +30 -28
- package/.docs/models/providers/google-vertex.md +2 -0
- package/.docs/models/providers/google.md +4 -3
- package/.docs/models/providers/hyper.md +8 -14
- package/.docs/models/providers/inceptron.md +3 -3
- package/.docs/models/providers/kilo.md +36 -40
- package/.docs/models/providers/llmgateway-providers.md +448 -423
- package/.docs/models/providers/llmgateway.md +10 -6
- package/.docs/models/providers/meta.md +5 -4
- package/.docs/models/providers/modular.md +6 -6
- package/.docs/models/providers/morph.md +2 -1
- package/.docs/models/providers/nano-gpt.md +55 -62
- package/.docs/models/providers/novita-ai.md +4 -2
- package/.docs/models/providers/ollama-cloud.md +2 -1
- package/.docs/models/providers/ollama.md +2 -0
- package/.docs/models/providers/opencode-go.md +3 -1
- package/.docs/models/providers/opencode.md +11 -5
- package/.docs/models/providers/ovhcloud.md +1 -2
- package/.docs/models/providers/prime.md +4 -4
- package/.docs/models/providers/qvac.md +2 -0
- package/.docs/models/providers/tencent-token-plan.md +2 -1
- package/.docs/models/providers/tencent-tokenhub.md +2 -1
- package/.docs/models/providers/tinfoil.md +4 -3
- package/.docs/models/providers/togetherai.md +2 -1
- package/.docs/models/providers/wandb.md +6 -5
- package/.docs/models/providers.md +0 -1
- package/.docs/reference/agent-controller/agent-controller-class.md +4 -2
- package/.docs/reference/agent-controller/session.md +1 -1
- package/.docs/reference/agents/agent.md +3 -1
- package/.docs/reference/agents/channels.md +117 -1
- package/.docs/reference/agents/durable-agent.md +42 -29
- package/.docs/reference/agents/generate.md +1 -1
- package/.docs/reference/agents/getLLM.md +1 -1
- package/.docs/reference/agents/getMetadata.md +1 -1
- package/.docs/reference/agents/getModel.md +4 -2
- package/.docs/reference/agents/getSkill.md +1 -1
- package/.docs/reference/agents/listScorers.md +1 -1
- package/.docs/reference/agents/listTools.md +1 -1
- package/.docs/reference/ai-sdk/chat-route.md +33 -2
- package/.docs/reference/auth/better-auth.md +2 -2
- package/.docs/reference/auth/neon.md +24 -15
- package/.docs/reference/build-with-ai.md +12 -2
- package/.docs/reference/channels/slack-provider.md +1 -1
- package/.docs/reference/cli/mastra.md +10 -1
- package/.docs/reference/client-js/agents.md +4 -4
- package/.docs/reference/client-js/observability.md +90 -3
- package/.docs/reference/code-sdk/mount-agent-controller.md +5 -1
- package/.docs/reference/connect/channels.md +55 -1
- package/.docs/reference/connect/credential.md +2 -1
- package/.docs/reference/connect/providers.md +5 -3
- package/.docs/reference/connect/tools.md +34 -3
- package/.docs/reference/core/addDynamicWorkflow.md +1 -1
- package/.docs/reference/core/addGateway.md +1 -1
- package/.docs/reference/core/getAgent.md +4 -2
- package/.docs/reference/core/getEditor.md +1 -1
- package/.docs/reference/core/getGateway.md +1 -1
- package/.docs/reference/core/getGatewayById.md +14 -1
- package/.docs/reference/core/getMemory.md +2 -2
- package/.docs/reference/core/getStorage.md +1 -1
- package/.docs/reference/core/listMemory.md +3 -3
- package/.docs/reference/core/listScorers.md +2 -2
- package/.docs/reference/core/listVectors.md +1 -1
- package/.docs/reference/core/mastra-class.md +1 -1
- package/.docs/reference/evals/completeness.md +0 -1
- package/.docs/reference/evals/content-similarity.md +1 -3
- package/.docs/reference/evals/create-scorer.md +8 -4
- package/.docs/reference/evals/faithfulness.md +1 -1
- package/.docs/reference/evals/hallucination.md +2 -2
- package/.docs/reference/evals/noise-sensitivity.md +8 -1
- package/.docs/reference/evals/scorer-utils.md +1 -1
- package/.docs/reference/file-based-agents/tools.md +3 -3
- package/.docs/reference/index.md +8 -0
- package/.docs/reference/knowledge/knowledge-class.md +296 -0
- package/.docs/reference/knowledge/knowledge-memory-scopes.md +78 -0
- package/.docs/reference/knowledge/knowledge-tools.md +299 -0
- package/.docs/reference/knowledge/limits.md +44 -0
- package/.docs/reference/knowledge/scope-declarations.md +275 -0
- package/.docs/reference/knowledge/tool-instructions.md +56 -0
- package/.docs/reference/logging/pino-logger.md +1 -1
- package/.docs/reference/memory/memory-class.md +1 -1
- package/.docs/reference/memory/observational-memory.md +9 -7
- package/.docs/reference/observability/feedback.md +3 -1
- package/.docs/reference/observability/tracing/advanced-queries.md +47 -58
- package/.docs/reference/observability/tracing/configuration.md +3 -0
- package/.docs/reference/observability/tracing/exporters/mastra-platform-exporter.md +33 -0
- package/.docs/reference/observability/tracing/exporters/mastra-storage-exporter.md +30 -0
- package/.docs/reference/observability/tracing/interfaces.md +2 -0
- package/.docs/reference/processors/batch-parts-processor.md +0 -2
- package/.docs/reference/processors/message-history-processor.md +1 -1
- package/.docs/reference/processors/moderation-processor.md +1 -1
- package/.docs/reference/processors/processor-interface.md +1 -1
- package/.docs/reference/processors/semantic-recall-processor.md +8 -4
- package/.docs/reference/processors/skill-search-processor.md +3 -0
- package/.docs/reference/processors/skills-processor.md +84 -0
- package/.docs/reference/processors/stream-error-retry-processor.md +1 -1
- package/.docs/reference/processors/token-limiter-processor.md +1 -1
- package/.docs/reference/processors/tool-search-processor.md +1 -1
- package/.docs/reference/pubsub/lease-provider.md +4 -2
- package/.docs/reference/pubsub/redis-streams.md +3 -1
- package/.docs/reference/rag/graph-rag.md +2 -2
- package/.docs/reference/rag/rerank.md +1 -1
- package/.docs/reference/rag/rerankWithScorer.md +1 -1
- package/.docs/reference/schedules/overview.md +3 -3
- package/.docs/reference/server/invoke-route.md +86 -0
- package/.docs/reference/server/koa-adapter.md +1 -1
- package/.docs/reference/server/routes.md +63 -0
- package/.docs/reference/streaming/ChunkType.md +3 -1
- package/.docs/reference/streaming/agents/MastraModelOutput.md +13 -12
- package/.docs/reference/streaming/agents/stream.md +1 -1
- package/.docs/reference/streaming/workflows/resumeStream.md +1 -1
- package/.docs/reference/tools/mcp-client.md +30 -7
- package/.docs/reference/tools/mcp-server.md +6 -2
- package/.docs/reference/tools/vector-query-tool.md +3 -3
- package/.docs/reference/workers/overview.md +2 -2
- package/.docs/reference/workflows/run-methods/resume.md +1 -1
- package/.docs/reference/workflows/run-methods/start.md +1 -1
- package/.docs/reference/workflows/run-methods/timeTravel.md +1 -1
- package/.docs/reference/workflows/run.md +1 -1
- package/.docs/reference/workflows/workflow.md +2 -0
- package/.docs/reference/workspace/factory-sandbox.md +24 -8
- package/.docs/reference/workspace/platform-sandbox.md +22 -7
- package/.docs/reference/workspace/sandbox.md +1 -1
- package/.docs/reference/workspace/workspace-class.md +5 -5
- package/dist/index.js +1 -1
- package/dist/{src-BDrEqwuY.js → src-CwUXyWAK.js} +3 -3
- package/dist/src-CwUXyWAK.js.map +1 -0
- package/dist/stdio.js +1 -1
- package/dist/tools/embedded-docs.d.ts.map +1 -1
- package/package.json +4 -5
- package/.docs/docs/mastra-platform/connect/channels.md +0 -165
- package/.docs/docs/mastra-platform/connect/overview.md +0 -102
- package/.docs/docs/mastra-platform/connect/providers.md +0 -66
- package/.docs/docs/mastra-platform/connect/tools.md +0 -151
- package/.docs/models/providers/requesty.md +0 -261
- package/dist/src-BDrEqwuY.js.map +0 -1
package/.docs/models/gateways.md
CHANGED
|
@@ -10,12 +10,18 @@ Gateway providers aggregate multiple model providers and add features like cachi
|
|
|
10
10
|
|
|
11
11
|
Create custom gateways for private LLM deployments or specialized provider integrations. See [Custom Gateways](https://mastra.ai/models/gateways/custom-gateways) for implementation details.
|
|
12
12
|
|
|
13
|
+
## Gateways you register yourself
|
|
14
|
+
|
|
15
|
+
These gateways aren't registered by default. Pass them to `new Mastra({ gateways })`. Their model IDs only resolve for agents registered on that instance.
|
|
16
|
+
|
|
17
|
+
- [Azure OpenAI](https://mastra.ai/models/gateways/azure-openai): Private Azure OpenAI deployments, registered with `AzureOpenAIGateway`
|
|
18
|
+
|
|
13
19
|
## Built-in gateways
|
|
14
20
|
|
|
15
|
-
- [Azure OpenAI](https://mastra.ai/models/gateways/azure-openai)
|
|
16
21
|
- [Mastra](https://mastra.ai/models/gateways/mastra)
|
|
17
22
|
- [Merge Gateway](https://mastra.ai/models/gateways/merge-gateway)
|
|
18
23
|
- [Neon](https://mastra.ai/models/gateways/neon)
|
|
19
24
|
- [Netlify](https://mastra.ai/models/gateways/netlify)
|
|
20
25
|
- [OpenRouter](https://mastra.ai/models/gateways/openrouter)
|
|
26
|
+
- [Requesty](https://mastra.ai/models/gateways/requesty)
|
|
21
27
|
- [Vercel](https://mastra.ai/models/gateways/vercel)
|
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 8285 models from 223 providers through a single API.
|
|
8
8
|
|
|
9
9
|
## Features
|
|
10
10
|
|
|
@@ -352,7 +352,51 @@ const agent = new Agent({
|
|
|
352
352
|
})
|
|
353
353
|
```
|
|
354
354
|
|
|
355
|
-
When `api` is omitted it defaults to `"chat"`, so existing configurations are unchanged.
|
|
355
|
+
When `api` is omitted it defaults to `"chat"`, so existing configurations are unchanged.
|
|
356
|
+
|
|
357
|
+
### Provider options for custom endpoints
|
|
358
|
+
|
|
359
|
+
The `providerOptions` key that reaches a custom endpoint depends on the API it uses.
|
|
360
|
+
|
|
361
|
+
On the default Chat Completions path, use the first segment of the model `id` as the key. For `id: "lmstudio/qwen/qwen3-30b-a3b-2507"`, the key is `lmstudio`, and for `id: "openrouter/google/gemini-2.5-flash"`, it's `openrouter`. A camelCase form also works, for example `myServer` for `id: "my-server/my-model"`. If the segment contains a period, use the part before the first period.
|
|
362
|
+
|
|
363
|
+
The exception is an `id` that starts with the prefix of an enabled gateway, where the key is the segment after the prefix. Netlify's gateway is always enabled, so for `id: "netlify/openai/gpt-4o"`, the key is `openai`. When `MASTRA_GATEWAY_API_KEY` is set or a `MastraGateway` with an API key is configured, `id: "mastra/google/gemini-2.5-flash"` uses `google`.
|
|
364
|
+
|
|
365
|
+
Typed options such as `reasoningEffort` are mapped to their request field (`reasoning_effort`). Other keys, such as `parallel_tool_calls`, are copied into the request body as written. They replace any field of the same name that the AI SDK sets before them, including `model`, `temperature` from `modelSettings`, and the structured-output `response_format`. `reasoning_effort`, `verbosity`, `messages`, `tools`, and `tool_choice` are set after them, as are `stream` and `stream_options` when streaming, so those can't be replaced this way. Use `reasoningEffort` and `textVerbosity` instead of the first two.
|
|
366
|
+
|
|
367
|
+
```typescript
|
|
368
|
+
import { Agent } from "@mastra/core/agent";
|
|
369
|
+
|
|
370
|
+
const agent = new Agent({
|
|
371
|
+
id: "my-agent",
|
|
372
|
+
name: "My Agent",
|
|
373
|
+
instructions: "You are a helpful assistant",
|
|
374
|
+
model: {
|
|
375
|
+
id: "lmstudio/qwen/qwen3-30b-a3b-2507",
|
|
376
|
+
url: "http://localhost:1234/v1"
|
|
377
|
+
}
|
|
378
|
+
})
|
|
379
|
+
```
|
|
380
|
+
|
|
381
|
+
Pass the options under `lmstudio` when you call the agent:
|
|
382
|
+
|
|
383
|
+
```typescript
|
|
384
|
+
const response = await agent.generate("Hello", {
|
|
385
|
+
providerOptions: {
|
|
386
|
+
lmstudio: {
|
|
387
|
+
reasoningEffort: "low",
|
|
388
|
+
parallel_tool_calls: false
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
})
|
|
392
|
+
```
|
|
393
|
+
|
|
394
|
+
Other keys behave differently unless they match the key from the `id`:
|
|
395
|
+
|
|
396
|
+
- `openaiCompatible`: Applies only the typed options `user`, `reasoningEffort`, `textVerbosity`, and `strictJsonSchema`. Other keys under it are dropped. The `openai-compatible` spelling is deprecated. It still works but adds a warning to the result.
|
|
397
|
+
- `openai`: Ignored on the Chat Completions path, unless `openai` is itself the key from the `id`, as in `openai/my-model` or `openai.foo/my-model`. Then it works as described above. With `api: "responses"`, only `openai` applies, whatever the `id` prefix. On that path it takes only the OpenAI provider's typed options, such as `parallelToolCalls`, and other keys, such as `parallel_tool_calls`, are dropped.
|
|
398
|
+
|
|
399
|
+
Options under a key that doesn't apply are dropped without a warning. If an option has no effect on the request, check the key first.
|
|
356
400
|
|
|
357
401
|
## Use AI SDK with Mastra
|
|
358
402
|
|
|
@@ -532,7 +576,6 @@ Every provider below works with the model router as `provider/model`. Read the p
|
|
|
532
576
|
- [Qiniu](https://mastra.ai/models/providers/qiniu-ai)
|
|
533
577
|
- [Reflection](https://mastra.ai/models/providers/reflection)
|
|
534
578
|
- [Regolo AI](https://mastra.ai/models/providers/regolo-ai)
|
|
535
|
-
- [Requesty](https://mastra.ai/models/providers/requesty)
|
|
536
579
|
- [routing.run](https://mastra.ai/models/providers/routing-run)
|
|
537
580
|
- [RunInfra](https://mastra.ai/models/providers/runinfra)
|
|
538
581
|
- [Sakana AI](https://mastra.ai/models/providers/sakana)
|
|
@@ -39,11 +39,11 @@ for await (const chunk of stream) {
|
|
|
39
39
|
| Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
|
|
40
40
|
| -------------------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
41
41
|
| `aiand/deepseek-ai/deepseek-v4-pro` | 1.0M | | | | | | $1 | $3 |
|
|
42
|
-
| `aiand/deepseek-ai/deepseek-v4.1-flash` | 1.0M | | | | | | $0.30 | $0.60 |
|
|
43
42
|
| `aiand/deepseek-ai/deepseek-v4.1-flash-1017` | 1.0M | | | | | | $0.30 | $0.60 |
|
|
44
43
|
| `aiand/google/gemma-4-31b-it` | 262K | | | | | | $0.20 | $0.50 |
|
|
45
44
|
| `aiand/meta/muse-spark-open` | 1.0M | | | | | | $1 | $4 |
|
|
46
45
|
| `aiand/moonshotai/kimi-k3` | 1.0M | | | | | | $3 | $13 |
|
|
46
|
+
| `aiand/moonshotai/kimi-k3.1-pro` | 1.0M | | | | | | $2 | $10 |
|
|
47
47
|
| `aiand/motif-technologies/motif-3` | 262K | | | | | | $0.50 | $2 |
|
|
48
48
|
| `aiand/openai/gpt-oss-120b` | 131K | | | | | | $0.15 | $0.60 |
|
|
49
49
|
| `aiand/qwen/qwen3.6-27b` | 262K | | | | | | $0.32 | $3 |
|
|
@@ -8,6 +8,8 @@ AIHubMix is available through the AI SDK. Install the provider package to use th
|
|
|
8
8
|
|
|
9
9
|
For detailed provider-specific documentation, see the [AI SDK AIHubMix provider docs](https://ai-sdk.dev/providers/community-providers/aihubmix).
|
|
10
10
|
|
|
11
|
+
AIHubMix isn't a model router provider, so model strings like `aihubmix/<model>` don't resolve. Pass a model instance from `@aihubmix/ai-sdk-provider` to the agent's `model` option instead.
|
|
12
|
+
|
|
11
13
|
To use this provider with Mastra agents, see the [Agent Overview documentation](https://mastra.ai/docs/agents/overview).
|
|
12
14
|
|
|
13
15
|
## Installation
|
|
@@ -8,6 +8,10 @@ Amazon Bedrock is available through the AI SDK. Install the provider package to
|
|
|
8
8
|
|
|
9
9
|
For detailed provider-specific documentation, see the [AI SDK Amazon Bedrock provider docs](https://ai-sdk.dev/providers/ai-sdk-providers/amazon-bedrock).
|
|
10
10
|
|
|
11
|
+
Amazon Bedrock isn't a model router provider, so model strings like `amazon-bedrock/<model>` don't resolve. Pass a model instance from `@ai-sdk/amazon-bedrock` to the agent's `model` option instead.
|
|
12
|
+
|
|
13
|
+
To use Bedrock models through a model router string, use the full ID that [LLM Gateway](https://mastra.ai/models/providers/llmgateway-providers) lists, including its provider prefix, for example `llmgateway-providers/aws-bedrock/claude-opus-4-6`. Dropping the `llmgateway-providers/` prefix leaves an ID that doesn't resolve.
|
|
14
|
+
|
|
11
15
|
To use this provider with Mastra agents, see the [Agent Overview documentation](https://mastra.ai/docs/agents/overview).
|
|
12
16
|
|
|
13
17
|
## Installation
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# Anthropic
|
|
6
6
|
|
|
7
|
-
Access
|
|
7
|
+
Access 18 Anthropic models through Mastra's model router. Authentication is handled automatically using the `ANTHROPIC_API_KEY` environment variable.
|
|
8
8
|
|
|
9
9
|
Learn more in the [Anthropic documentation](https://docs.anthropic.com/en/docs/about-claude/models).
|
|
10
10
|
|
|
@@ -38,6 +38,7 @@ for await (const chunk of stream) {
|
|
|
38
38
|
| -------------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
39
39
|
| `anthropic/claude-fable-5` | 1.0M | | | | | | $10 | $50 |
|
|
40
40
|
| `anthropic/claude-fable-5-1` | 1.0M | | | | | | $10 | $50 |
|
|
41
|
+
| `anthropic/claude-fable-5-2` | 1.0M | | | | | | $8 | $40 |
|
|
41
42
|
| `anthropic/claude-haiku-4-5` | 200K | | | | | | $1 | $5 |
|
|
42
43
|
| `anthropic/claude-haiku-4-5-20251001` | 200K | | | | | | $1 | $5 |
|
|
43
44
|
| `anthropic/claude-haiku-5-5` | 1.0M | | | | | | $0.10 | $0.50 |
|
|
@@ -8,6 +8,10 @@ Azure is available through the AI SDK. Install the provider package to use their
|
|
|
8
8
|
|
|
9
9
|
For detailed provider-specific documentation, see the [AI SDK Azure provider docs](https://ai-sdk.dev/providers/ai-sdk-providers/azure).
|
|
10
10
|
|
|
11
|
+
Azure isn't a model router provider, so model strings like `azure/<model>` don't resolve. Pass a model instance from `@ai-sdk/azure` to the agent's `model` option instead.
|
|
12
|
+
|
|
13
|
+
Some router providers serve Azure-hosted models, for example `llmgateway-providers/azure/gpt-5.4` from [LLM Gateway](https://mastra.ai/models/providers/llmgateway-providers) and `edenai/azure/gpt-4.1-nano` from [Eden AI](https://mastra.ai/models/providers/edenai). Use the full ID the provider lists, including its prefix. Dropping the prefix leaves an `azure/...` ID that doesn't resolve. To use your own Azure OpenAI deployments through the model router, register the [Azure OpenAI gateway](https://mastra.ai/models/gateways/azure-openai).
|
|
14
|
+
|
|
11
15
|
To use this provider with Mastra agents, see the [Agent Overview documentation](https://mastra.ai/docs/agents/overview).
|
|
12
16
|
|
|
13
17
|
## Installation
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# Baseten
|
|
6
6
|
|
|
7
|
-
Access
|
|
7
|
+
Access 15 Baseten models through Mastra's model router. Authentication is handled automatically using the `BASETEN_API_KEY` environment variable.
|
|
8
8
|
|
|
9
9
|
Learn more in the [Baseten documentation](https://docs.baseten.co).
|
|
10
10
|
|
|
@@ -45,6 +45,7 @@ for await (const chunk of stream) {
|
|
|
45
45
|
| `baseten/deepseek-ai/DeepSeek-V4.1-Flash-1017-Fast` | 1.0M | | | | | | $0.60 | $2 |
|
|
46
46
|
| `baseten/deepseek-ai/DeepSeek-V4.1-Flash-Fast` | 1.0M | | | | | | $0.60 | $2 |
|
|
47
47
|
| `baseten/moonshotai/Kimi-K3` | 1.0M | | | | | | $3 | $15 |
|
|
48
|
+
| `baseten/moonshotai/Kimi-K3.1-Pro` | 1.0M | | | | | | $2 | $10 |
|
|
48
49
|
| `baseten/nvidia/NVIDIA-Nemotron-3-Ultra-550B-A55B` | 203K | | | | | | $0.60 | $2 |
|
|
49
50
|
| `baseten/openai/gpt-oss-120b` | 128K | | | | | | $0.10 | $0.50 |
|
|
50
51
|
| `baseten/zai-org/GLM-5.2` | 1.0M | | | | | | $1 | $4 |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# Chutes
|
|
6
6
|
|
|
7
|
-
Access
|
|
7
|
+
Access 19 Chutes models through Mastra's model router. Authentication is handled automatically using the `CHUTES_API_KEY` environment variable.
|
|
8
8
|
|
|
9
9
|
Learn more in the [Chutes documentation](https://llm.chutes.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: "chutes/Qwen/Qwen3.5-
|
|
22
|
+
model: "chutes/Qwen/Qwen3.5-27B-TEE"
|
|
23
23
|
});
|
|
24
24
|
|
|
25
25
|
// Generate a response
|
|
@@ -46,11 +46,13 @@ for await (const chunk of stream) {
|
|
|
46
46
|
| `chutes/moonshotai/Kimi-K2.6-TEE` | 262K | | | | | | $0.39 | $2 |
|
|
47
47
|
| `chutes/moonshotai/Kimi-K2.7-Code` | — | | | | | | — | — |
|
|
48
48
|
| `chutes/moonshotai/Kimi-K3-TEE` | 1.0M | | | | | | $2 | $10 |
|
|
49
|
+
| `chutes/Qwen/Qwen3.5-27B-TEE` | 262K | | | | | | $0.20 | $2 |
|
|
49
50
|
| `chutes/Qwen/Qwen3.5-397B-A17B-TEE` | 262K | | | | | | $0.45 | $3 |
|
|
50
51
|
| `chutes/Qwen/Qwen3.6-27B-TEE` | 262K | | | | | | $0.25 | $2 |
|
|
51
52
|
| `chutes/Qwen/Qwen3.8-2.4T-A95B` | — | | | | | | — | — |
|
|
52
53
|
| `chutes/Qwen/Qwen3.8-27B-TEE` | 262K | | | | | | $0.04 | $1 |
|
|
53
54
|
| `chutes/Qwen/Qwen3.8-Max-0902` | — | | | | | | — | — |
|
|
55
|
+
| `chutes/tencent/Hy4` | — | | | | | | — | — |
|
|
54
56
|
| `chutes/zai-org/GLM-5.1-TEE` | 203K | | | | | | $0.90 | $3 |
|
|
55
57
|
| `chutes/zai-org/GLM-5.2-Fast` | — | | | | | | — | — |
|
|
56
58
|
| `chutes/zai-org/GLM-5.2-TEE` | 1.0M | | | | | | $1 | $4 |
|
|
@@ -70,7 +72,7 @@ const agent = new Agent({
|
|
|
70
72
|
name: "custom-agent",
|
|
71
73
|
model: {
|
|
72
74
|
url: "https://llm.chutes.ai/v1",
|
|
73
|
-
id: "chutes/Qwen/Qwen3.5-
|
|
75
|
+
id: "chutes/Qwen/Qwen3.5-27B-TEE",
|
|
74
76
|
apiKey: process.env.CHUTES_API_KEY,
|
|
75
77
|
headers: {
|
|
76
78
|
"X-Custom-Header": "value"
|
|
@@ -91,7 +93,7 @@ const agent = new Agent({
|
|
|
91
93
|
const useAdvanced = requestContext.task === "complex";
|
|
92
94
|
return useAdvanced
|
|
93
95
|
? "chutes/zai-org/GLM-5.3"
|
|
94
|
-
: "chutes/Qwen/Qwen3.5-
|
|
96
|
+
: "chutes/Qwen/Qwen3.5-27B-TEE";
|
|
95
97
|
}
|
|
96
98
|
});
|
|
97
99
|
```
|
|
@@ -8,6 +8,8 @@ Cloudflare AI Gateway is available through the AI SDK. Install the provider pack
|
|
|
8
8
|
|
|
9
9
|
For detailed provider-specific documentation, see the [AI SDK Cloudflare AI Gateway provider docs](https://ai-sdk.dev/providers/community-providers/cloudflare-ai-gateway).
|
|
10
10
|
|
|
11
|
+
Cloudflare AI Gateway isn't a model router provider, so model strings like `cloudflare-ai-gateway/<model>` don't resolve. Pass a model instance from `ai-gateway-provider` to the agent's `model` option instead.
|
|
12
|
+
|
|
11
13
|
To use this provider with Mastra agents, see the [Agent Overview documentation](https://mastra.ai/docs/agents/overview).
|
|
12
14
|
|
|
13
15
|
## Installation
|
|
@@ -40,33 +40,20 @@ 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/deepseek-ai/deepseek-r1-distill-qwen-32b` | 80K | | | | | | $0.50 | $5 |
|
|
44
|
-
| `cloudflare-workers-ai/@cf/deepseek-ai/deepseek-v4-flash-0731` | 1.0M | | | | | | $0.44 | $1 |
|
|
45
|
-
| `cloudflare-workers-ai/@cf/deepseek-ai/deepseek-v4-pro-0813` | 1.0M | | | | | | $1 | $4 |
|
|
46
43
|
| `cloudflare-workers-ai/@cf/deepseek-ai/deepseek-v4.1-flash-1017` | 1.0M | | | | | | $0.30 | $1 |
|
|
47
44
|
| `cloudflare-workers-ai/@cf/google/gemma-4-26b-a4b-it` | 256K | | | | | | $0.10 | $0.30 |
|
|
48
45
|
| `cloudflare-workers-ai/@cf/ibm-granite/granite-4.0-h-micro` | 131K | | | | | | $0.02 | $0.11 |
|
|
49
|
-
| `cloudflare-workers-ai/@cf/meta/llama-3.1-8b-instruct-fp8` | 32K | | | | | | $0.15 | $0.29 |
|
|
50
46
|
| `cloudflare-workers-ai/@cf/meta/llama-3.2-11b-vision-instruct` | 128K | | | | | | $0.05 | $0.68 |
|
|
51
|
-
| `cloudflare-workers-ai/@cf/meta/llama-3.2-1b-instruct` | 60K | | | | | | $0.03 | $0.20 |
|
|
52
|
-
| `cloudflare-workers-ai/@cf/meta/llama-3.2-3b-instruct` | 80K | | | | | | $0.05 | $0.34 |
|
|
53
47
|
| `cloudflare-workers-ai/@cf/meta/llama-3.3-70b-instruct-fp8-fast` | 24K | | | | | | $0.29 | $2 |
|
|
54
48
|
| `cloudflare-workers-ai/@cf/meta/llama-4-scout-17b-16e-instruct` | 131K | | | | | | $0.27 | $0.85 |
|
|
55
49
|
| `cloudflare-workers-ai/@cf/meta/llama-guard-3-8b` | 131K | | | | | | $0.48 | $0.03 |
|
|
56
50
|
| `cloudflare-workers-ai/@cf/mistralai/mistral-small-3.1-24b-instruct` | 128K | | | | | | $0.35 | $0.56 |
|
|
57
|
-
| `cloudflare-workers-ai/@cf/moonshotai/kimi-k2.6` | 262K | | | | | | $0.95 | $4 |
|
|
58
|
-
| `cloudflare-workers-ai/@cf/moonshotai/kimi-k2.7-code` | 262K | | | | | | $0.95 | $4 |
|
|
59
|
-
| `cloudflare-workers-ai/@cf/nvidia/nemotron-3-120b-a12b` | 256K | | | | | | $0.50 | $2 |
|
|
60
51
|
| `cloudflare-workers-ai/@cf/openai/gpt-oss-120b` | 128K | | | | | | $0.35 | $0.75 |
|
|
61
52
|
| `cloudflare-workers-ai/@cf/openai/gpt-oss-20b` | 128K | | | | | | $0.20 | $0.30 |
|
|
62
53
|
| `cloudflare-workers-ai/@cf/qwen/qwen2.5-coder-32b-instruct` | 33K | | | | | | $0.66 | $1 |
|
|
63
|
-
| `cloudflare-workers-ai/@cf/qwen/qwen3-30b-a3b-fp8` | 33K | | | | | | $0.05 | $0.34 |
|
|
64
54
|
| `cloudflare-workers-ai/@cf/qwen/qwen3.8-27b` | 262K | | | | | | $0.45 | $3 |
|
|
65
|
-
| `cloudflare-workers-ai/@cf/qwen/qwq-32b` | 24K | | | | | | $0.66 | $1 |
|
|
66
55
|
| `cloudflare-workers-ai/@cf/zai-org/glm-4.7-flash` | 131K | | | | | | $0.06 | $0.40 |
|
|
67
|
-
| `cloudflare-workers-ai/@cf/zai-org/glm-5.2` | 262K | | | | | | $1 | $4 |
|
|
68
56
|
| `cloudflare-workers-ai/@cf/zai-org/glm-5.3` | 1.0M | | | | | | $1 | $4 |
|
|
69
|
-
| `cloudflare-workers-ai/@cf/zai-org/glm-5.3-flash` | 1.0M | | | | | | $0.15 | $0.50 |
|
|
70
57
|
|
|
71
58
|
Model availability, capabilities, context windows, and pricing are sourced from [models.dev](https://models.dev) and may change.
|
|
72
59
|
|
|
@@ -8,6 +8,8 @@ Cohere is available through the AI SDK. Install the provider package to use thei
|
|
|
8
8
|
|
|
9
9
|
For detailed provider-specific documentation, see the [AI SDK Cohere provider docs](https://ai-sdk.dev/providers/ai-sdk-providers/cohere).
|
|
10
10
|
|
|
11
|
+
Cohere isn't a model router provider, so model strings like `cohere/<model>` don't resolve. Pass a model instance from `@ai-sdk/cohere` to the agent's `model` option instead.
|
|
12
|
+
|
|
11
13
|
To use this provider with Mastra agents, see the [Agent Overview documentation](https://mastra.ai/docs/agents/overview).
|
|
12
14
|
|
|
13
15
|
## Installation
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# CrossModel
|
|
6
6
|
|
|
7
|
-
Access
|
|
7
|
+
Access 72 CrossModel models through Mastra's model router. Authentication is handled automatically using the `CROSSMODEL_API_KEY` environment variable.
|
|
8
8
|
|
|
9
9
|
Learn more in the [CrossModel documentation](https://www.crossmodel.ai/docs).
|
|
10
10
|
|
|
@@ -40,6 +40,7 @@ for await (const chunk of stream) {
|
|
|
40
40
|
| ------------------------------------------ | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
41
41
|
| `crossmodel/anthropic/claude-fable-5` | 1.0M | | | | | | $10 | $50 |
|
|
42
42
|
| `crossmodel/anthropic/claude-fable-5-1` | 1.0M | | | | | | $10 | $50 |
|
|
43
|
+
| `crossmodel/anthropic/claude-fable-5-2` | 1.0M | | | | | | $8 | $40 |
|
|
43
44
|
| `crossmodel/anthropic/claude-haiku-4-5` | 200K | | | | | | $1 | $5 |
|
|
44
45
|
| `crossmodel/anthropic/claude-haiku-5-5` | 1.0M | | | | | | $0.10 | $0.50 |
|
|
45
46
|
| `crossmodel/anthropic/claude-opus-4-7` | 1.0M | | | | | | $5 | $25 |
|
|
@@ -67,6 +68,7 @@ for await (const chunk of stream) {
|
|
|
67
68
|
| `crossmodel/moonshot/kimi-k2.6` | 262K | | | | | | $1 | $4 |
|
|
68
69
|
| `crossmodel/moonshot/kimi-k2.7-code` | 262K | | | | | | $1 | $4 |
|
|
69
70
|
| `crossmodel/moonshot/kimi-k3` | 1.0M | | | | | | $3 | $15 |
|
|
71
|
+
| `crossmodel/moonshot/kimi-k3.1-pro` | 1.0M | | | | | | $2 | $10 |
|
|
70
72
|
| `crossmodel/openai/gpt-4o-mini` | 128K | | | | | | $0.15 | $0.60 |
|
|
71
73
|
| `crossmodel/openai/gpt-5.4` | 1.1M | | | | | | $3 | $15 |
|
|
72
74
|
| `crossmodel/openai/gpt-5.4-mini` | 400K | | | | | | $0.75 | $5 |
|
|
@@ -80,6 +82,7 @@ for await (const chunk of stream) {
|
|
|
80
82
|
| `crossmodel/openai/gpt-6-luna` | 1.1M | | | | | | $0.10 | $0.50 |
|
|
81
83
|
| `crossmodel/openai/gpt-6-sol` | 1.1M | | | | | | $2 | $10 |
|
|
82
84
|
| `crossmodel/openai/gpt-6.1-sol` | 1.1M | | | | | | $2 | $10 |
|
|
85
|
+
| `crossmodel/openai/gpt-6.1-terra` | 1.1M | | | | | | $1 | $5 |
|
|
83
86
|
| `crossmodel/qwen/qwen3.6-flash` | 1.0M | | | | | | $0.19 | $1 |
|
|
84
87
|
| `crossmodel/qwen/qwen3.6-plus` | 1.0M | | | | | | $0.32 | $2 |
|
|
85
88
|
| `crossmodel/qwen/qwen3.7-flash` | 1.0M | | | | | | $0.04 | $0.13 |
|
|
@@ -89,6 +92,7 @@ for await (const chunk of stream) {
|
|
|
89
92
|
| `crossmodel/qwen/qwen3.8-max` | 1.0M | | | | | | $2 | $6 |
|
|
90
93
|
| `crossmodel/qwen/qwen3.8-omni-flash` | 1.0M | | | | | | $0.13 | $0.43 |
|
|
91
94
|
| `crossmodel/tencent/hy3` | 262K | | | | | | $0.16 | $0.64 |
|
|
95
|
+
| `crossmodel/tencent/hy4` | 1.0M | | | | | | $0.96 | $3 |
|
|
92
96
|
| `crossmodel/tencent/hy4-preview` | 1.0M | | | | | | $0.96 | $3 |
|
|
93
97
|
| `crossmodel/x-ai/grok-4.3` | 1.0M | | | | | | $1 | $3 |
|
|
94
98
|
| `crossmodel/x-ai/grok-4.5` | 500K | | | | | | $2 | $6 |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# Deep Infra
|
|
6
6
|
|
|
7
|
-
Access
|
|
7
|
+
Access 78 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
|
|
|
@@ -63,6 +63,7 @@ for await (const chunk of stream) {
|
|
|
63
63
|
| `deepinfra/mistralai/Mistral-Small-24B-Instruct-2501` | 33K | | | | | | $0.05 | $0.08 |
|
|
64
64
|
| `deepinfra/moonshotai/Kimi-K2.6` | 262K | | | | | | $0.75 | $4 |
|
|
65
65
|
| `deepinfra/moonshotai/Kimi-K3` | 1.0M | | | | | | $3 | $14 |
|
|
66
|
+
| `deepinfra/moonshotai/Kimi-K3.1-Pro` | 1.0M | | | | | | $2 | $10 |
|
|
66
67
|
| `deepinfra/openai/gpt-oss-120b` | 131K | | | | | | $0.04 | $0.17 |
|
|
67
68
|
| `deepinfra/openai/gpt-oss-20b` | 131K | | | | | | $0.03 | $0.14 |
|
|
68
69
|
| `deepinfra/Qwen/Qwen3-235B-A22B-Instruct-2507` | 262K | | | | | | $0.09 | $0.55 |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# Eden AI
|
|
6
6
|
|
|
7
|
-
Access
|
|
7
|
+
Access 387 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
|
|
|
@@ -65,7 +65,8 @@ for await (const chunk of stream) {
|
|
|
65
65
|
| `edenai/amazon/zai.glm-4.7-flash@us` | 203K | | | | | | $0.07 | $0.40 |
|
|
66
66
|
| `edenai/anthropic/claude-fable-5` | 1.0M | | | | | | $10 | $50 |
|
|
67
67
|
| `edenai/anthropic/claude-fable-5-1` | 1.0M | | | | | | $10 | $50 |
|
|
68
|
-
| `edenai/anthropic/claude-fable-
|
|
68
|
+
| `edenai/anthropic/claude-fable-5-2` | 1.0M | | | | | | $8 | $40 |
|
|
69
|
+
| `edenai/anthropic/claude-fable-latest` | 1.0M | | | | | | $8 | $40 |
|
|
69
70
|
| `edenai/anthropic/claude-haiku-5-5` | 1.0M | | | | | | $0.10 | $0.50 |
|
|
70
71
|
| `edenai/anthropic/claude-haiku-latest` | 1.0M | | | | | | $0.10 | $0.50 |
|
|
71
72
|
| `edenai/anthropic/claude-opus-4-5` | 200K | | | | | | $5 | $25 |
|
|
@@ -83,14 +84,10 @@ for await (const chunk of stream) {
|
|
|
83
84
|
| `edenai/arkanecloud/deepseek-ai/DeepSeek-V4-Flash-0731` | 1.0M | | | | | | $0.20 | $0.40 |
|
|
84
85
|
| `edenai/arkanecloud/deepseek-ai/DeepSeek-V4.1-Flash` | 1.0M | | | | | | $0.30 | $1 |
|
|
85
86
|
| `edenai/arkanecloud/deepseek-ai/DeepSeek-V4.1-Flash-1017` | 1.0M | | | | | | $0.30 | $1 |
|
|
86
|
-
| `edenai/arkanecloud/meta-llama/Llama-3.1-70B-Instruct` | 131K | | | | | | $0.80 | $0.80 |
|
|
87
|
-
| `edenai/arkanecloud/meta-llama/Llama-3.1-8B-Instruct` | 131K | | | | | | $0.15 | $0.15 |
|
|
88
|
-
| `edenai/arkanecloud/meta-llama/Llama-3.3-70B-Instruct` | 128K | | | | | | $0.70 | $0.70 |
|
|
89
87
|
| `edenai/arkanecloud/ministral-14b` | 33K | | | | | | $0.15 | $0.15 |
|
|
90
88
|
| `edenai/arkanecloud/nvidia/nemotron-3-super-120b-a12b` | 256K | | | | | | $0.40 | $0.80 |
|
|
91
89
|
| `edenai/arkanecloud/nvidia/nemotron-3-ultra-550b-a55b` | 512K | | | | | | $0.60 | $4 |
|
|
92
90
|
| `edenai/arkanecloud/openai/gpt-oss-120b` | 131K | | | | | | $0.15 | $0.60 |
|
|
93
|
-
| `edenai/arkanecloud/openai/gpt-oss-20b` | 131K | | | | | | $0.07 | $0.25 |
|
|
94
91
|
| `edenai/arkanecloud/Qwen/Qwen3-235B-A22B-Instruct-2507` | 262K | | | | | | $0.25 | $1 |
|
|
95
92
|
| `edenai/azure/gpt-4.1-nano` | 1.0M | | | | | | $0.10 | $0.40 |
|
|
96
93
|
| `edenai/azure/gpt-4.1-nano@eu` | 1.0M | | | | | | $0.11 | $0.44 |
|
|
@@ -116,7 +113,6 @@ for await (const chunk of stream) {
|
|
|
116
113
|
| `edenai/cohere/command-r-08-2024` | 128K | | | | | | $0.15 | $0.60 |
|
|
117
114
|
| `edenai/cohere/command-r-plus-08-2024` | 128K | | | | | | $3 | $10 |
|
|
118
115
|
| `edenai/cohere/command-r7b-12-2024` | 132K | | | | | | $0.04 | $0.15 |
|
|
119
|
-
| `edenai/databricks/databricks-deepseek-v4-flash-0731` | 1.0M | | | | | | $0.14 | $0.28 |
|
|
120
116
|
| `edenai/databricks/databricks-gpt-oss-120b` | 131K | | | | | | $0.15 | $0.60 |
|
|
121
117
|
| `edenai/databricks/databricks-gpt-oss-120b@eu` | 131K | | | | | | $0.15 | $0.60 |
|
|
122
118
|
| `edenai/databricks/databricks-gpt-oss-20b` | 131K | | | | | | $0.07 | $0.30 |
|
|
@@ -149,7 +145,7 @@ for await (const chunk of stream) {
|
|
|
149
145
|
| `edenai/deepinfra/mistralai/Mixtral-8x7B-Instruct-v0.1` | 33K | | | | | | $0.40 | $0.40 |
|
|
150
146
|
| `edenai/deepinfra/moonshotai/Kimi-K2-Instruct` | 131K | | | | | | $0.50 | $2 |
|
|
151
147
|
| `edenai/deepinfra/moonshotai/Kimi-K2.5` | 262K | | | | | | $0.45 | $2 |
|
|
152
|
-
| `edenai/deepinfra/nemotron-3-super-120b-a12b` | 262K | | | | | | $0.
|
|
148
|
+
| `edenai/deepinfra/nemotron-3-super-120b-a12b` | 262K | | | | | | $0.07 | $0.40 |
|
|
153
149
|
| `edenai/deepinfra/nemotron-3-ultra-550b-a55b` | 262K | | | | | | $0.50 | $2 |
|
|
154
150
|
| `edenai/deepinfra/NousResearch/Hermes-3-Llama-3.1-405B` | 131K | | | | | | $1 | $1 |
|
|
155
151
|
| `edenai/deepinfra/NousResearch/Hermes-3-Llama-3.1-70B` | 131K | | | | | | $0.70 | $0.70 |
|
|
@@ -209,6 +205,7 @@ for await (const chunk of stream) {
|
|
|
209
205
|
| `edenai/google/gemini-3.7-flash` | 1.0M | | | | | | $2 | $8 |
|
|
210
206
|
| `edenai/google/gemini-3.8-flash` | 1.0M | | | | | | $2 | $8 |
|
|
211
207
|
| `edenai/google/gemini-4-argon` | 1.0M | | | | | | $4 | $20 |
|
|
208
|
+
| `edenai/google/gemini-4-carbon` | 1.0M | | | | | | $2 | $10 |
|
|
212
209
|
| `edenai/google/gemini-flash-latest` | 1.0M | | | | | | $2 | $8 |
|
|
213
210
|
| `edenai/google/gemini-nano-banana-2.1` | 66K | | | | | | $2 | $8 |
|
|
214
211
|
| `edenai/google/gemini-pro-latest` | 1.0M | | | | | | $4 | $20 |
|
|
@@ -227,7 +224,7 @@ for await (const chunk of stream) {
|
|
|
227
224
|
| `edenai/infomaniak/mistralai/Ministral-3-14B-Instruct-2512` | 100K | | | | | | $0.34 | $0.45 |
|
|
228
225
|
| `edenai/ionos/meta-llama/Llama-3.3-70B-Instruct` | 128K | | | | | | $0.73 | $0.73 |
|
|
229
226
|
| `edenai/ionos/openai/gpt-oss-120b` | 128K | | | | | | $0.17 | $0.73 |
|
|
230
|
-
| `edenai/ionos/Qwen/Qwen3-Coder-Next` | 128K | | | | | | $0.17 | $0.
|
|
227
|
+
| `edenai/ionos/Qwen/Qwen3-Coder-Next` | 128K | | | | | | $0.17 | $0.90 |
|
|
231
228
|
| `edenai/meta/muse-spark-1.1` | 1.0M | | | | | | $1 | $4 |
|
|
232
229
|
| `edenai/meta/muse-spark-1.2` | 1.0M | | | | | | $1 | $4 |
|
|
233
230
|
| `edenai/meta/muse-spark-1.3` | 1.0M | | | | | | $1 | $4 |
|
|
@@ -284,9 +281,7 @@ for await (const chunk of stream) {
|
|
|
284
281
|
| `edenai/moonshot/kimi-k2.7-code-highspeed` | 262K | | | | | | $2 | $8 |
|
|
285
282
|
| `edenai/moonshot/kimi-k3` | 1.0M | | | | | | $3 | $15 |
|
|
286
283
|
| `edenai/moonshot/kimi-k3.1-pro` | 1.0M | | | | | | $2 | $10 |
|
|
287
|
-
| `edenai/nebius/deepseek-ai/DeepSeek-V4-Flash-0731` | 1.0M | | | | | | $0.14 | $0.28 |
|
|
288
284
|
| `edenai/nebius/deepseek-ai/DeepSeek-V4-Pro-0813` | 1.0M | | | | | | $1 | $4 |
|
|
289
|
-
| `edenai/nebius/deepseek-ai/DeepSeek-V4.1-Flash` | 1.0M | | | | | | $0.30 | $1 |
|
|
290
285
|
| `edenai/nebius/deepseek-ai/DeepSeek-V4.1-Flash-1017` | 1.0M | | | | | | $0.30 | $1 |
|
|
291
286
|
| `edenai/nebius/google/gemma-3-27b-it` | 110K | | | | | | $0.10 | $0.30 |
|
|
292
287
|
| `edenai/nebius/meta-models/muse-spark-open` | 1.0M | | | | | | $1 | $4 |
|
|
@@ -348,9 +343,9 @@ for await (const chunk of stream) {
|
|
|
348
343
|
| `edenai/qwen/qwen3.8-max` | 1.0M | | | | | | $2 | $6 |
|
|
349
344
|
| `edenai/qwen/qwen3.8-max-0902` | 1.0M | | | | | | $2 | $6 |
|
|
350
345
|
| `edenai/qwen/qwen3.8-omni-flash` | 1.0M | | | | | | $0.15 | $0.47 |
|
|
351
|
-
| `edenai/scaleway/deepseek-v4-flash-0731` | 256K | | | | | | $0.45 | $0.
|
|
346
|
+
| `edenai/scaleway/deepseek-v4-flash-0731` | 256K | | | | | | $0.45 | $0.90 |
|
|
352
347
|
| `edenai/scaleway/deepseek-v4.1-flash` | 256K | | | | | | $0.67 | $2 |
|
|
353
|
-
| `edenai/scaleway/deepseek-v4.1-flash-1017` |
|
|
348
|
+
| `edenai/scaleway/deepseek-v4.1-flash-1017` | 256K | | | | | | $0.67 | $2 |
|
|
354
349
|
| `edenai/scaleway/gemma-3-27b-it` | 40K | | | | | | $0.29 | $0.57 |
|
|
355
350
|
| `edenai/scaleway/gpt-oss-120b` | 128K | | | | | | $0.17 | $0.67 |
|
|
356
351
|
| `edenai/scaleway/llama-3.3-70b-instruct` | 128K | | | | | | $1 | $1 |
|
|
@@ -362,6 +357,7 @@ for await (const chunk of stream) {
|
|
|
362
357
|
| `edenai/tencent/deepseek-v4.1-flash` | 1.0M | | | | | | $0.15 | $0.60 |
|
|
363
358
|
| `edenai/tencent/deepseek-v4.1-flash-1017` | 1.0M | | | | | | $0.15 | $0.60 |
|
|
364
359
|
| `edenai/tencent/hy3` | 256K | | | | | | $0.13 | $0.53 |
|
|
360
|
+
| `edenai/tencent/hy4` | 1.0M | | | | | | $0.83 | $3 |
|
|
365
361
|
| `edenai/tencent/hy4-preview` | 1.0M | | | | | | $0.83 | $3 |
|
|
366
362
|
| `edenai/tencent/step-5-preview` | 1.0M | | | | | | $1 | $3 |
|
|
367
363
|
| `edenai/tensorx/deepseek/deepseek-r1-0528` | 164K | | | | | | $0.66 | $3 |
|
|
@@ -404,6 +400,9 @@ for await (const chunk of stream) {
|
|
|
404
400
|
| `edenai/vertex/gemini-4-argon` | 1.0M | | | | | | $4 | $20 |
|
|
405
401
|
| `edenai/vertex/gemini-4-argon@eu` | 1.0M | | | | | | $4 | $20 |
|
|
406
402
|
| `edenai/vertex/gemini-4-argon@us` | 1.0M | | | | | | $4 | $20 |
|
|
403
|
+
| `edenai/vertex/gemini-4-carbon` | 1.0M | | | | | | $4 | $20 |
|
|
404
|
+
| `edenai/vertex/gemini-4-carbon@eu` | 1.0M | | | | | | $4 | $20 |
|
|
405
|
+
| `edenai/vertex/gemini-4-carbon@us` | 1.0M | | | | | | $4 | $20 |
|
|
407
406
|
| `edenai/vertex/gemini-flash-latest` | 1.0M | | | | | | $2 | $8 |
|
|
408
407
|
| `edenai/vertex/gemini-nano-banana-2.1` | 131K | | | | | | $2 | $8 |
|
|
409
408
|
| `edenai/vertex/gemini-pro-latest` | 1.0M | | | | | | $4 | $20 |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# EmpirioLabs AI
|
|
6
6
|
|
|
7
|
-
Access
|
|
7
|
+
Access 64 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
|
|
|
@@ -38,7 +38,7 @@ for await (const chunk of stream) {
|
|
|
38
38
|
|
|
39
39
|
| Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
|
|
40
40
|
| -------------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
41
|
-
| `empiriolabs/deepseek-v4-1-flash-1017` | 1.0M | | | | | | $0.
|
|
41
|
+
| `empiriolabs/deepseek-v4-1-flash-1017` | 1.0M | | | | | | $0.20 | $0.80 |
|
|
42
42
|
| `empiriolabs/deepseek-v4-flash-0731` | 1.0M | | | | | | $0.42 | $1 |
|
|
43
43
|
| `empiriolabs/deepseek-v4-pro` | 1.0M | | | | | | $2 | $3 |
|
|
44
44
|
| `empiriolabs/deepseek-v4-pro-0813` | 1.0M | | | | | | $1 | $4 |
|
|
@@ -46,7 +46,6 @@ for await (const chunk of stream) {
|
|
|
46
46
|
| `empiriolabs/fugu-ultra-v1-0` | 1.0M | | | | | | $8 | $45 |
|
|
47
47
|
| `empiriolabs/fugu-ultra-v1-1` | 1.0M | | | | | | $5 | $30 |
|
|
48
48
|
| `empiriolabs/fugu-ultra-v2-0` | 1.0M | | | | | | $5 | $30 |
|
|
49
|
-
| `empiriolabs/gemma-3-27b` | 131K | | | | | | — | — |
|
|
50
49
|
| `empiriolabs/gemma-4-26b-a4b` | 262K | | | | | | $0.05 | $0.29 |
|
|
51
50
|
| `empiriolabs/glm-4-5-flash` | 131K | | | | | | — | — |
|
|
52
51
|
| `empiriolabs/glm-4-6v-flash` | 131K | | | | | | — | — |
|
|
@@ -60,6 +59,7 @@ for await (const chunk of stream) {
|
|
|
60
59
|
| `empiriolabs/kimi-k2-7-code` | 262K | | | | | | $0.95 | $4 |
|
|
61
60
|
| `empiriolabs/kimi-k2-7-code-highspeed` | 262K | | | | | | $2 | $8 |
|
|
62
61
|
| `empiriolabs/kimi-k3` | 1.0M | | | | | | $3 | $15 |
|
|
62
|
+
| `empiriolabs/kimi-k3-1-pro` | 1.0M | | | | | | $2 | $10 |
|
|
63
63
|
| `empiriolabs/mimo-v2-6-flash` | 1.0M | | | | | | $0.14 | $0.28 |
|
|
64
64
|
| `empiriolabs/mimo-v2-6-pro` | 1.0M | | | | | | $0.43 | $0.87 |
|
|
65
65
|
| `empiriolabs/mimo-v2-6-pro-ultraspeed` | 1.0M | | | | | | $4 | $9 |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# Fireworks AI
|
|
6
6
|
|
|
7
|
-
Access
|
|
7
|
+
Access 27 Fireworks AI models through Mastra's model router. Authentication is handled automatically using the `FIREWORKS_API_KEY` environment variable.
|
|
8
8
|
|
|
9
9
|
Learn more in the [Fireworks AI documentation](https://fireworks.ai/docs/).
|
|
10
10
|
|
|
@@ -36,33 +36,35 @@ for await (const chunk of stream) {
|
|
|
36
36
|
|
|
37
37
|
## Models
|
|
38
38
|
|
|
39
|
-
| Model
|
|
40
|
-
|
|
|
41
|
-
| `fireworks-ai/accounts/fireworks/models/deepseek-v4p1-flash`
|
|
42
|
-
| `fireworks-ai/accounts/fireworks/models/deepseek-v4p1-flash-1017`
|
|
43
|
-
| `fireworks-ai/accounts/fireworks/models/ember-1`
|
|
44
|
-
| `fireworks-ai/accounts/fireworks/models/glm-5p3`
|
|
45
|
-
| `fireworks-ai/accounts/fireworks/models/glm-5p3-flash`
|
|
46
|
-
| `fireworks-ai/accounts/fireworks/models/kimi-k3`
|
|
47
|
-
| `fireworks-ai/accounts/fireworks/models/
|
|
48
|
-
| `fireworks-ai/accounts/fireworks/models/minimax-
|
|
49
|
-
| `fireworks-ai/accounts/fireworks/models/
|
|
50
|
-
| `fireworks-ai/accounts/fireworks/models/
|
|
51
|
-
| `fireworks-ai/accounts/fireworks/models/qwen3p8-
|
|
52
|
-
| `fireworks-ai/accounts/fireworks/
|
|
53
|
-
| `fireworks-ai/accounts/fireworks/routers/deepseek-
|
|
54
|
-
| `fireworks-ai/accounts/fireworks/routers/deepseek-v4p1-flash-spot` | 1.0M | | | | | | $0.21 | $0.84 |
|
|
55
|
-
| `fireworks-ai/accounts/fireworks/routers/
|
|
56
|
-
| `fireworks-ai/accounts/fireworks/routers/
|
|
57
|
-
| `fireworks-ai/accounts/fireworks/routers/glm-fast
|
|
58
|
-
| `fireworks-ai/accounts/fireworks/routers/glm-
|
|
59
|
-
| `fireworks-ai/accounts/fireworks/routers/glm-latest` | 1.0M | | | | | | $
|
|
60
|
-
| `fireworks-ai/accounts/fireworks/routers/
|
|
61
|
-
| `fireworks-ai/accounts/fireworks/routers/
|
|
62
|
-
| `fireworks-ai/accounts/fireworks/routers/kimi-
|
|
63
|
-
| `fireworks-ai/accounts/fireworks/routers/kimi-
|
|
64
|
-
| `fireworks-ai/accounts/fireworks/routers/
|
|
65
|
-
| `fireworks-ai/accounts/fireworks/routers/
|
|
39
|
+
| Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
|
|
40
|
+
| ---------------------------------------------------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
41
|
+
| `fireworks-ai/accounts/fireworks/models/deepseek-v4p1-flash` | 1.0M | | | | | | $0.30 | $1 |
|
|
42
|
+
| `fireworks-ai/accounts/fireworks/models/deepseek-v4p1-flash-1017` | 1.0M | | | | | | $0.30 | $1 |
|
|
43
|
+
| `fireworks-ai/accounts/fireworks/models/ember-1` | 1.0M | | | | | | $3 | $15 |
|
|
44
|
+
| `fireworks-ai/accounts/fireworks/models/glm-5p3` | 1.0M | | | | | | $1 | $4 |
|
|
45
|
+
| `fireworks-ai/accounts/fireworks/models/glm-5p3-flash` | 1.0M | | | | | | $0.15 | $0.50 |
|
|
46
|
+
| `fireworks-ai/accounts/fireworks/models/kimi-k3` | 1.0M | | | | | | $3 | $15 |
|
|
47
|
+
| `fireworks-ai/accounts/fireworks/models/kimi-k3p1-pro` | 1.0M | | | | | | $2 | $10 |
|
|
48
|
+
| `fireworks-ai/accounts/fireworks/models/minimax-m3` | 512K | | | | | | $0.30 | $1 |
|
|
49
|
+
| `fireworks-ai/accounts/fireworks/models/minimax-m3p1-flash` | 1.0M | | | | | | $0.15 | $0.60 |
|
|
50
|
+
| `fireworks-ai/accounts/fireworks/models/muse-spark-open` | 1.0M | | | | | | $1 | $4 |
|
|
51
|
+
| `fireworks-ai/accounts/fireworks/models/qwen3p8-2p4t-a95b` | 262K | | | | | | $2 | $6 |
|
|
52
|
+
| `fireworks-ai/accounts/fireworks/models/qwen3p8-max` | 262K | | | | | | $2 | $6 |
|
|
53
|
+
| `fireworks-ai/accounts/fireworks/routers/deepseek-flash-latest` | 1.0M | | | | | | $0.30 | $1 |
|
|
54
|
+
| `fireworks-ai/accounts/fireworks/routers/deepseek-v4p1-flash-1017-spot` | 1.0M | | | | | | $0.21 | $0.84 |
|
|
55
|
+
| `fireworks-ai/accounts/fireworks/routers/deepseek-v4p1-flash-1017-ultrafast` | 1.0M | | | | | | $2 | $10 |
|
|
56
|
+
| `fireworks-ai/accounts/fireworks/routers/deepseek-v4p1-flash-spot` | 1.0M | | | | | | $0.21 | $0.84 |
|
|
57
|
+
| `fireworks-ai/accounts/fireworks/routers/glm-5p3-fast` | 1.0M | | | | | | $2 | $7 |
|
|
58
|
+
| `fireworks-ai/accounts/fireworks/routers/glm-5p3-spot` | 1.0M | | | | | | $0.98 | $3 |
|
|
59
|
+
| `fireworks-ai/accounts/fireworks/routers/glm-fast-latest` | 1.0M | | | | | | $2 | $7 |
|
|
60
|
+
| `fireworks-ai/accounts/fireworks/routers/glm-flash-latest` | 1.0M | | | | | | $0.15 | $0.50 |
|
|
61
|
+
| `fireworks-ai/accounts/fireworks/routers/glm-latest` | 1.0M | | | | | | $1 | $4 |
|
|
62
|
+
| `fireworks-ai/accounts/fireworks/routers/kimi-fast-latest` | 1.0M | | | | | | $5 | $23 |
|
|
63
|
+
| `fireworks-ai/accounts/fireworks/routers/kimi-k3-fast` | 1.0M | | | | | | $5 | $23 |
|
|
64
|
+
| `fireworks-ai/accounts/fireworks/routers/kimi-k3-spot` | 1.0M | | | | | | $2 | $11 |
|
|
65
|
+
| `fireworks-ai/accounts/fireworks/routers/kimi-latest` | 1.0M | | | | | | $3 | $15 |
|
|
66
|
+
| `fireworks-ai/accounts/fireworks/routers/minimax-latest` | 512K | | | | | | $0.30 | $1 |
|
|
67
|
+
| `fireworks-ai/accounts/fireworks/routers/qwen-max-latest` | 262K | | | | | | $2 | $6 |
|
|
66
68
|
|
|
67
69
|
Model availability, capabilities, context windows, and pricing are sourced from [models.dev](https://models.dev) and may change.
|
|
68
70
|
|
|
@@ -8,6 +8,8 @@ Vertex is available through the AI SDK. Install the provider package to use thei
|
|
|
8
8
|
|
|
9
9
|
For detailed provider-specific documentation, see the [AI SDK Vertex provider docs](https://ai-sdk.dev/providers/ai-sdk-providers/google-vertex).
|
|
10
10
|
|
|
11
|
+
Vertex isn't a model router provider, so model strings like `google-vertex/<model>` don't resolve. Pass a model instance from `@ai-sdk/google-vertex` to the agent's `model` option instead.
|
|
12
|
+
|
|
11
13
|
To use this provider with Mastra agents, see the [Agent Overview documentation](https://mastra.ai/docs/agents/overview).
|
|
12
14
|
|
|
13
15
|
## Installation
|