@mastra/mcp-docs-server 1.2.0-alpha.0 → 1.2.1-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.
Files changed (102) hide show
  1. package/.docs/docs/agents/goals.md +2 -2
  2. package/.docs/docs/harness/modes.md +2 -2
  3. package/.docs/docs/harness/overview.md +23 -25
  4. package/.docs/docs/harness/session.md +2 -2
  5. package/.docs/docs/harness/subagents.md +3 -3
  6. package/.docs/docs/harness/tool-approvals.md +2 -2
  7. package/.docs/guides/build-your-ui/openui.md +297 -0
  8. package/.docs/models/gateways/custom-gateways.md +12 -0
  9. package/.docs/models/gateways/netlify.md +4 -7
  10. package/.docs/models/gateways/openrouter.md +20 -40
  11. package/.docs/models/gateways/vercel.md +281 -246
  12. package/.docs/models/index.md +1 -1
  13. package/.docs/models/providers/alibaba-cn.md +5 -2
  14. package/.docs/models/providers/alibaba-coding-plan-cn.md +5 -2
  15. package/.docs/models/providers/alibaba-coding-plan.md +5 -2
  16. package/.docs/models/providers/alibaba-token-plan-cn.md +88 -0
  17. package/.docs/models/providers/alibaba-token-plan.md +88 -0
  18. package/.docs/models/providers/alibaba.md +3 -1
  19. package/.docs/models/providers/ambient.md +6 -5
  20. package/.docs/models/providers/anthropic.md +8 -11
  21. package/.docs/models/providers/anyapi.md +99 -0
  22. package/.docs/models/providers/baseten.md +19 -19
  23. package/.docs/models/providers/cerebras.md +5 -7
  24. package/.docs/models/providers/claudinio.md +3 -2
  25. package/.docs/models/providers/cloudflare-workers-ai.md +4 -9
  26. package/.docs/models/providers/cortecs.md +9 -2
  27. package/.docs/models/providers/crof.md +12 -10
  28. package/.docs/models/providers/deepinfra.md +18 -31
  29. package/.docs/models/providers/deepseek.md +1 -1
  30. package/.docs/models/providers/digitalocean.md +5 -1
  31. package/.docs/models/providers/fastrouter.md +34 -2
  32. package/.docs/models/providers/fireworks-ai.md +22 -27
  33. package/.docs/models/providers/freemodel.md +108 -0
  34. package/.docs/models/providers/google.md +7 -9
  35. package/.docs/models/providers/groq.md +7 -9
  36. package/.docs/models/providers/helicone.md +1 -1
  37. package/.docs/models/providers/hpc-ai.md +3 -3
  38. package/.docs/models/providers/huggingface.md +1 -1
  39. package/.docs/models/providers/kilo.md +9 -8
  40. package/.docs/models/providers/kimi-for-coding.md +4 -3
  41. package/.docs/models/providers/llmgateway.md +38 -29
  42. package/.docs/models/providers/llmtr.md +76 -0
  43. package/.docs/models/providers/lucidquery.md +11 -9
  44. package/.docs/models/providers/minimax-cn-coding-plan.md +3 -2
  45. package/.docs/models/providers/minimax-cn.md +3 -2
  46. package/.docs/models/providers/minimax-coding-plan.md +3 -2
  47. package/.docs/models/providers/minimax.md +3 -2
  48. package/.docs/models/providers/mistral.md +25 -31
  49. package/.docs/models/providers/moonshotai-cn.md +13 -11
  50. package/.docs/models/providers/moonshotai.md +13 -11
  51. package/.docs/models/providers/nano-gpt.md +621 -529
  52. package/.docs/models/providers/nearai.md +5 -1
  53. package/.docs/models/providers/nebius.md +2 -15
  54. package/.docs/models/providers/neon.md +96 -0
  55. package/.docs/models/providers/neuralwatt.md +19 -20
  56. package/.docs/models/providers/novita-ai.md +7 -2
  57. package/.docs/models/providers/nvidia.md +5 -14
  58. package/.docs/models/providers/ollama-cloud.md +8 -12
  59. package/.docs/models/providers/openai.md +2 -3
  60. package/.docs/models/providers/opencode-go.md +10 -9
  61. package/.docs/models/providers/opencode.md +7 -2
  62. package/.docs/models/providers/ovhcloud.md +7 -3
  63. package/.docs/models/providers/poe.md +2 -1
  64. package/.docs/models/providers/poolside.md +72 -0
  65. package/.docs/models/providers/routing-run.md +5 -3
  66. package/.docs/models/providers/scaleway.md +3 -5
  67. package/.docs/models/providers/siliconflow-cn.md +4 -11
  68. package/.docs/models/providers/siliconflow.md +7 -13
  69. package/.docs/models/providers/snowflake-cortex.md +89 -0
  70. package/.docs/models/providers/stepfun-ai.md +5 -5
  71. package/.docs/models/providers/stepfun.md +1 -1
  72. package/.docs/models/providers/synthetic.md +2 -1
  73. package/.docs/models/providers/togetherai.md +30 -24
  74. package/.docs/models/providers/umans-ai-coding-plan.md +3 -2
  75. package/.docs/models/providers/umans-ai.md +75 -0
  76. package/.docs/models/providers/vivgrid.md +1 -1
  77. package/.docs/models/providers/vultr.md +14 -12
  78. package/.docs/models/providers/wafer.ai.md +9 -4
  79. package/.docs/models/providers/xai.md +3 -3
  80. package/.docs/models/providers/xiaomi-token-plan-ams.md +15 -13
  81. package/.docs/models/providers/xiaomi-token-plan-cn.md +15 -13
  82. package/.docs/models/providers/xiaomi-token-plan-sgp.md +15 -13
  83. package/.docs/models/providers/xiaomi.md +10 -9
  84. package/.docs/models/providers/xpersona.md +4 -3
  85. package/.docs/models/providers/zai-coding-plan.md +2 -1
  86. package/.docs/models/providers/zai.md +2 -1
  87. package/.docs/models/providers/zeldoc.md +71 -0
  88. package/.docs/models/providers/zenmux.md +19 -3
  89. package/.docs/models/providers/zhipuai-coding-plan.md +3 -1
  90. package/.docs/models/providers/zhipuai.md +2 -1
  91. package/.docs/models/providers.md +12 -3
  92. package/.docs/reference/agents/agent.md +18 -5
  93. package/.docs/reference/harness/harness-class.md +3 -137
  94. package/.docs/reference/harness/session.md +128 -2
  95. package/.docs/reference/index.md +1 -0
  96. package/.docs/reference/tools/mcp-client.md +11 -0
  97. package/.docs/reference/voice/google-gemini-live.md +22 -0
  98. package/.docs/reference/workspace/archil-filesystem.md +203 -0
  99. package/.docs/reference/workspace/gcs-filesystem.md +1 -0
  100. package/.docs/reference/workspace/s3-filesystem.md +1 -0
  101. package/CHANGELOG.md +20 -0
  102. package/package.json +6 -6
@@ -1,6 +1,6 @@
1
1
  # ![Poe logo](https://models.dev/logos/poe.svg)Poe
2
2
 
3
- Access 125 Poe models through Mastra's model router. Authentication is handled automatically using the `POE_API_KEY` environment variable.
3
+ Access 126 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
 
@@ -42,6 +42,7 @@ for await (const chunk of stream) {
42
42
  | `poe/anthropic/claude-opus-4.5` | 197K | | | | | | $4 | $21 |
43
43
  | `poe/anthropic/claude-opus-4.6` | 983K | | | | | | $4 | $21 |
44
44
  | `poe/anthropic/claude-opus-4.7` | 1.0M | | | | | | $4 | $21 |
45
+ | `poe/anthropic/claude-opus-4.8` | 1.0M | | | | | | $4 | $21 |
45
46
  | `poe/anthropic/claude-sonnet-3.7` | 197K | | | | | | $3 | $13 |
46
47
  | `poe/anthropic/claude-sonnet-4` | 983K | | | | | | $3 | $13 |
47
48
  | `poe/anthropic/claude-sonnet-4.5` | 983K | | | | | | $3 | $13 |
@@ -0,0 +1,72 @@
1
+ # ![Poolside logo](https://models.dev/logos/poolside.svg)Poolside
2
+
3
+ Access 2 Poolside models through Mastra's model router. Authentication is handled automatically using the `POOLSIDE_API_KEY` environment variable.
4
+
5
+ Learn more in the [Poolside documentation](https://platform.poolside.ai).
6
+
7
+ ```bash
8
+ POOLSIDE_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: "poolside/poolside/laguna-m.1"
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 [Poolside documentation](https://platform.poolside.ai) for details.
32
+
33
+ ## Models
34
+
35
+ | Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
36
+ | ------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
37
+ | `poolside/poolside/laguna-m.1` | 262K | | | | | | — | — |
38
+ | `poolside/poolside/laguna-xs.2` | 262K | | | | | | — | — |
39
+
40
+ ## Advanced configuration
41
+
42
+ ### Custom headers
43
+
44
+ ```typescript
45
+ const agent = new Agent({
46
+ id: "custom-agent",
47
+ name: "custom-agent",
48
+ model: {
49
+ url: "https://inference.poolside.ai/v1",
50
+ id: "poolside/poolside/laguna-m.1",
51
+ apiKey: process.env.POOLSIDE_API_KEY,
52
+ headers: {
53
+ "X-Custom-Header": "value"
54
+ }
55
+ }
56
+ });
57
+ ```
58
+
59
+ ### Dynamic model selection
60
+
61
+ ```typescript
62
+ const agent = new Agent({
63
+ id: "dynamic-agent",
64
+ name: "Dynamic Agent",
65
+ model: ({ requestContext }) => {
66
+ const useAdvanced = requestContext.task === "complex";
67
+ return useAdvanced
68
+ ? "poolside/poolside/laguna-xs.2"
69
+ : "poolside/poolside/laguna-m.1";
70
+ }
71
+ });
72
+ ```
@@ -1,6 +1,6 @@
1
1
  # ![routing.run logo](https://models.dev/logos/routing-run.svg)routing.run
2
2
 
3
- Access 24 routing.run models through Mastra's model router. Authentication is handled automatically using the `ROUTING_RUN_API_KEY` environment variable.
3
+ Access 26 routing.run models through Mastra's model router. Authentication is handled automatically using the `ROUTING_RUN_API_KEY` environment variable.
4
4
 
5
5
  Learn more in the [routing.run documentation](https://docs.routing.run).
6
6
 
@@ -45,6 +45,7 @@ for await (const chunk of stream) {
45
45
  | `routing-run/route/kimi-k2.5` | 131K | | | | | | $0.46 | $2 |
46
46
  | `routing-run/route/kimi-k2.6` | 262K | | | | | | $0.46 | $2 |
47
47
  | `routing-run/route/kimi-k2.6-6bit` | 262K | | | | | | $0.46 | $2 |
48
+ | `routing-run/route/mimo-v2.5` | 1.0M | | | | | | $0.45 | $1 |
48
49
  | `routing-run/route/mimo-v2.5-pro` | 1.0M | | | | | | $0.45 | $1 |
49
50
  | `routing-run/route/mimo-v2.5-pro-6bit` | 1.0M | | | | | | $0.45 | $1 |
50
51
  | `routing-run/route/minimax-m2.5` | 100K | | | | | | $0.19 | $1 |
@@ -54,7 +55,8 @@ for await (const chunk of stream) {
54
55
  | `routing-run/route/mistral-large-3` | 128K | | | | | | $0.50 | $2 |
55
56
  | `routing-run/route/mistral-medium-2505` | 128K | | | | | | $0.40 | $2 |
56
57
  | `routing-run/route/mistral-small-2503` | 128K | | | | | | $0.15 | $0.60 |
57
- | `routing-run/route/qwen3.6-27b` | 262K | | | | | | $1 | $3 |
58
+ | `routing-run/route/qwen3.6-27b` | 202K | | | | | | $1 | $3 |
59
+ | `routing-run/route/qwen3.6-27b-202k` | 202K | | | | | | $1 | $3 |
58
60
  | `routing-run/route/step-3.5-flash` | 262K | | | | | | $0.10 | $0.29 |
59
61
  | `routing-run/route/step-3.5-flash-2603` | 262K | | | | | | $0.10 | $0.30 |
60
62
  | `routing-run/route/stepfun-3.5-flash` | 262K | | | | | | $0.10 | $0.29 |
@@ -68,7 +70,7 @@ const agent = new Agent({
68
70
  id: "custom-agent",
69
71
  name: "custom-agent",
70
72
  model: {
71
- url: "https://api.routing.run/v1",
73
+ url: "https://ai.routing.sh/v1",
72
74
  id: "routing-run/route/deepseek-v3.2",
73
75
  apiKey: process.env.ROUTING_RUN_API_KEY,
74
76
  headers: {
@@ -1,6 +1,6 @@
1
1
  # ![Scaleway logo](https://models.dev/logos/scaleway.svg)Scaleway
2
2
 
3
- Access 17 Scaleway models through Mastra's model router. Authentication is handled automatically using the `SCALEWAY_API_KEY` environment variable.
3
+ Access 15 Scaleway models through Mastra's model router. Authentication is handled automatically using the `SCALEWAY_API_KEY` environment variable.
4
4
 
5
5
  Learn more in the [Scaleway documentation](https://www.scaleway.com/en/docs/generative-apis/).
6
6
 
@@ -35,20 +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
  | `scaleway/bge-multilingual-gemma2` | 8K | | | | | | $0.10 | — |
38
- | `scaleway/deepseek-r1-distill-llama-70b` | 32K | | | | | | $0.90 | $0.90 |
39
- | `scaleway/devstral-2-123b-instruct-2512` | 256K | | | | | | $0.40 | $2 |
40
38
  | `scaleway/gemma-3-27b-it` | 40K | | | | | | $0.25 | $0.50 |
39
+ | `scaleway/gemma-4-26b-a4b-it` | 256K | | | | | | $0.25 | $0.50 |
41
40
  | `scaleway/gpt-oss-120b` | 128K | | | | | | $0.15 | $0.60 |
42
- | `scaleway/llama-3.1-8b-instruct` | 128K | | | | | | $0.20 | $0.20 |
43
41
  | `scaleway/llama-3.3-70b-instruct` | 100K | | | | | | $0.90 | $0.90 |
44
42
  | `scaleway/mistral-medium-3.5-128b` | 256K | | | | | | $2 | $8 |
45
- | `scaleway/mistral-nemo-instruct-2407` | 128K | | | | | | $0.20 | $0.20 |
46
43
  | `scaleway/mistral-small-3.2-24b-instruct-2506` | 128K | | | | | | $0.15 | $0.35 |
47
44
  | `scaleway/pixtral-12b-2409` | 128K | | | | | | $0.20 | $0.20 |
48
45
  | `scaleway/qwen3-235b-a22b-instruct-2507` | 260K | | | | | | $0.75 | $2 |
49
46
  | `scaleway/qwen3-coder-30b-a3b-instruct` | 128K | | | | | | $0.20 | $0.80 |
50
47
  | `scaleway/qwen3-embedding-8b` | 33K | | | | | | $0.10 | — |
51
48
  | `scaleway/qwen3.5-397b-a17b` | 256K | | | | | | $0.60 | $4 |
49
+ | `scaleway/qwen3.6-35b-a3b` | 128K | | | | | | $0.25 | $2 |
52
50
  | `scaleway/voxtral-small-24b-2507` | 32K | | | | | | $0.15 | $0.35 |
53
51
  | `scaleway/whisper-large-v3` | — | | | | | | $0.00 | — |
54
52
 
@@ -1,6 +1,6 @@
1
1
  # ![SiliconFlow (China) logo](https://models.dev/logos/siliconflow-cn.svg)SiliconFlow (China)
2
2
 
3
- Access 81 SiliconFlow (China) models through Mastra's model router. Authentication is handled automatically using the `SILICONFLOW_CN_API_KEY` environment variable.
3
+ Access 74 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
 
@@ -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
- | `siliconflow-cn/ascend-tribe/pangu-pro-moe` | 128K | | | | | | $0.20 | $0.60 |
38
37
  | `siliconflow-cn/baidu/ERNIE-4.5-300B-A47B` | 131K | | | | | | $0.28 | $1 |
39
38
  | `siliconflow-cn/ByteDance-Seed/Seed-OSS-36B-Instruct` | 262K | | | | | | $0.21 | $0.57 |
40
39
  | `siliconflow-cn/deepseek-ai/DeepSeek-OCR` | 8K | | | | | | — | — |
@@ -44,14 +43,12 @@ for await (const chunk of stream) {
44
43
  | `siliconflow-cn/deepseek-ai/DeepSeek-V3` | 164K | | | | | | $0.25 | $1 |
45
44
  | `siliconflow-cn/deepseek-ai/DeepSeek-V3.1-Terminus` | 164K | | | | | | $0.27 | $1 |
46
45
  | `siliconflow-cn/deepseek-ai/DeepSeek-V3.2` | 164K | | | | | | $0.27 | $0.42 |
46
+ | `siliconflow-cn/deepseek-ai/DeepSeek-V4-Pro` | 1.0M | | | | | | $2 | $3 |
47
47
  | `siliconflow-cn/deepseek-ai/deepseek-vl2` | 4K | | | | | | $0.15 | $0.15 |
48
48
  | `siliconflow-cn/inclusionAI/Ling-flash-2.0` | 131K | | | | | | $0.14 | $0.57 |
49
- | `siliconflow-cn/inclusionAI/Ling-mini-2.0` | 131K | | | | | | $0.07 | $0.28 |
50
- | `siliconflow-cn/inclusionAI/Ring-flash-2.0` | 131K | | | | | | $0.14 | $0.57 |
51
49
  | `siliconflow-cn/Kwaipilot/KAT-Dev` | 128K | | | | | | $0.20 | $0.60 |
52
50
  | `siliconflow-cn/moonshotai/Kimi-K2-Instruct-0905` | 262K | | | | | | $0.40 | $2 |
53
51
  | `siliconflow-cn/moonshotai/Kimi-K2-Thinking` | 262K | | | | | | $0.55 | $3 |
54
- | `siliconflow-cn/PaddlePaddle/PaddleOCR-VL` | 16K | | | | | | — | — |
55
52
  | `siliconflow-cn/PaddlePaddle/PaddleOCR-VL-1.5` | 16K | | | | | | — | — |
56
53
  | `siliconflow-cn/Pro/deepseek-ai/DeepSeek-R1` | 164K | | | | | | $0.50 | $2 |
57
54
  | `siliconflow-cn/Pro/deepseek-ai/DeepSeek-V3` | 164K | | | | | | $0.25 | $1 |
@@ -106,15 +103,11 @@ for await (const chunk of stream) {
106
103
  | `siliconflow-cn/Qwen/QwQ-32B` | 131K | | | | | | $0.15 | $0.58 |
107
104
  | `siliconflow-cn/stepfun-ai/Step-3.5-Flash` | 262K | | | | | | $0.10 | $0.30 |
108
105
  | `siliconflow-cn/tencent/Hunyuan-A13B-Instruct` | 131K | | | | | | $0.14 | $0.57 |
109
- | `siliconflow-cn/tencent/Hunyuan-MT-7B` | 33K | | | | | | — | — |
110
- | `siliconflow-cn/THUDM/GLM-4-32B-0414` | 33K | | | | | | $0.27 | $0.27 |
111
- | `siliconflow-cn/THUDM/GLM-4-9B-0414` | 33K | | | | | | $0.09 | $0.09 |
112
- | `siliconflow-cn/THUDM/GLM-Z1-32B-0414` | 131K | | | | | | $0.14 | $0.57 |
113
- | `siliconflow-cn/THUDM/GLM-Z1-9B-0414` | 131K | | | | | | $0.09 | $0.09 |
114
106
  | `siliconflow-cn/zai-org/GLM-4.5-Air` | 131K | | | | | | $0.14 | $0.86 |
115
107
  | `siliconflow-cn/zai-org/GLM-4.5V` | 66K | | | | | | $0.14 | $0.86 |
116
108
  | `siliconflow-cn/zai-org/GLM-4.6` | 205K | | | | | | $0.50 | $2 |
117
109
  | `siliconflow-cn/zai-org/GLM-4.6V` | 131K | | | | | | $0.30 | $0.90 |
110
+ | `siliconflow-cn/zai-org/GLM-5.2` | 205K | | | | | | $1 | $4 |
118
111
 
119
112
  ## Advanced configuration
120
113
 
@@ -144,7 +137,7 @@ const agent = new Agent({
144
137
  model: ({ requestContext }) => {
145
138
  const useAdvanced = requestContext.task === "complex";
146
139
  return useAdvanced
147
- ? "siliconflow-cn/zai-org/GLM-4.6V"
140
+ ? "siliconflow-cn/zai-org/GLM-5.2"
148
141
  : "siliconflow-cn/ByteDance-Seed/Seed-OSS-36B-Instruct";
149
142
  }
150
143
  });
@@ -1,6 +1,6 @@
1
1
  # ![SiliconFlow logo](https://models.dev/logos/siliconflow.svg)SiliconFlow
2
2
 
3
- Access 76 SiliconFlow models through Mastra's model router. Authentication is handled automatically using the `SILICONFLOW_API_KEY` environment variable.
3
+ Access 70 SiliconFlow models through Mastra's model router. Authentication is handled automatically using the `SILICONFLOW_API_KEY` environment variable.
4
4
 
5
5
  Learn more in the [SiliconFlow documentation](https://cloud.siliconflow.com/models).
6
6
 
@@ -47,18 +47,15 @@ for await (const chunk of stream) {
47
47
  | `siliconflow/deepseek-ai/deepseek-v4-flash` | 1.0M | | | | | | $0.14 | $0.28 |
48
48
  | `siliconflow/deepseek-ai/deepseek-v4-pro` | 1.0M | | | | | | $2 | $3 |
49
49
  | `siliconflow/deepseek-ai/deepseek-vl2` | 4K | | | | | | $0.15 | $0.15 |
50
+ | `siliconflow/google/gemma-4-26B-A4B-it` | 262K | | | | | | $0.12 | $0.40 |
51
+ | `siliconflow/google/gemma-4-31B-it` | 262K | | | | | | $0.13 | $0.40 |
50
52
  | `siliconflow/inclusionAI/Ling-flash-2.0` | 131K | | | | | | $0.14 | $0.57 |
51
- | `siliconflow/inclusionAI/Ling-mini-2.0` | 131K | | | | | | $0.07 | $0.28 |
52
- | `siliconflow/inclusionAI/Ring-flash-2.0` | 131K | | | | | | $0.14 | $0.57 |
53
- | `siliconflow/meta-llama/Meta-Llama-3.1-8B-Instruct` | 33K | | | | | | $0.06 | $0.06 |
54
- | `siliconflow/MiniMaxAI/MiniMax-M2.1` | 197K | | | | | | $0.30 | $1 |
55
53
  | `siliconflow/MiniMaxAI/MiniMax-M2.5` | 197K | | | | | | $0.30 | $1 |
56
54
  | `siliconflow/moonshotai/Kimi-K2-Instruct` | 131K | | | | | | $0.58 | $2 |
57
55
  | `siliconflow/moonshotai/Kimi-K2-Instruct-0905` | 262K | | | | | | $0.40 | $2 |
58
56
  | `siliconflow/moonshotai/Kimi-K2-Thinking` | 262K | | | | | | $0.55 | $3 |
59
57
  | `siliconflow/moonshotai/Kimi-K2.5` | 262K | | | | | | $0.45 | $2 |
60
- | `siliconflow/moonshotai/Kimi-K2.6` | 262K | | | | | | $0.95 | $4 |
61
- | `siliconflow/nex-agi/DeepSeek-V3.1-Nex-N1` | 131K | | | | | | $0.50 | $2 |
58
+ | `siliconflow/moonshotai/Kimi-K2.6` | 262K | | | | | | $0.77 | $4 |
62
59
  | `siliconflow/openai/gpt-oss-120b` | 131K | | | | | | $0.05 | $0.45 |
63
60
  | `siliconflow/openai/gpt-oss-20b` | 131K | | | | | | $0.04 | $0.18 |
64
61
  | `siliconflow/Qwen/Qwen2.5-14B-Instruct` | 33K | | | | | | $0.10 | $0.10 |
@@ -96,19 +93,16 @@ for await (const chunk of stream) {
96
93
  | `siliconflow/Qwen/QwQ-32B` | 131K | | | | | | $0.15 | $0.58 |
97
94
  | `siliconflow/stepfun-ai/Step-3.5-Flash` | 262K | | | | | | $0.10 | $0.30 |
98
95
  | `siliconflow/tencent/Hunyuan-A13B-Instruct` | 131K | | | | | | $0.14 | $0.57 |
99
- | `siliconflow/tencent/Hunyuan-MT-7B` | 33K | | | | | | | |
100
- | `siliconflow/THUDM/GLM-4-32B-0414` | 33K | | | | | | $0.27 | $0.27 |
101
- | `siliconflow/THUDM/GLM-4-9B-0414` | 33K | | | | | | $0.09 | $0.09 |
102
- | `siliconflow/THUDM/GLM-Z1-32B-0414` | 131K | | | | | | $0.14 | $0.57 |
103
- | `siliconflow/THUDM/GLM-Z1-9B-0414` | 131K | | | | | | $0.09 | $0.09 |
96
+ | `siliconflow/tencent/Hy3-preview` | 262K | | | | | | $0.07 | $0.26 |
104
97
  | `siliconflow/zai-org/GLM-4.5` | 131K | | | | | | $0.40 | $2 |
105
98
  | `siliconflow/zai-org/GLM-4.5-Air` | 131K | | | | | | $0.14 | $0.86 |
106
99
  | `siliconflow/zai-org/GLM-4.5V` | 66K | | | | | | $0.14 | $0.86 |
107
100
  | `siliconflow/zai-org/GLM-4.6` | 205K | | | | | | $0.50 | $2 |
108
101
  | `siliconflow/zai-org/GLM-4.6V` | 131K | | | | | | $0.30 | $0.90 |
109
102
  | `siliconflow/zai-org/GLM-4.7` | 205K | | | | | | $0.60 | $2 |
110
- | `siliconflow/zai-org/GLM-5` | 205K | | | | | | $1 | $3 |
103
+ | `siliconflow/zai-org/GLM-5` | 205K | | | | | | $0.95 | $3 |
111
104
  | `siliconflow/zai-org/GLM-5.1` | 205K | | | | | | $1 | $4 |
105
+ | `siliconflow/zai-org/GLM-5.2` | 205K | | | | | | $1 | $4 |
112
106
  | `siliconflow/zai-org/GLM-5V-Turbo` | 200K | | | | | | $1 | $4 |
113
107
 
114
108
  ## Advanced configuration
@@ -0,0 +1,89 @@
1
+ # ![Snowflake Cortex logo](https://models.dev/logos/snowflake-cortex.svg)Snowflake Cortex
2
+
3
+ Access 18 Snowflake Cortex models through Mastra's model router. Authentication is handled automatically using the `SNOWFLAKE_CORTEX_PAT` environment variable. Configure `SNOWFLAKE_ACCOUNT` as well.
4
+
5
+ Learn more in the [Snowflake Cortex documentation](https://docs.snowflake.com/en/user-guide/snowflake-cortex/cortex-rest-api).
6
+
7
+ ```bash
8
+ SNOWFLAKE_ACCOUNT=your-value
9
+ SNOWFLAKE_CORTEX_PAT=your-api-key
10
+ ```
11
+
12
+ ```typescript
13
+ import { Agent } from "@mastra/core/agent";
14
+
15
+ const agent = new Agent({
16
+ id: "my-agent",
17
+ name: "My Agent",
18
+ instructions: "You are a helpful assistant",
19
+ model: "snowflake-cortex/claude-fable-5"
20
+ });
21
+
22
+ // Generate a response
23
+ const response = await agent.generate("Hello!");
24
+
25
+ // Stream a response
26
+ const stream = await agent.stream("Tell me a story");
27
+ for await (const chunk of stream) {
28
+ console.log(chunk);
29
+ }
30
+ ```
31
+
32
+ > **Info:** Mastra uses the OpenAI-compatible `/chat/completions` endpoint. Some provider-specific features may not be available. Check the [Snowflake Cortex documentation](https://docs.snowflake.com/en/user-guide/snowflake-cortex/cortex-rest-api) for details.
33
+
34
+ ## Models
35
+
36
+ | Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
37
+ | ----------------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
38
+ | `snowflake-cortex/claude-fable-5` | 1.0M | | | | | | — | — |
39
+ | `snowflake-cortex/claude-haiku-4-5` | 200K | | | | | | — | — |
40
+ | `snowflake-cortex/claude-opus-4-7` | 1.0M | | | | | | — | — |
41
+ | `snowflake-cortex/claude-opus-4-8` | 1.0M | | | | | | — | — |
42
+ | `snowflake-cortex/claude-sonnet-4-5` | 200K | | | | | | — | — |
43
+ | `snowflake-cortex/claude-sonnet-4-6` | 1.0M | | | | | | — | — |
44
+ | `snowflake-cortex/deepseek-r1` | 128K | | | | | | — | — |
45
+ | `snowflake-cortex/gemini-3.1-pro` | 1.0M | | | | | | — | — |
46
+ | `snowflake-cortex/mistral-large2` | 262K | | | | | | — | — |
47
+ | `snowflake-cortex/openai-gpt-4.1` | 1.0M | | | | | | — | — |
48
+ | `snowflake-cortex/openai-gpt-5` | 400K | | | | | | — | — |
49
+ | `snowflake-cortex/openai-gpt-5-mini` | 272K | | | | | | — | — |
50
+ | `snowflake-cortex/openai-gpt-5-nano` | 400K | | | | | | — | — |
51
+ | `snowflake-cortex/openai-gpt-5.1` | 400K | | | | | | — | — |
52
+ | `snowflake-cortex/openai-gpt-5.2` | 400K | | | | | | — | — |
53
+ | `snowflake-cortex/openai-gpt-5.4` | 1.1M | | | | | | — | — |
54
+ | `snowflake-cortex/openai-gpt-5.5` | 1.1M | | | | | | — | — |
55
+ | `snowflake-cortex/snowflake-llama3.3-70b` | 128K | | | | | | — | — |
56
+
57
+ ## Advanced configuration
58
+
59
+ ### Custom headers
60
+
61
+ ```typescript
62
+ const agent = new Agent({
63
+ id: "custom-agent",
64
+ name: "custom-agent",
65
+ model: {
66
+ url: "https://${SNOWFLAKE_ACCOUNT}.snowflakecomputing.com/api/v2/cortex/v1",
67
+ id: "snowflake-cortex/claude-fable-5",
68
+ apiKey: process.env.SNOWFLAKE_CORTEX_PAT,
69
+ headers: {
70
+ "X-Custom-Header": "value"
71
+ }
72
+ }
73
+ });
74
+ ```
75
+
76
+ ### Dynamic model selection
77
+
78
+ ```typescript
79
+ const agent = new Agent({
80
+ id: "dynamic-agent",
81
+ name: "Dynamic Agent",
82
+ model: ({ requestContext }) => {
83
+ const useAdvanced = requestContext.task === "complex";
84
+ return useAdvanced
85
+ ? "snowflake-cortex/snowflake-llama3.3-70b"
86
+ : "snowflake-cortex/claude-fable-5";
87
+ }
88
+ });
89
+ ```
@@ -1,8 +1,8 @@
1
- # ![StepFun logo](https://models.dev/logos/stepfun-ai.svg)StepFun
1
+ # ![StepFun AI logo](https://models.dev/logos/stepfun-ai.svg)StepFun AI
2
2
 
3
- Access 2 StepFun models through Mastra's model router. Authentication is handled automatically using the `STEPFUN_API_KEY` environment variable.
3
+ Access 2 StepFun AI models through Mastra's model router. Authentication is handled automatically using the `STEPFUN_API_KEY` environment variable.
4
4
 
5
- Learn more in the [StepFun documentation](https://platform.stepfun.ai/docs/en/step-plan/integrations/open-code).
5
+ Learn more in the [StepFun AI documentation](https://platform.stepfun.ai/docs/en/step-plan/integrations/open-code).
6
6
 
7
7
  ```bash
8
8
  STEPFUN_API_KEY=your-api-key
@@ -28,13 +28,13 @@ for await (const chunk of stream) {
28
28
  }
29
29
  ```
30
30
 
31
- > **Info:** Mastra uses the OpenAI-compatible `/chat/completions` endpoint. Some provider-specific features may not be available. Check the [StepFun documentation](https://platform.stepfun.ai/docs/en/step-plan/integrations/open-code) for details.
31
+ > **Info:** Mastra uses the OpenAI-compatible `/chat/completions` endpoint. Some provider-specific features may not be available. Check the [StepFun AI documentation](https://platform.stepfun.ai/docs/en/step-plan/integrations/open-code) for details.
32
32
 
33
33
  ## Models
34
34
 
35
35
  | Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
36
36
  | -------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
37
- | `stepfun-ai/step-3.5-flash` | 256K | | | | | | $0.10 | $0.29 |
37
+ | `stepfun-ai/step-3.5-flash` | 256K | | | | | | $0.10 | $0.30 |
38
38
  | `stepfun-ai/step-3.5-flash-2603` | 256K | | | | | | $0.10 | $0.30 |
39
39
 
40
40
  ## Advanced configuration
@@ -36,7 +36,7 @@ for await (const chunk of stream) {
36
36
  | ----------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
37
37
  | `stepfun/step-1-32k` | 33K | | | | | | $2 | $10 |
38
38
  | `stepfun/step-2-16k` | 16K | | | | | | $5 | $16 |
39
- | `stepfun/step-3.5-flash` | 256K | | | | | | $0.10 | $0.29 |
39
+ | `stepfun/step-3.5-flash` | 256K | | | | | | $0.10 | $0.30 |
40
40
  | `stepfun/step-3.5-flash-2603` | 256K | | | | | | $0.10 | $0.30 |
41
41
 
42
42
  ## Advanced configuration
@@ -1,6 +1,6 @@
1
1
  # ![Synthetic logo](https://models.dev/logos/synthetic.svg)Synthetic
2
2
 
3
- Access 33 Synthetic models through Mastra's model router. Authentication is handled automatically using the `SYNTHETIC_API_KEY` environment variable.
3
+ Access 34 Synthetic models through Mastra's model router. Authentication is handled automatically using the `SYNTHETIC_API_KEY` environment variable.
4
4
 
5
5
  Learn more in the [Synthetic documentation](https://synthetic.new/pricing).
6
6
 
@@ -50,6 +50,7 @@ for await (const chunk of stream) {
50
50
  | `synthetic/hf:MiniMaxAI/MiniMax-M2` | 197K | | | | | | $0.55 | $2 |
51
51
  | `synthetic/hf:MiniMaxAI/MiniMax-M2.1` | 205K | | | | | | $0.55 | $2 |
52
52
  | `synthetic/hf:MiniMaxAI/MiniMax-M2.5` | 191K | | | | | | $0.60 | $3 |
53
+ | `synthetic/hf:MiniMaxAI/MiniMax-M3` | 524K | | | | | | $0.60 | $1 |
53
54
  | `synthetic/hf:moonshotai/Kimi-K2-Instruct-0905` | 262K | | | | | | $1 | $1 |
54
55
  | `synthetic/hf:moonshotai/Kimi-K2-Thinking` | 262K | | | | | | $0.55 | $2 |
55
56
  | `synthetic/hf:moonshotai/Kimi-K2.5` | 262K | | | | | | $0.55 | $2 |
@@ -1,6 +1,6 @@
1
1
  # ![Together AI logo](https://models.dev/logos/togetherai.svg)Together AI
2
2
 
3
- Access 18 Together AI models through Mastra's model router. Authentication is handled automatically using the `TOGETHER_API_KEY` environment variable.
3
+ Access 24 Together AI models through Mastra's model router. Authentication is handled automatically using the `TOGETHER_API_KEY` environment variable.
4
4
 
5
5
  Learn more in the [Together AI documentation](https://docs.together.ai/docs/serverless-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: "togetherai/MiniMaxAI/MiniMax-M2.5"
18
+ model: "togetherai/LiquidAI/LFM2-24B-A2B"
19
19
  });
20
20
 
21
21
  // Generate a response
@@ -30,26 +30,32 @@ for await (const chunk of stream) {
30
30
 
31
31
  ## Models
32
32
 
33
- | Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
34
- | ---------------------------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
35
- | `togetherai/deepseek-ai/DeepSeek-R1` | 164K | | | | | | $3 | $7 |
36
- | `togetherai/deepseek-ai/DeepSeek-V3` | 131K | | | | | | $1 | $1 |
37
- | `togetherai/deepseek-ai/DeepSeek-V3-1` | 131K | | | | | | $0.60 | $2 |
38
- | `togetherai/deepseek-ai/DeepSeek-V4-Pro` | 512K | | | | | | $2 | $4 |
39
- | `togetherai/essentialai/Rnj-1-Instruct` | 33K | | | | | | $0.15 | $0.15 |
40
- | `togetherai/google/gemma-4-31B-it` | 262K | | | | | | $0.20 | $0.50 |
41
- | `togetherai/meta-llama/Llama-3.3-70B-Instruct-Turbo` | 131K | | | | | | $0.88 | $0.88 |
42
- | `togetherai/MiniMaxAI/MiniMax-M2.5` | 205K | | | | | | $0.30 | $1 |
43
- | `togetherai/MiniMaxAI/MiniMax-M2.7` | 203K | | | | | | $0.30 | $1 |
44
- | `togetherai/moonshotai/Kimi-K2.5` | 262K | | | | | | $0.50 | $3 |
45
- | `togetherai/moonshotai/Kimi-K2.6` | 262K | | | | | | $1 | $5 |
46
- | `togetherai/openai/gpt-oss-120b` | 131K | | | | | | $0.15 | $0.60 |
47
- | `togetherai/Qwen/Qwen3-235B-A22B-Instruct-2507-tput` | 262K | | | | | | $0.20 | $0.60 |
48
- | `togetherai/Qwen/Qwen3-Coder-480B-A35B-Instruct-FP8` | 262K | | | | | | $2 | $2 |
49
- | `togetherai/Qwen/Qwen3-Coder-Next-FP8` | 262K | | | | | | $0.50 | $1 |
50
- | `togetherai/Qwen/Qwen3.5-397B-A17B` | 262K | | | | | | $0.60 | $4 |
51
- | `togetherai/Qwen/Qwen3.6-Plus` | 1.0M | | | | | | $0.50 | $3 |
52
- | `togetherai/zai-org/GLM-5.1` | 203K | | | | | | $1 | $4 |
33
+ | Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
34
+ | ----------------------------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
35
+ | `togetherai/deepcogito/cogito-v2-1-671b` | 164K | | | | | | $1 | $1 |
36
+ | `togetherai/deepseek-ai/DeepSeek-V4-Pro` | 512K | | | | | | $2 | $3 |
37
+ | `togetherai/essentialai/Rnj-1-Instruct` | 33K | | | | | | $0.15 | $0.15 |
38
+ | `togetherai/google/gemma-3n-E4B-it` | 33K | | | | | | $0.06 | $0.12 |
39
+ | `togetherai/google/gemma-4-31B-it` | 262K | | | | | | $0.39 | $0.97 |
40
+ | `togetherai/LiquidAI/LFM2-24B-A2B` | 33K | | | | | | $0.03 | $0.12 |
41
+ | `togetherai/meta-llama/Llama-3.3-70B-Instruct-Turbo` | 131K | | | | | | $0.88 | $0.88 |
42
+ | `togetherai/meta-llama/Meta-Llama-3-8B-Instruct-Lite` | 8K | | | | | | $0.14 | $0.14 |
43
+ | `togetherai/MiniMaxAI/MiniMax-M2.7` | 203K | | | | | | $0.30 | $1 |
44
+ | `togetherai/MiniMaxAI/MiniMax-M3` | 524K | | | | | | $0.30 | $1 |
45
+ | `togetherai/moonshotai/Kimi-K2.6` | 262K | | | | | | $1 | $5 |
46
+ | `togetherai/moonshotai/Kimi-K2.7-Code` | 262K | | | | | | $0.95 | $4 |
47
+ | `togetherai/nvidia/nemotron-3-ultra-550b-a55b` | 512K | | | | | | $0.60 | $4 |
48
+ | `togetherai/openai/gpt-oss-120b` | 131K | | | | | | $0.15 | $0.60 |
49
+ | `togetherai/openai/gpt-oss-20b` | 131K | | | | | | $0.05 | $0.20 |
50
+ | `togetherai/pearl-ai/gemma-4-31b-it` | 32K | | | | | | $0.28 | $0.86 |
51
+ | `togetherai/Qwen/Qwen2.5-7B-Instruct-Turbo` | 33K | | | | | | $0.30 | $0.30 |
52
+ | `togetherai/Qwen/Qwen3-235B-A22B-Instruct-2507-tput` | 262K | | | | | | $0.20 | $0.60 |
53
+ | `togetherai/Qwen/Qwen3.5-397B-A17B` | 262K | | | | | | $0.60 | $4 |
54
+ | `togetherai/Qwen/Qwen3.5-9B` | 262K | | | | | | $0.17 | $0.25 |
55
+ | `togetherai/Qwen/Qwen3.6-Plus` | 1.0M | | | | | | $0.50 | $3 |
56
+ | `togetherai/Qwen/Qwen3.7-Max` | 1.0M | | | | | | $1 | $4 |
57
+ | `togetherai/zai-org/GLM-5` | 203K | | | | | | $1 | $3 |
58
+ | `togetherai/zai-org/GLM-5.1` | 203K | | | | | | $1 | $4 |
53
59
 
54
60
  ## Advanced configuration
55
61
 
@@ -60,7 +66,7 @@ const agent = new Agent({
60
66
  id: "custom-agent",
61
67
  name: "custom-agent",
62
68
  model: {
63
- id: "togetherai/MiniMaxAI/MiniMax-M2.5",
69
+ id: "togetherai/LiquidAI/LFM2-24B-A2B",
64
70
  apiKey: process.env.TOGETHER_API_KEY,
65
71
  headers: {
66
72
  "X-Custom-Header": "value"
@@ -79,7 +85,7 @@ const agent = new Agent({
79
85
  const useAdvanced = requestContext.task === "complex";
80
86
  return useAdvanced
81
87
  ? "togetherai/zai-org/GLM-5.1"
82
- : "togetherai/MiniMaxAI/MiniMax-M2.5";
88
+ : "togetherai/LiquidAI/LFM2-24B-A2B";
83
89
  }
84
90
  });
85
91
  ```
@@ -1,6 +1,6 @@
1
1
  # ![Umans AI Coding Plan logo](https://models.dev/logos/umans-ai-coding-plan.svg)Umans AI Coding Plan
2
2
 
3
- Access 5 Umans AI Coding Plan models through Mastra's model router. Authentication is handled automatically using the `UMANS_AI_CODING_PLAN_API_KEY` environment variable.
3
+ Access 6 Umans AI Coding Plan models through Mastra's model router. Authentication is handled automatically using the `UMANS_AI_CODING_PLAN_API_KEY` environment variable.
4
4
 
5
5
  Learn more in the [Umans AI Coding Plan documentation](https://app.umans.ai/offers/code/docs).
6
6
 
@@ -37,7 +37,8 @@ for await (const chunk of stream) {
37
37
  | `umans-ai-coding-plan/umans-coder` | 262K | | | | | | — | — |
38
38
  | `umans-ai-coding-plan/umans-flash` | 262K | | | | | | — | — |
39
39
  | `umans-ai-coding-plan/umans-glm-5.1` | 205K | | | | | | — | — |
40
- | `umans-ai-coding-plan/umans-kimi-k2.6` | 262K | | | | | | — | — |
40
+ | `umans-ai-coding-plan/umans-glm-5.2` | 406K | | | | | | — | — |
41
+ | `umans-ai-coding-plan/umans-kimi-k2.7` | 262K | | | | | | — | — |
41
42
  | `umans-ai-coding-plan/umans-qwen3.6-35b-a3b` | 262K | | | | | | — | — |
42
43
 
43
44
  ## Advanced configuration
@@ -0,0 +1,75 @@
1
+ # ![Umans AI logo](https://models.dev/logos/umans-ai.svg)Umans AI
2
+
3
+ Access 5 Umans AI models through Mastra's model router. Authentication is handled automatically using the `UMANS_AI_API_KEY` environment variable.
4
+
5
+ Learn more in the [Umans AI documentation](https://app.umans.ai/offers/code/docs/orgs).
6
+
7
+ ```bash
8
+ UMANS_AI_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: "umans-ai/umans-coder"
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 [Umans AI documentation](https://app.umans.ai/offers/code/docs/orgs) for details.
32
+
33
+ ## Models
34
+
35
+ | Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
36
+ | -------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
37
+ | `umans-ai/umans-coder` | 262K | | | | | | $0.95 | $4 |
38
+ | `umans-ai/umans-flash` | 262K | | | | | | $0.15 | $1 |
39
+ | `umans-ai/umans-glm-5.1` | 205K | | | | | | $1 | $4 |
40
+ | `umans-ai/umans-glm-5.2` | 406K | | | | | | $1 | $4 |
41
+ | `umans-ai/umans-kimi-k2.7` | 262K | | | | | | $0.95 | $4 |
42
+
43
+ ## Advanced configuration
44
+
45
+ ### Custom headers
46
+
47
+ ```typescript
48
+ const agent = new Agent({
49
+ id: "custom-agent",
50
+ name: "custom-agent",
51
+ model: {
52
+ url: "https://api.code.umans.ai/v1",
53
+ id: "umans-ai/umans-coder",
54
+ apiKey: process.env.UMANS_AI_API_KEY,
55
+ headers: {
56
+ "X-Custom-Header": "value"
57
+ }
58
+ }
59
+ });
60
+ ```
61
+
62
+ ### Dynamic model selection
63
+
64
+ ```typescript
65
+ const agent = new Agent({
66
+ id: "dynamic-agent",
67
+ name: "Dynamic Agent",
68
+ model: ({ requestContext }) => {
69
+ const useAdvanced = requestContext.task === "complex";
70
+ return useAdvanced
71
+ ? "umans-ai/umans-kimi-k2.7"
72
+ : "umans-ai/umans-coder";
73
+ }
74
+ });
75
+ ```
@@ -35,7 +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
  | `vivgrid/deepseek-v3.2` | 128K | | | | | | $0.28 | $0.42 |
38
- | `vivgrid/deepseek-v4-pro` | 1.0M | | | | | | $2 | $3 |
38
+ | `vivgrid/deepseek-v4-pro` | 1.0M | | | | | | $0.43 | $0.87 |
39
39
  | `vivgrid/gemini-3.1-flash-lite-preview` | 1.0M | | | | | | $0.25 | $2 |
40
40
  | `vivgrid/gemini-3.1-pro-preview` | 1.0M | | | | | | $2 | $12 |
41
41
  | `vivgrid/gpt-5-mini` | 272K | | | | | | $0.25 | $2 |