@mastra/mcp-docs-server 0.0.0-studio-deploy-20260404182525 → 0.0.0-studio-cli-20260504022012
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/adding-voice.md +18 -17
- package/.docs/docs/agents/background-tasks.md +242 -0
- package/.docs/docs/agents/channels.md +2 -1
- package/.docs/docs/agents/overview.md +4 -0
- package/.docs/docs/agents/processors.md +177 -5
- package/.docs/docs/agents/structured-output.md +66 -1
- package/.docs/docs/agents/supervisor-agents.md +65 -0
- package/.docs/docs/agents/using-tools.md +73 -0
- package/.docs/docs/browser/agent-browser.md +78 -0
- package/.docs/docs/browser/browser-viewer.md +144 -0
- package/.docs/docs/browser/overview.md +168 -0
- package/.docs/docs/browser/stagehand.md +129 -0
- package/.docs/docs/deployment/cloud-providers.md +5 -1
- package/.docs/docs/deployment/mastra-server.md +4 -4
- package/.docs/docs/deployment/monorepo.md +3 -3
- package/.docs/docs/deployment/overview.md +11 -8
- package/.docs/docs/editor/overview.md +290 -0
- package/.docs/docs/editor/prompts.md +134 -0
- package/.docs/docs/editor/tools.md +152 -0
- package/.docs/docs/evals/custom-scorers.md +63 -3
- package/.docs/docs/evals/datasets/overview.md +1 -1
- package/.docs/docs/index.md +2 -2
- package/.docs/docs/mastra-platform/configuration.md +36 -0
- package/.docs/docs/mastra-platform/overview.md +78 -0
- package/.docs/docs/mcp/overview.md +17 -0
- package/.docs/docs/memory/memory-processors.md +3 -3
- package/.docs/docs/memory/message-history.md +8 -2
- package/.docs/docs/memory/observational-memory.md +65 -8
- package/.docs/docs/memory/storage.md +1 -2
- package/.docs/docs/memory/working-memory.md +2 -2
- package/.docs/docs/observability/logging.md +1 -1
- package/.docs/docs/observability/metrics/overview.md +2 -2
- package/.docs/docs/observability/overview.md +1 -1
- package/.docs/docs/observability/tracing/bridges/datadog.md +217 -0
- package/.docs/docs/observability/tracing/bridges/otel.md +2 -2
- package/.docs/docs/observability/tracing/exporters/arthur.md +163 -0
- package/.docs/docs/observability/tracing/exporters/cloud.md +135 -63
- package/.docs/docs/observability/tracing/exporters/datadog.md +3 -1
- package/.docs/docs/observability/tracing/exporters/default.md +5 -5
- package/.docs/docs/observability/tracing/exporters/laminar.md +22 -14
- package/.docs/docs/observability/tracing/exporters/langfuse.md +50 -33
- package/.docs/docs/observability/tracing/overview.md +87 -20
- package/.docs/docs/server/custom-adapters.md +5 -5
- package/.docs/docs/server/custom-api-routes.md +3 -3
- package/.docs/docs/server/mastra-client.md +2 -2
- package/.docs/docs/server/mastra-server.md +1 -1
- package/.docs/docs/server/middleware.md +46 -42
- package/.docs/docs/server/request-context.md +13 -2
- package/.docs/docs/server/server-adapters.md +91 -8
- package/.docs/docs/streaming/background-task-streaming.md +80 -0
- package/.docs/docs/streaming/overview.md +3 -0
- package/.docs/docs/studio/deployment.md +24 -6
- package/.docs/docs/studio/observability.md +1 -1
- package/.docs/docs/studio/overview.md +4 -4
- package/.docs/docs/voice/overview.md +74 -5
- package/.docs/docs/voice/speech-to-speech.md +45 -1
- package/.docs/docs/voice/speech-to-text.md +7 -7
- package/.docs/docs/voice/text-to-speech.md +10 -10
- package/.docs/docs/workflows/agents-and-tools.md +1 -1
- package/.docs/docs/workflows/overview.md +105 -4
- package/.docs/docs/workflows/scheduled-workflows.md +181 -0
- package/.docs/docs/workspace/filesystem.md +64 -6
- package/.docs/docs/workspace/lsp.md +76 -4
- package/.docs/docs/workspace/overview.md +62 -15
- package/.docs/docs/workspace/sandbox.md +3 -1
- package/.docs/docs/workspace/search.md +41 -2
- package/.docs/docs/workspace/skills.md +19 -19
- package/.docs/guides/agent-frameworks/ai-sdk.md +4 -4
- package/.docs/guides/build-your-ui/ai-sdk-ui.md +56 -9
- package/.docs/guides/build-your-ui/assistant-ui.md +1 -1
- package/.docs/guides/deployment/mastra-platform.md +191 -0
- package/.docs/guides/deployment/netlify.md +16 -1
- package/.docs/guides/getting-started/nestjs.md +238 -0
- package/.docs/guides/getting-started/next-js.md +0 -4
- package/.docs/guides/guide/code-review-bot.md +2 -2
- package/.docs/guides/guide/dev-assistant.md +4 -4
- package/.docs/{docs/mcp → guides/guide}/publishing-mcp-server.md +21 -1
- package/.docs/guides/guide/slack-assistant.md +191 -0
- package/.docs/guides/migrations/mastra-cloud.md +368 -0
- package/.docs/guides/migrations/upgrade-to-v1/tracing.md +1 -1
- package/.docs/models/embeddings.md +3 -3
- package/.docs/models/gateways/azure-openai.md +74 -35
- package/.docs/models/gateways/mastra.md +64 -0
- package/.docs/models/gateways/netlify.md +7 -3
- package/.docs/models/gateways/openrouter.md +28 -12
- package/.docs/models/gateways/vercel.md +22 -2
- package/.docs/models/gateways.md +1 -0
- package/.docs/models/index.md +43 -8
- package/.docs/models/providers/302ai.md +37 -4
- package/.docs/models/providers/abliteration-ai.md +71 -0
- package/.docs/models/providers/alibaba-cn.md +8 -2
- package/.docs/models/providers/alibaba-coding-plan-cn.md +3 -2
- package/.docs/models/providers/alibaba-coding-plan.md +3 -2
- package/.docs/models/providers/alibaba.md +8 -1
- package/.docs/models/providers/anthropic.md +18 -5
- package/.docs/models/providers/baseten.md +3 -1
- package/.docs/models/providers/berget.md +10 -12
- package/.docs/models/providers/chutes.md +4 -2
- package/.docs/models/providers/cloudflare-workers-ai.md +14 -48
- package/.docs/models/providers/cortecs.md +22 -2
- package/.docs/models/providers/deepinfra.md +8 -2
- package/.docs/models/providers/deepseek.md +6 -4
- package/.docs/models/providers/digitalocean.md +133 -0
- package/.docs/models/providers/fireworks-ai.md +6 -1
- package/.docs/models/providers/firmware.md +12 -10
- package/.docs/models/providers/friendli.md +6 -7
- package/.docs/models/providers/google.md +9 -3
- package/.docs/models/providers/helicone.md +1 -2
- package/.docs/models/providers/hpc-ai.md +73 -0
- package/.docs/models/providers/huggingface.md +6 -2
- package/.docs/models/providers/inception.md +9 -11
- package/.docs/models/providers/kilo.md +359 -339
- package/.docs/models/providers/kimi-for-coding.md +2 -1
- package/.docs/models/providers/llmgateway.md +67 -77
- package/.docs/models/providers/mistral.md +3 -2
- package/.docs/models/providers/mixlayer.md +75 -0
- package/.docs/models/providers/moonshotai-cn.md +3 -2
- package/.docs/models/providers/moonshotai.md +3 -2
- package/.docs/models/providers/nano-gpt.md +8 -2
- package/.docs/models/providers/neuralwatt.md +84 -0
- package/.docs/models/providers/novita-ai.md +19 -4
- package/.docs/models/providers/nvidia.md +8 -1
- package/.docs/models/providers/ollama-cloud.md +7 -2
- package/.docs/models/providers/openai.md +7 -2
- package/.docs/models/providers/opencode-go.md +21 -13
- package/.docs/models/providers/opencode.md +11 -4
- package/.docs/models/providers/ovhcloud.md +6 -8
- package/.docs/models/providers/poe.md +10 -15
- package/.docs/models/providers/regolo-ai.md +83 -0
- package/.docs/models/providers/siliconflow-cn.md +5 -2
- package/.docs/models/providers/siliconflow.md +6 -3
- package/.docs/models/providers/stepfun.md +8 -7
- package/.docs/models/providers/synthetic.md +5 -2
- package/.docs/models/providers/tencent-token-plan.md +71 -0
- package/.docs/models/providers/tencent-tokenhub.md +71 -0
- package/.docs/models/providers/togetherai.md +8 -7
- package/.docs/models/providers/vivgrid.md +7 -3
- package/.docs/models/providers/vultr.md +7 -6
- package/.docs/models/providers/wafer.ai.md +73 -0
- package/.docs/models/providers/wandb.md +3 -2
- package/.docs/models/providers/xai.md +6 -1
- package/.docs/models/providers/xiaomi-token-plan-ams.md +75 -0
- package/.docs/models/providers/xiaomi-token-plan-cn.md +75 -0
- package/.docs/models/providers/xiaomi-token-plan-sgp.md +75 -0
- package/.docs/models/providers/xiaomi.md +4 -2
- package/.docs/models/providers/zai-coding-plan.md +11 -19
- package/.docs/models/providers/zai.md +2 -1
- package/.docs/models/providers/zenmux.md +17 -6
- package/.docs/models/providers/zhipuai-coding-plan.md +11 -21
- package/.docs/models/providers/zhipuai.md +2 -1
- package/.docs/models/providers.md +11 -0
- package/.docs/reference/agents/agent.md +1 -1
- package/.docs/reference/agents/channels.md +3 -3
- package/.docs/reference/agents/generate.md +88 -6
- package/.docs/reference/agents/generateLegacy.md +1 -1
- package/.docs/reference/ai-sdk/chat-route.md +2 -0
- package/.docs/reference/ai-sdk/handle-chat-stream.md +19 -0
- package/.docs/reference/ai-sdk/handle-network-stream.md +2 -0
- package/.docs/reference/ai-sdk/network-route.md +2 -0
- package/.docs/reference/ai-sdk/to-ai-sdk-messages.md +95 -0
- package/.docs/reference/ai-sdk/to-ai-sdk-stream.md +15 -0
- package/.docs/reference/browser/agent-browser.md +375 -0
- package/.docs/reference/browser/browser-viewer.md +228 -0
- package/.docs/reference/browser/mastra-browser.md +286 -0
- package/.docs/reference/browser/stagehand-browser.md +286 -0
- package/.docs/reference/cli/mastra.md +703 -0
- package/.docs/reference/client-js/agents.md +166 -0
- package/.docs/reference/client-js/conversations.md +1 -1
- package/.docs/reference/client-js/mastra-client.md +23 -0
- package/.docs/reference/client-js/observability.md +2 -2
- package/.docs/reference/client-js/responses.md +1 -1
- package/.docs/reference/client-js/workflows.md +62 -1
- package/.docs/reference/configuration.md +67 -1
- package/.docs/reference/core/addGateway.md +5 -5
- package/.docs/reference/core/getEditor.md +35 -0
- package/.docs/reference/core/getGateway.md +5 -5
- package/.docs/reference/core/getGatewayById.md +5 -5
- package/.docs/reference/core/getMCPServer.md +2 -2
- package/.docs/reference/core/getMCPServerById.md +2 -2
- package/.docs/reference/core/getScorer.md +3 -3
- package/.docs/reference/core/getScorerById.md +3 -3
- package/.docs/reference/core/listGateways.md +5 -5
- package/.docs/reference/core/listMCPServers.md +2 -2
- package/.docs/reference/core/listScorers.md +3 -3
- package/.docs/reference/core/mastra-class.md +11 -1
- package/.docs/reference/core/mastra-model-gateway.md +5 -5
- package/.docs/reference/datasets/create.md +4 -4
- package/.docs/reference/datasets/startExperiment.md +28 -2
- package/.docs/reference/datasets/update.md +4 -4
- package/.docs/reference/deployer/cloudflare.md +14 -1
- package/.docs/reference/deployer/netlify.md +50 -2
- package/.docs/reference/editor/mastra-editor.md +168 -0
- package/.docs/reference/editor/tool-provider.md +85 -0
- package/.docs/reference/evals/context-precision.md +3 -3
- package/.docs/reference/evals/context-relevance.md +3 -3
- package/.docs/reference/evals/create-scorer.md +5 -3
- package/.docs/reference/evals/filter-run.md +117 -0
- package/.docs/reference/evals/mastra-scorer.md +4 -4
- package/.docs/reference/evals/noise-sensitivity.md +6 -6
- package/.docs/reference/evals/prompt-alignment.md +12 -12
- package/.docs/reference/evals/run-evals.md +6 -6
- package/.docs/reference/evals/scorer-utils.md +3 -3
- package/.docs/reference/evals/trajectory-accuracy.md +3 -3
- package/.docs/reference/harness/harness-class.md +152 -53
- package/.docs/reference/index.md +25 -0
- package/.docs/reference/logging/pino-logger.md +0 -2
- package/.docs/reference/mastra-platform/api.md +108 -0
- package/.docs/reference/memory/clone-utilities.md +4 -2
- package/.docs/reference/memory/cloneThread.md +4 -2
- package/.docs/reference/memory/observational-memory.md +4 -0
- package/.docs/reference/observability/metrics/automatic-metrics.md +3 -3
- package/.docs/reference/observability/tracing/bridges/datadog.md +211 -0
- package/.docs/reference/observability/tracing/bridges/otel.md +3 -3
- package/.docs/reference/observability/tracing/configuration.md +18 -11
- package/.docs/reference/observability/tracing/exporters/arthur.md +122 -0
- package/.docs/reference/observability/tracing/exporters/cloud-exporter.md +102 -21
- package/.docs/reference/observability/tracing/exporters/console-exporter.md +8 -8
- package/.docs/reference/observability/tracing/exporters/datadog.md +3 -1
- package/.docs/reference/observability/tracing/exporters/default-exporter.md +8 -8
- package/.docs/reference/observability/tracing/exporters/langfuse.md +25 -32
- package/.docs/reference/observability/tracing/exporters/otel.md +3 -3
- package/.docs/reference/observability/tracing/instances.md +7 -7
- package/.docs/reference/observability/tracing/interfaces.md +23 -6
- package/.docs/reference/observability/tracing/span-filtering.md +95 -0
- package/.docs/reference/observability/tracing/spans.md +6 -6
- package/.docs/reference/processors/prefill-error-handler.md +70 -0
- package/.docs/reference/processors/processor-interface.md +400 -40
- package/.docs/reference/processors/skill-search-processor.md +20 -1
- package/.docs/reference/processors/stream-error-retry-processor.md +54 -0
- package/.docs/reference/processors/tool-call-filter.md +23 -0
- package/.docs/reference/server/create-route.md +3 -3
- package/.docs/reference/server/express-adapter.md +4 -4
- package/.docs/reference/server/fastify-adapter.md +4 -4
- package/.docs/reference/server/hono-adapter.md +4 -4
- package/.docs/reference/server/koa-adapter.md +4 -4
- package/.docs/reference/server/mastra-server.md +3 -3
- package/.docs/reference/server/nestjs-adapter.md +169 -0
- package/.docs/reference/server/register-api-route.md +4 -4
- package/.docs/reference/server/routes.md +11 -10
- package/.docs/reference/storage/clickhouse.md +300 -0
- package/.docs/reference/storage/cloudflare-d1.md +42 -42
- package/.docs/reference/storage/composite.md +5 -3
- package/.docs/reference/storage/duckdb.md +150 -0
- package/.docs/reference/storage/overview.md +1 -1
- package/.docs/reference/storage/redis.md +266 -0
- package/.docs/reference/streaming/ChunkType.md +143 -3
- package/.docs/reference/streaming/agents/MastraModelOutput.md +2 -2
- package/.docs/reference/streaming/agents/stream.md +10 -2
- package/.docs/reference/streaming/agents/streamUntilIdle.md +94 -0
- package/.docs/reference/streaming/workflows/resumeStream.md +2 -0
- package/.docs/reference/templates/overview.md +88 -14
- package/.docs/reference/tools/create-tool.md +107 -5
- package/.docs/reference/tools/mcp-client.md +45 -0
- package/.docs/reference/tools/mcp-server.md +1 -3
- package/.docs/reference/tools/perplexity.md +155 -0
- package/.docs/reference/tools/tavily.md +307 -0
- package/.docs/reference/vectors/mongodb.md +0 -2
- package/.docs/reference/voice/aws-nova-sonic.md +247 -0
- package/.docs/reference/voice/cloudflare.md +3 -3
- package/.docs/reference/voice/sarvam.md +29 -23
- package/.docs/reference/voice/voice.connect.md +4 -4
- package/.docs/reference/voice/voice.listen.md +3 -3
- package/.docs/reference/workflows/run-methods/resume.md +24 -0
- package/.docs/reference/workflows/run-methods/startAsync.md +1 -1
- package/.docs/reference/workflows/step.md +88 -7
- package/.docs/reference/workflows/workflow-methods/foreach.md +14 -1
- package/.docs/reference/workflows/workflow.md +88 -4
- package/.docs/reference/workspace/azure-blob-filesystem.md +219 -0
- package/.docs/reference/workspace/docker-sandbox.md +196 -0
- package/.docs/reference/workspace/gcs-filesystem.md +1 -0
- package/.docs/reference/workspace/google-drive-filesystem.md +185 -0
- package/.docs/reference/workspace/modal-sandbox.md +168 -0
- package/.docs/reference/workspace/process-manager.md +1 -1
- package/.docs/reference/workspace/s3-filesystem.md +80 -5
- package/.docs/reference/workspace/vercel.md +1 -1
- package/.docs/reference/workspace/workspace-class.md +37 -6
- package/CHANGELOG.md +500 -4
- package/dist/stdio.js.map +1 -1
- package/dist/utils.d.ts +1 -4
- package/dist/utils.d.ts.map +1 -1
- package/package.json +11 -11
- package/.docs/docs/mastra-cloud/deployment.md +0 -77
- package/.docs/docs/mastra-cloud/observability.md +0 -38
- package/.docs/docs/mastra-cloud/overview.md +0 -23
- package/.docs/docs/mastra-cloud/setup.md +0 -42
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# NovitaAI
|
|
2
2
|
|
|
3
|
-
Access
|
|
3
|
+
Access 99 NovitaAI models through Mastra's model router. Authentication is handled automatically using the `NOVITA_API_KEY` environment variable.
|
|
4
4
|
|
|
5
5
|
Learn more in the [NovitaAI documentation](https://novita.ai/docs/guides/introduction).
|
|
6
6
|
|
|
@@ -47,6 +47,8 @@ for await (const chunk of stream) {
|
|
|
47
47
|
| `novita-ai/deepseek/deepseek-r1-0528` | 164K | | | | | | $0.70 | $3 |
|
|
48
48
|
| `novita-ai/deepseek/deepseek-r1-0528-qwen3-8b` | 128K | | | | | | $0.06 | $0.09 |
|
|
49
49
|
| `novita-ai/deepseek/deepseek-r1-distill-llama-70b` | 8K | | | | | | $0.80 | $0.80 |
|
|
50
|
+
| `novita-ai/deepseek/deepseek-r1-distill-qwen-14b` | 33K | | | | | | $0.15 | $0.15 |
|
|
51
|
+
| `novita-ai/deepseek/deepseek-r1-distill-qwen-32b` | 64K | | | | | | $0.30 | $0.30 |
|
|
50
52
|
| `novita-ai/deepseek/deepseek-r1-turbo` | 64K | | | | | | $0.70 | $3 |
|
|
51
53
|
| `novita-ai/deepseek/deepseek-v3-0324` | 164K | | | | | | $0.27 | $1 |
|
|
52
54
|
| `novita-ai/deepseek/deepseek-v3-turbo` | 64K | | | | | | $0.40 | $1 |
|
|
@@ -54,13 +56,19 @@ for await (const chunk of stream) {
|
|
|
54
56
|
| `novita-ai/deepseek/deepseek-v3.1-terminus` | 131K | | | | | | $0.27 | $1 |
|
|
55
57
|
| `novita-ai/deepseek/deepseek-v3.2` | 164K | | | | | | $0.27 | $0.40 |
|
|
56
58
|
| `novita-ai/deepseek/deepseek-v3.2-exp` | 164K | | | | | | $0.27 | $0.41 |
|
|
59
|
+
| `novita-ai/deepseek/deepseek-v4-flash` | 1.0M | | | | | | $0.14 | $0.28 |
|
|
60
|
+
| `novita-ai/deepseek/deepseek-v4-pro` | 1.0M | | | | | | $2 | $3 |
|
|
61
|
+
| `novita-ai/google/gemma-3-12b-it` | 131K | | | | | | $0.05 | $0.10 |
|
|
57
62
|
| `novita-ai/google/gemma-3-27b-it` | 98K | | | | | | $0.12 | $0.20 |
|
|
63
|
+
| `novita-ai/google/gemma-4-26b-a4b-it` | 262K | | | | | | $0.13 | $0.40 |
|
|
64
|
+
| `novita-ai/google/gemma-4-31b-it` | 262K | | | | | | $0.14 | $0.40 |
|
|
58
65
|
| `novita-ai/gryphe/mythomax-l2-13b` | 4K | | | | | | $0.09 | $0.09 |
|
|
59
|
-
| `novita-ai/
|
|
66
|
+
| `novita-ai/inclusionai/ling-2.6-1t` | 262K | | | | | | — | — |
|
|
60
67
|
| `novita-ai/kwaipilot/kat-coder-pro` | 256K | | | | | | $0.30 | $1 |
|
|
61
68
|
| `novita-ai/meta-llama/llama-3-70b-instruct` | 8K | | | | | | $0.51 | $0.74 |
|
|
62
69
|
| `novita-ai/meta-llama/llama-3-8b-instruct` | 8K | | | | | | $0.04 | $0.04 |
|
|
63
70
|
| `novita-ai/meta-llama/llama-3.1-8b-instruct` | 16K | | | | | | $0.02 | $0.05 |
|
|
71
|
+
| `novita-ai/meta-llama/llama-3.2-3b-instruct` | 33K | | | | | | $0.03 | $0.05 |
|
|
64
72
|
| `novita-ai/meta-llama/llama-3.3-70b-instruct` | 131K | | | | | | $0.14 | $0.40 |
|
|
65
73
|
| `novita-ai/meta-llama/llama-4-maverick-17b-128e-instruct-fp8` | 1.0M | | | | | | $0.27 | $0.85 |
|
|
66
74
|
| `novita-ai/meta-llama/llama-4-scout-17b-16e-instruct` | 131K | | | | | | $0.18 | $0.59 |
|
|
@@ -68,12 +76,15 @@ for await (const chunk of stream) {
|
|
|
68
76
|
| `novita-ai/minimax/minimax-m2` | 205K | | | | | | $0.30 | $1 |
|
|
69
77
|
| `novita-ai/minimax/minimax-m2.1` | 205K | | | | | | $0.30 | $1 |
|
|
70
78
|
| `novita-ai/minimax/minimax-m2.5` | 205K | | | | | | $0.30 | $1 |
|
|
79
|
+
| `novita-ai/minimax/minimax-m2.5-highspeed` | 205K | | | | | | $0.60 | $2 |
|
|
80
|
+
| `novita-ai/minimax/minimax-m2.7` | 205K | | | | | | $0.30 | $1 |
|
|
71
81
|
| `novita-ai/minimaxai/minimax-m1-80k` | 1.0M | | | | | | $0.55 | $2 |
|
|
72
82
|
| `novita-ai/mistralai/mistral-nemo` | 60K | | | | | | $0.04 | $0.17 |
|
|
73
83
|
| `novita-ai/moonshotai/kimi-k2-0905` | 262K | | | | | | $0.60 | $3 |
|
|
74
84
|
| `novita-ai/moonshotai/kimi-k2-instruct` | 131K | | | | | | $0.57 | $2 |
|
|
75
85
|
| `novita-ai/moonshotai/kimi-k2-thinking` | 262K | | | | | | $0.60 | $3 |
|
|
76
86
|
| `novita-ai/moonshotai/kimi-k2.5` | 262K | | | | | | $0.60 | $3 |
|
|
87
|
+
| `novita-ai/moonshotai/kimi-k2.6` | 262K | | | | | | $0.95 | $4 |
|
|
77
88
|
| `novita-ai/nousresearch/hermes-2-pro-llama-3-8b` | 8K | | | | | | $0.14 | $0.14 |
|
|
78
89
|
| `novita-ai/openai/gpt-oss-120b` | 131K | | | | | | $0.05 | $0.25 |
|
|
79
90
|
| `novita-ai/openai/gpt-oss-20b` | 131K | | | | | | $0.04 | $0.15 |
|
|
@@ -102,12 +113,15 @@ for await (const chunk of stream) {
|
|
|
102
113
|
| `novita-ai/qwen/qwen3-vl-30b-a3b-instruct` | 131K | | | | | | $0.20 | $0.70 |
|
|
103
114
|
| `novita-ai/qwen/qwen3-vl-30b-a3b-thinking` | 131K | | | | | | $0.20 | $1 |
|
|
104
115
|
| `novita-ai/qwen/qwen3-vl-8b-instruct` | 131K | | | | | | $0.08 | $0.50 |
|
|
116
|
+
| `novita-ai/qwen/qwen3.5-122b-a10b` | 262K | | | | | | $0.40 | $3 |
|
|
117
|
+
| `novita-ai/qwen/qwen3.5-27b` | 262K | | | | | | $0.30 | $2 |
|
|
118
|
+
| `novita-ai/qwen/qwen3.5-35b-a3b` | 262K | | | | | | $0.25 | $2 |
|
|
105
119
|
| `novita-ai/qwen/qwen3.5-397b-a17b` | 262K | | | | | | $0.60 | $4 |
|
|
120
|
+
| `novita-ai/qwen/qwen3.6-27b` | 262K | | | | | | $0.60 | $4 |
|
|
106
121
|
| `novita-ai/sao10k/l3-70b-euryale-v2.1` | 8K | | | | | | $1 | $1 |
|
|
107
122
|
| `novita-ai/sao10k/l3-8b-lunaris` | 8K | | | | | | $0.05 | $0.05 |
|
|
108
123
|
| `novita-ai/sao10k/L3-8B-Stheno-v3.2` | 8K | | | | | | $0.05 | $0.05 |
|
|
109
124
|
| `novita-ai/sao10k/l31-70b-euryale-v2.2` | 8K | | | | | | $1 | $1 |
|
|
110
|
-
| `novita-ai/skywork/r1v4-lite` | 262K | | | | | | $0.20 | $0.60 |
|
|
111
125
|
| `novita-ai/xiaomimimo/mimo-v2-flash` | 262K | | | | | | $0.10 | $0.30 |
|
|
112
126
|
| `novita-ai/zai-org/autoglm-phone-9b-multilingual` | 66K | | | | | | $0.04 | $0.14 |
|
|
113
127
|
| `novita-ai/zai-org/glm-4.5` | 131K | | | | | | $0.60 | $2 |
|
|
@@ -118,6 +132,7 @@ for await (const chunk of stream) {
|
|
|
118
132
|
| `novita-ai/zai-org/glm-4.7` | 205K | | | | | | $0.60 | $2 |
|
|
119
133
|
| `novita-ai/zai-org/glm-4.7-flash` | 200K | | | | | | $0.07 | $0.40 |
|
|
120
134
|
| `novita-ai/zai-org/glm-5` | 203K | | | | | | $1 | $3 |
|
|
135
|
+
| `novita-ai/zai-org/glm-5.1` | 205K | | | | | | $1 | $4 |
|
|
121
136
|
|
|
122
137
|
## Advanced configuration
|
|
123
138
|
|
|
@@ -147,7 +162,7 @@ const agent = new Agent({
|
|
|
147
162
|
model: ({ requestContext }) => {
|
|
148
163
|
const useAdvanced = requestContext.task === "complex";
|
|
149
164
|
return useAdvanced
|
|
150
|
-
? "novita-ai/zai-org/glm-5"
|
|
165
|
+
? "novita-ai/zai-org/glm-5.1"
|
|
151
166
|
: "novita-ai/baichuan/baichuan-m2-32b";
|
|
152
167
|
}
|
|
153
168
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Nvidia
|
|
2
2
|
|
|
3
|
-
Access
|
|
3
|
+
Access 81 Nvidia models through Mastra's model router. Authentication is handled automatically using the `NVIDIA_API_KEY` environment variable.
|
|
4
4
|
|
|
5
5
|
Learn more in the [Nvidia documentation](https://docs.api.nvidia.com/nim/).
|
|
6
6
|
|
|
@@ -41,6 +41,8 @@ for await (const chunk of stream) {
|
|
|
41
41
|
| `nvidia/deepseek-ai/deepseek-v3.1` | 128K | | | | | | — | — |
|
|
42
42
|
| `nvidia/deepseek-ai/deepseek-v3.1-terminus` | 128K | | | | | | — | — |
|
|
43
43
|
| `nvidia/deepseek-ai/deepseek-v3.2` | 164K | | | | | | — | — |
|
|
44
|
+
| `nvidia/deepseek-ai/deepseek-v4-flash` | 1.0M | | | | | | $0.14 | $0.28 |
|
|
45
|
+
| `nvidia/deepseek-ai/deepseek-v4-pro` | 1.0M | | | | | | $2 | $3 |
|
|
44
46
|
| `nvidia/google/codegemma-1.1-7b` | 128K | | | | | | — | — |
|
|
45
47
|
| `nvidia/google/codegemma-7b` | 128K | | | | | | — | — |
|
|
46
48
|
| `nvidia/google/gemma-2-27b-it` | 128K | | | | | | — | — |
|
|
@@ -50,6 +52,7 @@ for await (const chunk of stream) {
|
|
|
50
52
|
| `nvidia/google/gemma-3-27b-it` | 131K | | | | | | — | — |
|
|
51
53
|
| `nvidia/google/gemma-3n-e2b-it` | 128K | | | | | | — | — |
|
|
52
54
|
| `nvidia/google/gemma-3n-e4b-it` | 128K | | | | | | — | — |
|
|
55
|
+
| `nvidia/google/gemma-4-31b-it` | 256K | | | | | | — | — |
|
|
53
56
|
| `nvidia/meta/codellama-70b` | 128K | | | | | | — | — |
|
|
54
57
|
| `nvidia/meta/llama-3.1-405b-instruct` | 128K | | | | | | — | — |
|
|
55
58
|
| `nvidia/meta/llama-3.1-70b-instruct` | 128K | | | | | | — | — |
|
|
@@ -70,12 +73,14 @@ for await (const chunk of stream) {
|
|
|
70
73
|
| `nvidia/microsoft/phi-4-mini-instruct` | 131K | | | | | | — | — |
|
|
71
74
|
| `nvidia/minimaxai/minimax-m2.1` | 205K | | | | | | — | — |
|
|
72
75
|
| `nvidia/minimaxai/minimax-m2.5` | 205K | | | | | | — | — |
|
|
76
|
+
| `nvidia/minimaxai/minimax-m2.7` | 205K | | | | | | — | — |
|
|
73
77
|
| `nvidia/mistralai/codestral-22b-instruct-v0.1` | 128K | | | | | | — | — |
|
|
74
78
|
| `nvidia/mistralai/devstral-2-123b-instruct-2512` | 262K | | | | | | — | — |
|
|
75
79
|
| `nvidia/mistralai/mamba-codestral-7b-v0.1` | 128K | | | | | | — | — |
|
|
76
80
|
| `nvidia/mistralai/ministral-14b-instruct-2512` | 262K | | | | | | — | — |
|
|
77
81
|
| `nvidia/mistralai/mistral-large-2-instruct` | 128K | | | | | | — | — |
|
|
78
82
|
| `nvidia/mistralai/mistral-large-3-675b-instruct-2512` | 262K | | | | | | — | — |
|
|
83
|
+
| `nvidia/mistralai/mistral-medium-3.5-128b` | 262K | | | | | | — | — |
|
|
79
84
|
| `nvidia/mistralai/mistral-small-3.1-24b-instruct-2503` | 128K | | | | | | — | — |
|
|
80
85
|
| `nvidia/moonshotai/kimi-k2-instruct` | 128K | | | | | | — | — |
|
|
81
86
|
| `nvidia/moonshotai/kimi-k2-instruct-0905` | 262K | | | | | | — | — |
|
|
@@ -91,6 +96,7 @@ for await (const chunk of stream) {
|
|
|
91
96
|
| `nvidia/nvidia/llama3-chatqa-1.5-70b` | 128K | | | | | | — | — |
|
|
92
97
|
| `nvidia/nvidia/nemoretriever-ocr-v1` | — | | | | | | — | — |
|
|
93
98
|
| `nvidia/nvidia/nemotron-3-nano-30b-a3b` | 131K | | | | | | — | — |
|
|
99
|
+
| `nvidia/nvidia/nemotron-3-nano-omni-30b-a3b-reasoning` | 256K | | | | | | — | — |
|
|
94
100
|
| `nvidia/nvidia/nemotron-3-super-120b-a12b` | 262K | | | | | | $0.20 | $0.80 |
|
|
95
101
|
| `nvidia/nvidia/nemotron-4-340b-instruct` | 128K | | | | | | — | — |
|
|
96
102
|
| `nvidia/nvidia/nvidia-nemotron-nano-9b-v2` | 131K | | | | | | — | — |
|
|
@@ -106,6 +112,7 @@ for await (const chunk of stream) {
|
|
|
106
112
|
| `nvidia/qwen/qwen3.5-397b-a17b` | 262K | | | | | | — | — |
|
|
107
113
|
| `nvidia/qwen/qwq-32b` | 128K | | | | | | — | — |
|
|
108
114
|
| `nvidia/stepfun-ai/step-3.5-flash` | 256K | | | | | | — | — |
|
|
115
|
+
| `nvidia/z-ai/glm-5.1` | 131K | | | | | | — | — |
|
|
109
116
|
| `nvidia/z-ai/glm4.7` | 205K | | | | | | — | — |
|
|
110
117
|
| `nvidia/z-ai/glm5` | 203K | | | | | | — | — |
|
|
111
118
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Ollama Cloud
|
|
2
2
|
|
|
3
|
-
Access
|
|
3
|
+
Access 39 Ollama Cloud models through Mastra's model router. Authentication is handled automatically using the `OLLAMA_API_KEY` environment variable.
|
|
4
4
|
|
|
5
5
|
Learn more in the [Ollama Cloud documentation](https://docs.ollama.com/cloud).
|
|
6
6
|
|
|
@@ -37,24 +37,29 @@ for await (const chunk of stream) {
|
|
|
37
37
|
| `ollama-cloud/cogito-2.1:671b` | 164K | | | | | | — | — |
|
|
38
38
|
| `ollama-cloud/deepseek-v3.1:671b` | 164K | | | | | | — | — |
|
|
39
39
|
| `ollama-cloud/deepseek-v3.2` | 164K | | | | | | — | — |
|
|
40
|
+
| `ollama-cloud/deepseek-v4-flash` | 1.0M | | | | | | — | — |
|
|
41
|
+
| `ollama-cloud/deepseek-v4-pro` | 1.0M | | | | | | — | — |
|
|
40
42
|
| `ollama-cloud/devstral-2:123b` | 262K | | | | | | — | — |
|
|
41
43
|
| `ollama-cloud/devstral-small-2:24b` | 262K | | | | | | — | — |
|
|
42
44
|
| `ollama-cloud/gemini-3-flash-preview` | 1.0M | | | | | | — | — |
|
|
43
45
|
| `ollama-cloud/gemma3:12b` | 131K | | | | | | — | — |
|
|
44
46
|
| `ollama-cloud/gemma3:27b` | 131K | | | | | | — | — |
|
|
45
47
|
| `ollama-cloud/gemma3:4b` | 131K | | | | | | — | — |
|
|
48
|
+
| `ollama-cloud/gemma4:31b` | 262K | | | | | | — | — |
|
|
46
49
|
| `ollama-cloud/glm-4.6` | 203K | | | | | | — | — |
|
|
47
50
|
| `ollama-cloud/glm-4.7` | 203K | | | | | | — | — |
|
|
48
51
|
| `ollama-cloud/glm-5` | 203K | | | | | | — | — |
|
|
52
|
+
| `ollama-cloud/glm-5.1` | 203K | | | | | | — | — |
|
|
49
53
|
| `ollama-cloud/gpt-oss:120b` | 131K | | | | | | — | — |
|
|
50
54
|
| `ollama-cloud/gpt-oss:20b` | 131K | | | | | | — | — |
|
|
51
55
|
| `ollama-cloud/kimi-k2-thinking` | 262K | | | | | | — | — |
|
|
52
56
|
| `ollama-cloud/kimi-k2:1t` | 262K | | | | | | — | — |
|
|
53
57
|
| `ollama-cloud/kimi-k2.5` | 262K | | | | | | — | — |
|
|
58
|
+
| `ollama-cloud/kimi-k2.6:cloud` | 262K | | | | | | — | — |
|
|
54
59
|
| `ollama-cloud/minimax-m2` | 205K | | | | | | — | — |
|
|
55
60
|
| `ollama-cloud/minimax-m2.1` | 205K | | | | | | — | — |
|
|
56
61
|
| `ollama-cloud/minimax-m2.5` | 205K | | | | | | — | — |
|
|
57
|
-
| `ollama-cloud/minimax-m2.7` |
|
|
62
|
+
| `ollama-cloud/minimax-m2.7` | 197K | | | | | | — | — |
|
|
58
63
|
| `ollama-cloud/ministral-3:14b` | 262K | | | | | | — | — |
|
|
59
64
|
| `ollama-cloud/ministral-3:3b` | 262K | | | | | | — | — |
|
|
60
65
|
| `ollama-cloud/ministral-3:8b` | 262K | | | | | | — | — |
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# OpenAI
|
|
2
2
|
|
|
3
|
-
Access
|
|
3
|
+
Access 52 OpenAI models through Mastra's model router. Authentication is handled automatically using the `OPENAI_API_KEY` environment variable.
|
|
4
4
|
|
|
5
5
|
Learn more in the [OpenAI documentation](https://platform.openai.com/docs/models).
|
|
6
6
|
|
|
@@ -33,7 +33,6 @@ for await (const chunk of stream) {
|
|
|
33
33
|
| Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
|
|
34
34
|
| ------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
35
35
|
| `openai/chatgpt-image-latest` | — | | | | | | — | — |
|
|
36
|
-
| `openai/codex-mini-latest` | 200K | | | | | | $2 | $6 |
|
|
37
36
|
| `openai/gpt-3.5-turbo` | 16K | | | | | | $0.50 | $2 |
|
|
38
37
|
| `openai/gpt-4` | 8K | | | | | | $30 | $60 |
|
|
39
38
|
| `openai/gpt-4-turbo` | 128K | | | | | | $10 | $30 |
|
|
@@ -67,6 +66,8 @@ for await (const chunk of stream) {
|
|
|
67
66
|
| `openai/gpt-5.4-mini` | 400K | | | | | | $0.75 | $5 |
|
|
68
67
|
| `openai/gpt-5.4-nano` | 400K | | | | | | $0.20 | $1 |
|
|
69
68
|
| `openai/gpt-5.4-pro` | 1.1M | | | | | | $30 | $180 |
|
|
69
|
+
| `openai/gpt-5.5` | 1.1M | | | | | | $5 | $30 |
|
|
70
|
+
| `openai/gpt-5.5-pro` | 1.1M | | | | | | $30 | $180 |
|
|
70
71
|
| `openai/gpt-image-1` | — | | | | | | — | — |
|
|
71
72
|
| `openai/gpt-image-1-mini` | — | | | | | | — | — |
|
|
72
73
|
| `openai/gpt-image-1.5` | — | | | | | | — | — |
|
|
@@ -171,6 +172,10 @@ const response = await agent.generate("Hello!", {
|
|
|
171
172
|
|
|
172
173
|
**user** (`string | null | undefined`)
|
|
173
174
|
|
|
175
|
+
**systemMessageMode** (`"remove" | "system" | "developer" | undefined`)
|
|
176
|
+
|
|
177
|
+
**forceReasoning** (`boolean | undefined`)
|
|
178
|
+
|
|
174
179
|
## Direct provider installation
|
|
175
180
|
|
|
176
181
|
This provider can also be installed directly as a standalone package, which can be used instead of the Mastra model router string. View the [package documentation](https://www.npmjs.com/package/@ai-sdk/openai) for more details.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# OpenCode Go
|
|
2
2
|
|
|
3
|
-
Access
|
|
3
|
+
Access 14 OpenCode Go models through Mastra's model router. Authentication is handled automatically using the `OPENCODE_API_KEY` environment variable.
|
|
4
4
|
|
|
5
5
|
Learn more in the [OpenCode Go documentation](https://opencode.ai/docs/zen).
|
|
6
6
|
|
|
@@ -15,7 +15,7 @@ const agent = new Agent({
|
|
|
15
15
|
id: "my-agent",
|
|
16
16
|
name: "My Agent",
|
|
17
17
|
instructions: "You are a helpful assistant",
|
|
18
|
-
model: "opencode-go/
|
|
18
|
+
model: "opencode-go/deepseek-v4-flash"
|
|
19
19
|
});
|
|
20
20
|
|
|
21
21
|
// Generate a response
|
|
@@ -32,14 +32,22 @@ for await (const chunk of stream) {
|
|
|
32
32
|
|
|
33
33
|
## Models
|
|
34
34
|
|
|
35
|
-
| Model
|
|
36
|
-
|
|
|
37
|
-
| `opencode-go/
|
|
38
|
-
| `opencode-go/
|
|
39
|
-
| `opencode-go/
|
|
40
|
-
| `opencode-go/
|
|
41
|
-
| `opencode-go/
|
|
42
|
-
| `opencode-go/
|
|
35
|
+
| Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
|
|
36
|
+
| ------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
37
|
+
| `opencode-go/deepseek-v4-flash` | 1.0M | | | | | | $0.14 | $0.28 |
|
|
38
|
+
| `opencode-go/deepseek-v4-pro` | 1.0M | | | | | | $2 | $3 |
|
|
39
|
+
| `opencode-go/glm-5` | 203K | | | | | | $1 | $3 |
|
|
40
|
+
| `opencode-go/glm-5.1` | 203K | | | | | | $1 | $4 |
|
|
41
|
+
| `opencode-go/kimi-k2.5` | 262K | | | | | | $0.60 | $3 |
|
|
42
|
+
| `opencode-go/kimi-k2.6` | 262K | | | | | | $0.32 | $1 |
|
|
43
|
+
| `opencode-go/mimo-v2-omni` | 262K | | | | | | $0.40 | $2 |
|
|
44
|
+
| `opencode-go/mimo-v2-pro` | 1.0M | | | | | | $1 | $3 |
|
|
45
|
+
| `opencode-go/mimo-v2.5` | 1.0M | | | | | | $0.40 | $2 |
|
|
46
|
+
| `opencode-go/mimo-v2.5-pro` | 1.0M | | | | | | $1 | $3 |
|
|
47
|
+
| `opencode-go/minimax-m2.5` | 205K | | | | | | $0.30 | $1 |
|
|
48
|
+
| `opencode-go/minimax-m2.7` | 205K | | | | | | $0.30 | $1 |
|
|
49
|
+
| `opencode-go/qwen3.5-plus` | 262K | | | | | | $0.20 | $1 |
|
|
50
|
+
| `opencode-go/qwen3.6-plus` | 262K | | | | | | $0.50 | $3 |
|
|
43
51
|
|
|
44
52
|
## Advanced configuration
|
|
45
53
|
|
|
@@ -51,7 +59,7 @@ const agent = new Agent({
|
|
|
51
59
|
name: "custom-agent",
|
|
52
60
|
model: {
|
|
53
61
|
url: "https://opencode.ai/zen/go/v1",
|
|
54
|
-
id: "opencode-go/
|
|
62
|
+
id: "opencode-go/deepseek-v4-flash",
|
|
55
63
|
apiKey: process.env.OPENCODE_API_KEY,
|
|
56
64
|
headers: {
|
|
57
65
|
"X-Custom-Header": "value"
|
|
@@ -69,8 +77,8 @@ const agent = new Agent({
|
|
|
69
77
|
model: ({ requestContext }) => {
|
|
70
78
|
const useAdvanced = requestContext.task === "complex";
|
|
71
79
|
return useAdvanced
|
|
72
|
-
? "opencode-go/
|
|
73
|
-
: "opencode-go/
|
|
80
|
+
? "opencode-go/qwen3.6-plus"
|
|
81
|
+
: "opencode-go/deepseek-v4-flash";
|
|
74
82
|
}
|
|
75
83
|
});
|
|
76
84
|
```
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# OpenCode Zen
|
|
2
2
|
|
|
3
|
-
Access
|
|
3
|
+
Access 39 OpenCode Zen models through Mastra's model router. Authentication is handled automatically using the `OPENCODE_API_KEY` environment variable.
|
|
4
4
|
|
|
5
5
|
Learn more in the [OpenCode Zen documentation](https://opencode.ai/docs/zen).
|
|
6
6
|
|
|
@@ -35,17 +35,18 @@ for await (const chunk of stream) {
|
|
|
35
35
|
| Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
|
|
36
36
|
| -------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
37
37
|
| `opencode/big-pickle` | 200K | | | | | | — | — |
|
|
38
|
-
| `opencode/claude-3-5-haiku` | 200K | | | | | | $0.80 | $4 |
|
|
39
38
|
| `opencode/claude-haiku-4-5` | 200K | | | | | | $1 | $5 |
|
|
40
39
|
| `opencode/claude-opus-4-1` | 200K | | | | | | $15 | $75 |
|
|
41
40
|
| `opencode/claude-opus-4-5` | 200K | | | | | | $5 | $25 |
|
|
42
41
|
| `opencode/claude-opus-4-6` | 1.0M | | | | | | $5 | $25 |
|
|
42
|
+
| `opencode/claude-opus-4-7` | 1.0M | | | | | | $5 | $25 |
|
|
43
43
|
| `opencode/claude-sonnet-4` | 1.0M | | | | | | $3 | $15 |
|
|
44
44
|
| `opencode/claude-sonnet-4-5` | 1.0M | | | | | | $3 | $15 |
|
|
45
45
|
| `opencode/claude-sonnet-4-6` | 1.0M | | | | | | $3 | $15 |
|
|
46
46
|
| `opencode/gemini-3-flash` | 1.0M | | | | | | $0.50 | $3 |
|
|
47
47
|
| `opencode/gemini-3.1-pro` | 1.0M | | | | | | $2 | $12 |
|
|
48
48
|
| `opencode/glm-5` | 205K | | | | | | $1 | $3 |
|
|
49
|
+
| `opencode/glm-5.1` | 205K | | | | | | $1 | $4 |
|
|
49
50
|
| `opencode/gpt-5` | 400K | | | | | | $1 | $9 |
|
|
50
51
|
| `opencode/gpt-5-codex` | 400K | | | | | | $1 | $9 |
|
|
51
52
|
| `opencode/gpt-5-nano` | 400K | | | | | | — | — |
|
|
@@ -61,11 +62,17 @@ for await (const chunk of stream) {
|
|
|
61
62
|
| `opencode/gpt-5.4-mini` | 400K | | | | | | $0.75 | $5 |
|
|
62
63
|
| `opencode/gpt-5.4-nano` | 400K | | | | | | $0.20 | $1 |
|
|
63
64
|
| `opencode/gpt-5.4-pro` | 1.1M | | | | | | $30 | $180 |
|
|
65
|
+
| `opencode/gpt-5.5` | 1.1M | | | | | | $5 | $30 |
|
|
66
|
+
| `opencode/gpt-5.5-pro` | 1.1M | | | | | | $30 | $180 |
|
|
67
|
+
| `opencode/hy3-preview-free` | 256K | | | | | | — | — |
|
|
64
68
|
| `opencode/kimi-k2.5` | 262K | | | | | | $0.60 | $3 |
|
|
69
|
+
| `opencode/kimi-k2.6` | 262K | | | | | | $0.95 | $4 |
|
|
65
70
|
| `opencode/minimax-m2.5` | 205K | | | | | | $0.30 | $1 |
|
|
66
71
|
| `opencode/minimax-m2.5-free` | 205K | | | | | | — | — |
|
|
72
|
+
| `opencode/minimax-m2.7` | 205K | | | | | | $0.30 | $1 |
|
|
67
73
|
| `opencode/nemotron-3-super-free` | 205K | | | | | | — | — |
|
|
68
|
-
| `opencode/qwen3.
|
|
74
|
+
| `opencode/qwen3.5-plus` | 262K | | | | | | $0.20 | $1 |
|
|
75
|
+
| `opencode/qwen3.6-plus` | 262K | | | | | | $0.50 | $3 |
|
|
69
76
|
|
|
70
77
|
## Advanced configuration
|
|
71
78
|
|
|
@@ -95,7 +102,7 @@ const agent = new Agent({
|
|
|
95
102
|
model: ({ requestContext }) => {
|
|
96
103
|
const useAdvanced = requestContext.task === "complex";
|
|
97
104
|
return useAdvanced
|
|
98
|
-
? "opencode/qwen3.6-plus
|
|
105
|
+
? "opencode/qwen3.6-plus"
|
|
99
106
|
: "opencode/big-pickle";
|
|
100
107
|
}
|
|
101
108
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# OVHcloud AI Endpoints
|
|
2
2
|
|
|
3
|
-
Access
|
|
3
|
+
Access 11 OVHcloud AI Endpoints models through Mastra's model router. Authentication is handled automatically using the `OVHCLOUD_API_KEY` environment variable.
|
|
4
4
|
|
|
5
5
|
Learn more in the [OVHcloud AI Endpoints documentation](https://www.ovhcloud.com/en/public-cloud/ai-endpoints/catalog//).
|
|
6
6
|
|
|
@@ -15,7 +15,7 @@ const agent = new Agent({
|
|
|
15
15
|
id: "my-agent",
|
|
16
16
|
name: "My Agent",
|
|
17
17
|
instructions: "You are a helpful assistant",
|
|
18
|
-
model: "ovhcloud/
|
|
18
|
+
model: "ovhcloud/gpt-oss-120b"
|
|
19
19
|
});
|
|
20
20
|
|
|
21
21
|
// Generate a response
|
|
@@ -34,7 +34,6 @@ for await (const chunk of stream) {
|
|
|
34
34
|
|
|
35
35
|
| Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
|
|
36
36
|
| ---------------------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
37
|
-
| `ovhcloud/deepseek-r1-distill-llama-70b` | 131K | | | | | | $0.74 | $0.74 |
|
|
38
37
|
| `ovhcloud/gpt-oss-120b` | 131K | | | | | | $0.09 | $0.47 |
|
|
39
38
|
| `ovhcloud/gpt-oss-20b` | 131K | | | | | | $0.05 | $0.18 |
|
|
40
39
|
| `ovhcloud/llama-3.1-8b-instruct` | 131K | | | | | | $0.11 | $0.11 |
|
|
@@ -42,11 +41,10 @@ for await (const chunk of stream) {
|
|
|
42
41
|
| `ovhcloud/mistral-7b-instruct-v0.3` | 66K | | | | | | $0.11 | $0.11 |
|
|
43
42
|
| `ovhcloud/mistral-nemo-instruct-2407` | 66K | | | | | | $0.14 | $0.14 |
|
|
44
43
|
| `ovhcloud/mistral-small-3.2-24b-instruct-2506` | 131K | | | | | | $0.10 | $0.31 |
|
|
45
|
-
| `ovhcloud/mixtral-8x7b-instruct-v0.1` | 33K | | | | | | $0.70 | $0.70 |
|
|
46
|
-
| `ovhcloud/qwen2.5-coder-32b-instruct` | 33K | | | | | | $0.96 | $0.96 |
|
|
47
44
|
| `ovhcloud/qwen2.5-vl-72b-instruct` | 33K | | | | | | $1 | $1 |
|
|
48
45
|
| `ovhcloud/qwen3-32b` | 33K | | | | | | $0.09 | $0.25 |
|
|
49
46
|
| `ovhcloud/qwen3-coder-30b-a3b-instruct` | 262K | | | | | | $0.07 | $0.26 |
|
|
47
|
+
| `ovhcloud/qwen3.5-9b` | 262K | | | | | | $0.10 | $0.15 |
|
|
50
48
|
|
|
51
49
|
## Advanced configuration
|
|
52
50
|
|
|
@@ -58,7 +56,7 @@ const agent = new Agent({
|
|
|
58
56
|
name: "custom-agent",
|
|
59
57
|
model: {
|
|
60
58
|
url: "https://oai.endpoints.kepler.ai.cloud.ovh.net/v1",
|
|
61
|
-
id: "ovhcloud/
|
|
59
|
+
id: "ovhcloud/gpt-oss-120b",
|
|
62
60
|
apiKey: process.env.OVHCLOUD_API_KEY,
|
|
63
61
|
headers: {
|
|
64
62
|
"X-Custom-Header": "value"
|
|
@@ -76,8 +74,8 @@ const agent = new Agent({
|
|
|
76
74
|
model: ({ requestContext }) => {
|
|
77
75
|
const useAdvanced = requestContext.task === "complex";
|
|
78
76
|
return useAdvanced
|
|
79
|
-
? "ovhcloud/qwen3-
|
|
80
|
-
: "ovhcloud/
|
|
77
|
+
? "ovhcloud/qwen3.5-9b"
|
|
78
|
+
: "ovhcloud/gpt-oss-120b";
|
|
81
79
|
}
|
|
82
80
|
});
|
|
83
81
|
```
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Poe
|
|
2
2
|
|
|
3
|
-
Access
|
|
3
|
+
Access 121 Poe models through Mastra's model router. Authentication is handled automatically using the `POE_API_KEY` environment variable.
|
|
4
4
|
|
|
5
5
|
Learn more in the [Poe documentation](https://creator.poe.com/docs/external-applications/openai-compatible-api).
|
|
6
6
|
|
|
@@ -41,17 +41,13 @@ for await (const chunk of stream) {
|
|
|
41
41
|
| `poe/anthropic/claude-opus-4.1` | 197K | | | | | | $13 | $64 |
|
|
42
42
|
| `poe/anthropic/claude-opus-4.5` | 197K | | | | | | $4 | $21 |
|
|
43
43
|
| `poe/anthropic/claude-opus-4.6` | 983K | | | | | | $4 | $21 |
|
|
44
|
-
| `poe/anthropic/claude-
|
|
45
|
-
| `poe/anthropic/claude-sonnet-3.5-june` | 189K | | | | | | $3 | $13 |
|
|
44
|
+
| `poe/anthropic/claude-opus-4.7` | 1.0M | | | | | | $4 | $21 |
|
|
46
45
|
| `poe/anthropic/claude-sonnet-3.7` | 197K | | | | | | $3 | $13 |
|
|
47
46
|
| `poe/anthropic/claude-sonnet-4` | 983K | | | | | | $3 | $13 |
|
|
48
47
|
| `poe/anthropic/claude-sonnet-4.5` | 983K | | | | | | $3 | $13 |
|
|
49
48
|
| `poe/anthropic/claude-sonnet-4.6` | 983K | | | | | | $3 | $13 |
|
|
50
|
-
| `poe/cerebras/gpt-oss-120b-cs` |
|
|
51
|
-
| `poe/cerebras/llama-3.1-8b-cs` |
|
|
52
|
-
| `poe/cerebras/llama-3.3-70b-cs` | — | | | | | | — | — |
|
|
53
|
-
| `poe/cerebras/qwen3-235b-2507-cs` | — | | | | | | — | — |
|
|
54
|
-
| `poe/cerebras/qwen3-32b-cs` | — | | | | | | — | — |
|
|
49
|
+
| `poe/cerebras/gpt-oss-120b-cs` | 128K | | | | | | $0.35 | $0.75 |
|
|
50
|
+
| `poe/cerebras/llama-3.1-8b-cs` | 128K | | | | | | $0.10 | $0.10 |
|
|
55
51
|
| `poe/elevenlabs/elevenlabs-music` | 2K | | | | | | — | — |
|
|
56
52
|
| `poe/elevenlabs/elevenlabs-v2.5-turbo` | 128K | | | | | | — | — |
|
|
57
53
|
| `poe/elevenlabs/elevenlabs-v3` | 128K | | | | | | — | — |
|
|
@@ -62,10 +58,9 @@ for await (const chunk of stream) {
|
|
|
62
58
|
| `poe/google/gemini-2.5-flash-lite` | 1.0M | | | | | | $0.07 | $0.28 |
|
|
63
59
|
| `poe/google/gemini-2.5-pro` | 1.1M | | | | | | $0.87 | $7 |
|
|
64
60
|
| `poe/google/gemini-3-flash` | 1.0M | | | | | | $0.40 | $2 |
|
|
65
|
-
| `poe/google/gemini-3-pro` | 1.0M | | | | | | $2 | $10 |
|
|
66
61
|
| `poe/google/gemini-3.1-flash-lite` | 1.0M | | | | | | $0.25 | $2 |
|
|
67
62
|
| `poe/google/gemini-3.1-pro` | 1.0M | | | | | | $2 | $12 |
|
|
68
|
-
| `poe/google/
|
|
63
|
+
| `poe/google/gemma-4-31b` | 262K | | | | | | — | — |
|
|
69
64
|
| `poe/google/imagen-3` | 480 | | | | | | — | — |
|
|
70
65
|
| `poe/google/imagen-3-fast` | 480 | | | | | | — | — |
|
|
71
66
|
| `poe/google/imagen-4` | 480 | | | | | | — | — |
|
|
@@ -87,19 +82,16 @@ for await (const chunk of stream) {
|
|
|
87
82
|
| `poe/novita/deepseek-v3.2` | 128K | | | | | | $0.27 | $0.40 |
|
|
88
83
|
| `poe/novita/glm-4.6` | — | | | | | | — | — |
|
|
89
84
|
| `poe/novita/glm-4.6v` | 131K | | | | | | — | — |
|
|
90
|
-
| `poe/novita/glm-4.7` | 205K | | | | | | — | — |
|
|
91
85
|
| `poe/novita/glm-4.7-flash` | 200K | | | | | | — | — |
|
|
92
86
|
| `poe/novita/glm-4.7-n` | 205K | | | | | | — | — |
|
|
87
|
+
| `poe/novita/glm-5` | 205K | | | | | | $1 | $3 |
|
|
93
88
|
| `poe/novita/kimi-k2-thinking` | 256K | | | | | | — | — |
|
|
94
|
-
| `poe/novita/kimi-k2.5` |
|
|
89
|
+
| `poe/novita/kimi-k2.5` | 128K | | | | | | $0.60 | $3 |
|
|
95
90
|
| `poe/novita/minimax-m2.1` | 205K | | | | | | — | — |
|
|
96
|
-
| `poe/openai/chatgpt-4o-latest` | 128K | | | | | | $5 | $14 |
|
|
97
91
|
| `poe/openai/dall-e-3` | 800 | | | | | | — | — |
|
|
98
92
|
| `poe/openai/gpt-3.5-turbo` | 16K | | | | | | $0.45 | $1 |
|
|
99
93
|
| `poe/openai/gpt-3.5-turbo-instruct` | 4K | | | | | | $1 | $2 |
|
|
100
94
|
| `poe/openai/gpt-3.5-turbo-raw` | 5K | | | | | | $0.45 | $1 |
|
|
101
|
-
| `poe/openai/gpt-4-classic` | 8K | | | | | | $27 | $54 |
|
|
102
|
-
| `poe/openai/gpt-4-classic-0314` | 8K | | | | | | $27 | $54 |
|
|
103
95
|
| `poe/openai/gpt-4-turbo` | 128K | | | | | | $9 | $27 |
|
|
104
96
|
| `poe/openai/gpt-4.1` | 1.0M | | | | | | $2 | $7 |
|
|
105
97
|
| `poe/openai/gpt-4.1-mini` | 1.0M | | | | | | $0.36 | $1 |
|
|
@@ -131,9 +123,12 @@ for await (const chunk of stream) {
|
|
|
131
123
|
| `poe/openai/gpt-5.4-mini` | 400K | | | | | | $0.68 | $4 |
|
|
132
124
|
| `poe/openai/gpt-5.4-nano` | 400K | | | | | | $0.18 | $1 |
|
|
133
125
|
| `poe/openai/gpt-5.4-pro` | 1.1M | | | | | | $27 | $160 |
|
|
126
|
+
| `poe/openai/gpt-5.5` | 400K | | | | | | $5 | $27 |
|
|
127
|
+
| `poe/openai/gpt-5.5-pro` | 400K | | | | | | $27 | $164 |
|
|
134
128
|
| `poe/openai/gpt-image-1` | 128K | | | | | | — | — |
|
|
135
129
|
| `poe/openai/gpt-image-1-mini` | — | | | | | | — | — |
|
|
136
130
|
| `poe/openai/gpt-image-1.5` | 128K | | | | | | — | — |
|
|
131
|
+
| `poe/openai/gpt-image-2` | — | | | | | | $5 | $32 |
|
|
137
132
|
| `poe/openai/o1` | 200K | | | | | | $14 | $54 |
|
|
138
133
|
| `poe/openai/o1-pro` | 200K | | | | | | $140 | $540 |
|
|
139
134
|
| `poe/openai/o3` | 200K | | | | | | $2 | $7 |
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
# Regolo AI
|
|
2
|
+
|
|
3
|
+
Access 13 Regolo AI models through Mastra's model router. Authentication is handled automatically using the `REGOLO_API_KEY` environment variable.
|
|
4
|
+
|
|
5
|
+
Learn more in the [Regolo AI documentation](https://docs.regolo.ai/).
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
REGOLO_API_KEY=your-api-key
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
import { Agent } from "@mastra/core/agent";
|
|
13
|
+
|
|
14
|
+
const agent = new Agent({
|
|
15
|
+
id: "my-agent",
|
|
16
|
+
name: "My Agent",
|
|
17
|
+
instructions: "You are a helpful assistant",
|
|
18
|
+
model: "regolo-ai/gpt-oss-120b"
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
// Generate a response
|
|
22
|
+
const response = await agent.generate("Hello!");
|
|
23
|
+
|
|
24
|
+
// Stream a response
|
|
25
|
+
const stream = await agent.stream("Tell me a story");
|
|
26
|
+
for await (const chunk of stream) {
|
|
27
|
+
console.log(chunk);
|
|
28
|
+
}
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
> **Info:** Mastra uses the OpenAI-compatible `/chat/completions` endpoint. Some provider-specific features may not be available. Check the [Regolo AI documentation](https://docs.regolo.ai/) for details.
|
|
32
|
+
|
|
33
|
+
## Models
|
|
34
|
+
|
|
35
|
+
| Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
|
|
36
|
+
| ---------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
37
|
+
| `regolo-ai/gpt-oss-120b` | 128K | | | | | | $1 | $4 |
|
|
38
|
+
| `regolo-ai/gpt-oss-20b` | 128K | | | | | | $0.40 | $2 |
|
|
39
|
+
| `regolo-ai/llama-3.1-8b-instruct` | 120K | | | | | | $0.05 | $0.25 |
|
|
40
|
+
| `regolo-ai/llama-3.3-70b-instruct` | 128K | | | | | | $0.60 | $3 |
|
|
41
|
+
| `regolo-ai/minimax-m2.5` | 190K | | | | | | $0.80 | $4 |
|
|
42
|
+
| `regolo-ai/mistral-small-4-119b` | 256K | | | | | | $0.75 | $3 |
|
|
43
|
+
| `regolo-ai/mistral-small3.2` | 120K | | | | | | $0.50 | $2 |
|
|
44
|
+
| `regolo-ai/qwen-image` | 8K | | | | | | $0.50 | $2 |
|
|
45
|
+
| `regolo-ai/qwen3-coder-next` | 262K | | | | | | $0.30 | $1 |
|
|
46
|
+
| `regolo-ai/qwen3-embedding-8b` | 33K | | | | | | $0.10 | $0.10 |
|
|
47
|
+
| `regolo-ai/qwen3-reranker-4b` | 33K | | | | | | $0.12 | $0.12 |
|
|
48
|
+
| `regolo-ai/qwen3.5-122b` | 262K | | | | | | $0.90 | $4 |
|
|
49
|
+
| `regolo-ai/qwen3.5-9b` | 262K | | | | | | $0.15 | $0.60 |
|
|
50
|
+
|
|
51
|
+
## Advanced configuration
|
|
52
|
+
|
|
53
|
+
### Custom headers
|
|
54
|
+
|
|
55
|
+
```typescript
|
|
56
|
+
const agent = new Agent({
|
|
57
|
+
id: "custom-agent",
|
|
58
|
+
name: "custom-agent",
|
|
59
|
+
model: {
|
|
60
|
+
url: "https://api.regolo.ai/v1",
|
|
61
|
+
id: "regolo-ai/gpt-oss-120b",
|
|
62
|
+
apiKey: process.env.REGOLO_API_KEY,
|
|
63
|
+
headers: {
|
|
64
|
+
"X-Custom-Header": "value"
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
});
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
### Dynamic model selection
|
|
71
|
+
|
|
72
|
+
```typescript
|
|
73
|
+
const agent = new Agent({
|
|
74
|
+
id: "dynamic-agent",
|
|
75
|
+
name: "Dynamic Agent",
|
|
76
|
+
model: ({ requestContext }) => {
|
|
77
|
+
const useAdvanced = requestContext.task === "complex";
|
|
78
|
+
return useAdvanced
|
|
79
|
+
? "regolo-ai/qwen3.5-9b"
|
|
80
|
+
: "regolo-ai/gpt-oss-120b";
|
|
81
|
+
}
|
|
82
|
+
});
|
|
83
|
+
```
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# SiliconFlow (China)
|
|
2
2
|
|
|
3
|
-
Access
|
|
3
|
+
Access 81 SiliconFlow (China) models through Mastra's model router. Authentication is handled automatically using the `SILICONFLOW_CN_API_KEY` environment variable.
|
|
4
4
|
|
|
5
5
|
Learn more in the [SiliconFlow (China) documentation](https://cloud.siliconflow.com/models).
|
|
6
6
|
|
|
@@ -61,9 +61,11 @@ for await (const chunk of stream) {
|
|
|
61
61
|
| `siliconflow-cn/Pro/MiniMaxAI/MiniMax-M2.5` | 192K | | | | | | $0.30 | $1 |
|
|
62
62
|
| `siliconflow-cn/Pro/moonshotai/Kimi-K2-Instruct-0905` | 262K | | | | | | $0.40 | $2 |
|
|
63
63
|
| `siliconflow-cn/Pro/moonshotai/Kimi-K2-Thinking` | 262K | | | | | | $0.55 | $3 |
|
|
64
|
-
| `siliconflow-cn/Pro/moonshotai/Kimi-K2.5` | 262K | | | | | | $0.
|
|
64
|
+
| `siliconflow-cn/Pro/moonshotai/Kimi-K2.5` | 262K | | | | | | $0.45 | $2 |
|
|
65
|
+
| `siliconflow-cn/Pro/moonshotai/Kimi-K2.6` | 262K | | | | | | $0.95 | $4 |
|
|
65
66
|
| `siliconflow-cn/Pro/zai-org/GLM-4.7` | 205K | | | | | | $0.60 | $2 |
|
|
66
67
|
| `siliconflow-cn/Pro/zai-org/GLM-5` | 205K | | | | | | $1 | $3 |
|
|
68
|
+
| `siliconflow-cn/Pro/zai-org/GLM-5.1` | 205K | | | | | | $1 | $4 |
|
|
67
69
|
| `siliconflow-cn/Qwen/Qwen2.5-14B-Instruct` | 33K | | | | | | $0.10 | $0.10 |
|
|
68
70
|
| `siliconflow-cn/Qwen/Qwen2.5-32B-Instruct` | 33K | | | | | | $0.18 | $0.18 |
|
|
69
71
|
| `siliconflow-cn/Qwen/Qwen2.5-72B-Instruct` | 33K | | | | | | $0.59 | $0.59 |
|
|
@@ -100,6 +102,7 @@ for await (const chunk of stream) {
|
|
|
100
102
|
| `siliconflow-cn/Qwen/Qwen3.5-397B-A17B` | 262K | | | | | | $0.29 | $2 |
|
|
101
103
|
| `siliconflow-cn/Qwen/Qwen3.5-4B` | 262K | | | | | | — | — |
|
|
102
104
|
| `siliconflow-cn/Qwen/Qwen3.5-9B` | 262K | | | | | | $0.22 | $2 |
|
|
105
|
+
| `siliconflow-cn/Qwen/Qwen3.6-35B-A3B` | 262K | | | | | | $0.23 | $2 |
|
|
103
106
|
| `siliconflow-cn/Qwen/QwQ-32B` | 131K | | | | | | $0.15 | $0.58 |
|
|
104
107
|
| `siliconflow-cn/stepfun-ai/Step-3.5-Flash` | 262K | | | | | | $0.10 | $0.30 |
|
|
105
108
|
| `siliconflow-cn/tencent/Hunyuan-A13B-Instruct` | 131K | | | | | | $0.14 | $0.57 |
|