@mastra/mcp-docs-server 1.1.8-alpha.0 → 1.1.9-alpha.0
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/agent-memory.md +2 -2
- package/.docs/docs/agents/guardrails.md +3 -3
- package/.docs/docs/agents/network-approval.md +4 -1
- package/.docs/docs/agents/networks.md +1 -1
- package/.docs/docs/agents/overview.md +1 -1
- package/.docs/docs/agents/processors.md +35 -17
- package/.docs/docs/agents/structured-output.md +1 -1
- package/.docs/docs/agents/using-tools.md +2 -2
- package/.docs/docs/build-with-ai/mcp-docs-server.md +4 -4
- package/.docs/docs/build-with-ai/skills.md +1 -1
- package/.docs/docs/community/discord.md +1 -1
- package/.docs/docs/community/licensing.md +1 -1
- package/.docs/docs/deployment/mastra-server.md +1 -1
- package/.docs/docs/deployment/studio.md +2 -2
- package/.docs/docs/deployment/web-framework.md +1 -1
- package/.docs/docs/evals/overview.md +1 -1
- package/.docs/docs/getting-started/build-with-ai.md +1 -1
- package/.docs/docs/getting-started/project-structure.md +1 -1
- package/.docs/docs/index.md +62 -16
- package/.docs/docs/mastra-cloud/deployment.md +1 -1
- package/.docs/docs/mastra-cloud/studio.md +1 -1
- package/.docs/docs/mcp/publishing-mcp-server.md +1 -1
- package/.docs/docs/memory/memory-processors.md +1 -1
- package/.docs/docs/memory/message-history.md +2 -2
- package/.docs/docs/memory/observational-memory.md +6 -2
- package/.docs/docs/memory/semantic-recall.md +2 -2
- package/.docs/docs/memory/storage.md +1 -1
- package/.docs/docs/memory/working-memory.md +6 -6
- package/.docs/docs/observability/tracing/bridges/otel.md +2 -2
- package/.docs/docs/observability/tracing/exporters/default.md +1 -1
- package/.docs/docs/observability/tracing/overview.md +4 -4
- package/.docs/docs/observability/tracing/processors/sensitive-data-filter.md +2 -2
- package/.docs/docs/rag/chunking-and-embedding.md +1 -1
- package/.docs/docs/rag/vector-databases.md +2 -2
- package/.docs/docs/server/auth/auth0.md +1 -1
- package/.docs/docs/server/auth/firebase.md +1 -1
- package/.docs/docs/server/auth/simple-auth.md +1 -1
- package/.docs/docs/server/auth.md +1 -1
- package/.docs/docs/server/mastra-client.md +1 -1
- package/.docs/docs/server/mastra-server.md +1 -1
- package/.docs/docs/server/server-adapters.md +2 -2
- package/.docs/docs/streaming/events.md +1 -1
- package/.docs/docs/streaming/overview.md +1 -1
- package/.docs/docs/streaming/tool-streaming.md +44 -30
- package/.docs/docs/streaming/workflow-streaming.md +1 -1
- package/.docs/docs/workflows/control-flow.md +44 -2
- package/.docs/docs/workflows/error-handling.md +1 -1
- package/.docs/docs/workflows/overview.md +3 -3
- package/.docs/docs/workflows/snapshots.md +1 -1
- package/.docs/docs/workflows/time-travel.md +2 -2
- package/.docs/docs/workspace/filesystem.md +2 -2
- package/.docs/docs/workspace/overview.md +52 -7
- package/.docs/docs/workspace/sandbox.md +72 -13
- package/.docs/docs/workspace/skills.md +2 -2
- package/.docs/guides/build-your-ui/copilotkit.md +1 -1
- package/.docs/guides/deployment/inngest.md +4 -4
- package/.docs/guides/guide/ai-recruiter.md +1 -1
- package/.docs/guides/guide/github-actions-pr-description.md +2 -2
- package/.docs/guides/guide/notes-mcp-server.md +1 -1
- package/.docs/guides/guide/stock-agent.md +2 -2
- package/.docs/guides/migrations/agentnetwork.md +1 -1
- package/.docs/guides/migrations/upgrade-to-v1/client.md +2 -2
- package/.docs/guides/migrations/upgrade-to-v1/deployment.md +1 -1
- package/.docs/guides/migrations/upgrade-to-v1/memory.md +2 -2
- package/.docs/guides/migrations/upgrade-to-v1/storage.md +1 -1
- package/.docs/guides/migrations/upgrade-to-v1/tools.md +2 -2
- package/.docs/guides/migrations/upgrade-to-v1/workflows.md +5 -5
- package/.docs/guides/migrations/vnext-to-standard-apis.md +2 -2
- package/.docs/models/gateways/netlify.md +1 -2
- package/.docs/models/gateways/openrouter.md +8 -1
- package/.docs/models/gateways/vercel.md +3 -1
- package/.docs/models/index.md +1 -1
- package/.docs/models/providers/abacus.md +21 -11
- package/.docs/models/providers/aihubmix.md +7 -2
- package/.docs/models/providers/alibaba-cn.md +80 -71
- package/.docs/models/providers/alibaba-coding-plan-cn.md +78 -0
- package/.docs/models/providers/alibaba-coding-plan.md +78 -0
- package/.docs/models/providers/chutes.md +1 -1
- package/.docs/models/providers/clarifai.md +81 -0
- package/.docs/models/providers/cloudferro-sherlock.md +5 -4
- package/.docs/models/providers/cloudflare-workers-ai.md +3 -2
- package/.docs/models/providers/cortecs.md +7 -5
- package/.docs/models/providers/deepinfra.md +7 -2
- package/.docs/models/providers/deepseek.md +1 -1
- package/.docs/models/providers/drun.md +73 -0
- package/.docs/models/providers/firmware.md +28 -20
- package/.docs/models/providers/google.md +3 -1
- package/.docs/models/providers/inception.md +4 -2
- package/.docs/models/providers/kilo.md +3 -1
- package/.docs/models/providers/nano-gpt.md +519 -40
- package/.docs/models/providers/nebius.md +34 -34
- package/.docs/models/providers/nvidia.md +4 -2
- package/.docs/models/providers/ollama-cloud.md +1 -2
- package/.docs/models/providers/openai.md +3 -1
- package/.docs/models/providers/opencode.md +36 -33
- package/.docs/models/providers/poe.md +8 -2
- package/.docs/models/providers/qiniu-ai.md +20 -5
- package/.docs/models/providers/requesty.md +17 -1
- package/.docs/models/providers/siliconflow-cn.md +7 -1
- package/.docs/models/providers/togetherai.md +1 -3
- package/.docs/models/providers/xai.md +28 -25
- package/.docs/models/providers/xiaomi.md +1 -1
- package/.docs/models/providers/zenmux.md +3 -1
- package/.docs/models/providers.md +4 -0
- package/.docs/reference/agents/getDefaultGenerateOptions.md +1 -1
- package/.docs/reference/agents/getDefaultOptions.md +1 -1
- package/.docs/reference/agents/getDefaultStreamOptions.md +1 -1
- package/.docs/reference/agents/getDescription.md +1 -1
- package/.docs/reference/agents/network.md +3 -1
- package/.docs/reference/ai-sdk/handle-chat-stream.md +2 -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-v4-messages.md +1 -1
- package/.docs/reference/ai-sdk/to-ai-sdk-v5-messages.md +1 -1
- package/.docs/reference/auth/auth0.md +3 -3
- package/.docs/reference/auth/firebase.md +1 -1
- package/.docs/reference/auth/workos.md +2 -2
- package/.docs/reference/cli/mastra.md +4 -4
- package/.docs/reference/client-js/mastra-client.md +1 -1
- package/.docs/reference/configuration.md +62 -6
- package/.docs/reference/core/getDeployer.md +1 -1
- package/.docs/reference/core/getLogger.md +1 -1
- package/.docs/reference/core/getScorer.md +2 -2
- package/.docs/reference/core/getServer.md +1 -1
- package/.docs/reference/core/getStorage.md +1 -1
- package/.docs/reference/core/getStoredAgentById.md +1 -1
- package/.docs/reference/core/getTelemetry.md +1 -1
- package/.docs/reference/core/getWorkflow.md +1 -1
- package/.docs/reference/core/listAgents.md +1 -1
- package/.docs/reference/core/listMCPServers.md +1 -1
- package/.docs/reference/core/listStoredAgents.md +1 -1
- package/.docs/reference/core/listVectors.md +1 -1
- package/.docs/reference/core/mastra-class.md +1 -1
- package/.docs/reference/core/setLogger.md +1 -1
- package/.docs/reference/core/setStorage.md +1 -1
- package/.docs/reference/datasets/dataset.md +1 -1
- package/.docs/reference/datasets/datasets-manager.md +1 -1
- package/.docs/reference/datasets/get.md +2 -2
- package/.docs/reference/datasets/getDetails.md +1 -1
- package/.docs/reference/datasets/listItems.md +1 -1
- package/.docs/reference/deployer/vercel.md +1 -1
- package/.docs/reference/evals/answer-relevancy.md +1 -1
- package/.docs/reference/evals/completeness.md +1 -1
- package/.docs/reference/evals/context-precision.md +3 -3
- package/.docs/reference/evals/context-relevance.md +1 -1
- package/.docs/reference/evals/hallucination.md +3 -9
- package/.docs/reference/evals/keyword-coverage.md +1 -1
- package/.docs/reference/evals/mastra-scorer.md +1 -1
- package/.docs/reference/evals/noise-sensitivity.md +2 -2
- package/.docs/reference/evals/textual-difference.md +1 -1
- package/.docs/reference/evals/tone-consistency.md +1 -1
- package/.docs/reference/evals/tool-call-accuracy.md +1 -1
- package/.docs/reference/harness/harness-class.md +4 -2
- package/.docs/reference/index.md +2 -0
- package/.docs/reference/memory/cloneThread.md +1 -1
- package/.docs/reference/memory/observational-memory.md +7 -5
- package/.docs/reference/observability/tracing/bridges/otel.md +1 -1
- package/.docs/reference/observability/tracing/processors/sensitive-data-filter.md +1 -1
- package/.docs/reference/observability/tracing/spans.md +2 -0
- package/.docs/reference/processors/message-history-processor.md +1 -1
- package/.docs/reference/processors/processor-interface.md +6 -2
- package/.docs/reference/processors/token-limiter-processor.md +2 -2
- package/.docs/reference/rag/metadata-filters.md +10 -10
- package/.docs/reference/server/create-route.md +2 -0
- package/.docs/reference/server/koa-adapter.md +1 -1
- package/.docs/reference/server/register-api-route.md +2 -2
- package/.docs/reference/storage/cloudflare-d1.md +3 -3
- package/.docs/reference/storage/cloudflare.md +1 -1
- package/.docs/reference/storage/convex.md +1 -1
- package/.docs/reference/storage/dynamodb.md +2 -2
- package/.docs/reference/storage/lance.md +2 -2
- package/.docs/reference/storage/mongodb.md +1 -1
- package/.docs/reference/storage/mssql.md +1 -1
- package/.docs/reference/storage/postgresql.md +2 -2
- package/.docs/reference/storage/upstash.md +1 -1
- package/.docs/reference/streaming/workflows/observeStream.md +1 -1
- package/.docs/reference/templates/overview.md +1 -1
- package/.docs/reference/tools/create-tool.md +1 -1
- package/.docs/reference/tools/mcp-server.md +4 -4
- package/.docs/reference/vectors/chroma.md +2 -2
- package/.docs/reference/vectors/couchbase.md +6 -6
- package/.docs/reference/vectors/pg.md +2 -0
- package/.docs/reference/vectors/s3vectors.md +5 -5
- package/.docs/reference/voice/azure.md +4 -2
- package/.docs/reference/voice/cloudflare.md +4 -2
- package/.docs/reference/voice/elevenlabs.md +1 -1
- package/.docs/reference/voice/google-gemini-live.md +2 -2
- package/.docs/reference/voice/google.md +3 -3
- package/.docs/reference/voice/mastra-voice.md +1 -1
- package/.docs/reference/voice/murf.md +2 -2
- package/.docs/reference/voice/openai-realtime.md +3 -1
- package/.docs/reference/voice/openai.md +7 -3
- package/.docs/reference/voice/playai.md +4 -2
- package/.docs/reference/voice/sarvam.md +3 -1
- package/.docs/reference/voice/speechify.md +6 -4
- package/.docs/reference/voice/voice.addInstructions.md +2 -2
- package/.docs/reference/voice/voice.addTools.md +1 -1
- package/.docs/reference/voice/voice.close.md +2 -2
- package/.docs/reference/voice/voice.connect.md +4 -2
- package/.docs/reference/voice/voice.events.md +2 -2
- package/.docs/reference/voice/voice.getSpeakers.md +1 -1
- package/.docs/reference/voice/voice.listen.md +11 -5
- package/.docs/reference/voice/voice.off.md +2 -2
- package/.docs/reference/voice/voice.on.md +2 -2
- package/.docs/reference/voice/voice.speak.md +14 -4
- package/.docs/reference/voice/voice.updateConfig.md +1 -1
- package/.docs/reference/workflows/run-methods/timeTravel.md +1 -1
- package/.docs/reference/workspace/blaxel-sandbox.md +164 -0
- package/.docs/reference/workspace/daytona-sandbox.md +48 -139
- package/.docs/reference/workspace/e2b-sandbox.md +39 -75
- package/.docs/reference/workspace/filesystem.md +24 -10
- package/.docs/reference/workspace/gcs-filesystem.md +20 -0
- package/.docs/reference/workspace/local-filesystem.md +23 -9
- package/.docs/reference/workspace/local-sandbox.md +23 -98
- package/.docs/reference/workspace/process-manager.md +296 -0
- package/.docs/reference/workspace/s3-filesystem.md +20 -0
- package/.docs/reference/workspace/sandbox.md +9 -1
- package/.docs/reference/workspace/workspace-class.md +93 -25
- package/CHANGELOG.md +16 -0
- package/dist/tools/course.d.ts +7 -27
- package/dist/tools/course.d.ts.map +1 -1
- package/dist/tools/docs.d.ts +6 -18
- package/dist/tools/docs.d.ts.map +1 -1
- package/dist/tools/embedded-docs.d.ts +12 -112
- package/dist/tools/embedded-docs.d.ts.map +1 -1
- package/dist/tools/migration.d.ts +6 -26
- package/dist/tools/migration.d.ts.map +1 -1
- package/package.json +9 -9
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Alibaba (China)
|
|
2
2
|
|
|
3
|
-
Access
|
|
3
|
+
Access 74 Alibaba (China) models through Mastra's model router. Authentication is handled automatically using the `DASHSCOPE_API_KEY` environment variable.
|
|
4
4
|
|
|
5
5
|
Learn more in the [Alibaba (China) documentation](https://www.alibabacloud.com/help/en/model-studio/models).
|
|
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: "alibaba-cn/
|
|
18
|
+
model: "alibaba-cn/MiniMax/MiniMax-M2.5"
|
|
19
19
|
});
|
|
20
20
|
|
|
21
21
|
// Generate a response
|
|
@@ -32,73 +32,82 @@ for await (const chunk of stream) {
|
|
|
32
32
|
|
|
33
33
|
## Models
|
|
34
34
|
|
|
35
|
-
| Model
|
|
36
|
-
|
|
|
37
|
-
| `alibaba-cn/deepseek-r1`
|
|
38
|
-
| `alibaba-cn/deepseek-r1-0528`
|
|
39
|
-
| `alibaba-cn/deepseek-r1-distill-llama-70b`
|
|
40
|
-
| `alibaba-cn/deepseek-r1-distill-llama-8b`
|
|
41
|
-
| `alibaba-cn/deepseek-r1-distill-qwen-1-5b`
|
|
42
|
-
| `alibaba-cn/deepseek-r1-distill-qwen-14b`
|
|
43
|
-
| `alibaba-cn/deepseek-r1-distill-qwen-32b`
|
|
44
|
-
| `alibaba-cn/deepseek-r1-distill-qwen-7b`
|
|
45
|
-
| `alibaba-cn/deepseek-v3`
|
|
46
|
-
| `alibaba-cn/deepseek-v3-1`
|
|
47
|
-
| `alibaba-cn/deepseek-v3-2-exp`
|
|
48
|
-
| `alibaba-cn/
|
|
49
|
-
| `alibaba-cn/kimi-k2
|
|
50
|
-
| `alibaba-cn/
|
|
51
|
-
| `alibaba-cn/
|
|
52
|
-
| `alibaba-cn/
|
|
53
|
-
| `alibaba-cn/
|
|
54
|
-
| `alibaba-cn/
|
|
55
|
-
| `alibaba-cn/
|
|
56
|
-
| `alibaba-cn/qwen-
|
|
57
|
-
| `alibaba-cn/qwen-
|
|
58
|
-
| `alibaba-cn/qwen-
|
|
59
|
-
| `alibaba-cn/qwen-
|
|
60
|
-
| `alibaba-cn/qwen-
|
|
61
|
-
| `alibaba-cn/qwen-
|
|
62
|
-
| `alibaba-cn/qwen-
|
|
63
|
-
| `alibaba-cn/qwen-plus`
|
|
64
|
-
| `alibaba-cn/qwen-
|
|
65
|
-
| `alibaba-cn/qwen-turbo`
|
|
66
|
-
| `alibaba-cn/qwen-
|
|
67
|
-
| `alibaba-cn/qwen-
|
|
68
|
-
| `alibaba-cn/qwen-
|
|
69
|
-
| `alibaba-cn/
|
|
70
|
-
| `alibaba-cn/
|
|
71
|
-
| `alibaba-cn/
|
|
72
|
-
| `alibaba-cn/
|
|
73
|
-
| `alibaba-cn/qwen2-5-
|
|
74
|
-
| `alibaba-cn/qwen2-5-
|
|
75
|
-
| `alibaba-cn/qwen2-5-
|
|
76
|
-
| `alibaba-cn/qwen2-5-
|
|
77
|
-
| `alibaba-cn/qwen2-5-
|
|
78
|
-
| `alibaba-cn/qwen2-5-
|
|
79
|
-
| `alibaba-cn/qwen2-5-
|
|
80
|
-
| `alibaba-cn/
|
|
81
|
-
| `alibaba-cn/
|
|
82
|
-
| `alibaba-cn/
|
|
83
|
-
| `alibaba-cn/
|
|
84
|
-
| `alibaba-cn/qwen3-
|
|
85
|
-
| `alibaba-cn/qwen3-
|
|
86
|
-
| `alibaba-cn/qwen3-
|
|
87
|
-
| `alibaba-cn/qwen3-
|
|
88
|
-
| `alibaba-cn/qwen3-
|
|
89
|
-
| `alibaba-cn/qwen3-
|
|
90
|
-
| `alibaba-cn/qwen3-
|
|
91
|
-
| `alibaba-cn/qwen3-
|
|
92
|
-
| `alibaba-cn/qwen3-
|
|
93
|
-
| `alibaba-cn/qwen3-
|
|
94
|
-
| `alibaba-cn/qwen3-
|
|
95
|
-
| `alibaba-cn/qwen3-
|
|
96
|
-
| `alibaba-cn/qwen3-
|
|
97
|
-
| `alibaba-cn/qwen3
|
|
98
|
-
| `alibaba-cn/qwen3
|
|
99
|
-
| `alibaba-cn/
|
|
100
|
-
| `alibaba-cn/
|
|
101
|
-
| `alibaba-cn/
|
|
35
|
+
| Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
|
|
36
|
+
| ----------------------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
37
|
+
| `alibaba-cn/deepseek-r1` | 131K | | | | | | $0.57 | $2 |
|
|
38
|
+
| `alibaba-cn/deepseek-r1-0528` | 131K | | | | | | $0.57 | $2 |
|
|
39
|
+
| `alibaba-cn/deepseek-r1-distill-llama-70b` | 33K | | | | | | $0.29 | $0.86 |
|
|
40
|
+
| `alibaba-cn/deepseek-r1-distill-llama-8b` | 33K | | | | | | — | — |
|
|
41
|
+
| `alibaba-cn/deepseek-r1-distill-qwen-1-5b` | 33K | | | | | | — | — |
|
|
42
|
+
| `alibaba-cn/deepseek-r1-distill-qwen-14b` | 33K | | | | | | $0.14 | $0.43 |
|
|
43
|
+
| `alibaba-cn/deepseek-r1-distill-qwen-32b` | 33K | | | | | | $0.29 | $0.86 |
|
|
44
|
+
| `alibaba-cn/deepseek-r1-distill-qwen-7b` | 33K | | | | | | $0.07 | $0.14 |
|
|
45
|
+
| `alibaba-cn/deepseek-v3` | 66K | | | | | | $0.29 | $1 |
|
|
46
|
+
| `alibaba-cn/deepseek-v3-1` | 131K | | | | | | $0.57 | $2 |
|
|
47
|
+
| `alibaba-cn/deepseek-v3-2-exp` | 131K | | | | | | $0.29 | $0.43 |
|
|
48
|
+
| `alibaba-cn/glm-5` | 203K | | | | | | $0.86 | $3 |
|
|
49
|
+
| `alibaba-cn/kimi-k2-thinking` | 262K | | | | | | $0.57 | $2 |
|
|
50
|
+
| `alibaba-cn/kimi-k2.5` | 262K | | | | | | $0.57 | $2 |
|
|
51
|
+
| `alibaba-cn/kimi/kimi-k2.5` | 262K | | | | | | $0.60 | $3 |
|
|
52
|
+
| `alibaba-cn/minimax-m2.5` | 205K | | | | | | $0.30 | $1 |
|
|
53
|
+
| `alibaba-cn/MiniMax/MiniMax-M2.5` | 205K | | | | | | $0.30 | $1 |
|
|
54
|
+
| `alibaba-cn/moonshot-kimi-k2-instruct` | 131K | | | | | | $0.57 | $2 |
|
|
55
|
+
| `alibaba-cn/qvq-max` | 131K | | | | | | $1 | $5 |
|
|
56
|
+
| `alibaba-cn/qwen-deep-research` | 1.0M | | | | | | $8 | $23 |
|
|
57
|
+
| `alibaba-cn/qwen-doc-turbo` | 131K | | | | | | $0.09 | $0.14 |
|
|
58
|
+
| `alibaba-cn/qwen-flash` | 1.0M | | | | | | $0.02 | $0.22 |
|
|
59
|
+
| `alibaba-cn/qwen-long` | 10.0M | | | | | | $0.07 | $0.29 |
|
|
60
|
+
| `alibaba-cn/qwen-math-plus` | 4K | | | | | | $0.57 | $2 |
|
|
61
|
+
| `alibaba-cn/qwen-math-turbo` | 4K | | | | | | $0.29 | $0.86 |
|
|
62
|
+
| `alibaba-cn/qwen-max` | 131K | | | | | | $0.34 | $1 |
|
|
63
|
+
| `alibaba-cn/qwen-mt-plus` | 16K | | | | | | $0.26 | $0.78 |
|
|
64
|
+
| `alibaba-cn/qwen-mt-turbo` | 16K | | | | | | $0.10 | $0.28 |
|
|
65
|
+
| `alibaba-cn/qwen-omni-turbo` | 33K | | | | | | $0.06 | $0.23 |
|
|
66
|
+
| `alibaba-cn/qwen-omni-turbo-realtime` | 33K | | | | | | $0.23 | $0.92 |
|
|
67
|
+
| `alibaba-cn/qwen-plus` | 1.0M | | | | | | $0.12 | $0.29 |
|
|
68
|
+
| `alibaba-cn/qwen-plus-character` | 33K | | | | | | $0.12 | $0.29 |
|
|
69
|
+
| `alibaba-cn/qwen-turbo` | 1.0M | | | | | | $0.04 | $0.09 |
|
|
70
|
+
| `alibaba-cn/qwen-vl-max` | 131K | | | | | | $0.23 | $0.57 |
|
|
71
|
+
| `alibaba-cn/qwen-vl-ocr` | 34K | | | | | | $0.72 | $0.72 |
|
|
72
|
+
| `alibaba-cn/qwen-vl-plus` | 131K | | | | | | $0.12 | $0.29 |
|
|
73
|
+
| `alibaba-cn/qwen2-5-14b-instruct` | 131K | | | | | | $0.14 | $0.43 |
|
|
74
|
+
| `alibaba-cn/qwen2-5-32b-instruct` | 131K | | | | | | $0.29 | $0.86 |
|
|
75
|
+
| `alibaba-cn/qwen2-5-72b-instruct` | 131K | | | | | | $0.57 | $2 |
|
|
76
|
+
| `alibaba-cn/qwen2-5-7b-instruct` | 131K | | | | | | $0.07 | $0.14 |
|
|
77
|
+
| `alibaba-cn/qwen2-5-coder-32b-instruct` | 131K | | | | | | $0.29 | $0.86 |
|
|
78
|
+
| `alibaba-cn/qwen2-5-coder-7b-instruct` | 131K | | | | | | $0.14 | $0.29 |
|
|
79
|
+
| `alibaba-cn/qwen2-5-math-72b-instruct` | 4K | | | | | | $0.57 | $2 |
|
|
80
|
+
| `alibaba-cn/qwen2-5-math-7b-instruct` | 4K | | | | | | $0.14 | $0.29 |
|
|
81
|
+
| `alibaba-cn/qwen2-5-omni-7b` | 33K | | | | | | $0.09 | $0.34 |
|
|
82
|
+
| `alibaba-cn/qwen2-5-vl-72b-instruct` | 131K | | | | | | $2 | $7 |
|
|
83
|
+
| `alibaba-cn/qwen2-5-vl-7b-instruct` | 131K | | | | | | $0.29 | $0.72 |
|
|
84
|
+
| `alibaba-cn/qwen3-14b` | 131K | | | | | | $0.14 | $0.57 |
|
|
85
|
+
| `alibaba-cn/qwen3-235b-a22b` | 131K | | | | | | $0.29 | $1 |
|
|
86
|
+
| `alibaba-cn/qwen3-32b` | 131K | | | | | | $0.29 | $1 |
|
|
87
|
+
| `alibaba-cn/qwen3-8b` | 131K | | | | | | $0.07 | $0.29 |
|
|
88
|
+
| `alibaba-cn/qwen3-asr-flash` | 53K | | | | | | $0.03 | $0.03 |
|
|
89
|
+
| `alibaba-cn/qwen3-coder-30b-a3b-instruct` | 262K | | | | | | $0.22 | $0.86 |
|
|
90
|
+
| `alibaba-cn/qwen3-coder-480b-a35b-instruct` | 262K | | | | | | $0.86 | $3 |
|
|
91
|
+
| `alibaba-cn/qwen3-coder-flash` | 1.0M | | | | | | $0.14 | $0.57 |
|
|
92
|
+
| `alibaba-cn/qwen3-coder-plus` | 1.0M | | | | | | $1 | $5 |
|
|
93
|
+
| `alibaba-cn/qwen3-max` | 262K | | | | | | $0.86 | $3 |
|
|
94
|
+
| `alibaba-cn/qwen3-next-80b-a3b-instruct` | 131K | | | | | | $0.14 | $0.57 |
|
|
95
|
+
| `alibaba-cn/qwen3-next-80b-a3b-thinking` | 131K | | | | | | $0.14 | $1 |
|
|
96
|
+
| `alibaba-cn/qwen3-omni-flash` | 66K | | | | | | $0.06 | $0.23 |
|
|
97
|
+
| `alibaba-cn/qwen3-omni-flash-realtime` | 66K | | | | | | $0.23 | $0.92 |
|
|
98
|
+
| `alibaba-cn/qwen3-vl-235b-a22b` | 131K | | | | | | $0.29 | $1 |
|
|
99
|
+
| `alibaba-cn/qwen3-vl-30b-a3b` | 131K | | | | | | $0.11 | $0.43 |
|
|
100
|
+
| `alibaba-cn/qwen3-vl-plus` | 262K | | | | | | $0.14 | $1 |
|
|
101
|
+
| `alibaba-cn/qwen3.5-397b-a17b` | 262K | | | | | | $0.43 | $3 |
|
|
102
|
+
| `alibaba-cn/qwen3.5-flash` | 1.0M | | | | | | $0.17 | $2 |
|
|
103
|
+
| `alibaba-cn/qwen3.5-plus` | 1.0M | | | | | | $0.57 | $3 |
|
|
104
|
+
| `alibaba-cn/qwq-32b` | 131K | | | | | | $0.29 | $0.86 |
|
|
105
|
+
| `alibaba-cn/qwq-plus` | 131K | | | | | | $0.23 | $0.57 |
|
|
106
|
+
| `alibaba-cn/siliconflow/deepseek-r1-0528` | 164K | | | | | | $0.50 | $2 |
|
|
107
|
+
| `alibaba-cn/siliconflow/deepseek-v3-0324` | 164K | | | | | | $0.25 | $1 |
|
|
108
|
+
| `alibaba-cn/siliconflow/deepseek-v3.1-terminus` | 164K | | | | | | $0.27 | $1 |
|
|
109
|
+
| `alibaba-cn/siliconflow/deepseek-v3.2` | 164K | | | | | | $0.27 | $0.42 |
|
|
110
|
+
| `alibaba-cn/tongyi-intent-detect-v3` | 8K | | | | | | $0.06 | $0.14 |
|
|
102
111
|
|
|
103
112
|
## Advanced Configuration
|
|
104
113
|
|
|
@@ -110,7 +119,7 @@ const agent = new Agent({
|
|
|
110
119
|
name: "custom-agent",
|
|
111
120
|
model: {
|
|
112
121
|
url: "https://dashscope.aliyuncs.com/compatible-mode/v1",
|
|
113
|
-
id: "alibaba-cn/
|
|
122
|
+
id: "alibaba-cn/MiniMax/MiniMax-M2.5",
|
|
114
123
|
apiKey: process.env.DASHSCOPE_API_KEY,
|
|
115
124
|
headers: {
|
|
116
125
|
"X-Custom-Header": "value"
|
|
@@ -129,7 +138,7 @@ const agent = new Agent({
|
|
|
129
138
|
const useAdvanced = requestContext.task === "complex";
|
|
130
139
|
return useAdvanced
|
|
131
140
|
? "alibaba-cn/tongyi-intent-detect-v3"
|
|
132
|
-
: "alibaba-cn/
|
|
141
|
+
: "alibaba-cn/MiniMax/MiniMax-M2.5";
|
|
133
142
|
}
|
|
134
143
|
});
|
|
135
144
|
```
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
# Alibaba Coding Plan (China)
|
|
2
|
+
|
|
3
|
+
Access 8 Alibaba Coding Plan (China) models through Mastra's model router. Authentication is handled automatically using the `ALIBABA_CODING_PLAN_API_KEY` environment variable.
|
|
4
|
+
|
|
5
|
+
Learn more in the [Alibaba Coding Plan (China) documentation](https://help.aliyun.com/zh/model-studio/coding-plan).
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
ALIBABA_CODING_PLAN_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: "alibaba-coding-plan-cn/MiniMax-M2.5"
|
|
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 [Alibaba Coding Plan (China) documentation](https://help.aliyun.com/zh/model-studio/coding-plan) for details.
|
|
32
|
+
|
|
33
|
+
## Models
|
|
34
|
+
|
|
35
|
+
| Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
|
|
36
|
+
| --------------------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
37
|
+
| `alibaba-coding-plan-cn/glm-4.7` | 203K | | | | | | — | — |
|
|
38
|
+
| `alibaba-coding-plan-cn/glm-5` | 203K | | | | | | — | — |
|
|
39
|
+
| `alibaba-coding-plan-cn/kimi-k2.5` | 262K | | | | | | — | — |
|
|
40
|
+
| `alibaba-coding-plan-cn/MiniMax-M2.5` | 197K | | | | | | — | — |
|
|
41
|
+
| `alibaba-coding-plan-cn/qwen3-coder-next` | 262K | | | | | | — | — |
|
|
42
|
+
| `alibaba-coding-plan-cn/qwen3-coder-plus` | 1.0M | | | | | | — | — |
|
|
43
|
+
| `alibaba-coding-plan-cn/qwen3-max-2026-01-23` | 262K | | | | | | — | — |
|
|
44
|
+
| `alibaba-coding-plan-cn/qwen3.5-plus` | 1.0M | | | | | | — | — |
|
|
45
|
+
|
|
46
|
+
## Advanced Configuration
|
|
47
|
+
|
|
48
|
+
### Custom Headers
|
|
49
|
+
|
|
50
|
+
```typescript
|
|
51
|
+
const agent = new Agent({
|
|
52
|
+
id: "custom-agent",
|
|
53
|
+
name: "custom-agent",
|
|
54
|
+
model: {
|
|
55
|
+
url: "https://coding.dashscope.aliyuncs.com/v1",
|
|
56
|
+
id: "alibaba-coding-plan-cn/MiniMax-M2.5",
|
|
57
|
+
apiKey: process.env.ALIBABA_CODING_PLAN_API_KEY,
|
|
58
|
+
headers: {
|
|
59
|
+
"X-Custom-Header": "value"
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
});
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
### Dynamic Model Selection
|
|
66
|
+
|
|
67
|
+
```typescript
|
|
68
|
+
const agent = new Agent({
|
|
69
|
+
id: "dynamic-agent",
|
|
70
|
+
name: "Dynamic Agent",
|
|
71
|
+
model: ({ requestContext }) => {
|
|
72
|
+
const useAdvanced = requestContext.task === "complex";
|
|
73
|
+
return useAdvanced
|
|
74
|
+
? "alibaba-coding-plan-cn/qwen3.5-plus"
|
|
75
|
+
: "alibaba-coding-plan-cn/MiniMax-M2.5";
|
|
76
|
+
}
|
|
77
|
+
});
|
|
78
|
+
```
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
# Alibaba Coding Plan
|
|
2
|
+
|
|
3
|
+
Access 8 Alibaba Coding Plan models through Mastra's model router. Authentication is handled automatically using the `ALIBABA_CODING_PLAN_API_KEY` environment variable.
|
|
4
|
+
|
|
5
|
+
Learn more in the [Alibaba Coding Plan documentation](https://www.alibabacloud.com/help/en/model-studio/coding-plan).
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
ALIBABA_CODING_PLAN_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: "alibaba-coding-plan/MiniMax-M2.5"
|
|
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 [Alibaba Coding Plan documentation](https://www.alibabacloud.com/help/en/model-studio/coding-plan) for details.
|
|
32
|
+
|
|
33
|
+
## Models
|
|
34
|
+
|
|
35
|
+
| Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
|
|
36
|
+
| ------------------------------------------ | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
37
|
+
| `alibaba-coding-plan/glm-4.7` | 203K | | | | | | — | — |
|
|
38
|
+
| `alibaba-coding-plan/glm-5` | 203K | | | | | | — | — |
|
|
39
|
+
| `alibaba-coding-plan/kimi-k2.5` | 262K | | | | | | — | — |
|
|
40
|
+
| `alibaba-coding-plan/MiniMax-M2.5` | 17K | | | | | | — | — |
|
|
41
|
+
| `alibaba-coding-plan/qwen3-coder-next` | 262K | | | | | | — | — |
|
|
42
|
+
| `alibaba-coding-plan/qwen3-coder-plus` | 1.0M | | | | | | — | — |
|
|
43
|
+
| `alibaba-coding-plan/qwen3-max-2026-01-23` | 262K | | | | | | — | — |
|
|
44
|
+
| `alibaba-coding-plan/qwen3.5-plus` | 1.0M | | | | | | — | — |
|
|
45
|
+
|
|
46
|
+
## Advanced Configuration
|
|
47
|
+
|
|
48
|
+
### Custom Headers
|
|
49
|
+
|
|
50
|
+
```typescript
|
|
51
|
+
const agent = new Agent({
|
|
52
|
+
id: "custom-agent",
|
|
53
|
+
name: "custom-agent",
|
|
54
|
+
model: {
|
|
55
|
+
url: "https://coding-intl.dashscope.aliyuncs.com/v1",
|
|
56
|
+
id: "alibaba-coding-plan/MiniMax-M2.5",
|
|
57
|
+
apiKey: process.env.ALIBABA_CODING_PLAN_API_KEY,
|
|
58
|
+
headers: {
|
|
59
|
+
"X-Custom-Header": "value"
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
});
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
### Dynamic Model Selection
|
|
66
|
+
|
|
67
|
+
```typescript
|
|
68
|
+
const agent = new Agent({
|
|
69
|
+
id: "dynamic-agent",
|
|
70
|
+
name: "Dynamic Agent",
|
|
71
|
+
model: ({ requestContext }) => {
|
|
72
|
+
const useAdvanced = requestContext.task === "complex";
|
|
73
|
+
return useAdvanced
|
|
74
|
+
? "alibaba-coding-plan/qwen3.5-plus"
|
|
75
|
+
: "alibaba-coding-plan/MiniMax-M2.5";
|
|
76
|
+
}
|
|
77
|
+
});
|
|
78
|
+
```
|
|
@@ -90,7 +90,7 @@ for await (const chunk of stream) {
|
|
|
90
90
|
| `chutes/unsloth/Llama-3.2-3B-Instruct` | 16K | | | | | | $0.01 | $0.01 |
|
|
91
91
|
| `chutes/unsloth/Mistral-Nemo-Instruct-2407` | 131K | | | | | | $0.02 | $0.04 |
|
|
92
92
|
| `chutes/unsloth/Mistral-Small-24B-Instruct-2501` | 33K | | | | | | $0.03 | $0.11 |
|
|
93
|
-
| `chutes/XiaomiMiMo/MiMo-V2-Flash` |
|
|
93
|
+
| `chutes/XiaomiMiMo/MiMo-V2-Flash` | 262K | | | | | | $0.09 | $0.29 |
|
|
94
94
|
| `chutes/zai-org/GLM-4.5-Air` | 131K | | | | | | $0.05 | $0.22 |
|
|
95
95
|
| `chutes/zai-org/GLM-4.5-FP8` | 131K | | | | | | $0.30 | $1 |
|
|
96
96
|
| `chutes/zai-org/GLM-4.5-TEE` | 131K | | | | | | $0.35 | $2 |
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
# Clarifai
|
|
2
|
+
|
|
3
|
+
Access 11 Clarifai models through Mastra's model router. Authentication is handled automatically using the `CLARIFAI_PAT` environment variable.
|
|
4
|
+
|
|
5
|
+
Learn more in the [Clarifai documentation](https://docs.clarifai.com).
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
CLARIFAI_PAT=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: "clarifai/arcee_ai/AFM/models/trinity-mini"
|
|
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 [Clarifai documentation](https://docs.clarifai.com) for details.
|
|
32
|
+
|
|
33
|
+
## Models
|
|
34
|
+
|
|
35
|
+
| Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
|
|
36
|
+
| ------------------------------------------------------------------------ | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
37
|
+
| `clarifai/arcee_ai/AFM/models/trinity-mini` | 131K | | | | | | $0.04 | $0.15 |
|
|
38
|
+
| `clarifai/clarifai/main/models/mm-poly-8b` | 33K | | | | | | $0.66 | $1 |
|
|
39
|
+
| `clarifai/deepseek-ai/deepseek-ocr/models/DeepSeek-OCR` | 8K | | | | | | $0.20 | $0.70 |
|
|
40
|
+
| `clarifai/minimaxai/chat-completion/models/MiniMax-M2_5-high-throughput` | 205K | | | | | | $0.30 | $1 |
|
|
41
|
+
| `clarifai/mistralai/completion/models/Ministral-3-14B-Reasoning-2512` | 262K | | | | | | $3 | $2 |
|
|
42
|
+
| `clarifai/mistralai/completion/models/Ministral-3-3B-Reasoning-2512` | 262K | | | | | | $1 | $0.55 |
|
|
43
|
+
| `clarifai/openai/chat-completion/models/gpt-oss-120b-high-throughput` | 131K | | | | | | $0.09 | $0.36 |
|
|
44
|
+
| `clarifai/openai/chat-completion/models/gpt-oss-20b` | 131K | | | | | | $0.04 | $0.18 |
|
|
45
|
+
| `clarifai/qwen/qwenCoder/models/Qwen3-Coder-30B-A3B-Instruct` | 262K | | | | | | $0.11 | $0.75 |
|
|
46
|
+
| `clarifai/qwen/qwenLM/models/Qwen3-30B-A3B-Instruct-2507` | 262K | | | | | | $0.30 | $0.50 |
|
|
47
|
+
| `clarifai/qwen/qwenLM/models/Qwen3-30B-A3B-Thinking-2507` | 262K | | | | | | $0.36 | $1 |
|
|
48
|
+
|
|
49
|
+
## Advanced Configuration
|
|
50
|
+
|
|
51
|
+
### Custom Headers
|
|
52
|
+
|
|
53
|
+
```typescript
|
|
54
|
+
const agent = new Agent({
|
|
55
|
+
id: "custom-agent",
|
|
56
|
+
name: "custom-agent",
|
|
57
|
+
model: {
|
|
58
|
+
url: "https://api.clarifai.com/v2/ext/openai/v1",
|
|
59
|
+
id: "clarifai/arcee_ai/AFM/models/trinity-mini",
|
|
60
|
+
apiKey: process.env.CLARIFAI_PAT,
|
|
61
|
+
headers: {
|
|
62
|
+
"X-Custom-Header": "value"
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
});
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
### Dynamic Model Selection
|
|
69
|
+
|
|
70
|
+
```typescript
|
|
71
|
+
const agent = new Agent({
|
|
72
|
+
id: "dynamic-agent",
|
|
73
|
+
name: "Dynamic Agent",
|
|
74
|
+
model: ({ requestContext }) => {
|
|
75
|
+
const useAdvanced = requestContext.task === "complex";
|
|
76
|
+
return useAdvanced
|
|
77
|
+
? "clarifai/qwen/qwenLM/models/Qwen3-30B-A3B-Thinking-2507"
|
|
78
|
+
: "clarifai/arcee_ai/AFM/models/trinity-mini";
|
|
79
|
+
}
|
|
80
|
+
});
|
|
81
|
+
```
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# CloudFerro Sherlock
|
|
2
2
|
|
|
3
|
-
Access
|
|
3
|
+
Access 5 CloudFerro Sherlock models through Mastra's model router. Authentication is handled automatically using the `CLOUDFERRO_SHERLOCK_API_KEY` environment variable.
|
|
4
4
|
|
|
5
5
|
Learn more in the [CloudFerro Sherlock documentation](https://docs.sherlock.cloudferro.com/).
|
|
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: "cloudferro-sherlock/
|
|
18
|
+
model: "cloudferro-sherlock/MiniMaxAI/MiniMax-M2.5"
|
|
19
19
|
});
|
|
20
20
|
|
|
21
21
|
// Generate a response
|
|
@@ -35,6 +35,7 @@ for await (const chunk of stream) {
|
|
|
35
35
|
| Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
|
|
36
36
|
| --------------------------------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
37
37
|
| `cloudferro-sherlock/meta-llama/Llama-3.3-70B-Instruct` | 70K | | | | | | $3 | $3 |
|
|
38
|
+
| `cloudferro-sherlock/MiniMaxAI/MiniMax-M2.5` | 196K | | | | | | $0.30 | $1 |
|
|
38
39
|
| `cloudferro-sherlock/openai/gpt-oss-120b` | 131K | | | | | | $3 | $3 |
|
|
39
40
|
| `cloudferro-sherlock/speakleash/Bielik-11B-v2.6-Instruct` | 32K | | | | | | $0.67 | $0.67 |
|
|
40
41
|
| `cloudferro-sherlock/speakleash/Bielik-11B-v3.0-Instruct` | 32K | | | | | | $0.67 | $0.67 |
|
|
@@ -49,7 +50,7 @@ const agent = new Agent({
|
|
|
49
50
|
name: "custom-agent",
|
|
50
51
|
model: {
|
|
51
52
|
url: "https://api-sherlock.cloudferro.com/openai/v1/",
|
|
52
|
-
id: "cloudferro-sherlock/
|
|
53
|
+
id: "cloudferro-sherlock/MiniMaxAI/MiniMax-M2.5",
|
|
53
54
|
apiKey: process.env.CLOUDFERRO_SHERLOCK_API_KEY,
|
|
54
55
|
headers: {
|
|
55
56
|
"X-Custom-Header": "value"
|
|
@@ -68,7 +69,7 @@ const agent = new Agent({
|
|
|
68
69
|
const useAdvanced = requestContext.task === "complex";
|
|
69
70
|
return useAdvanced
|
|
70
71
|
? "cloudferro-sherlock/speakleash/Bielik-11B-v3.0-Instruct"
|
|
71
|
-
: "cloudferro-sherlock/
|
|
72
|
+
: "cloudferro-sherlock/MiniMaxAI/MiniMax-M2.5";
|
|
72
73
|
}
|
|
73
74
|
});
|
|
74
75
|
```
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Cloudflare Workers AI
|
|
2
2
|
|
|
3
|
-
Access
|
|
3
|
+
Access 40 Cloudflare Workers AI models through Mastra's model router. Authentication is handled automatically using the `CLOUDFLARE_ACCOUNT_ID` environment variable.
|
|
4
4
|
|
|
5
5
|
Learn more in the [Cloudflare Workers AI documentation](https://developers.cloudflare.com/workers-ai/models/).
|
|
6
6
|
|
|
@@ -73,6 +73,7 @@ for await (const chunk of stream) {
|
|
|
73
73
|
| `cloudflare-workers-ai/@cf/qwen/qwen3-30b-a3b-fp8` | 128K | | | | | | $0.05 | $0.34 |
|
|
74
74
|
| `cloudflare-workers-ai/@cf/qwen/qwen3-embedding-0.6b` | 128K | | | | | | $0.01 | — |
|
|
75
75
|
| `cloudflare-workers-ai/@cf/qwen/qwq-32b` | 128K | | | | | | $0.66 | $1 |
|
|
76
|
+
| `cloudflare-workers-ai/@cf/zai-org/glm-4.7-flash` | 131K | | | | | | $0.06 | $0.40 |
|
|
76
77
|
|
|
77
78
|
## Advanced Configuration
|
|
78
79
|
|
|
@@ -102,7 +103,7 @@ const agent = new Agent({
|
|
|
102
103
|
model: ({ requestContext }) => {
|
|
103
104
|
const useAdvanced = requestContext.task === "complex";
|
|
104
105
|
return useAdvanced
|
|
105
|
-
? "cloudflare-workers-ai/@cf/
|
|
106
|
+
? "cloudflare-workers-ai/@cf/zai-org/glm-4.7-flash"
|
|
106
107
|
: "cloudflare-workers-ai/@cf/ai4bharat/indictrans2-en-indic-1B";
|
|
107
108
|
}
|
|
108
109
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Cortecs
|
|
2
2
|
|
|
3
|
-
Access
|
|
3
|
+
Access 23 Cortecs models through Mastra's model router. Authentication is handled automatically using the `CORTECS_API_KEY` environment variable.
|
|
4
4
|
|
|
5
5
|
Learn more in the [Cortecs documentation](https://cortecs.ai).
|
|
6
6
|
|
|
@@ -40,17 +40,19 @@ for await (const chunk of stream) {
|
|
|
40
40
|
| `cortecs/devstral-2512` | 262K | | | | | | — | — |
|
|
41
41
|
| `cortecs/devstral-small-2512` | 262K | | | | | | — | — |
|
|
42
42
|
| `cortecs/gemini-2.5-pro` | 1.0M | | | | | | $2 | $11 |
|
|
43
|
-
| `cortecs/glm-
|
|
44
|
-
| `cortecs/glm-
|
|
45
|
-
| `cortecs/glm-
|
|
43
|
+
| `cortecs/glm-4.5` | 131K | | | | | | $0.67 | $2 |
|
|
44
|
+
| `cortecs/glm-4.5-air` | 131K | | | | | | $0.22 | $1 |
|
|
45
|
+
| `cortecs/glm-4.7` | 198K | | | | | | $0.45 | $2 |
|
|
46
|
+
| `cortecs/glm-4.7-flash` | 203K | | | | | | $0.09 | $0.53 |
|
|
46
47
|
| `cortecs/gpt-4.1` | 1.0M | | | | | | $2 | $9 |
|
|
47
48
|
| `cortecs/gpt-oss-120b` | 128K | | | | | | — | — |
|
|
48
49
|
| `cortecs/intellect-3` | 128K | | | | | | $0.22 | $1 |
|
|
49
50
|
| `cortecs/kimi-k2-instruct` | 131K | | | | | | $0.55 | $3 |
|
|
50
51
|
| `cortecs/kimi-k2-thinking` | 262K | | | | | | $0.66 | $3 |
|
|
52
|
+
| `cortecs/kimi-k2.5` | 256K | | | | | | $0.55 | $3 |
|
|
51
53
|
| `cortecs/llama-3.1-405b-instruct` | 128K | | | | | | — | — |
|
|
52
54
|
| `cortecs/minimax-m2` | 400K | | | | | | $0.39 | $2 |
|
|
53
|
-
| `cortecs/minimax-
|
|
55
|
+
| `cortecs/minimax-m2.1` | 196K | | | | | | $0.34 | $1 |
|
|
54
56
|
| `cortecs/nova-pro-v1` | 300K | | | | | | $1 | $4 |
|
|
55
57
|
| `cortecs/qwen3-32b` | 16K | | | | | | $0.10 | $0.33 |
|
|
56
58
|
| `cortecs/qwen3-coder-480b-a35b-instruct` | 262K | | | | | | $0.44 | $2 |
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Deep Infra
|
|
2
2
|
|
|
3
|
-
Access
|
|
3
|
+
Access 20 Deep Infra models through Mastra's model router. Authentication is handled automatically using the `DEEPINFRA_API_KEY` environment variable.
|
|
4
4
|
|
|
5
5
|
Learn more in the [Deep Infra documentation](https://deepinfra.com/models).
|
|
6
6
|
|
|
@@ -38,15 +38,20 @@ for await (const chunk of stream) {
|
|
|
38
38
|
| `deepinfra/deepseek-ai/DeepSeek-V3.2` | 164K | | | | | | $0.26 | $0.38 |
|
|
39
39
|
| `deepinfra/MiniMaxAI/MiniMax-M2` | 262K | | | | | | $0.25 | $1 |
|
|
40
40
|
| `deepinfra/MiniMaxAI/MiniMax-M2.1` | 197K | | | | | | $0.28 | $1 |
|
|
41
|
+
| `deepinfra/MiniMaxAI/MiniMax-M2.5` | 205K | | | | | | $0.27 | $0.95 |
|
|
41
42
|
| `deepinfra/moonshotai/Kimi-K2-Instruct` | 131K | | | | | | $0.50 | $2 |
|
|
43
|
+
| `deepinfra/moonshotai/Kimi-K2-Instruct-0905` | 262K | | | | | | $0.40 | $2 |
|
|
42
44
|
| `deepinfra/moonshotai/Kimi-K2-Thinking` | 131K | | | | | | $0.47 | $2 |
|
|
43
45
|
| `deepinfra/moonshotai/Kimi-K2.5` | 262K | | | | | | $0.50 | $3 |
|
|
44
46
|
| `deepinfra/openai/gpt-oss-120b` | 131K | | | | | | $0.05 | $0.24 |
|
|
45
47
|
| `deepinfra/openai/gpt-oss-20b` | 131K | | | | | | $0.03 | $0.14 |
|
|
46
48
|
| `deepinfra/Qwen/Qwen3-Coder-480B-A35B-Instruct` | 262K | | | | | | $0.40 | $2 |
|
|
47
49
|
| `deepinfra/Qwen/Qwen3-Coder-480B-A35B-Instruct-Turbo` | 262K | | | | | | $0.30 | $1 |
|
|
50
|
+
| `deepinfra/zai-org/GLM-4.6` | 205K | | | | | | $0.43 | $2 |
|
|
51
|
+
| `deepinfra/zai-org/GLM-4.6V` | 205K | | | | | | $0.30 | $0.90 |
|
|
48
52
|
| `deepinfra/zai-org/GLM-4.7` | 203K | | | | | | $0.43 | $2 |
|
|
49
53
|
| `deepinfra/zai-org/GLM-4.7-Flash` | 203K | | | | | | $0.06 | $0.40 |
|
|
54
|
+
| `deepinfra/zai-org/GLM-5` | 203K | | | | | | $0.80 | $3 |
|
|
50
55
|
|
|
51
56
|
## Advanced Configuration
|
|
52
57
|
|
|
@@ -75,7 +80,7 @@ const agent = new Agent({
|
|
|
75
80
|
model: ({ requestContext }) => {
|
|
76
81
|
const useAdvanced = requestContext.task === "complex";
|
|
77
82
|
return useAdvanced
|
|
78
|
-
? "deepinfra/zai-org/GLM-
|
|
83
|
+
? "deepinfra/zai-org/GLM-5"
|
|
79
84
|
: "deepinfra/MiniMaxAI/MiniMax-M2";
|
|
80
85
|
}
|
|
81
86
|
});
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Access 2 DeepSeek models through Mastra's model router. Authentication is handled automatically using the `DEEPSEEK_API_KEY` environment variable.
|
|
4
4
|
|
|
5
|
-
Learn more in the [DeepSeek documentation](https://
|
|
5
|
+
Learn more in the [DeepSeek documentation](https://api-docs.deepseek.com/quick_start/pricing).
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
8
|
DEEPSEEK_API_KEY=your-api-key
|