@mastra/mcp-docs-server 1.2.7-alpha.6 → 1.2.7

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 (169) hide show
  1. package/.docs/docs/agent-builder/integrations.md +44 -2
  2. package/.docs/docs/agent-builder/skill-registries.md +1 -3
  3. package/.docs/docs/agent-controller/overview.md +1 -1
  4. package/.docs/docs/agent-controller/session.md +1 -3
  5. package/.docs/docs/agents/code-mode.md +17 -1
  6. package/.docs/docs/agents/guardrails.md +8 -8
  7. package/.docs/docs/agents/overview.md +2 -2
  8. package/.docs/docs/agents/processors.md +9 -3
  9. package/.docs/docs/agents/skills.md +2 -4
  10. package/.docs/docs/agents/structured-output.md +1 -1
  11. package/.docs/docs/agents/supervisor-agents.md +1 -3
  12. package/.docs/docs/agents/using-tools.md +4 -4
  13. package/.docs/docs/browser/agent-browser.md +1 -3
  14. package/.docs/docs/browser/browser-viewer.md +1 -3
  15. package/.docs/docs/browser/stagehand.md +1 -1
  16. package/.docs/docs/capabilities/channels/overview.md +1 -3
  17. package/.docs/docs/deployment/mastra-server.md +2 -4
  18. package/.docs/docs/editor/overview.md +2 -6
  19. package/.docs/docs/editor/prompts.md +1 -1
  20. package/.docs/docs/editor/tools.md +3 -5
  21. package/.docs/docs/evals/custom-scorers.md +1 -3
  22. package/.docs/docs/evals/datasets/overview.md +4 -4
  23. package/.docs/docs/evals/datasets/running-experiments.md +4 -2
  24. package/.docs/docs/evals/evals-with-memory.md +1 -3
  25. package/.docs/docs/evals/gates-and-verdicts.md +17 -2
  26. package/.docs/docs/evals/quick-checks.md +1 -3
  27. package/.docs/docs/getting-started/file-based-agents.md +9 -4
  28. package/.docs/docs/long-running-agents/background-tasks.md +1 -1
  29. package/.docs/docs/long-running-agents/durable-agents.md +3 -5
  30. package/.docs/docs/long-running-agents/goals.md +1 -3
  31. package/.docs/docs/long-running-agents/signal-providers.md +1 -3
  32. package/.docs/docs/long-running-agents/signals.md +7 -21
  33. package/.docs/docs/mastra-platform/configuration.md +15 -22
  34. package/.docs/docs/mastra-platform/database.md +50 -6
  35. package/.docs/docs/mastra-platform/deploy.md +142 -0
  36. package/.docs/docs/mastra-platform/environments.md +103 -0
  37. package/.docs/docs/mastra-platform/github.md +2 -2
  38. package/.docs/docs/mastra-platform/overview.md +5 -5
  39. package/.docs/docs/mastra-platform/server.md +2 -0
  40. package/.docs/docs/mastra-platform/studio.md +5 -3
  41. package/.docs/docs/mcp/mcp-apps.md +3 -3
  42. package/.docs/docs/mcp/overview.md +6 -10
  43. package/.docs/docs/memory/overview.md +4 -4
  44. package/.docs/docs/observability/integrations/exporters/mastra-platform.md +1 -3
  45. package/.docs/docs/observability/logging.md +3 -1
  46. package/.docs/docs/observability/metrics/querying.md +2 -0
  47. package/.docs/docs/observability/tracing/overview.md +3 -1
  48. package/.docs/docs/server/auth/auth0.md +1 -1
  49. package/.docs/docs/server/auth/better-auth.md +2 -2
  50. package/.docs/docs/server/auth/clerk.md +1 -1
  51. package/.docs/docs/server/auth/firebase.md +1 -1
  52. package/.docs/docs/server/auth/google.md +2 -2
  53. package/.docs/docs/server/auth/jwt.md +2 -2
  54. package/.docs/docs/server/auth/okta.md +2 -2
  55. package/.docs/docs/server/auth/workos.md +1 -1
  56. package/.docs/docs/server/mastra-client.md +1 -1
  57. package/.docs/docs/server/mastra-server.md +1 -1
  58. package/.docs/docs/server/pubsub.md +1 -1
  59. package/.docs/docs/server/request-context.md +4 -4
  60. package/.docs/docs/server/server-adapters.md +8 -8
  61. package/.docs/docs/studio/auth.md +1 -3
  62. package/.docs/docs/workflows/agents-and-tools.md +3 -5
  63. package/.docs/docs/workflows/control-flow.md +1 -1
  64. package/.docs/docs/workflows/overview.md +5 -5
  65. package/.docs/guides/build-your-ui/assistant-ui.md +1 -1
  66. package/.docs/guides/build-your-ui/copilotkit/overview.md +1 -1
  67. package/.docs/guides/concepts/streaming.md +3 -3
  68. package/.docs/guides/guide/chef-michel.md +1 -1
  69. package/.docs/guides/guide/coding-agent.md +392 -0
  70. package/.docs/guides/migrations/mastra-cloud.md +5 -12
  71. package/.docs/models/environment-variables.md +16 -2
  72. package/.docs/models/gateways/azure-openai.md +15 -15
  73. package/.docs/models/gateways/mastra.md +2 -2
  74. package/.docs/models/gateways/netlify.md +4 -1
  75. package/.docs/models/gateways/openrouter.md +10 -11
  76. package/.docs/models/gateways/vercel.md +9 -10
  77. package/.docs/models/index.md +1 -1
  78. package/.docs/models/providers/abacus.md +44 -14
  79. package/.docs/models/providers/ai-router.md +77 -0
  80. package/.docs/models/providers/ambient.md +10 -6
  81. package/.docs/models/providers/baseten.md +1 -1
  82. package/.docs/models/providers/blueclaw.md +74 -0
  83. package/.docs/models/providers/crossmodel.md +115 -0
  84. package/.docs/models/providers/daoxe.md +81 -0
  85. package/.docs/models/providers/databricks.md +7 -2
  86. package/.docs/models/providers/deepinfra.md +2 -2
  87. package/.docs/models/providers/deepseek.md +2 -2
  88. package/.docs/models/providers/ebcloud.md +76 -0
  89. package/.docs/models/providers/empiriolabs.md +108 -0
  90. package/.docs/models/providers/google.md +4 -0
  91. package/.docs/models/providers/hpc-ai.md +16 -10
  92. package/.docs/models/providers/inferx.md +78 -0
  93. package/.docs/models/providers/llmgateway.md +6 -7
  94. package/.docs/models/providers/lynkr.md +73 -0
  95. package/.docs/models/providers/meta.md +101 -0
  96. package/.docs/models/providers/model-oracle-ai.md +87 -0
  97. package/.docs/models/providers/nano-gpt.md +2 -2
  98. package/.docs/models/providers/neon.md +1 -1
  99. package/.docs/models/providers/nvidia.md +1 -3
  100. package/.docs/models/providers/openai.md +16 -3
  101. package/.docs/models/providers/opencode.md +5 -2
  102. package/.docs/models/providers/pioneer.md +148 -0
  103. package/.docs/models/providers/poolside.md +6 -5
  104. package/.docs/models/providers/routing-run.md +23 -34
  105. package/.docs/models/providers/snowflake-cortex.md +4 -1
  106. package/.docs/models/providers/stepfun-ai-step-plan.md +75 -0
  107. package/.docs/models/providers/stepfun-ai.md +6 -6
  108. package/.docs/models/providers/stepfun-step-plan.md +76 -0
  109. package/.docs/models/providers/stepfun.md +5 -5
  110. package/.docs/models/providers/the-grid-ai.md +3 -3
  111. package/.docs/models/providers/unorouter.md +95 -0
  112. package/.docs/models/providers/vivgrid.md +5 -2
  113. package/.docs/models/providers/wafer.ai.md +9 -12
  114. package/.docs/models/providers/xai.md +1 -1
  115. package/.docs/models/providers/zenmux.md +5 -1
  116. package/.docs/models/providers.md +16 -2
  117. package/.docs/reference/agents/generateLegacy.md +8 -2
  118. package/.docs/reference/cli/mastra.md +131 -10
  119. package/.docs/reference/code-sdk/mount-agent-controller.md +2 -0
  120. package/.docs/reference/coding-agent/create-coding-agent.md +5 -4
  121. package/.docs/reference/evals/create-scorer.md +63 -0
  122. package/.docs/reference/evals/run-evals.md +2 -2
  123. package/.docs/reference/file-based-agents/logger.md +26 -0
  124. package/.docs/reference/file-based-agents/scorers.md +54 -0
  125. package/.docs/reference/index.md +2 -0
  126. package/.docs/reference/mastra-platform/api.md +1 -1
  127. package/.docs/reference/observability/metrics/automatic-metrics.md +8 -8
  128. package/.docs/reference/observability/tracing/exporters/braintrust.md +1 -0
  129. package/.docs/reference/observability/tracing/exporters/datadog.md +10 -9
  130. package/.docs/reference/observability/tracing/exporters/langsmith.md +8 -7
  131. package/.docs/reference/observability/tracing/exporters/posthog.md +13 -12
  132. package/.docs/reference/observability/tracing/exporters/sentry.md +1 -0
  133. package/.docs/reference/observability/tracing/interfaces.md +9 -0
  134. package/.docs/reference/processors/stream-error-retry-processor.md +39 -2
  135. package/.docs/reference/pubsub/base.md +10 -0
  136. package/.docs/reference/pubsub/caching-pubsub.md +8 -0
  137. package/.docs/reference/pubsub/redis-streams.md +12 -0
  138. package/.docs/reference/server/express-adapter.md +1 -3
  139. package/.docs/reference/server/fastify-adapter.md +1 -3
  140. package/.docs/reference/server/hono-adapter.md +1 -3
  141. package/.docs/reference/server/koa-adapter.md +1 -3
  142. package/.docs/reference/server/nestjs-adapter.md +1 -3
  143. package/.docs/reference/server/register-api-route.md +5 -4
  144. package/.docs/reference/templates/overview.md +1 -1
  145. package/.docs/reference/tools/mcp-client.md +22 -0
  146. package/.docs/reference/tools/mcp-server.md +161 -4
  147. package/.docs/reference/voice/google.md +48 -8
  148. package/.docs/reference/voice/speechify.md +10 -6
  149. package/.docs/reference/workspace/agentcore-runtime-sandbox.md +1 -3
  150. package/.docs/reference/workspace/agentfs-filesystem.md +1 -3
  151. package/.docs/reference/workspace/apple-container-sandbox.md +1 -3
  152. package/.docs/reference/workspace/archil-filesystem.md +1 -3
  153. package/.docs/reference/workspace/azure-blob-filesystem.md +1 -3
  154. package/.docs/reference/workspace/blaxel-sandbox.md +1 -3
  155. package/.docs/reference/workspace/daytona-sandbox.md +1 -3
  156. package/.docs/reference/workspace/docker-sandbox.md +1 -3
  157. package/.docs/reference/workspace/e2b-sandbox.md +20 -3
  158. package/.docs/reference/workspace/files-sdk-filesystem.md +1 -3
  159. package/.docs/reference/workspace/gcs-filesystem.md +1 -3
  160. package/.docs/reference/workspace/google-drive-filesystem.md +1 -3
  161. package/.docs/reference/workspace/local-filesystem.md +1 -3
  162. package/.docs/reference/workspace/local-sandbox.md +1 -3
  163. package/.docs/reference/workspace/modal-sandbox.md +1 -3
  164. package/.docs/reference/workspace/railway-sandbox.md +1 -3
  165. package/.docs/reference/workspace/s3-filesystem.md +1 -3
  166. package/.docs/reference/workspace/vercel-sandbox.md +5 -7
  167. package/.docs/reference/workspace/vercel-serverless.md +1 -3
  168. package/CHANGELOG.md +86 -0
  169. package/package.json +10 -10
@@ -0,0 +1,148 @@
1
+ > Discover all available pages from the documentation index: https://mastra.ai/llms.txt
2
+
3
+ # ![Pioneer logo](https://models.dev/logos/pioneer.svg)Pioneer
4
+
5
+ Access 76 Pioneer models through Mastra's model router. Authentication is handled automatically using the `PIONEER_API_KEY` environment variable.
6
+
7
+ Learn more in the [Pioneer documentation](https://agent.pioneer.ai/llms.txt).
8
+
9
+ ```bash
10
+ PIONEER_API_KEY=your-api-key
11
+ ```
12
+
13
+ ```typescript
14
+ import { Agent } from "@mastra/core/agent";
15
+
16
+ const agent = new Agent({
17
+ id: "my-agent",
18
+ name: "My Agent",
19
+ instructions: "You are a helpful assistant",
20
+ model: "pioneer/HuggingFaceTB/SmolLM3-3B-Base"
21
+ });
22
+
23
+ // Generate a response
24
+ const response = await agent.generate("Hello!");
25
+
26
+ // Stream a response
27
+ const stream = await agent.stream("Tell me a story");
28
+ for await (const chunk of stream) {
29
+ console.log(chunk);
30
+ }
31
+ ```
32
+
33
+ > **Info:** Mastra uses the OpenAI-compatible `/chat/completions` endpoint. Some provider-specific features may not be available. Check the [Pioneer documentation](https://agent.pioneer.ai/llms.txt) for details.
34
+
35
+ ## Models
36
+
37
+ | Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
38
+ | ------------------------------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
39
+ | `pioneer/claude-haiku-4-5` | 200K | | | | | | $1 | $5 |
40
+ | `pioneer/claude-opus-4-1` | 200K | | | | | | $15 | $75 |
41
+ | `pioneer/claude-opus-4-5` | 200K | | | | | | $5 | $25 |
42
+ | `pioneer/claude-opus-4-6` | 1.0M | | | | | | $5 | $25 |
43
+ | `pioneer/claude-opus-4-7` | 1.0M | | | | | | $5 | $25 |
44
+ | `pioneer/claude-opus-4-8` | 1.0M | | | | | | $5 | $25 |
45
+ | `pioneer/claude-sonnet-4-5` | 1.0M | | | | | | $3 | $15 |
46
+ | `pioneer/claude-sonnet-4-6` | 1.0M | | | | | | $3 | $15 |
47
+ | `pioneer/deepseek-ai/DeepSeek-V4-Flash` | 1.0M | | | | | | $0.10 | $0.20 |
48
+ | `pioneer/deepseek-ai/DeepSeek-V4-Pro` | 1.0M | | | | | | $0.43 | $0.87 |
49
+ | `pioneer/fastino/gliguard-LLMGuardrails-300M` | 8K | | | | | | $0.15 | $0.15 |
50
+ | `pioneer/fastino/gliner2-base-v1` | 8K | | | | | | $0.15 | $0.15 |
51
+ | `pioneer/fastino/gliner2-large-v1` | 8K | | | | | | $0.15 | $0.15 |
52
+ | `pioneer/fastino/gliner2-multi-large-v1` | 8K | | | | | | $0.15 | $0.15 |
53
+ | `pioneer/fastino/gliner2-multi-v1` | 8K | | | | | | $0.15 | $0.15 |
54
+ | `pioneer/fastino/gliner2-privacy-filter-PII-multi` | 8K | | | | | | $0.15 | $0.15 |
55
+ | `pioneer/gemini-3-flash` | 1.0M | | | | | | $0.50 | $3 |
56
+ | `pioneer/gemini-3.1-pro` | 1.0M | | | | | | $2 | $12 |
57
+ | `pioneer/gemini-3.5-flash` | 1.0M | | | | | | $2 | $9 |
58
+ | `pioneer/google/diffusiongemma-26B-A4B-it` | 262K | | | | | | $0.50 | $0.50 |
59
+ | `pioneer/google/gemma-3-4b-pt` | 33K | | | | | | $0.15 | $0.15 |
60
+ | `pioneer/google/gemma-4-12B-it` | 33K | | | | | | $0.25 | $0.25 |
61
+ | `pioneer/google/gemma-4-31B-it` | 33K | | | | | | $0.50 | $0.50 |
62
+ | `pioneer/google/gemma-4-E2B-it` | 33K | | | | | | $0.10 | $0.10 |
63
+ | `pioneer/google/gemma-4-E4B-it` | 33K | | | | | | $0.20 | $0.20 |
64
+ | `pioneer/gpt-4.1` | 1.0M | | | | | | $2 | $8 |
65
+ | `pioneer/gpt-4.1-mini` | 1.0M | | | | | | $0.40 | $2 |
66
+ | `pioneer/gpt-4.1-nano` | 1.0M | | | | | | $0.10 | $0.40 |
67
+ | `pioneer/gpt-4o` | 128K | | | | | | $3 | $10 |
68
+ | `pioneer/gpt-4o-mini` | 128K | | | | | | $0.15 | $0.60 |
69
+ | `pioneer/gpt-5-mini` | 400K | | | | | | $0.25 | $2 |
70
+ | `pioneer/gpt-5-nano` | 400K | | | | | | $0.05 | $0.40 |
71
+ | `pioneer/gpt-5.1` | 400K | | | | | | $1 | $10 |
72
+ | `pioneer/gpt-5.3-codex` | 400K | | | | | | $2 | $14 |
73
+ | `pioneer/gpt-5.4` | 1.1M | | | | | | $3 | $15 |
74
+ | `pioneer/gpt-5.4-mini` | 400K | | | | | | $0.75 | $5 |
75
+ | `pioneer/gpt-5.4-nano` | 1.0M | | | | | | $0.20 | $1 |
76
+ | `pioneer/gpt-5.5` | 1.1M | | | | | | $5 | $30 |
77
+ | `pioneer/HuggingFaceTB/SmolLM3-3B-Base` | 33K | | | | | | $0.15 | $0.15 |
78
+ | `pioneer/LiquidAI/LFM2-24B-A2B` | 33K | | | | | | $0.03 | $0.12 |
79
+ | `pioneer/meta-llama/Llama-3.1-8B-Instruct` | 131K | | | | | | $0.20 | $0.20 |
80
+ | `pioneer/meta-llama/Llama-3.2-1B-Instruct` | 131K | | | | | | $0.10 | $0.20 |
81
+ | `pioneer/meta-llama/Llama-3.2-3B-Instruct` | 131K | | | | | | $0.10 | $0.34 |
82
+ | `pioneer/meta-llama/Llama-3.3-70B-Instruct` | 131K | | | | | | $0.90 | $0.90 |
83
+ | `pioneer/MiniMaxAI/MiniMax-M2.7` | 205K | | | | | | $0.28 | $1 |
84
+ | `pioneer/MiniMaxAI/MiniMax-M3` | 1.0M | | | | | | $0.30 | $1 |
85
+ | `pioneer/mistral-medium-3.5` | 262K | | | | | | $2 | $8 |
86
+ | `pioneer/mistralai/Mistral-7B-Instruct-v0.3` | 33K | | | | | | $0.20 | $0.20 |
87
+ | `pioneer/mistralai/Mistral-Nemo-Instruct-2407` | 131K | | | | | | $0.02 | $0.03 |
88
+ | `pioneer/mistralai/Mistral-Small-4-119B-2603` | 262K | | | | | | $0.15 | $0.60 |
89
+ | `pioneer/moonshotai/Kimi-K2.6` | 262K | | | | | | $0.95 | $4 |
90
+ | `pioneer/moonshotai/Kimi-K2.7-Code` | 262K | | | | | | $0.95 | $4 |
91
+ | `pioneer/nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B-BF16` | 262K | | | | | | $0.05 | $0.20 |
92
+ | `pioneer/nvidia/NVIDIA-Nemotron-3-Super-120B-A12B-FP8` | 1.0M | | | | | | $0.09 | $0.45 |
93
+ | `pioneer/nvidia/NVIDIA-Nemotron-3-Ultra-550B-A55B-BF16` | 1.0M | | | | | | $0.50 | $3 |
94
+ | `pioneer/openai/gpt-oss-120b` | 131K | | | | | | $0.15 | $0.60 |
95
+ | `pioneer/openai/gpt-oss-20b` | 131K | | | | | | $0.07 | $0.30 |
96
+ | `pioneer/pioneer/auto` | 1.0M | | | | | | — | — |
97
+ | `pioneer/Qwen/Qwen3-1.7B-Base` | 33K | | | | | | $0.10 | $0.10 |
98
+ | `pioneer/Qwen/Qwen3-32B` | 131K | | | | | | $0.90 | $0.90 |
99
+ | `pioneer/Qwen/Qwen3-4B-Base` | 33K | | | | | | $0.15 | $0.15 |
100
+ | `pioneer/Qwen/Qwen3-4B-Instruct-2507` | 262K | | | | | | $0.20 | $0.20 |
101
+ | `pioneer/Qwen/Qwen3-8B` | 131K | | | | | | $0.20 | $0.20 |
102
+ | `pioneer/Qwen/Qwen3.5-9B` | 33K | | | | | | $0.30 | $0.30 |
103
+ | `pioneer/Qwen/Qwen3.6-27B` | 33K | | | | | | $0.60 | $0.60 |
104
+ | `pioneer/Qwen/Qwen3.6-35B-A3B` | 262K | | | | | | $0.14 | $1 |
105
+ | `pioneer/qwen3.6-flash` | 1.0M | | | | | | $0.19 | $1 |
106
+ | `pioneer/qwen3.6-max-preview` | 262K | | | | | | $1 | $6 |
107
+ | `pioneer/qwen3.6-plus` | 1.0M | | | | | | $0.33 | $2 |
108
+ | `pioneer/qwen3.7-max` | 1.0M | | | | | | $1 | $4 |
109
+ | `pioneer/qwen3.7-plus` | 1.0M | | | | | | $0.32 | $1 |
110
+ | `pioneer/sakana/fugu-ultra` | 1.0M | | | | | | $5 | $30 |
111
+ | `pioneer/XiaomiMiMo/MiMo-V2.5` | 1.1M | | | | | | $0.14 | $0.28 |
112
+ | `pioneer/XiaomiMiMo/MiMo-V2.5-Pro` | 1.1M | | | | | | $0.43 | $0.87 |
113
+ | `pioneer/zai-org/GLM-5.1` | 203K | | | | | | $0.98 | $3 |
114
+ | `pioneer/zai-org/GLM-5.2` | 1.0M | | | | | | $1 | $4 |
115
+
116
+ ## Advanced configuration
117
+
118
+ ### Custom headers
119
+
120
+ ```typescript
121
+ const agent = new Agent({
122
+ id: "custom-agent",
123
+ name: "custom-agent",
124
+ model: {
125
+ url: "https://api.pioneer.ai/v1",
126
+ id: "pioneer/HuggingFaceTB/SmolLM3-3B-Base",
127
+ apiKey: process.env.PIONEER_API_KEY,
128
+ headers: {
129
+ "X-Custom-Header": "value"
130
+ }
131
+ }
132
+ });
133
+ ```
134
+
135
+ ### Dynamic model selection
136
+
137
+ ```typescript
138
+ const agent = new Agent({
139
+ id: "dynamic-agent",
140
+ name: "Dynamic Agent",
141
+ model: ({ requestContext }) => {
142
+ const useAdvanced = requestContext.task === "complex";
143
+ return useAdvanced
144
+ ? "pioneer/zai-org/GLM-5.2"
145
+ : "pioneer/HuggingFaceTB/SmolLM3-3B-Base";
146
+ }
147
+ });
148
+ ```
@@ -2,7 +2,7 @@
2
2
 
3
3
  # ![Poolside logo](https://models.dev/logos/poolside.svg)Poolside
4
4
 
5
- Access 2 Poolside models through Mastra's model router. Authentication is handled automatically using the `POOLSIDE_API_KEY` environment variable.
5
+ Access 3 Poolside models through Mastra's model router. Authentication is handled automatically using the `POOLSIDE_API_KEY` environment variable.
6
6
 
7
7
  Learn more in the [Poolside documentation](https://platform.poolside.ai).
8
8
 
@@ -34,10 +34,11 @@ for await (const chunk of stream) {
34
34
 
35
35
  ## Models
36
36
 
37
- | Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
38
- | ------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
39
- | `poolside/poolside/laguna-m.1` | 262K | | | | | | — | — |
40
- | `poolside/poolside/laguna-xs.2` | 262K | | | | | | — | — |
37
+ | Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
38
+ | --------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
39
+ | `poolside/poolside/laguna-m.1` | 262K | | | | | | — | — |
40
+ | `poolside/poolside/laguna-xs-2.1` | 262K | | | | | | — | — |
41
+ | `poolside/poolside/laguna-xs.2` | 262K | | | | | | — | — |
41
42
 
42
43
  ## Advanced configuration
43
44
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  # ![routing.run logo](https://models.dev/logos/routing-run.svg)routing.run
4
4
 
5
- Access 26 routing.run models through Mastra's model router. Authentication is handled automatically using the `ROUTING_RUN_API_KEY` environment variable.
5
+ Access 15 routing.run models through Mastra's model router. Authentication is handled automatically using the `ROUTING_RUN_API_KEY` environment variable.
6
6
 
7
7
  Learn more in the [routing.run documentation](https://docs.routing.run).
8
8
 
@@ -17,7 +17,7 @@ const agent = new Agent({
17
17
  id: "my-agent",
18
18
  name: "My Agent",
19
19
  instructions: "You are a helpful assistant",
20
- model: "routing-run/route/deepseek-v3.2"
20
+ model: "routing-run/claude-opus-4-8"
21
21
  });
22
22
 
23
23
  // Generate a response
@@ -34,34 +34,23 @@ for await (const chunk of stream) {
34
34
 
35
35
  ## Models
36
36
 
37
- | Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
38
- | ------------------------------------------ | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
39
- | `routing-run/route/deepseek-v3.2` | 164K | | | | | | $0.49 | $0.74 |
40
- | `routing-run/route/deepseek-v4-flash` | 1.0M | | | | | | $0.49 | $0.74 |
41
- | `routing-run/route/deepseek-v4-flash-6bit` | 1.0M | | | | | | $0.49 | $0.74 |
42
- | `routing-run/route/deepseek-v4-pro` | 1.0M | | | | | | $0.49 | $0.74 |
43
- | `routing-run/route/deepseek-v4-pro-6bit` | 1.0M | | | | | | $0.49 | $0.74 |
44
- | `routing-run/route/gemma-4-31b-it` | 131K | | | | | | $0.10 | $0.30 |
45
- | `routing-run/route/glm-5.1` | 203K | | | | | | $1 | $3 |
46
- | `routing-run/route/glm-5.1-6bit` | 203K | | | | | | $1 | $3 |
47
- | `routing-run/route/kimi-k2.5` | 131K | | | | | | $0.46 | $2 |
48
- | `routing-run/route/kimi-k2.6` | 262K | | | | | | $0.46 | $2 |
49
- | `routing-run/route/kimi-k2.6-6bit` | 262K | | | | | | $0.46 | $2 |
50
- | `routing-run/route/mimo-v2.5` | 1.0M | | | | | | $0.45 | $1 |
51
- | `routing-run/route/mimo-v2.5-pro` | 1.0M | | | | | | $0.45 | $1 |
52
- | `routing-run/route/mimo-v2.5-pro-6bit` | 1.0M | | | | | | $0.45 | $1 |
53
- | `routing-run/route/minimax-m2.5` | 100K | | | | | | $0.19 | $1 |
54
- | `routing-run/route/minimax-m2.5-highspeed` | 100K | | | | | | $0.19 | $1 |
55
- | `routing-run/route/minimax-m2.7` | 100K | | | | | | $0.33 | $1 |
56
- | `routing-run/route/minimax-m2.7-highspeed` | 100K | | | | | | $0.33 | $1 |
57
- | `routing-run/route/mistral-large-3` | 128K | | | | | | $0.50 | $2 |
58
- | `routing-run/route/mistral-medium-2505` | 128K | | | | | | $0.40 | $2 |
59
- | `routing-run/route/mistral-small-2503` | 128K | | | | | | $0.15 | $0.60 |
60
- | `routing-run/route/qwen3.6-27b` | 202K | | | | | | $1 | $3 |
61
- | `routing-run/route/qwen3.6-27b-202k` | 202K | | | | | | $1 | $3 |
62
- | `routing-run/route/step-3.5-flash` | 262K | | | | | | $0.10 | $0.29 |
63
- | `routing-run/route/step-3.5-flash-2603` | 262K | | | | | | $0.10 | $0.30 |
64
- | `routing-run/route/stepfun-3.5-flash` | 262K | | | | | | $0.10 | $0.29 |
37
+ | Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
38
+ | ---------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
39
+ | `routing-run/claude-opus-4-8` | 1.0M | | | | | | $5 | $25 |
40
+ | `routing-run/claude-sonnet-4-6` | 1.0M | | | | | | $3 | $15 |
41
+ | `routing-run/deepseek-v4-flash` | 1.0M | | | | | | $0.11 | $0.22 |
42
+ | `routing-run/deepseek-v4-pro` | 1.0M | | | | | | $0.35 | $0.70 |
43
+ | `routing-run/glm-5.2` | 200K | | | | | | $0.80 | $2 |
44
+ | `routing-run/glm-5.2-nitro` | 200K | | | | | | $0.80 | $2 |
45
+ | `routing-run/gpt-5.6-luna` | 1.0M | | | | | | $0.70 | $4 |
46
+ | `routing-run/gpt-5.6-sol` | 1.0M | | | | | | $3 | $15 |
47
+ | `routing-run/gpt-5.6-terra` | 1.0M | | | | | | $2 | $9 |
48
+ | `routing-run/kimi-k2.6` | 200K | | | | | | $0.28 | $1 |
49
+ | `routing-run/kimi-k2.6-nitro` | 200K | | | | | | $0.28 | $1 |
50
+ | `routing-run/kimi-k2.7-code` | 200K | | | | | | $0.28 | $1 |
51
+ | `routing-run/kimi-k2.7-code-nitro` | 200K | | | | | | $0.28 | $1 |
52
+ | `routing-run/nemotron-3-ultra` | 131K | | | | | | $0.10 | $0.10 |
53
+ | `routing-run/qwen3.5-9b` | 262K | | | | | | $0.16 | $0.48 |
65
54
 
66
55
  ## Advanced configuration
67
56
 
@@ -72,8 +61,8 @@ const agent = new Agent({
72
61
  id: "custom-agent",
73
62
  name: "custom-agent",
74
63
  model: {
75
- url: "https://ai.routing.sh/v1",
76
- id: "routing-run/route/deepseek-v3.2",
64
+ url: "https://api.routing.run/v1",
65
+ id: "routing-run/claude-opus-4-8",
77
66
  apiKey: process.env.ROUTING_RUN_API_KEY,
78
67
  headers: {
79
68
  "X-Custom-Header": "value"
@@ -91,8 +80,8 @@ const agent = new Agent({
91
80
  model: ({ requestContext }) => {
92
81
  const useAdvanced = requestContext.task === "complex";
93
82
  return useAdvanced
94
- ? "routing-run/route/stepfun-3.5-flash"
95
- : "routing-run/route/deepseek-v3.2";
83
+ ? "routing-run/qwen3.5-9b"
84
+ : "routing-run/claude-opus-4-8";
96
85
  }
97
86
  });
98
87
  ```
@@ -2,7 +2,7 @@
2
2
 
3
3
  # ![Snowflake Cortex logo](https://models.dev/logos/snowflake-cortex.svg)Snowflake Cortex
4
4
 
5
- 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.
5
+ Access 21 Snowflake Cortex models through Mastra's model router. Authentication is handled automatically using the `SNOWFLAKE_CORTEX_PAT` environment variable. Configure `SNOWFLAKE_ACCOUNT` as well.
6
6
 
7
7
  Learn more in the [Snowflake Cortex documentation](https://docs.snowflake.com/en/user-guide/snowflake-cortex/cortex-rest-api).
8
8
 
@@ -54,6 +54,9 @@ for await (const chunk of stream) {
54
54
  | `snowflake-cortex/openai-gpt-5.2` | 400K | | | | | | — | — |
55
55
  | `snowflake-cortex/openai-gpt-5.4` | 1.1M | | | | | | — | — |
56
56
  | `snowflake-cortex/openai-gpt-5.5` | 1.1M | | | | | | — | — |
57
+ | `snowflake-cortex/openai-gpt-5.6-luna` | 1.1M | | | | | | — | — |
58
+ | `snowflake-cortex/openai-gpt-5.6-sol` | 1.1M | | | | | | — | — |
59
+ | `snowflake-cortex/openai-gpt-5.6-terra` | 1.1M | | | | | | — | — |
57
60
  | `snowflake-cortex/snowflake-llama3.3-70b` | 128K | | | | | | — | — |
58
61
 
59
62
  ## Advanced configuration
@@ -0,0 +1,75 @@
1
+ > Discover all available pages from the documentation index: https://mastra.ai/llms.txt
2
+
3
+ # ![StepFun Step Plan (Global) logo](https://models.dev/logos/stepfun-ai-step-plan.svg)StepFun Step Plan (Global)
4
+
5
+ Access 3 StepFun Step Plan (Global) models through Mastra's model router. Authentication is handled automatically using the `STEPFUN_API_KEY` environment variable.
6
+
7
+ Learn more in the [StepFun Step Plan (Global) documentation](https://platform.stepfun.ai/docs/en/step-plan/integrations/reasoning-api).
8
+
9
+ ```bash
10
+ STEPFUN_API_KEY=your-api-key
11
+ ```
12
+
13
+ ```typescript
14
+ import { Agent } from "@mastra/core/agent";
15
+
16
+ const agent = new Agent({
17
+ id: "my-agent",
18
+ name: "My Agent",
19
+ instructions: "You are a helpful assistant",
20
+ model: "stepfun-ai-step-plan/step-3.5-flash"
21
+ });
22
+
23
+ // Generate a response
24
+ const response = await agent.generate("Hello!");
25
+
26
+ // Stream a response
27
+ const stream = await agent.stream("Tell me a story");
28
+ for await (const chunk of stream) {
29
+ console.log(chunk);
30
+ }
31
+ ```
32
+
33
+ > **Info:** Mastra uses the OpenAI-compatible `/chat/completions` endpoint. Some provider-specific features may not be available. Check the [StepFun Step Plan (Global) documentation](https://platform.stepfun.ai/docs/en/step-plan/integrations/reasoning-api) for details.
34
+
35
+ ## Models
36
+
37
+ | Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
38
+ | ------------------------------------------ | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
39
+ | `stepfun-ai-step-plan/step-3.5-flash` | 256K | | | | | | — | — |
40
+ | `stepfun-ai-step-plan/step-3.5-flash-2603` | 256K | | | | | | — | — |
41
+ | `stepfun-ai-step-plan/step-3.7-flash` | 256K | | | | | | — | — |
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.stepfun.ai/step_plan/v1",
53
+ id: "stepfun-ai-step-plan/step-3.5-flash",
54
+ apiKey: process.env.STEPFUN_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
+ ? "stepfun-ai-step-plan/step-3.7-flash"
72
+ : "stepfun-ai-step-plan/step-3.5-flash";
73
+ }
74
+ });
75
+ ```
@@ -1,10 +1,10 @@
1
1
  > Discover all available pages from the documentation index: https://mastra.ai/llms.txt
2
2
 
3
- # ![StepFun AI logo](https://models.dev/logos/stepfun-ai.svg)StepFun AI
3
+ # ![StepFun (Global) logo](https://models.dev/logos/stepfun-ai.svg)StepFun (Global)
4
4
 
5
- Access 8 StepFun AI models through Mastra's model router. Authentication is handled automatically using the `STEPFUN_API_KEY` environment variable.
5
+ Access 8 StepFun (Global) models through Mastra's model router. Authentication is handled automatically using the `STEPFUN_API_KEY` environment variable.
6
6
 
7
- Learn more in the [StepFun AI documentation](https://platform.stepfun.ai/docs/en/step-plan/integrations/open-code).
7
+ Learn more in the [StepFun (Global) documentation](https://platform.stepfun.ai/docs/en/overview/concept).
8
8
 
9
9
  ```bash
10
10
  STEPFUN_API_KEY=your-api-key
@@ -30,7 +30,7 @@ for await (const chunk of stream) {
30
30
  }
31
31
  ```
32
32
 
33
- > **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.
33
+ > **Info:** Mastra uses the OpenAI-compatible `/chat/completions` endpoint. Some provider-specific features may not be available. Check the [StepFun (Global) documentation](https://platform.stepfun.ai/docs/en/overview/concept) for details.
34
34
 
35
35
  ## Models
36
36
 
@@ -40,7 +40,7 @@ for await (const chunk of stream) {
40
40
  | `stepfun-ai/step-2-16k` | 16K | | | | | | $5 | $16 |
41
41
  | `stepfun-ai/step-3.5-flash` | 256K | | | | | | $0.10 | $0.30 |
42
42
  | `stepfun-ai/step-3.5-flash-2603` | 256K | | | | | | $0.10 | $0.30 |
43
- | `stepfun-ai/step-3.7-flash` | 256K | | | | | | $0.20 | $1 |
43
+ | `stepfun-ai/step-3.7-flash` | 256K | | | | | | $0.18 | $1 |
44
44
  | `stepfun-ai/step-tts-2` | — | | | | | | — | — |
45
45
  | `stepfun-ai/stepaudio-2.5-asr` | — | | | | | | — | — |
46
46
  | `stepfun-ai/stepaudio-2.5-tts` | — | | | | | | — | — |
@@ -54,7 +54,7 @@ const agent = new Agent({
54
54
  id: "custom-agent",
55
55
  name: "custom-agent",
56
56
  model: {
57
- url: "https://api.stepfun.ai/step_plan/v1",
57
+ url: "https://api.stepfun.ai/v1",
58
58
  id: "stepfun-ai/step-1-32k",
59
59
  apiKey: process.env.STEPFUN_API_KEY,
60
60
  headers: {
@@ -0,0 +1,76 @@
1
+ > Discover all available pages from the documentation index: https://mastra.ai/llms.txt
2
+
3
+ # ![StepFun Step Plan (China) logo](https://models.dev/logos/stepfun-step-plan.svg)StepFun Step Plan (China)
4
+
5
+ Access 4 StepFun Step Plan (China) models through Mastra's model router. Authentication is handled automatically using the `STEPFUN_API_KEY` environment variable.
6
+
7
+ Learn more in the [StepFun Step Plan (China) documentation](https://platform.stepfun.com/docs/zh/step-plan/integrations/reasoning-api).
8
+
9
+ ```bash
10
+ STEPFUN_API_KEY=your-api-key
11
+ ```
12
+
13
+ ```typescript
14
+ import { Agent } from "@mastra/core/agent";
15
+
16
+ const agent = new Agent({
17
+ id: "my-agent",
18
+ name: "My Agent",
19
+ instructions: "You are a helpful assistant",
20
+ model: "stepfun-step-plan/step-3.5-flash"
21
+ });
22
+
23
+ // Generate a response
24
+ const response = await agent.generate("Hello!");
25
+
26
+ // Stream a response
27
+ const stream = await agent.stream("Tell me a story");
28
+ for await (const chunk of stream) {
29
+ console.log(chunk);
30
+ }
31
+ ```
32
+
33
+ > **Info:** Mastra uses the OpenAI-compatible `/chat/completions` endpoint. Some provider-specific features may not be available. Check the [StepFun Step Plan (China) documentation](https://platform.stepfun.com/docs/zh/step-plan/integrations/reasoning-api) for details.
34
+
35
+ ## Models
36
+
37
+ | Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
38
+ | --------------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
39
+ | `stepfun-step-plan/step-3.5-flash` | 256K | | | | | | — | — |
40
+ | `stepfun-step-plan/step-3.5-flash-2603` | 256K | | | | | | — | — |
41
+ | `stepfun-step-plan/step-3.7-flash` | 256K | | | | | | — | — |
42
+ | `stepfun-step-plan/step-router-v1` | 256K | | | | | | — | — |
43
+
44
+ ## Advanced configuration
45
+
46
+ ### Custom headers
47
+
48
+ ```typescript
49
+ const agent = new Agent({
50
+ id: "custom-agent",
51
+ name: "custom-agent",
52
+ model: {
53
+ url: "https://api.stepfun.com/step_plan/v1",
54
+ id: "stepfun-step-plan/step-3.5-flash",
55
+ apiKey: process.env.STEPFUN_API_KEY,
56
+ headers: {
57
+ "X-Custom-Header": "value"
58
+ }
59
+ }
60
+ });
61
+ ```
62
+
63
+ ### Dynamic model selection
64
+
65
+ ```typescript
66
+ const agent = new Agent({
67
+ id: "dynamic-agent",
68
+ name: "Dynamic Agent",
69
+ model: ({ requestContext }) => {
70
+ const useAdvanced = requestContext.task === "complex";
71
+ return useAdvanced
72
+ ? "stepfun-step-plan/step-router-v1"
73
+ : "stepfun-step-plan/step-3.5-flash";
74
+ }
75
+ });
76
+ ```
@@ -1,10 +1,10 @@
1
1
  > Discover all available pages from the documentation index: https://mastra.ai/llms.txt
2
2
 
3
- # ![StepFun logo](https://models.dev/logos/stepfun.svg)StepFun
3
+ # ![StepFun (China) logo](https://models.dev/logos/stepfun.svg)StepFun (China)
4
4
 
5
- Access 8 StepFun models through Mastra's model router. Authentication is handled automatically using the `STEPFUN_API_KEY` environment variable.
5
+ Access 8 StepFun (China) models through Mastra's model router. Authentication is handled automatically using the `STEPFUN_API_KEY` environment variable.
6
6
 
7
- Learn more in the [StepFun documentation](https://platform.stepfun.com/docs/zh/overview/concept).
7
+ Learn more in the [StepFun (China) documentation](https://platform.stepfun.com/docs/zh/overview/concept).
8
8
 
9
9
  ```bash
10
10
  STEPFUN_API_KEY=your-api-key
@@ -30,7 +30,7 @@ for await (const chunk of stream) {
30
30
  }
31
31
  ```
32
32
 
33
- > **Info:** Mastra uses the OpenAI-compatible `/chat/completions` endpoint. Some provider-specific features may not be available. Check the [StepFun documentation](https://platform.stepfun.com/docs/zh/overview/concept) for details.
33
+ > **Info:** Mastra uses the OpenAI-compatible `/chat/completions` endpoint. Some provider-specific features may not be available. Check the [StepFun (China) documentation](https://platform.stepfun.com/docs/zh/overview/concept) for details.
34
34
 
35
35
  ## Models
36
36
 
@@ -40,7 +40,7 @@ for await (const chunk of stream) {
40
40
  | `stepfun/step-2-16k` | 16K | | | | | | $5 | $16 |
41
41
  | `stepfun/step-3.5-flash` | 256K | | | | | | $0.10 | $0.30 |
42
42
  | `stepfun/step-3.5-flash-2603` | 256K | | | | | | $0.10 | $0.30 |
43
- | `stepfun/step-3.7-flash` | 256K | | | | | | $0.20 | $1 |
43
+ | `stepfun/step-3.7-flash` | 256K | | | | | | $0.18 | $1 |
44
44
  | `stepfun/step-tts-2` | — | | | | | | — | — |
45
45
  | `stepfun/stepaudio-2.5-asr` | — | | | | | | — | — |
46
46
  | `stepfun/stepaudio-2.5-tts` | — | | | | | | — | — |
@@ -37,13 +37,13 @@ for await (const chunk of stream) {
37
37
  | Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
38
38
  | ---------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
39
39
  | `the-grid-ai/agent-max` | 1.0M | | | | | | — | — |
40
- | `the-grid-ai/agent-prime` | 128K | | | | | | — | — |
40
+ | `the-grid-ai/agent-prime` | 197K | | | | | | — | — |
41
41
  | `the-grid-ai/agent-standard` | 128K | | | | | | — | — |
42
42
  | `the-grid-ai/code-max` | 1.0M | | | | | | — | — |
43
- | `the-grid-ai/code-prime` | 128K | | | | | | — | — |
43
+ | `the-grid-ai/code-prime` | 197K | | | | | | — | — |
44
44
  | `the-grid-ai/code-standard` | 128K | | | | | | — | — |
45
45
  | `the-grid-ai/text-max` | 1.0M | | | | | | — | — |
46
- | `the-grid-ai/text-prime` | 128K | | | | | | — | — |
46
+ | `the-grid-ai/text-prime` | 197K | | | | | | — | — |
47
47
  | `the-grid-ai/text-standard` | 128K | | | | | | — | — |
48
48
 
49
49
  ## Advanced configuration
@@ -0,0 +1,95 @@
1
+ > Discover all available pages from the documentation index: https://mastra.ai/llms.txt
2
+
3
+ # ![UnoRouter logo](https://models.dev/logos/unorouter.svg)UnoRouter
4
+
5
+ Access 23 UnoRouter models through Mastra's model router. Authentication is handled automatically using the `UNOROUTER_API_KEY` environment variable.
6
+
7
+ Learn more in the [UnoRouter documentation](https://unorouter.com/models).
8
+
9
+ ```bash
10
+ UNOROUTER_API_KEY=your-api-key
11
+ ```
12
+
13
+ ```typescript
14
+ import { Agent } from "@mastra/core/agent";
15
+
16
+ const agent = new Agent({
17
+ id: "my-agent",
18
+ name: "My Agent",
19
+ instructions: "You are a helpful assistant",
20
+ model: "unorouter/claude-haiku-4-5-20251001"
21
+ });
22
+
23
+ // Generate a response
24
+ const response = await agent.generate("Hello!");
25
+
26
+ // Stream a response
27
+ const stream = await agent.stream("Tell me a story");
28
+ for await (const chunk of stream) {
29
+ console.log(chunk);
30
+ }
31
+ ```
32
+
33
+ > **Info:** Mastra uses the OpenAI-compatible `/chat/completions` endpoint. Some provider-specific features may not be available. Check the [UnoRouter documentation](https://unorouter.com/models) for details.
34
+
35
+ ## Models
36
+
37
+ | Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
38
+ | ------------------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
39
+ | `unorouter/claude-haiku-4-5-20251001` | 200K | | | | | | $1 | $6 |
40
+ | `unorouter/claude-opus-4-8` | 1.0M | | | | | | $0.42 | $2 |
41
+ | `unorouter/claude-sonnet-5` | 1.0M | | | | | | $1 | $7 |
42
+ | `unorouter/deepseek-v4-flash` | 1.0M | | | | | | $0.06 | $0.13 |
43
+ | `unorouter/deepseek-v4-flash:free` | 1.0M | | | | | | — | — |
44
+ | `unorouter/deepseek-v4-pro` | 1.0M | | | | | | $0.90 | $2 |
45
+ | `unorouter/deepseek-v4-pro:free` | 1.0M | | | | | | — | — |
46
+ | `unorouter/gemini-3.5-flash` | 1.0M | | | | | | $0.19 | $1 |
47
+ | `unorouter/gemma-4-31b-it:free` | 262K | | | | | | — | — |
48
+ | `unorouter/glm-4.5-flash:free` | 131K | | | | | | — | — |
49
+ | `unorouter/glm-5.2` | 1.0M | | | | | | $2 | $5 |
50
+ | `unorouter/glm-5.2:free` | 1.0M | | | | | | — | — |
51
+ | `unorouter/gpt-5.2` | 400K | | | | | | $1 | $8 |
52
+ | `unorouter/gpt-5.4` | 1.1M | | | | | | $2 | $11 |
53
+ | `unorouter/gpt-5.4:free` | 1.1M | | | | | | — | — |
54
+ | `unorouter/gpt-5.5` | 1.1M | | | | | | $0.19 | $1 |
55
+ | `unorouter/gpt-5.5:free` | 1.1M | | | | | | — | — |
56
+ | `unorouter/kimi-k2.6` | 262K | | | | | | $1 | $5 |
57
+ | `unorouter/minimax-m2.7` | 205K | | | | | | $0.82 | $3 |
58
+ | `unorouter/minimax-m2.7:free` | 205K | | | | | | — | — |
59
+ | `unorouter/nemotron-3-ultra-550b-a55b:free` | 1.0M | | | | | | — | — |
60
+ | `unorouter/qwen3.5-397b-a17b:free` | 262K | | | | | | — | — |
61
+ | `unorouter/step-3.7-flash:free` | 256K | | | | | | — | — |
62
+
63
+ ## Advanced configuration
64
+
65
+ ### Custom headers
66
+
67
+ ```typescript
68
+ const agent = new Agent({
69
+ id: "custom-agent",
70
+ name: "custom-agent",
71
+ model: {
72
+ url: "https://api.unorouter.com/v1",
73
+ id: "unorouter/claude-haiku-4-5-20251001",
74
+ apiKey: process.env.UNOROUTER_API_KEY,
75
+ headers: {
76
+ "X-Custom-Header": "value"
77
+ }
78
+ }
79
+ });
80
+ ```
81
+
82
+ ### Dynamic model selection
83
+
84
+ ```typescript
85
+ const agent = new Agent({
86
+ id: "dynamic-agent",
87
+ name: "Dynamic Agent",
88
+ model: ({ requestContext }) => {
89
+ const useAdvanced = requestContext.task === "complex";
90
+ return useAdvanced
91
+ ? "unorouter/step-3.7-flash:free"
92
+ : "unorouter/claude-haiku-4-5-20251001";
93
+ }
94
+ });
95
+ ```