@mastra/mcp-docs-server 1.2.24-alpha.7 → 1.2.24-alpha.9

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.
@@ -87,6 +87,12 @@ export const mastra = new Mastra({
87
87
 
88
88
  `MastraStorageExporter` automatically selects the `insert-only` strategy when ClickHouse is the observability backend, which gives the highest write throughput. See [tracing strategies](https://mastra.ai/docs/observability/integrations/exporters/mastra-storage) for details.
89
89
 
90
+ Trace deletion cascades to spans, trace roots and branches, metrics, logs, scores, and feedback linked by trace ID. Signals without a trace ID are preserved. Mastra records the deletion predicate, then waits for ClickHouse lightweight delete masks to be applied. Normal reads no longer return the rows matched by that operation when the call resolves.
91
+
92
+ Lightweight deletion is a hide-only operation that marks rows with ClickHouse's `_row_exists` mask. Physical removal depends on merges and deployment-configured retention TTLs. `ObservabilityStorageClickhouseVNext` applies retention only when you provide a `RetentionConfig`; Mastra OSS doesn't configure a default retention TTL.
93
+
94
+ Deletion requests aren't purged automatically in Mastra OSS. Automatic retirement will be introduced with future database-agnostic retention configuration.
95
+
90
96
  ### Observability with the legacy domain
91
97
 
92
98
  `ObservabilityStorageClickhouse` is the original observability adapter and remains supported for projects that haven't migrated to the vNext schema. The configuration shape is the same as the vNext class.
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![Merge Gateway logo](https://models.dev/logos/merge-gateway.svg)Merge Gateway
6
6
 
7
- Merge Gateway aggregates models from multiple providers with enhanced features like rate limiting and failover. Access 179 models through Mastra's model router.
7
+ Merge Gateway aggregates models from multiple providers with enhanced features like rate limiting and failover. Access 180 models through Mastra's model router.
8
8
 
9
9
  Learn more in the [Merge Gateway documentation](https://docs.merge.dev/merge-gateway).
10
10
 
@@ -154,6 +154,7 @@ ANTHROPIC_API_KEY=ant-...
154
154
  | `openai/gpt-5.6-luna` |
155
155
  | `openai/gpt-5.6-sol` |
156
156
  | `openai/gpt-5.6-terra` |
157
+ | `openai/gpt-6-astra` |
157
158
  | `openai/gpt-oss-120b` |
158
159
  | `openai/gpt-oss-20b` |
159
160
  | `openai/gpt-oss-safeguard-120b` |
@@ -4,7 +4,7 @@
4
4
 
5
5
  # Netlify
6
6
 
7
- Netlify AI Gateway provides unified access to multiple providers with built-in caching and observability. Access 242 models through Mastra's model router.
7
+ Netlify AI Gateway provides unified access to multiple providers with built-in caching and observability. Access 243 models through Mastra's model router.
8
8
 
9
9
  Learn more in the [Netlify documentation](https://docs.netlify.com/build/ai-gateway/overview/).
10
10
 
@@ -105,6 +105,7 @@ ANTHROPIC_API_KEY=ant-...
105
105
  | `openai/gpt-5.6-luna` |
106
106
  | `openai/gpt-5.6-sol` |
107
107
  | `openai/gpt-5.6-terra` |
108
+ | `openai/gpt-6-astra` |
108
109
  | `openai/o3` |
109
110
  | `openai/o3-mini` |
110
111
  | `openai/o4-mini` |
@@ -144,13 +145,13 @@ ANTHROPIC_API_KEY=ant-...
144
145
  | `openrouter/google/gemma-4-26b-a4b-it` |
145
146
  | `openrouter/google/gemma-4-31b-it` |
146
147
  | `openrouter/gryphe/mythomax-l2-13b` |
147
- | `openrouter/ibm-granite/granite-4.1-8b` |
148
148
  | `openrouter/ibm-granite/granite-4.2-8b` |
149
149
  | `openrouter/inception/mercury-2` |
150
150
  | `openrouter/inception/mercury-2.5-preview` |
151
151
  | `openrouter/inclusionai/ling-3.0-flash` |
152
152
  | `openrouter/inclusionai/ling-3.0-flash-fin` |
153
153
  | `openrouter/inclusionai/ling-3.0-flash-fin:free` |
154
+ | `openrouter/inclusionai/ling-3.0-flash-sante:free` |
154
155
  | `openrouter/mancer/weaver` |
155
156
  | `openrouter/meta-llama/llama-3.1-70b-instruct` |
156
157
  | `openrouter/meta-llama/llama-3.1-8b-instruct` |
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![OpenRouter logo](https://models.dev/logos/openrouter.svg)OpenRouter
6
6
 
7
- OpenRouter aggregates models from multiple providers with enhanced features like rate limiting and failover. Access 359 models through Mastra's model router.
7
+ OpenRouter aggregates models from multiple providers with enhanced features like rate limiting and failover. Access 361 models through Mastra's model router.
8
8
 
9
9
  Learn more in the [OpenRouter documentation](https://openrouter.ai/models).
10
10
 
@@ -139,13 +139,13 @@ ANTHROPIC_API_KEY=ant-...
139
139
  | `google/lyria-3-pro-preview` |
140
140
  | `gryphe/mythomax-l2-13b` |
141
141
  | `ibm-granite/granite-4.0-h-micro` |
142
- | `ibm-granite/granite-4.1-8b` |
143
142
  | `ibm-granite/granite-4.2-8b` |
144
143
  | `inception/mercury-2` |
145
144
  | `inception/mercury-2.5-preview` |
146
145
  | `inclusionai/ling-3.0-flash` |
147
146
  | `inclusionai/ling-3.0-flash-fin` |
148
147
  | `inclusionai/ling-3.0-flash-fin:free` |
148
+ | `inclusionai/ling-3.0-flash-sante:free` |
149
149
  | `kwaipilot/kat-coder-pro-v2` |
150
150
  | `kwaipilot/kat-coder-pro-v2.5` |
151
151
  | `liquid/lfm-2.5-2.6b:free` |
@@ -265,6 +265,8 @@ ANTHROPIC_API_KEY=ant-...
265
265
  | `openai/gpt-5.6-sol-pro` |
266
266
  | `openai/gpt-5.6-terra` |
267
267
  | `openai/gpt-5.6-terra-pro` |
268
+ | `openai/gpt-6-astra` |
269
+ | `openai/gpt-6-astra-pro` |
268
270
  | `openai/gpt-audio` |
269
271
  | `openai/gpt-audio-mini` |
270
272
  | `openai/gpt-chat-latest` |
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![Vercel logo](https://models.dev/logos/vercel.svg)Vercel
6
6
 
7
- Vercel aggregates models from multiple providers with enhanced features like rate limiting and failover. Access 369 models through Mastra's model router.
7
+ Vercel aggregates models from multiple providers with enhanced features like rate limiting and failover. Access 373 models through Mastra's model router.
8
8
 
9
9
  Learn more in the [Vercel documentation](https://ai-sdk.dev/providers/ai-sdk-providers).
10
10
 
@@ -186,6 +186,8 @@ ANTHROPIC_API_KEY=ant-...
186
186
  | `inclusionai/ling-3.0-flash` |
187
187
  | `inclusionai/ling-3.0-flash-fin` |
188
188
  | `inclusionai/ling-3.0-flash-fin-free` |
189
+ | `inclusionai/ling-3.0-flash-sante` |
190
+ | `inclusionai/ling-3.0-flash-sante-free` |
189
191
  | `interfaze/interfaze-beta` |
190
192
  | `klingai/kling-v2.5-turbo-i2v` |
191
193
  | `klingai/kling-v2.5-turbo-t2v` |
@@ -300,6 +302,8 @@ ANTHROPIC_API_KEY=ant-...
300
302
  | `openai/gpt-5.6-sol-fast` |
301
303
  | `openai/gpt-5.6-terra` |
302
304
  | `openai/gpt-5.6-terra-fast` |
305
+ | `openai/gpt-6-astra` |
306
+ | `openai/gpt-6-astra-fast` |
303
307
  | `openai/gpt-image-1` |
304
308
  | `openai/gpt-image-1-mini` |
305
309
  | `openai/gpt-image-1.5` |
@@ -4,7 +4,7 @@
4
4
 
5
5
  # Model Providers
6
6
 
7
- Mastra provides a unified interface for working with LLMs across multiple providers, giving you access to 7071 models from 200 providers through a single API.
7
+ Mastra provides a unified interface for working with LLMs across multiple providers, giving you access to 7096 models from 200 providers through a single API.
8
8
 
9
9
  ## Features
10
10
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![ClinePass logo](https://models.dev/logos/cline-pass.svg)ClinePass
6
6
 
7
- Access 13 ClinePass models through Mastra's model router. Authentication is handled automatically using the `CLINE_API_KEY` environment variable.
7
+ Access 14 ClinePass models through Mastra's model router. Authentication is handled automatically using the `CLINE_API_KEY` environment variable.
8
8
 
9
9
  Learn more in the [ClinePass documentation](https://docs.cline.bot/getting-started/clinepass).
10
10
 
@@ -42,6 +42,7 @@ for await (const chunk of stream) {
42
42
  | `cline-pass/cline-pass/deepseek-v4-pro` | 1.0M | | | | | | $2 | $3 |
43
43
  | `cline-pass/cline-pass/glm-5.2` | 1.0M | | | | | | $1 | $4 |
44
44
  | `cline-pass/cline-pass/glm-5.3` | 1.0M | | | | | | $1 | $4 |
45
+ | `cline-pass/cline-pass/glm-5.3-flash` | 1.0M | | | | | | $0.15 | $0.50 |
45
46
  | `cline-pass/cline-pass/kimi-k2.6` | 262K | | | | | | $0.95 | $4 |
46
47
  | `cline-pass/cline-pass/kimi-k2.7-code` | 262K | | | | | | $0.95 | $4 |
47
48
  | `cline-pass/cline-pass/kimi-k3` | 1.0M | | | | | | $3 | $15 |
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![Crusoe logo](https://models.dev/logos/crusoe.svg)Crusoe
6
6
 
7
- Access 8 Crusoe models through Mastra's model router. Authentication is handled automatically using the `CRUSOE_API_KEY` environment variable.
7
+ Access 11 Crusoe models through Mastra's model router. Authentication is handled automatically using the `CRUSOE_API_KEY` environment variable.
8
8
 
9
9
  Learn more in the [Crusoe documentation](https://docs.crusoecloud.com/managed-inference/overview).
10
10
 
@@ -19,7 +19,7 @@ const agent = new Agent({
19
19
  id: "my-agent",
20
20
  name: "My Agent",
21
21
  instructions: "You are a helpful assistant",
22
- model: "crusoe/deepseek-ai/DeepSeek-V3-0324"
22
+ model: "crusoe/Qwen/Qwen3-235B-A22B-Instruct-2507"
23
23
  });
24
24
 
25
25
  // Generate a response
@@ -43,7 +43,10 @@ for await (const chunk of stream) {
43
43
  | `crusoe/meta-llama/Llama-3.3-70B-Instruct` | 128K | | | | | | $0.25 | $0.75 |
44
44
  | `crusoe/moonshotai/Kimi-K2.6` | 262K | | | | | | $0.70 | $4 |
45
45
  | `crusoe/nvidia/Nemotron-3-Nano-Omni-Reasoning-30B-A3B` | 256K | | | | | | $0.30 | $2 |
46
+ | `crusoe/nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B` | 262K | | | | | | $0.05 | $0.20 |
47
+ | `crusoe/nvidia/NVIDIA-Nemotron-3-Super-120B-A12B` | 262K | | | | | | $0.30 | $2 |
46
48
  | `crusoe/openai/gpt-oss-120b` | 131K | | | | | | $0.05 | $0.20 |
49
+ | `crusoe/Qwen/Qwen3-235B-A22B-Instruct-2507` | 262K | | | | | | $0.22 | $0.80 |
47
50
  | `crusoe/zai/GLM-5.1` | 200K | | | | | | $1 | $4 |
48
51
  | `crusoe/zai/GLM-5.2` | 1.0M | | | | | | $1 | $4 |
49
52
 
@@ -59,7 +62,7 @@ const agent = new Agent({
59
62
  name: "custom-agent",
60
63
  model: {
61
64
  url: "https://api.inference.crusoecloud.com/v1",
62
- id: "crusoe/deepseek-ai/DeepSeek-V3-0324",
65
+ id: "crusoe/Qwen/Qwen3-235B-A22B-Instruct-2507",
63
66
  apiKey: process.env.CRUSOE_API_KEY,
64
67
  headers: {
65
68
  "X-Custom-Header": "value"
@@ -78,7 +81,7 @@ const agent = new Agent({
78
81
  const useAdvanced = requestContext.task === "complex";
79
82
  return useAdvanced
80
83
  ? "crusoe/zai/GLM-5.2"
81
- : "crusoe/deepseek-ai/DeepSeek-V3-0324";
84
+ : "crusoe/Qwen/Qwen3-235B-A22B-Instruct-2507";
82
85
  }
83
86
  });
84
87
  ```
@@ -136,8 +136,8 @@ for await (const chunk of stream) {
136
136
  | `edenai/google/gemini-pro-latest` | 1.0M | | | | | | $2 | $12 |
137
137
  | `edenai/groq/openai/gpt-oss-120b` | 131K | | | | | | $0.15 | $0.60 |
138
138
  | `edenai/groq/openai/gpt-oss-20b` | 131K | | | | | | $0.07 | $0.30 |
139
- | `edenai/ionos/meta-llama/Llama-3.3-70B-Instruct` | 128K | | | | | | $0.75 | $0.75 |
140
- | `edenai/ionos/openai/gpt-oss-120b` | 131K | | | | | | $0.17 | $0.75 |
139
+ | `edenai/ionos/meta-llama/Llama-3.3-70B-Instruct` | 128K | | | | | | $0.76 | $0.76 |
140
+ | `edenai/ionos/openai/gpt-oss-120b` | 131K | | | | | | $0.17 | $0.76 |
141
141
  | `edenai/minimax/MiniMax-M2` | 205K | | | | | | $0.30 | $1 |
142
142
  | `edenai/minimax/MiniMax-M2.1` | 205K | | | | | | $0.30 | $1 |
143
143
  | `edenai/minimax/MiniMax-M2.5` | 205K | | | | | | $0.30 | $1 |
@@ -206,8 +206,8 @@ for await (const chunk of stream) {
206
206
  | `edenai/perplexityai/sonar-deep-research` | 128K | | | | | | $2 | $8 |
207
207
  | `edenai/perplexityai/sonar-pro` | 200K | | | | | | $3 | $15 |
208
208
  | `edenai/perplexityai/sonar-reasoning-pro` | 128K | | | | | | $2 | $8 |
209
- | `edenai/qwen/deepseek-v4-flash-0731` | 1.0M | | | | | | $0.35 | $1 |
210
- | `edenai/qwen/deepseek-v4-pro-0813` | 1.0M | | | | | | $1 | $3 |
209
+ | `edenai/qwen/deepseek-v4-flash-0731` | 1.0M | | | | | | $0.18 | $0.53 |
210
+ | `edenai/qwen/deepseek-v4-pro-0813` | 1.0M | | | | | | $0.58 | $2 |
211
211
  | `edenai/qwen/qwen-max` | 33K | | | | | | $2 | $6 |
212
212
  | `edenai/qwen/qwen-vl-max` | 131K | | | | | | $0.80 | $3 |
213
213
  | `edenai/qwen/qwen-vl-plus` | 131K | | | | | | $0.21 | $0.63 |
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![Fireworks AI logo](https://models.dev/logos/fireworks-ai.svg)Fireworks AI
6
6
 
7
- Access 19 Fireworks AI models through Mastra's model router. Authentication is handled automatically using the `FIREWORKS_API_KEY` environment variable.
7
+ Access 20 Fireworks AI models through Mastra's model router. Authentication is handled automatically using the `FIREWORKS_API_KEY` environment variable.
8
8
 
9
9
  Learn more in the [Fireworks AI documentation](https://fireworks.ai/docs/).
10
10
 
@@ -54,6 +54,7 @@ for await (const chunk of stream) {
54
54
  | `fireworks-ai/accounts/fireworks/models/nemotron-3-ultra-nvfp4` | 262K | | | | | | $0.60 | $2 |
55
55
  | `fireworks-ai/accounts/fireworks/models/nemotron-lightning-3p5-30b-a3b` | 262K | | | | | | $0.05 | $0.20 |
56
56
  | `fireworks-ai/accounts/fireworks/models/qwen3p7-plus` | 262K | | | | | | $0.40 | $2 |
57
+ | `fireworks-ai/accounts/fireworks/models/qwen3p8-2p4t-a95b` | 262K | | | | | | $2 | $6 |
57
58
  | `fireworks-ai/accounts/fireworks/models/qwen3p8-max` | 262K | | | | | | $2 | $6 |
58
59
  | `fireworks-ai/accounts/fireworks/routers/glm-5p2-fast` | 1.0M | | | | | | $2 | $7 |
59
60
  | `fireworks-ai/accounts/fireworks/routers/kimi-k3-fast` | 1.0M | | | | | | $5 | $23 |
@@ -43,20 +43,20 @@ for await (const chunk of stream) {
43
43
  | `hyper/deepseek-v4-pro` | 1.0M | | | | | | $2 | $5 |
44
44
  | `hyper/deepseek-v4-pro-0813` | 1.0M | | | | | | $1 | $4 |
45
45
  | `hyper/gemma-4-26b-a4b-it` | 256K | | | | | | $0.11 | $0.37 |
46
- | `hyper/glm-5` | 203K | | | | | | $0.93 | $3 |
46
+ | `hyper/glm-5` | 203K | | | | | | $0.86 | $3 |
47
47
  | `hyper/glm-5.1` | 203K | | | | | | $1 | $4 |
48
48
  | `hyper/glm-5.2` | 1.0M | | | | | | $2 | $5 |
49
49
  | `hyper/glm-5.3` | 1.0M | | | | | | $2 | $5 |
50
50
  | `hyper/glm-5.3-flash` | 1.0M | | | | | | $0.16 | $0.54 |
51
51
  | `hyper/gpt-oss-120b` | 128K | | | | | | $0.19 | $0.70 |
52
52
  | `hyper/kimi-k2-thinking` | 262K | | | | | | $0.60 | $3 |
53
- | `hyper/kimi-k2.5` | 262K | | | | | | $0.53 | $3 |
53
+ | `hyper/kimi-k2.5` | 262K | | | | | | $0.51 | $3 |
54
54
  | `hyper/kimi-k2.6` | 262K | | | | | | $1 | $4 |
55
55
  | `hyper/kimi-k2.7-code` | 262K | | | | | | $1 | $4 |
56
56
  | `hyper/kimi-k3` | 1.0M | | | | | | $3 | $16 |
57
57
  | `hyper/llama-3.3-70b-instruct` | 128K | | | | | | $0.61 | $1 |
58
58
  | `hyper/llama-4-maverick-17b-128e-instruct-fp8` | 430K | | | | | | $0.27 | $0.90 |
59
- | `hyper/minimax-m2.7` | 262K | | | | | | $0.42 | $2 |
59
+ | `hyper/minimax-m2.7` | 262K | | | | | | $0.48 | $2 |
60
60
  | `hyper/minimax-m3` | 512K | | | | | | $0.33 | $1 |
61
61
  | `hyper/qwen3-coder-480b-a35b-instruct-int4-mixed-ar` | 106K | | | | | | $0.45 | $2 |
62
62
  | `hyper/qwen3-next-80b-a3b-instruct` | 262K | | | | | | $0.12 | $1 |
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![Kilo Gateway logo](https://models.dev/logos/kilo.svg)Kilo Gateway
6
6
 
7
- Access 367 Kilo Gateway models through Mastra's model router. Authentication is handled automatically using the `KILO_API_KEY` environment variable.
7
+ Access 369 Kilo Gateway models through Mastra's model router. Authentication is handled automatically using the `KILO_API_KEY` environment variable.
8
8
 
9
9
  Learn more in the [Kilo Gateway documentation](https://kilo.ai).
10
10
 
@@ -42,7 +42,7 @@ for await (const chunk of stream) {
42
42
  | `kilo/~anthropic/claude-haiku-latest` | 200K | | | | | | $1 | $5 |
43
43
  | `kilo/~anthropic/claude-opus-latest` | 1.0M | | | | | | $5 | $25 |
44
44
  | `kilo/~anthropic/claude-sonnet-latest` | 1.0M | | | | | | $2 | $10 |
45
- | `kilo/~deepseek/deepseek-v4-flash-latest` | 1.0M | | | | | | $0.05 | $0.16 |
45
+ | `kilo/~deepseek/deepseek-v4-flash-latest` | 1.0M | | | | | | $0.05 | $0.10 |
46
46
  | `kilo/~google/gemini-flash-latest` | 1.0M | | | | | | $0.75 | $4 |
47
47
  | `kilo/~google/gemini-pro-latest` | 1.0M | | | | | | $2 | $12 |
48
48
  | `kilo/~moonshotai/kimi-latest` | 1.0M | | | | | | $3 | $14 |
@@ -137,13 +137,13 @@ for await (const chunk of stream) {
137
137
  | `kilo/google/lyria-3-pro-preview` | 1.0M | | | | | | — | — |
138
138
  | `kilo/gryphe/mythomax-l2-13b` | 4K | | | | | | $0.06 | $0.06 |
139
139
  | `kilo/ibm-granite/granite-4.0-h-micro` | 131K | | | | | | $0.02 | $0.11 |
140
- | `kilo/ibm-granite/granite-4.1-8b` | 131K | | | | | | $0.05 | $0.10 |
141
140
  | `kilo/ibm-granite/granite-4.2-8b` | 131K | | | | | | $0.06 | $0.25 |
142
141
  | `kilo/inception/mercury-2` | 128K | | | | | | $0.25 | $0.75 |
143
142
  | `kilo/inception/mercury-2.5-preview` | 260K | | | | | | $0.20 | $0.75 |
144
143
  | `kilo/inclusionai/ling-3.0-flash` | 262K | | | | | | $0.06 | $0.18 |
145
144
  | `kilo/inclusionai/ling-3.0-flash-fin` | 262K | | | | | | $0.06 | $0.18 |
146
145
  | `kilo/inclusionai/ling-3.0-flash-fin:free` | 262K | | | | | | — | — |
146
+ | `kilo/inclusionai/ling-3.0-flash-sante:free` | 262K | | | | | | — | — |
147
147
  | `kilo/kilo-auto/balanced` | 1.0M | | | | | | $0.33 | $2 |
148
148
  | `kilo/kilo-auto/efficient` | 1.0M | | | | | | $0.33 | $2 |
149
149
  | `kilo/kilo-auto/free` | 256K | | | | | | — | — |
@@ -269,6 +269,8 @@ for await (const chunk of stream) {
269
269
  | `kilo/openai/gpt-5.6-sol-pro` | 1.1M | | | | | | $4 | $20 |
270
270
  | `kilo/openai/gpt-5.6-terra` | 1.1M | | | | | | $2 | $12 |
271
271
  | `kilo/openai/gpt-5.6-terra-pro` | 1.1M | | | | | | $2 | $12 |
272
+ | `kilo/openai/gpt-6-astra` | 1.1M | | | | | | $10 | $50 |
273
+ | `kilo/openai/gpt-6-astra-pro` | 1.1M | | | | | | $10 | $50 |
272
274
  | `kilo/openai/gpt-audio` | 128K | | | | | | $3 | $10 |
273
275
  | `kilo/openai/gpt-audio-mini` | 128K | | | | | | $0.60 | $2 |
274
276
  | `kilo/openai/gpt-chat-latest` | 400K | | | | | | $5 | $30 |
@@ -303,7 +305,7 @@ for await (const chunk of stream) {
303
305
  | `kilo/qwen/qwen-plus` | 1.0M | | | | | | $0.26 | $0.78 |
304
306
  | `kilo/qwen/qwen-plus-2025-07-28` | 1.0M | | | | | | $0.26 | $0.78 |
305
307
  | `kilo/qwen/qwen2.5-vl-72b-instruct` | 128K | | | | | | $0.80 | $1 |
306
- | `kilo/qwen/qwen3-14b` | 41K | | | | | | $0.23 | $0.91 |
308
+ | `kilo/qwen/qwen3-14b` | 131K | | | | | | $0.23 | $0.91 |
307
309
  | `kilo/qwen/qwen3-235b-a22b` | 131K | | | | | | $0.46 | $2 |
308
310
  | `kilo/qwen/qwen3-235b-a22b-2507` | 262K | | | | | | $0.15 | $0.60 |
309
311
  | `kilo/qwen/qwen3-235b-a22b-thinking-2507` | 131K | | | | | | $0.23 | $2 |
@@ -369,7 +371,7 @@ for await (const chunk of stream) {
369
371
  | `kilo/tencent/hy-mt2-1.8b` | 8K | | | | | | $0.04 | $0.18 |
370
372
  | `kilo/tencent/hy-mt2-30b-a3b` | 8K | | | | | | $0.07 | $0.29 |
371
373
  | `kilo/tencent/hy-mt2-7b` | 8K | | | | | | $0.07 | $0.29 |
372
- | `kilo/tencent/hy3` | 262K | | | | | | $0.14 | $0.58 |
374
+ | `kilo/tencent/hy3` | 262K | | | | | | $0.08 | $0.33 |
373
375
  | `kilo/tencent/hy3-preview` | 262K | | | | | | $0.18 | $0.60 |
374
376
  | `kilo/tencent/hy4-preview` | 1.0M | | | | | | $0.83 | $3 |
375
377
  | `kilo/thedrummer/cydonia-24b-v4.1` | 131K | | | | | | $0.30 | $0.50 |
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![LLM Gateway logo](https://models.dev/logos/llmgateway-providers.svg)LLM Gateway
6
6
 
7
- Access 367 LLM Gateway models through Mastra's model router. Authentication is handled automatically using the `LLMGATEWAY_API_KEY` environment variable.
7
+ Access 372 LLM Gateway models through Mastra's model router. Authentication is handled automatically using the `LLMGATEWAY_API_KEY` environment variable.
8
8
 
9
9
  Learn more in the [LLM Gateway documentation](https://llmgateway.io/docs).
10
10
 
@@ -164,7 +164,8 @@ for await (const chunk of stream) {
164
164
  | `llmgateway-providers/cerebras/gpt-oss-120b` | 131K | | | | | | $0.35 | $0.75 |
165
165
  | `llmgateway-providers/cerebras/llama-3.3-70b-instruct` | 128K | | | | | | $0.85 | $1 |
166
166
  | `llmgateway-providers/cerebras/qwen3-235b-a22b-instruct-2507` | 262K | | | | | | $0.60 | $1 |
167
- | `llmgateway-providers/consensusprotocol/deepseek-v4-flash` | 524K | | | | | | $0.13 | $0.27 |
167
+ | `llmgateway-providers/consensusprotocol/deepseek-v4-flash` | 524K | | | | | | $0.08 | $0.16 |
168
+ | `llmgateway-providers/consensusprotocol/glm-5.3-flash` | 1.0M | | | | | | $0.10 | $0.25 |
168
169
  | `llmgateway-providers/consensusprotocol/gpt-oss-20b` | 66K | | | | | | $0.04 | $0.19 |
169
170
  | `llmgateway-providers/consensusprotocol/Qwen3.8-27B` | 33K | | | | | | $0.41 | $3 |
170
171
  | `llmgateway-providers/deepinfra/deepseek-v3.2` | 160K | | | | | | $0.26 | $0.38 |
@@ -211,6 +212,7 @@ for await (const chunk of stream) {
211
212
  | `llmgateway-providers/google-ai-studio/gemini-3.5-flash-lite` | 1.0M | | | | | | $0.30 | $3 |
212
213
  | `llmgateway-providers/google-ai-studio/gemini-3.6-flash` | 1.0M | | | | | | $0.75 | $4 |
213
214
  | `llmgateway-providers/google-ai-studio/gemini-3.7-flash` | 1.0M | | | | | | $0.75 | $4 |
215
+ | `llmgateway-providers/google-ai-studio/gemini-3.8-flash` | 1.0M | | | | | | $0.75 | $4 |
214
216
  | `llmgateway-providers/google-ai-studio/gemini-pro-latest` | 1.0M | | | | | | $2 | $12 |
215
217
  | `llmgateway-providers/google-vertex/gemini-2.5-flash` | 1.0M | | | | | | $0.30 | $3 |
216
218
  | `llmgateway-providers/google-vertex/gemini-2.5-flash-lite` | 1.0M | | | | | | $0.10 | $0.40 |
@@ -226,6 +228,7 @@ for await (const chunk of stream) {
226
228
  | `llmgateway-providers/groq/gpt-oss-120b` | 131K | | | | | | $0.15 | $0.75 |
227
229
  | `llmgateway-providers/groq/gpt-oss-20b` | 131K | | | | | | $0.10 | $0.50 |
228
230
  | `llmgateway-providers/inference.net/llama-3.2-11b-instruct` | 128K | | | | | | $0.07 | $0.33 |
231
+ | `llmgateway-providers/meta-contributor/muse-spark-1.2-contributor` | 1.0M | | | | | | $0.10 | $0.20 |
229
232
  | `llmgateway-providers/meta-contributor/muse-spark-1.3-contributor` | 1.0M | | | | | | $0.10 | $0.20 |
230
233
  | `llmgateway-providers/meta/muse-spark-1.1` | 1.0M | | | | | | $1 | $4 |
231
234
  | `llmgateway-providers/meta/muse-spark-1.2` | 1.0M | | | | | | $1 | $4 |
@@ -265,6 +268,7 @@ for await (const chunk of stream) {
265
268
  | `llmgateway-providers/novita/glm-5.1` | 205K | | | | | | $1 | $4 |
266
269
  | `llmgateway-providers/novita/glm-5.2` | 1.0M | | | | | | $1 | $4 |
267
270
  | `llmgateway-providers/novita/glm-5.3` | 1.0M | | | | | | $1 | $4 |
271
+ | `llmgateway-providers/novita/glm-5.3-flash` | 1.0M | | | | | | $0.07 | $0.25 |
268
272
  | `llmgateway-providers/novita/hy3` | 262K | | | | | | $0.14 | $0.58 |
269
273
  | `llmgateway-providers/novita/kimi-k2` | 131K | | | | | | $0.57 | $2 |
270
274
  | `llmgateway-providers/novita/kimi-k2.6` | 262K | | | | | | $0.80 | $3 |
@@ -324,6 +328,7 @@ for await (const chunk of stream) {
324
328
  | `llmgateway-providers/openai/gpt-5.6-luna` | 1.1M | | | | | | $0.20 | $1 |
325
329
  | `llmgateway-providers/openai/gpt-5.6-sol` | 1.1M | | | | | | $5 | $30 |
326
330
  | `llmgateway-providers/openai/gpt-5.6-terra` | 1.1M | | | | | | $2 | $12 |
331
+ | `llmgateway-providers/openai/gpt-6-astra` | 1.1M | | | | | | $10 | $50 |
327
332
  | `llmgateway-providers/openai/o1` | 200K | | | | | | $15 | $60 |
328
333
  | `llmgateway-providers/openai/o3` | 200K | | | | | | $2 | $8 |
329
334
  | `llmgateway-providers/openai/o3-mini` | 200K | | | | | | $1 | $4 |
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![DevPass (LLM Gateway) logo](https://models.dev/logos/llmgateway.svg)DevPass (LLM Gateway)
6
6
 
7
- Access 184 DevPass (LLM Gateway) models through Mastra's model router. Authentication is handled automatically using the `LLMGATEWAY_API_KEY` environment variable.
7
+ Access 186 DevPass (LLM Gateway) models through Mastra's model router. Authentication is handled automatically using the `LLMGATEWAY_API_KEY` environment variable.
8
8
 
9
9
  Learn more in the [DevPass (LLM Gateway) documentation](https://llmgateway.io/docs).
10
10
 
@@ -92,7 +92,7 @@ for await (const chunk of stream) {
92
92
  | `llmgateway/glm-5.2` | 1.0M | | | | | | $0.55 | $2 |
93
93
  | `llmgateway/glm-5.2-fast` | 1.0M | | | | | | $2 | $6 |
94
94
  | `llmgateway/glm-5.3` | 1.0M | | | | | | $1 | $4 |
95
- | `llmgateway/glm-5.3-flash` | 1.0M | | | | | | $0.13 | $0.40 |
95
+ | `llmgateway/glm-5.3-flash` | 1.0M | | | | | | $0.07 | $0.25 |
96
96
  | `llmgateway/gpt-3.5-turbo` | 16K | | | | | | $0.50 | $2 |
97
97
  | `llmgateway/gpt-4` | 8K | | | | | | $30 | $60 |
98
98
  | `llmgateway/gpt-4-turbo` | 128K | | | | | | $10 | $30 |
@@ -123,6 +123,7 @@ for await (const chunk of stream) {
123
123
  | `llmgateway/gpt-5.6-luna` | 1.1M | | | | | | $0.20 | $1 |
124
124
  | `llmgateway/gpt-5.6-sol` | 1.1M | | | | | | $5 | $30 |
125
125
  | `llmgateway/gpt-5.6-terra` | 1.1M | | | | | | $2 | $12 |
126
+ | `llmgateway/gpt-6-astra` | 1.1M | | | | | | $10 | $50 |
126
127
  | `llmgateway/gpt-oss-120b` | 131K | | | | | | $0.03 | $0.14 |
127
128
  | `llmgateway/gpt-oss-20b` | 131K | | | | | | $0.04 | $0.19 |
128
129
  | `llmgateway/grok-4` | 256K | | | | | | $3 | $15 |
@@ -172,6 +173,7 @@ for await (const chunk of stream) {
172
173
  | `llmgateway/mistral-small-2506` | 128K | | | | | | $0.10 | $0.30 |
173
174
  | `llmgateway/muse-spark-1.1` | 1.0M | | | | | | $1 | $4 |
174
175
  | `llmgateway/muse-spark-1.2` | 1.0M | | | | | | $1 | $4 |
176
+ | `llmgateway/muse-spark-1.2-contributor` | 1.0M | | | | | | $0.10 | $0.20 |
175
177
  | `llmgateway/muse-spark-1.3` | 1.0M | | | | | | $1 | $4 |
176
178
  | `llmgateway/muse-spark-1.3-contributor` | 1.0M | | | | | | $0.10 | $0.20 |
177
179
  | `llmgateway/nemotron-3-ultra-550b` | 1.0M | | | | | | $0.50 | $2 |
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![NanoGPT logo](https://models.dev/logos/nano-gpt.svg)NanoGPT
6
6
 
7
- Access 591 NanoGPT models through Mastra's model router. Authentication is handled automatically using the `NANO_GPT_API_KEY` environment variable.
7
+ Access 592 NanoGPT models through Mastra's model router. Authentication is handled automatically using the `NANO_GPT_API_KEY` environment variable.
8
8
 
9
9
  Learn more in the [NanoGPT documentation](https://docs.nano-gpt.com).
10
10
 
@@ -268,7 +268,6 @@ for await (const chunk of stream) {
268
268
  | `nano-gpt/huihui-ai/DeepSeek-R1-Distill-Qwen-32B-abliterated` | 16K | | | | | | $1 | $1 |
269
269
  | `nano-gpt/huihui-ai/Llama-3.3-70B-Instruct-abliterated` | 33K | | | | | | $0.70 | $0.70 |
270
270
  | `nano-gpt/huihui-ai/Qwen2.5-32B-Instruct-abliterated` | 33K | | | | | | $0.70 | $0.70 |
271
- | `nano-gpt/ibm-granite/granite-4.1-8b` | 131K | | | | | | $0.05 | $0.10 |
272
271
  | `nano-gpt/ibm-granite/granite-4.2-8b` | 131K | | | | | | $0.10 | $0.15 |
273
272
  | `nano-gpt/inception/mercury-2.5-preview` | 260K | | | | | | $0.04 | $0.15 |
274
273
  | `nano-gpt/inclusionai/ling-3.0-flash` | 262K | | | | | | $0.07 | $0.22 |
@@ -400,6 +399,8 @@ for await (const chunk of stream) {
400
399
  | `nano-gpt/openai/gpt-5.6-sol-pro` | 1.1M | | | | | | $2 | $10 |
401
400
  | `nano-gpt/openai/gpt-5.6-terra` | 1.1M | | | | | | $2 | $12 |
402
401
  | `nano-gpt/openai/gpt-5.6-terra-pro` | 1.1M | | | | | | $2 | $12 |
402
+ | `nano-gpt/openai/gpt-6-astra` | 1.1M | | | | | | $10 | $50 |
403
+ | `nano-gpt/openai/gpt-6-astra-pro` | 1.1M | | | | | | $10 | $50 |
403
404
  | `nano-gpt/openai/gpt-chat-latest` | 1.1M | | | | | | $2 | $10 |
404
405
  | `nano-gpt/openai/gpt-latest` | 1.1M | | | | | | $2 | $10 |
405
406
  | `nano-gpt/openai/gpt-oss-120b` | 128K | | | | | | $0.35 | $0.75 |
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![OpenAI logo](https://models.dev/logos/openai.svg)OpenAI
6
6
 
7
- Access 47 OpenAI models through Mastra's model router. Authentication is handled automatically using the `OPENAI_API_KEY` environment variable.
7
+ Access 48 OpenAI models through Mastra's model router. Authentication is handled automatically using the `OPENAI_API_KEY` environment variable.
8
8
 
9
9
  Learn more in the [OpenAI documentation](https://platform.openai.com/docs/models).
10
10
 
@@ -62,6 +62,7 @@ for await (const chunk of stream) {
62
62
  | `openai/gpt-5.6-luna` | 1.1M | | | | | | $0.20 | $1 |
63
63
  | `openai/gpt-5.6-sol` | 1.1M | | | | | | $4 | $20 |
64
64
  | `openai/gpt-5.6-terra` | 1.1M | | | | | | $2 | $12 |
65
+ | `openai/gpt-6-astra` | 1.1M | | | | | | $10 | $50 |
65
66
  | `openai/gpt-image-1-mini` | — | | | | | | — | — |
66
67
  | `openai/gpt-image-1.5` | — | | | | | | — | — |
67
68
  | `openai/gpt-image-2` | — | | | | | | $5 | $30 |
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![Weights & Biases logo](https://models.dev/logos/wandb.svg)Weights & Biases
6
6
 
7
- Access 26 Weights & Biases models through Mastra's model router. Authentication is handled automatically using the `WANDB_API_KEY` environment variable.
7
+ Access 27 Weights & Biases models through Mastra's model router. Authentication is handled automatically using the `WANDB_API_KEY` environment variable.
8
8
 
9
9
  Learn more in the [Weights & Biases documentation](https://docs.wandb.ai).
10
10
 
@@ -64,6 +64,7 @@ for await (const chunk of stream) {
64
64
  | `wandb/Qwen/Qwen3.6-35B-A3B` | 262K | | | | | | $0.25 | $1 |
65
65
  | `wandb/Qwen/Qwen3.8-27B` | 262K | | | | | | $0.40 | $3 |
66
66
  | `wandb/zai-org/GLM-5.2` | 1.0M | | | | | | $0.76 | $2 |
67
+ | `wandb/zai-org/GLM-5.3-Flash` | 1.0M | | | | | | $0.15 | $0.50 |
67
68
 
68
69
  Model availability, capabilities, context windows, and pricing are sourced from [models.dev](https://models.dev) and may change.
69
70
 
@@ -95,7 +96,7 @@ const agent = new Agent({
95
96
  model: ({ requestContext }) => {
96
97
  const useAdvanced = requestContext.task === "complex";
97
98
  return useAdvanced
98
- ? "wandb/zai-org/GLM-5.2"
99
+ ? "wandb/zai-org/GLM-5.3-Flash"
99
100
  : "wandb/JetBrains/Mellum2-12B-A2.5B-Instruct";
100
101
  }
101
102
  });
@@ -43,9 +43,9 @@ for await (const chunk of stream) {
43
43
  | `xai/grok-4.5` | 500K | | | | | | $2 | $6 |
44
44
  | `xai/grok-4.6` | 500K | | | | | | $2 | $6 |
45
45
  | `xai/grok-build-0.1` | 256K | | | | | | $1 | $2 |
46
- | `xai/grok-imagine-image` | 8K | | | | | | — | — |
47
- | `xai/grok-imagine-image-2.0` | 8K | | | | | | — | — |
48
- | `xai/grok-imagine-image-quality` | 8K | | | | | | — | — |
46
+ | `xai/grok-imagine-image` | 16K | | | | | | — | — |
47
+ | `xai/grok-imagine-image-2.0` | 64K | | | | | | — | — |
48
+ | `xai/grok-imagine-image-quality` | 16K | | | | | | — | — |
49
49
  | `xai/grok-imagine-video` | 1K | | | | | | — | — |
50
50
  | `xai/grok-imagine-video-1.5` | 1K | | | | | | — | — |
51
51
 
@@ -99,4 +99,6 @@ You can also pass `requestContext` as a `Record<string, any>`.
99
99
 
100
100
  **getTrace(traceId)** (`Promise<TraceRecord>`): Retrieves a specific trace by ID, including all its spans and details.
101
101
 
102
- **getTraces(params)** (`Promise<GetTracesResponse>`): Retrieves paginated list of trace root spans with optional filtering. Use getTrace() to get complete traces with all spans.
102
+ **getTraces(params)** (`Promise<GetTracesResponse>`): Retrieves paginated list of trace root spans with optional filtering. Use getTrace() to get complete traces with all spans.
103
+
104
+ **deleteTraces(params)** (`Promise<{ success: true }>`): Deletes traces by ID and cascades deletion to their trace-linked observability signals.
@@ -93,6 +93,20 @@ The API limits predicate depth, nodes, related clauses, set members, literal byt
93
93
 
94
94
  See [Advanced trace queries](https://mastra.ai/reference/observability/tracing/trace-query) for the complete limits, request fields, predicates, grouping, cursor pagination, response shapes, and errors.
95
95
 
96
+ ## Deleting traces
97
+
98
+ Delete traces and their associated spans, metrics, logs, scores, and feedback:
99
+
100
+ ```typescript
101
+ const result = await mastraClient.deleteTraces({
102
+ traceIds: ['trace-1', 'trace-2'],
103
+ })
104
+
105
+ console.log(result.success)
106
+ ```
107
+
108
+ Each request accepts up to 1,000 trace IDs. Signals that aren't linked to a trace are preserved. Deletion also includes traces created by experiments.
109
+
96
110
  ## Scoring traces
97
111
 
98
112
  Score specific traces using registered scorers for evaluation:
@@ -35,6 +35,22 @@ interface ObservabilityInstance {
35
35
  }
36
36
  ```
37
37
 
38
+ ### `BatchDeleteTracesArgs`
39
+
40
+ Arguments for `ObservabilityStorage.batchDeleteTraces()`. The method deletes matching traces and spans, then cascades to metrics, logs, scores, and feedback linked by trace ID. Signals without a trace ID are preserved.
41
+
42
+ ```typescript
43
+ interface BatchDeleteTracesArgs {
44
+ traceIds: string[]
45
+ organizationId?: string
46
+ resourceId?: string
47
+ }
48
+ ```
49
+
50
+ When `organizationId` or `resourceId` is provided, only records matching the scope are deleted. Storage adapters that don't support tenant-scoped trace deletion throw an error rather than applying an unscoped delete.
51
+
52
+ For ClickHouse vNext, the method records the complete predicate and waits for lightweight delete masks to be applied. Normal reads no longer return the rows matched by that operation when the call resolves. Lightweight deletion is hide-only through ClickHouse's `_row_exists` mask. Physical removal depends on merges and deployment-configured retention TTLs, which Mastra OSS doesn't configure by default. Deletion requests aren't purged automatically in Mastra OSS. Automatic retirement will be introduced with future database-agnostic retention configuration.
53
+
38
54
  ### `SpanTypeMap`
39
55
 
40
56
  Mapping of span types to their corresponding attribute interfaces.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/mcp-docs-server",
3
- "version": "1.2.24-alpha.7",
3
+ "version": "1.2.24-alpha.9",
4
4
  "description": "MCP server for accessing Mastra.ai documentation, changelogs, and news.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -27,8 +27,8 @@
27
27
  "jsdom": "^26.1.0",
28
28
  "local-pkg": "^1.1.2",
29
29
  "zod": "^4.4.3",
30
- "@mastra/mcp": "^1.17.3",
31
- "@mastra/core": "1.65.0-alpha.3"
30
+ "@mastra/core": "1.65.0-alpha.4",
31
+ "@mastra/mcp": "^1.17.3"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@hono/node-server": "^2.0.0",
@@ -44,9 +44,9 @@
44
44
  "tsx": "^4.23.1",
45
45
  "typescript": "^7.0.2",
46
46
  "vitest": "4.1.10",
47
+ "@internal/lint": "0.0.130",
47
48
  "@internal/types-builder": "0.0.105",
48
- "@mastra/core": "1.65.0-alpha.3",
49
- "@internal/lint": "0.0.130"
49
+ "@mastra/core": "1.65.0-alpha.4"
50
50
  },
51
51
  "homepage": "https://mastra.ai",
52
52
  "repository": {