@mastra/mcp-docs-server 1.3.4-alpha.2 → 1.3.5-alpha.1

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.
@@ -118,15 +118,19 @@ Use the generated public URL as the base URL for webhook paths, for example `htt
118
118
 
119
119
  ## Thread context
120
120
 
121
- When a user mentions the agent mid-conversation in a channel thread, the agent may not have prior context. By default, Mastra fetches the last 10 messages from the platform on the first mention.
121
+ When a user mentions the agent mid-conversation in a channel thread, the agent may not have prior context. On the first mention, Mastra fetches earlier messages from the platform and saves them into the agent's memory thread before the mention runs.
122
122
 
123
- 1. On the first mention in a thread, the agent fetches recent messages from the platform.
124
- 2. These messages are prepended to the user's message as conversation context.
123
+ 1. On the first mention in a thread, the agent fetches the thread's first message and the most recent messages before the mention. `maxMessages` (default `10`) sets the window: the first message plus up to `maxMessages - 1` recent messages. When messages fall between the two, a `[… N earlier Slack messages omitted]` marker (the platform name matches the channel) is saved in their place.
124
+ 2. Each fetched message is saved to memory as its own user message, attributed to its author and platform message id and carrying its attachments, with a `source: 'thread-history'` attribute. The mention itself then dispatches as a normal message.
125
125
  3. After responding, the agent subscribes to the thread and has full history through Mastra memory.
126
126
  4. Subsequent messages in that thread don't re-fetch from the platform.
127
127
 
128
128
  Set `threadContext: { maxMessages: 0 }` to disable this behavior. This only applies to non-direct message threads.
129
129
 
130
+ Agents without memory can't save the rows, so they receive the same history as context text inside the mention instead. The same fallback applies when the write to memory fails.
131
+
132
+ Memory's `lastMessages` option limits how many messages reach the prompt. Its default of `10` trims the first message and the omitted marker when `maxMessages` is `10`, so set `lastMessages` to at least `maxMessages + 1`.
133
+
130
134
  Mastra also adds a short system message that tells the agent which channel and platform the request came from, such as whether the message came from a direct message or public channel. Set `threadContext: { addSystemMessage: false }` to skip it.
131
135
 
132
136
  ## Tool approval
@@ -776,7 +776,7 @@ Reflection works similarly: the Reflector runs in the background when observatio
776
776
  | `observation.bufferTokens` | `0.2` | How often to buffer. `0.2` means every 20% of `messageTokens`. With the default 30k threshold, that's roughly every 6k tokens. Can also be an absolute token count (e.g. `5000`). |
777
777
  | `observation.bufferActivation` | `0.8` | How aggressively to clear the message window on activation. `0.8` means remove enough messages to keep only 20% of `messageTokens` remaining. Lower values keep more message history. |
778
778
  | `observation.blockAfter` | `1.2` | Safety net if buffering can't keep up. Values from 1 up to (but not including) 100 multiply `messageTokens`. For example, `1.2` creates a threshold of 36k tokens (1.2 × 30k), above which activation may overshoot the retention target rather than use fewer chunks. Values of 100 or more are absolute token counts (e.g. `50_000`) and must be greater than `messageTokens`. |
779
- | `activateAfterIdle` | none | Forces buffered observations to activate after a period of inactivity, even before `observation.messageTokens` is reached. Accepts a numeric millisecond value such as `300_000`, duration strings like `"5m"` or `"1hr"`, or `"auto"` for a provider-aware prompt cache TTL. |
779
+ | `activateAfterIdle` | none | Forces buffered observations to activate after a period of inactivity, even before `observation.messageTokens` is reached. Accepts a numeric millisecond value such as `300_000`, duration strings like `"5m"` or `"1hr"`, `"auto"` for a provider-aware prompt cache TTL, or an object of per-provider TTLs such as `{ default: 'auto', anthropic: '1h' }`. |
780
780
  | `activateOnProviderChange` | `false` | Forces buffered observations to activate when the next step uses a different `provider/model` than the one that produced the latest assistant step. Use this when switching providers or models would invalidate prompt cache reuse. |
781
781
  | `reflection.bufferActivation` | `0.5` | When to start background reflection. `0.5` means reflection begins when observations reach 50% of the `observationTokens` threshold. |
782
782
  | `reflection.activateAfterIdle` | none | Opts buffered reflections into idle activation. Reflections don't inherit top-level `activateAfterIdle`. |
@@ -814,6 +814,30 @@ With `"auto"`, this activates buffered observations based on the active provider
814
814
 
815
815
  Changing models or providers mid-thread will invalidate the prompt cache. If your agent can switch between providers or models mid-thread, `activateOnProviderChange: true` forces buffered observations to activate before the new provider runs. That avoids sending a large raw window to a provider that can't reuse the previous prompt cache.
816
816
 
817
+ #### Per-provider idle TTLs
818
+
819
+ `"auto"` can't see a cache TTL that you set on individual messages, such as Anthropic's `cacheControl: { type: 'ephemeral', ttl: '1h' }`. It keeps using the provider's 5-minute default, so buffered observations activate while the 1-hour cache is still warm. Pass an object to set the TTL per provider instead:
820
+
821
+ ```typescript
822
+ const memory = new Memory({
823
+ options: {
824
+ observationalMemory: {
825
+ model: 'google/gemini-2.5-flash',
826
+ activateAfterIdle: { default: 'auto', anthropic: '1h' },
827
+ },
828
+ },
829
+ })
830
+ ```
831
+
832
+ Set the `anthropic` entry to the same TTL as your `cacheControl.ttl`. Mastra doesn't read the per-message cache setting, so the two must be kept in sync by hand.
833
+
834
+ How the object resolves:
835
+
836
+ - Keys are provider names. Mastra compares them case-insensitively with the part of the model's provider before the first `.`, so `anthropic` matches both `anthropic` and `anthropic.messages`. Claude served through another provider uses that provider's key instead, for example `amazon-bedrock`. Keys must not contain `.` or `/`.
837
+ - Each value accepts the same forms as a single TTL: milliseconds, a duration string, `"auto"`, or `false` to turn off idle activation for that provider.
838
+ - `default` applies to every provider without its own key. Without `default`, those providers don't idle-activate.
839
+ - `observation.activateAfterIdle` and `reflection.activateAfterIdle` accept the same object. An `observation.activateAfterIdle` object replaces the top-level value and isn't merged with it.
840
+
817
841
  ### Disabling
818
842
 
819
843
  To disable async buffering and use synchronous observation/reflection instead:
@@ -45,13 +45,15 @@ Mount one Mesa repo and pass the filesystem to a workspace:
45
45
  ```typescript
46
46
  import { Agent } from '@mastra/core/agent'
47
47
  import { Workspace } from '@mastra/core/workspace'
48
- import { MesaFilesystem } from '@mastra/mesa'
48
+ import { MesaFilesystem, repo } from '@mastra/mesa'
49
49
 
50
50
  const workspace = new Workspace({
51
51
  filesystem: new MesaFilesystem({
52
- apiKey: process.env.MESA_API_KEY,
53
- org: 'acme',
54
- repos: [{ name: 'docs', bookmark: 'main' }],
52
+ privateKey: process.env.MESA_PRIVATE_KEY,
53
+ authors: [{ name: 'File Agent', email: 'agent@example.com' }],
54
+ layout: {
55
+ '/docs': repo('docs', { mode: 'rw', at: { bookmark: 'main' } }),
56
+ },
55
57
  }),
56
58
  })
57
59
 
@@ -63,21 +65,21 @@ const agent = new Agent({
63
65
  })
64
66
  ```
65
67
 
66
- `apiKey` falls back to `MESA_API_KEY` when omitted.
68
+ `privateKey` falls back to `MESA_PRIVATE_KEY` when omitted. The layout uses `repo()`, re-exported from the [Mesa SDK](https://docs.mesa.dev/content/getting-started/introduction), to declare which repos to mount and where.
67
69
 
68
70
  ## Constructor parameters
69
71
 
70
- **apiKey** (`string`): Mesa API key. Falls back to MESA\_API\_KEY when omitted.
72
+ **privateKey** (`string`): Mesa private key. Falls back to MESA\_PRIVATE\_KEY when omitted.
71
73
 
72
- **org** (`string`): Mesa org slug. When omitted, the Mesa SDK resolves the default org.
74
+ **authors** (`[Author, ...Author[]]`): Commit authors attributed to writes made through this filesystem.
73
75
 
74
- **repos** (`RepoConfig[]`): Mesa repos to mount.
76
+ **layout** (`Layout`): Mesa mount layout mapping absolute paths to repos, built with repo().
75
77
 
76
78
  **cache** (`{ diskCache?: { path: string; maxSizeBytes?: number } }`): Mesa filesystem cache configuration.
77
79
 
78
80
  **ttl** (`number`): Mesa mount token lifetime in seconds.
79
81
 
80
- **readOnly** (`boolean`): Mount all repos as read-only. (Default: `false`)
82
+ **readOnly** (`boolean`): Mount every repo in the layout as read-only. (Default: `false`)
81
83
 
82
84
  ## Properties
83
85
 
@@ -108,7 +110,7 @@ const agent = new Agent({
108
110
  Reads a file from Mesa.
109
111
 
110
112
  ```typescript
111
- const content = await filesystem.readFile('/acme/docs/README.md', {
113
+ const content = await filesystem.readFile('/docs/README.md', {
112
114
  encoding: 'utf-8',
113
115
  })
114
116
  ```
@@ -120,7 +122,7 @@ Returns: `Promise<string | Buffer>`
120
122
  Writes a file to Mesa.
121
123
 
122
124
  ```typescript
123
- await filesystem.writeFile('/acme/docs/report.md', '# Report')
125
+ await filesystem.writeFile('/docs/report.md', '# Report')
124
126
  ```
125
127
 
126
128
  Returns: `Promise<void>`
@@ -130,7 +132,7 @@ Returns: `Promise<void>`
130
132
  Appends content to a file.
131
133
 
132
134
  ```typescript
133
- await filesystem.appendFile('/acme/docs/log.txt', 'new line\n')
135
+ await filesystem.appendFile('/docs/log.txt', 'new line\n')
134
136
  ```
135
137
 
136
138
  Returns: `Promise<void>`
@@ -140,7 +142,7 @@ Returns: `Promise<void>`
140
142
  Deletes a file.
141
143
 
142
144
  ```typescript
143
- await filesystem.deleteFile('/acme/docs/old-report.md')
145
+ await filesystem.deleteFile('/docs/old-report.md')
144
146
  ```
145
147
 
146
148
  Returns: `Promise<void>`
@@ -150,7 +152,7 @@ Returns: `Promise<void>`
150
152
  Copies a file.
151
153
 
152
154
  ```typescript
153
- await filesystem.copyFile('/acme/docs/report.md', '/acme/docs/archive/report.md')
155
+ await filesystem.copyFile('/docs/report.md', '/docs/archive/report.md')
154
156
  ```
155
157
 
156
158
  Returns: `Promise<void>`
@@ -160,7 +162,7 @@ Returns: `Promise<void>`
160
162
  Moves or renames a file.
161
163
 
162
164
  ```typescript
163
- await filesystem.moveFile('/acme/docs/draft.md', '/acme/docs/final.md')
165
+ await filesystem.moveFile('/docs/draft.md', '/docs/final.md')
164
166
  ```
165
167
 
166
168
  Returns: `Promise<void>`
@@ -172,7 +174,7 @@ Returns: `Promise<void>`
172
174
  Creates a directory.
173
175
 
174
176
  ```typescript
175
- await filesystem.mkdir('/acme/docs/reports', { recursive: true })
177
+ await filesystem.mkdir('/docs/reports', { recursive: true })
176
178
  ```
177
179
 
178
180
  Returns: `Promise<void>`
@@ -182,7 +184,7 @@ Returns: `Promise<void>`
182
184
  Removes a directory.
183
185
 
184
186
  ```typescript
185
- await filesystem.rmdir('/acme/docs/reports', { recursive: true })
187
+ await filesystem.rmdir('/docs/reports', { recursive: true })
186
188
  ```
187
189
 
188
190
  Returns: `Promise<void>`
@@ -192,7 +194,7 @@ Returns: `Promise<void>`
192
194
  Lists directory entries.
193
195
 
194
196
  ```typescript
195
- const entries = await filesystem.readdir('/acme/docs', {
197
+ const entries = await filesystem.readdir('/docs', {
196
198
  recursive: true,
197
199
  extension: '.md',
198
200
  })
@@ -207,7 +209,7 @@ Returns: `Promise<FileEntry[]>`
207
209
  Checks whether a path exists.
208
210
 
209
211
  ```typescript
210
- const exists = await filesystem.exists('/acme/docs/README.md')
212
+ const exists = await filesystem.exists('/docs/README.md')
211
213
  ```
212
214
 
213
215
  Returns: `Promise<boolean>`
@@ -217,7 +219,7 @@ Returns: `Promise<boolean>`
217
219
  Returns file or directory metadata.
218
220
 
219
221
  ```typescript
220
- const stat = await filesystem.stat('/acme/docs/README.md')
222
+ const stat = await filesystem.stat('/docs/README.md')
221
223
  ```
222
224
 
223
225
  Returns: `Promise<FileStat>`
@@ -227,7 +229,7 @@ Returns: `Promise<FileStat>`
227
229
  Returns the canonical path from Mesa.
228
230
 
229
231
  ```typescript
230
- const realPath = await filesystem.realpath('/acme/docs/README.md')
232
+ const realPath = await filesystem.realpath('/docs/README.md')
231
233
  ```
232
234
 
233
235
  Returns: `Promise<string>`
@@ -240,7 +242,7 @@ Creates a Mesa-backed Bash runtime for this filesystem.
240
242
 
241
243
  ```typescript
242
244
  const bash = await filesystem.bash({
243
- cwd: '/acme/docs',
245
+ cwd: '/docs',
244
246
  })
245
247
  ```
246
248
 
@@ -248,34 +250,32 @@ Returns: `Promise<Bash>`
248
250
 
249
251
  ## Path semantics
250
252
 
251
- Methods expect absolute paths. For `MesaFilesystem`, paths are rooted at the Mesa mount and must include the org slug and repo name:
253
+ Methods expect absolute paths. For `MesaFilesystem`, paths are rooted at the Mesa mount and start with a path from the layout:
252
254
 
253
255
  ```typescript
254
- await filesystem.readFile('/acme/docs/README.md')
256
+ await filesystem.readFile('/docs/README.md')
255
257
  ```
256
258
 
257
259
  Don't omit the leading slash:
258
260
 
259
261
  ```typescript
260
- await filesystem.readFile('acme/docs/README.md') // Incorrect
261
- await filesystem.readFile('/acme/docs/README.md') // Correct
262
+ await filesystem.readFile('docs/README.md') // Incorrect
263
+ await filesystem.readFile('/docs/README.md') // Correct
262
264
  ```
263
265
 
264
- The org comes from `org` in the constructor, or from the Mesa SDK's default org inference when `org` is omitted. It remains the first path segment.
265
-
266
- When you mount multiple repos, each repo is available under the org segment:
266
+ When you mount multiple repos, each repo is available under its layout path:
267
267
 
268
268
  ```typescript
269
269
  const filesystem = new MesaFilesystem({
270
- org: 'acme',
271
- repos: [
272
- { name: 'docs', bookmark: 'main' },
273
- { name: 'website', bookmark: 'main' },
274
- ],
270
+ authors: [{ name: 'File Agent' }],
271
+ layout: {
272
+ '/docs': repo('docs', { mode: 'rw', at: { bookmark: 'main' } }),
273
+ '/website': repo('website', { mode: 'rw', at: { bookmark: 'main' } }),
274
+ },
275
275
  })
276
276
 
277
- await filesystem.readFile('/acme/docs/README.md')
278
- await filesystem.readFile('/acme/website/package.json')
277
+ await filesystem.readFile('/docs/README.md')
278
+ await filesystem.readFile('/website/package.json')
279
279
  ```
280
280
 
281
281
  ## Mesa versioning APIs
@@ -283,7 +283,7 @@ await filesystem.readFile('/acme/website/package.json')
283
283
  Access the underlying Mesa filesystem for Mesa-specific change and bookmark operations:
284
284
 
285
285
  ```typescript
286
- await filesystem.writeFile('/acme/docs/draft.md', 'Draft')
286
+ await filesystem.writeFile('/docs/draft.md', 'Draft')
287
287
 
288
288
  const current = await filesystem.change.current({
289
289
  repo: 'docs',
@@ -300,11 +300,12 @@ More details on versioning semantics can be found in [Mesa's docs](https://docs.
300
300
 
301
301
  ## Read-only mode
302
302
 
303
- Set `readOnly: true` to block write operations through Mastra:
303
+ Set `readOnly: true` to mount every repo in the layout read-only and block write operations through Mastra:
304
304
 
305
305
  ```typescript
306
306
  const filesystem = new MesaFilesystem({
307
- repos: [{ name: 'docs', bookmark: 'main' }],
307
+ authors: [{ name: 'File Agent' }],
308
+ layout: { '/docs': repo('docs', { mode: 'ro', at: { bookmark: 'main' } }) },
308
309
  readOnly: true,
309
310
  })
310
311
  ```
@@ -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 267 models through Mastra's model router.
7
+ Netlify AI Gateway provides unified access to multiple providers with built-in caching and observability. Access 269 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
 
@@ -130,6 +130,7 @@ ANTHROPIC_API_KEY=ant-...
130
130
  | `openrouter/~z-ai/glm-flash-latest` |
131
131
  | `openrouter/~z-ai/glm-latest` |
132
132
  | `openrouter/anthracite-org/magnum-v4-72b` |
133
+ | `openrouter/apodex/apodex-1.1-mini:free` |
133
134
  | `openrouter/baidu/ernie-4.5-vl-424b-a47b` |
134
135
  | `openrouter/bytedance-seed/seed-1.6` |
135
136
  | `openrouter/bytedance-seed/seed-1.6-flash` |
@@ -278,6 +279,7 @@ ANTHROPIC_API_KEY=ant-...
278
279
  | `openrouter/thinkingmachines/inkling` |
279
280
  | `openrouter/thinkingmachines/inkling-small` |
280
281
  | `openrouter/typesafe/jev-router` |
282
+ | `openrouter/unbiased/pareto-26.10-preview` |
281
283
  | `openrouter/undi95/remm-slerp-l2-13b` |
282
284
  | `openrouter/upstage/solar-mini4` |
283
285
  | `openrouter/upstage/solar-pro4` |
@@ -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 387 models through Mastra's model router.
7
+ OpenRouter aggregates models from multiple providers with enhanced features like rate limiting and failover. Access 389 models through Mastra's model router.
8
8
 
9
9
  Learn more in the [OpenRouter documentation](https://openrouter.ai/models).
10
10
 
@@ -83,6 +83,7 @@ ANTHROPIC_API_KEY=ant-...
83
83
  | `anthropic/claude-sonnet-4.6` |
84
84
  | `anthropic/claude-sonnet-5` |
85
85
  | `anthropic/claude-sonnet-5.5` |
86
+ | `apodex/apodex-1.1-mini:free` |
86
87
  | `arcee-ai/trinity-large-thinking` |
87
88
  | `baidu/ernie-4.5-vl-424b-a47b` |
88
89
  | `bytedance-seed/seed-1.6` |
@@ -392,6 +393,7 @@ ANTHROPIC_API_KEY=ant-...
392
393
  | `thinkingmachines/inkling-small:free` |
393
394
  | `thinkingmachines/inkling:free` |
394
395
  | `unbiased/pareto` |
396
+ | `unbiased/pareto-26.10-preview` |
395
397
  | `undi95/remm-slerp-l2-13b` |
396
398
  | `upstage/solar-mini4` |
397
399
  | `upstage/solar-pro-3` |
@@ -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 395 models through Mastra's model router.
7
+ Vercel aggregates models from multiple providers with enhanced features like rate limiting and failover. Access 402 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
 
@@ -209,7 +209,6 @@ ANTHROPIC_API_KEY=ant-...
209
209
  | `klingai/kling-v3.0-i2v` |
210
210
  | `klingai/kling-v3.0-motion-control` |
211
211
  | `klingai/kling-v3.0-t2v` |
212
- | `liquid/d1` |
213
212
  | `meituan/longcat-2.5-preview` |
214
213
  | `meta/llama-3.1-70b` |
215
214
  | `meta/llama-3.1-8b` |
@@ -223,6 +222,13 @@ ANTHROPIC_API_KEY=ant-...
223
222
  | `meta/muse-spark-1.2-contributor` |
224
223
  | `meta/muse-spark-1.3` |
225
224
  | `meta/muse-spark-1.3-contributor` |
225
+ | `microsoft/mai-transcribe-1.5` |
226
+ | `microsoft/mai-transcribe-2` |
227
+ | `microsoft/mai-transcribe-2-streaming` |
228
+ | `microsoft/mai-voice-2` |
229
+ | `microsoft/mai-voice-2-flash` |
230
+ | `microsoft/mai-voice-2.1` |
231
+ | `microsoft/mai-voice-2.1-flash` |
226
232
  | `minimax/minimax-h3` |
227
233
  | `minimax/minimax-h3-max` |
228
234
  | `minimax/minimax-m2` |
@@ -383,6 +389,7 @@ ANTHROPIC_API_KEY=ant-...
383
389
  | `spacexai/grok-imagine-image-2.0` |
384
390
  | `spacexai/grok-imagine-video` |
385
391
  | `spacexai/grok-imagine-video-1.5` |
392
+ | `spacexai/grok-imagine-video-1.5-lite` |
386
393
  | `spacexai/grok-stt` |
387
394
  | `spacexai/grok-tts` |
388
395
  | `spacexai/grok-voice-think-fast-1.0` |
@@ -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 7722 models from 212 providers through a single API.
7
+ Mastra provides a unified interface for working with LLMs across multiple providers, giving you access to 7743 models from 212 providers through a single API.
8
8
 
9
9
  ## Features
10
10
 
@@ -53,7 +53,7 @@ for await (const chunk of stream) {
53
53
  | `deepinfra/google/gemma-3-27b-it` | 131K | | | | | | $0.08 | $0.16 |
54
54
  | `deepinfra/google/gemma-3-4b-it` | 131K | | | | | | $0.05 | $0.10 |
55
55
  | `deepinfra/google/gemma-4-26B-A4B-it` | 262K | | | | | | $0.07 | $0.34 |
56
- | `deepinfra/google/gemma-4-31B-it` | 262K | | | | | | $0.13 | $0.38 |
56
+ | `deepinfra/google/gemma-4-31B-it` | 262K | | | | | | $0.15 | $0.40 |
57
57
  | `deepinfra/google/gemma-4-E4B-it` | 131K | | | | | | $0.02 | $0.10 |
58
58
  | `deepinfra/meta-llama/Llama-3.3-70B-Instruct-Turbo` | 131K | | | | | | $0.10 | $0.32 |
59
59
  | `deepinfra/meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8` | 1.0M | | | | | | $0.20 | $0.80 |
@@ -71,7 +71,6 @@ for await (const chunk of stream) {
71
71
  | `deepinfra/Qwen/Qwen3-Max` | 256K | | | | | | $1 | $6 |
72
72
  | `deepinfra/Qwen/Qwen3-Next-80B-A3B-Instruct` | 262K | | | | | | $0.09 | $1 |
73
73
  | `deepinfra/Qwen/Qwen3-VL-235B-A22B-Instruct` | 262K | | | | | | $0.20 | $0.88 |
74
- | `deepinfra/Qwen/Qwen3.5-122B-A10B` | 262K | | | | | | $0.29 | $2 |
75
74
  | `deepinfra/Qwen/Qwen3.5-27B` | 262K | | | | | | $0.26 | $3 |
76
75
  | `deepinfra/Qwen/Qwen3.5-35B-A3B` | 262K | | | | | | $0.14 | $1 |
77
76
  | `deepinfra/Qwen/Qwen3.5-397B-A17B` | 262K | | | | | | $0.45 | $3 |
@@ -92,7 +91,6 @@ for await (const chunk of stream) {
92
91
  | `deepinfra/XiaomiMiMo/MiMo-V2.6-Pro` | 1.0M | | | | | | $0.43 | $0.87 |
93
92
  | `deepinfra/zai-org/GLM-4.6` | 203K | | | | | | $0.50 | $2 |
94
93
  | `deepinfra/zai-org/GLM-4.7` | 203K | | | | | | $0.40 | $2 |
95
- | `deepinfra/zai-org/GLM-5.1` | 203K | | | | | | $1 | $4 |
96
94
  | `deepinfra/zai-org/GLM-5.2` | 1.0M | | | | | | $0.75 | $2 |
97
95
  | `deepinfra/zai-org/GLM-5.3` | 1.0M | | | | | | $0.90 | $4 |
98
96
  | `deepinfra/zai-org/GLM-5.3-Flash` | 1.0M | | | | | | $0.15 | $0.50 |
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![Eden AI logo](https://models.dev/logos/edenai.svg)Eden AI
6
6
 
7
- Access 286 Eden AI models through Mastra's model router. Authentication is handled automatically using the `EDENAI_API_KEY` environment variable.
7
+ Access 289 Eden AI models through Mastra's model router. Authentication is handled automatically using the `EDENAI_API_KEY` environment variable.
8
8
 
9
9
  Learn more in the [Eden AI documentation](https://docs.edenai.co).
10
10
 
@@ -114,7 +114,7 @@ for await (const chunk of stream) {
114
114
  | `edenai/deepinfra/google/gemma-3-27b-it` | 131K | | | | | | $0.08 | $0.16 |
115
115
  | `edenai/deepinfra/google/gemma-3-4b-it` | 131K | | | | | | $0.05 | $0.10 |
116
116
  | `edenai/deepinfra/meta-llama/Llama-3.2-11B-Vision-Instruct` | 131K | | | | | | $0.34 | $0.34 |
117
- | `edenai/deepinfra/meta-llama/Llama-3.3-70B-Instruct` | 66K | | | | | | $0.10 | $0.32 |
117
+ | `edenai/deepinfra/meta-llama/Llama-3.3-70B-Instruct` | 131K | | | | | | $0.10 | $0.32 |
118
118
  | `edenai/deepinfra/meta-llama/Llama-Guard-3-8B` | 131K | | | | | | $0.06 | $0.06 |
119
119
  | `edenai/deepinfra/meta-models/Muse-Glimmer-30B` | 131K | | | | | | $0.30 | $1 |
120
120
  | `edenai/deepinfra/moonshotai/Kimi-K2.5` | 262K | | | | | | $0.45 | $2 |
@@ -164,8 +164,8 @@ for await (const chunk of stream) {
164
164
  | `edenai/groq/openai/gpt-oss-20b` | 131K | | | | | | $0.07 | $0.30 |
165
165
  | `edenai/groq/openai/gpt-oss-safeguard-20b` | 131K | | | | | | $0.07 | $0.30 |
166
166
  | `edenai/infomaniak/mistralai/Ministral-3-14B-Instruct-2512` | 100K | | | | | | $0.34 | $0.45 |
167
- | `edenai/ionos/meta-llama/Llama-3.3-70B-Instruct` | 128K | | | | | | $0.74 | $0.74 |
168
- | `edenai/ionos/openai/gpt-oss-120b` | 131K | | | | | | $0.17 | $0.74 |
167
+ | `edenai/ionos/meta-llama/Llama-3.3-70B-Instruct` | 128K | | | | | | $0.73 | $0.73 |
168
+ | `edenai/ionos/openai/gpt-oss-120b` | 131K | | | | | | $0.17 | $0.73 |
169
169
  | `edenai/minimax/MiniMax-M2` | 205K | | | | | | $0.30 | $1 |
170
170
  | `edenai/minimax/MiniMax-M2.1` | 205K | | | | | | $0.30 | $1 |
171
171
  | `edenai/minimax/MiniMax-M2.5` | 205K | | | | | | $0.30 | $1 |
@@ -266,10 +266,13 @@ for await (const chunk of stream) {
266
266
  | `edenai/qwen/qwen3.8-max-0902` | 1.0M | | | | | | $2 | $6 |
267
267
  | `edenai/qwen/qwen3.8-omni-flash` | 1.0M | | | | | | $0.15 | $0.47 |
268
268
  | `edenai/qwen/qwq-plus` | 131K | | | | | | $0.80 | $2 |
269
- | `edenai/scaleway/deepseek-v4-flash-0731` | 256K | | | | | | $0.45 | $0.91 |
269
+ | `edenai/scaleway/deepseek-v4-flash-0731` | 256K | | | | | | $0.45 | $0.90 |
270
270
  | `edenai/scaleway/gemma-3-27b-it` | 40K | | | | | | $0.29 | $0.57 |
271
271
  | `edenai/scaleway/gpt-oss-120b` | 128K | | | | | | $0.17 | $0.68 |
272
272
  | `edenai/scaleway/llama-3.3-70b-instruct` | 128K | | | | | | $1 | $1 |
273
+ | `edenai/tencent/deepseek-v4-pro-0813` | 1.0M | | | | | | $0.66 | $2 |
274
+ | `edenai/tencent/hy3` | 256K | | | | | | $0.13 | $0.53 |
275
+ | `edenai/tencent/hy4-preview` | 1.0M | | | | | | $0.83 | $3 |
273
276
  | `edenai/tensorx/deepseek/deepseek-v4-flash-0731` | 1.0M | | | | | | $0.25 | $0.30 |
274
277
  | `edenai/tensorx/deepseek/deepseek-v4-pro-0813` | 1.0M | | | | | | $2 | $4 |
275
278
  | `edenai/tensorx/deepseek/deepseek-v4.1-flash` | 1.0M | | | | | | $0.50 | $2 |
@@ -38,7 +38,7 @@ for await (const chunk of stream) {
38
38
 
39
39
  | Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
40
40
  | ----------------------------------------------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
41
- | `fireworks-ai/accounts/fireworks/models/deepseek-v4p1-flash` | 1.0M | | | | | | $0.22 | $0.66 |
41
+ | `fireworks-ai/accounts/fireworks/models/deepseek-v4p1-flash` | 1.0M | | | | | | $0.30 | $1 |
42
42
  | `fireworks-ai/accounts/fireworks/models/ember-1` | 1.0M | | | | | | $3 | $15 |
43
43
  | `fireworks-ai/accounts/fireworks/models/glm-5p3` | 1.0M | | | | | | $1 | $4 |
44
44
  | `fireworks-ai/accounts/fireworks/models/glm-5p3-flash` | 1.0M | | | | | | $0.15 | $0.50 |
@@ -50,7 +50,7 @@ for await (const chunk of stream) {
50
50
  | `fireworks-ai/accounts/fireworks/models/nemotron-lightning-3p5-30b-a3b` | 262K | | | | | | $0.05 | $0.20 |
51
51
  | `fireworks-ai/accounts/fireworks/models/qwen3p8-2p4t-a95b` | 262K | | | | | | $2 | $6 |
52
52
  | `fireworks-ai/accounts/fireworks/models/qwen3p8-max` | 262K | | | | | | $2 | $6 |
53
- | `fireworks-ai/accounts/fireworks/routers/deepseek-flash-latest` | 1.0M | | | | | | $0.22 | $0.66 |
53
+ | `fireworks-ai/accounts/fireworks/routers/deepseek-flash-latest` | 1.0M | | | | | | $0.30 | $1 |
54
54
  | `fireworks-ai/accounts/fireworks/routers/glm-5p3-fast` | 1.0M | | | | | | $2 | $7 |
55
55
  | `fireworks-ai/accounts/fireworks/routers/glm-fast-latest` | 1.0M | | | | | | $2 | $7 |
56
56
  | `fireworks-ai/accounts/fireworks/routers/glm-flash-latest` | 1.0M | | | | | | $0.15 | $0.50 |
@@ -42,7 +42,7 @@ for await (const chunk of stream) {
42
42
  | `hyper/deepseek-v4-flash-0731` | 1.0M | | | | | | $0.44 | $1 |
43
43
  | `hyper/deepseek-v4-pro` | 1.0M | | | | | | $2 | $5 |
44
44
  | `hyper/deepseek-v4-pro-0813` | 1.0M | | | | | | $1 | $4 |
45
- | `hyper/deepseek-v4.1-flash` | 1.0M | | | | | | $0.30 | $1 |
45
+ | `hyper/deepseek-v4.1-flash` | 1.0M | | | | | | $0.33 | $1 |
46
46
  | `hyper/gemma-4-26b-a4b-it` | 256K | | | | | | $0.10 | $0.33 |
47
47
  | `hyper/glm-5.2` | 1.0M | | | | | | $2 | $5 |
48
48
  | `hyper/glm-5.3` | 1.0M | | | | | | $2 | $5 |
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![Kilo Gateway logo](https://models.dev/logos/kilo.svg)Kilo Gateway
6
6
 
7
- Access 394 Kilo Gateway models through Mastra's model router. Authentication is handled automatically using the `KILO_API_KEY` environment variable.
7
+ Access 396 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,12 +42,12 @@ 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 | | | | | | $4 | $20 |
44
44
  | `kilo/~anthropic/claude-sonnet-latest` | 1.0M | | | | | | $2 | $10 |
45
- | `kilo/~deepseek/deepseek-flash-latest` | 1.0M | | | | | | $0.02 | $0.60 |
46
- | `kilo/~deepseek/deepseek-pro-latest` | 1.0M | | | | | | $0.21 | $4 |
45
+ | `kilo/~deepseek/deepseek-flash-latest` | 1.0M | | | | | | $0.03 | $0.60 |
46
+ | `kilo/~deepseek/deepseek-pro-latest` | 1.0M | | | | | | $0.14 | $4 |
47
47
  | `kilo/~deepseek/deepseek-v4-flash-latest` | 1.0M | | | | | | $0.01 | $1 |
48
48
  | `kilo/~google/gemini-flash-latest` | 1.0M | | | | | | $0.75 | $4 |
49
49
  | `kilo/~google/gemini-pro-latest` | 1.0M | | | | | | $2 | $12 |
50
- | `kilo/~moonshotai/kimi-latest` | 1.0M | | | | | | $0.72 | $10 |
50
+ | `kilo/~moonshotai/kimi-latest` | 1.0M | | | | | | $0.68 | $10 |
51
51
  | `kilo/~openai/gpt-astra-latest` | 1.1M | | | | | | $10 | $50 |
52
52
  | `kilo/~openai/gpt-luna-latest` | 1.1M | | | | | | $0.10 | $0.50 |
53
53
  | `kilo/~openai/gpt-mini-latest` | 400K | | | | | | $0.75 | $5 |
@@ -55,7 +55,7 @@ for await (const chunk of stream) {
55
55
  | `kilo/~openai/gpt-terra-latest` | 1.1M | | | | | | $2 | $12 |
56
56
  | `kilo/~x-ai/grok-latest` | 500K | | | | | | $2 | $6 |
57
57
  | `kilo/~z-ai/glm-flash-latest` | 1.0M | | | | | | $0.02 | $0.30 |
58
- | `kilo/~z-ai/glm-latest` | 1.0M | | | | | | $0.06 | $3 |
58
+ | `kilo/~z-ai/glm-latest` | 262K | | | | | | $0.12 | $1 |
59
59
  | `kilo/aion-labs/aion-2.0` | 131K | | | | | | $0.80 | $2 |
60
60
  | `kilo/aion-labs/aion-3.0` | 131K | | | | | | $3 | $6 |
61
61
  | `kilo/aion-labs/aion-3.0-mini` | 131K | | | | | | $0.70 | $1 |
@@ -83,6 +83,7 @@ for await (const chunk of stream) {
83
83
  | `kilo/anthropic/claude-sonnet-4.6` | 1.0M | | | | | | $3 | $15 |
84
84
  | `kilo/anthropic/claude-sonnet-5` | 1.0M | | | | | | $2 | $10 |
85
85
  | `kilo/anthropic/claude-sonnet-5.5` | 1.0M | | | | | | $2 | $10 |
86
+ | `kilo/apodex/apodex-1.1-mini:free` | 262K | | | | | | — | — |
86
87
  | `kilo/arcee-ai/trinity-large-thinking` | 262K | | | | | | $0.25 | $0.80 |
87
88
  | `kilo/baidu/ernie-4.5-vl-424b-a47b` | 123K | | | | | | $0.42 | $1 |
88
89
  | `kilo/bytedance-seed/seed-1.6` | 262K | | | | | | $0.25 | $2 |
@@ -100,7 +101,7 @@ for await (const chunk of stream) {
100
101
  | `kilo/cohere/command-r7b-12-2024` | 128K | | | | | | $0.04 | $0.15 |
101
102
  | `kilo/cohere/north-mini-code:free` | 256K | | | | | | — | — |
102
103
  | `kilo/deepseek/deepseek-chat` | 128K | | | | | | $0.26 | $1 |
103
- | `kilo/deepseek/deepseek-chat-v3-0324` | 164K | | | | | | $0.29 | $1 |
104
+ | `kilo/deepseek/deepseek-chat-v3-0324` | 128K | | | | | | $0.29 | $1 |
104
105
  | `kilo/deepseek/deepseek-chat-v3.1` | 164K | | | | | | $0.25 | $0.95 |
105
106
  | `kilo/deepseek/deepseek-r1` | 64K | | | | | | $0.70 | $3 |
106
107
  | `kilo/deepseek/deepseek-r1-0528` | 164K | | | | | | $0.70 | $3 |
@@ -212,7 +213,7 @@ for await (const chunk of stream) {
212
213
  | `kilo/moonshotai/kimi-k2.5` | 262K | | | | | | $0.60 | $3 |
213
214
  | `kilo/moonshotai/kimi-k2.6` | 262K | | | | | | $0.43 | $2 |
214
215
  | `kilo/moonshotai/kimi-k2.7-code` | 262K | | | | | | $0.67 | $3 |
215
- | `kilo/moonshotai/kimi-k3` | 1.0M | | | | | | $0.72 | $10 |
216
+ | `kilo/moonshotai/kimi-k3` | 1.0M | | | | | | $0.68 | $10 |
216
217
  | `kilo/morph/morph-v3-fast` | 82K | | | | | | $0.80 | $1 |
217
218
  | `kilo/morph/morph-v3-large` | 262K | | | | | | $0.90 | $2 |
218
219
  | `kilo/nex-agi/nex-n2.5-mini` | 262K | | | | | | $0.03 | $0.10 |
@@ -389,9 +390,9 @@ for await (const chunk of stream) {
389
390
  | `kilo/tencent/hy-mt2-1.8b` | 8K | | | | | | $0.04 | $0.18 |
390
391
  | `kilo/tencent/hy-mt2-30b-a3b` | 8K | | | | | | $0.07 | $0.29 |
391
392
  | `kilo/tencent/hy-mt2-7b` | 8K | | | | | | $0.07 | $0.29 |
392
- | `kilo/tencent/hy3` | 262K | | | | | | $0.13 | $0.53 |
393
+ | `kilo/tencent/hy3` | 262K | | | | | | $0.08 | $0.33 |
393
394
  | `kilo/tencent/hy3-preview` | 262K | | | | | | $0.18 | $0.60 |
394
- | `kilo/tencent/hy4-preview` | 1.0M | | | | | | $0.83 | $3 |
395
+ | `kilo/tencent/hy4-preview` | 1.0M | | | | | | $0.75 | $2 |
395
396
  | `kilo/thedrummer/cydonia-24b-v4.1` | 131K | | | | | | $0.30 | $0.50 |
396
397
  | `kilo/thedrummer/skyfall-36b-v2` | 33K | | | | | | $0.55 | $0.80 |
397
398
  | `kilo/thedrummer/unslopnemo-12b` | 1.0M | | | | | | $0.40 | $0.40 |
@@ -399,6 +400,7 @@ for await (const chunk of stream) {
399
400
  | `kilo/thinkingmachines/inkling-small` | 524K | | | | | | $0.45 | $1 |
400
401
  | `kilo/thinkingmachines/inkling-small:free` | 1.0M | | | | | | — | — |
401
402
  | `kilo/unbiased/pareto` | 262K | | | | | | $3 | $8 |
403
+ | `kilo/unbiased/pareto-26.10-preview` | 1.0M | | | | | | $0.80 | $3 |
402
404
  | `kilo/undi95/remm-slerp-l2-13b` | 6K | | | | | | $0.35 | $0.65 |
403
405
  | `kilo/upstage/solar-mini4` | 524K | | | | | | $0.10 | $0.40 |
404
406
  | `kilo/upstage/solar-pro-3` | 131K | | | | | | $0.15 | $0.60 |
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![LLM Gateway logo](https://models.dev/logos/llmgateway-providers.svg)LLM Gateway
6
6
 
7
- Access 429 LLM Gateway models through Mastra's model router. Authentication is handled automatically using the `LLMGATEWAY_API_KEY` environment variable.
7
+ Access 430 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
 
@@ -52,7 +52,7 @@ for await (const chunk of stream) {
52
52
  | `llmgateway-providers/alibaba/qwen-omni-turbo` | 33K | | | | | | $0.20 | $0.80 |
53
53
  | `llmgateway-providers/alibaba/qwen-plus` | 131K | | | | | | $0.40 | $1 |
54
54
  | `llmgateway-providers/alibaba/qwen-plus-latest` | 1.0M | | | | | | $0.40 | $1 |
55
- | `llmgateway-providers/alibaba/qwen3-coder-flash` | 1.0M | | | | | | $0.30 | $2 |
55
+ | `llmgateway-providers/alibaba/qwen3-coder-flash` | 998K | | | | | | $0.30 | $2 |
56
56
  | `llmgateway-providers/alibaba/qwen3-coder-plus` | 1.0M | | | | | | $1 | $5 |
57
57
  | `llmgateway-providers/alibaba/qwen3-max` | 256K | | | | | | $1 | $6 |
58
58
  | `llmgateway-providers/alibaba/qwen3-vl-flash` | 262K | | | | | | $0.05 | $0.40 |
@@ -61,14 +61,14 @@ for await (const chunk of stream) {
61
61
  | `llmgateway-providers/alibaba/qwen3.5-27b` | 262K | | | | | | $0.30 | $2 |
62
62
  | `llmgateway-providers/alibaba/qwen3.5-35b-a3b` | 262K | | | | | | $0.25 | $2 |
63
63
  | `llmgateway-providers/alibaba/qwen3.6-35b-a3b` | 262K | | | | | | $0.38 | $2 |
64
- | `llmgateway-providers/alibaba/qwen3.6-flash` | 1.0M | | | | | | $0.25 | $2 |
64
+ | `llmgateway-providers/alibaba/qwen3.6-flash` | 984K | | | | | | $0.25 | $2 |
65
65
  | `llmgateway-providers/alibaba/qwen3.6-max-preview` | 262K | | | | | | $1 | $8 |
66
- | `llmgateway-providers/alibaba/qwen3.6-plus` | 1.0M | | | | | | $0.50 | $3 |
67
- | `llmgateway-providers/alibaba/qwen3.7-flash` | 1.0M | | | | | | $0.03 | $0.13 |
68
- | `llmgateway-providers/alibaba/qwen3.7-max` | 1.0M | | | | | | $3 | $8 |
69
- | `llmgateway-providers/alibaba/qwen3.7-plus` | 1.0M | | | | | | $0.40 | $2 |
70
- | `llmgateway-providers/alibaba/qwen3.8-flash` | 1.0M | | | | | | $0.15 | $0.47 |
71
- | `llmgateway-providers/alibaba/qwen3.8-max` | 1.0M | | | | | | $2 | $6 |
66
+ | `llmgateway-providers/alibaba/qwen3.6-plus` | 984K | | | | | | $0.50 | $3 |
67
+ | `llmgateway-providers/alibaba/qwen3.7-flash` | 984K | | | | | | $0.03 | $0.13 |
68
+ | `llmgateway-providers/alibaba/qwen3.7-max` | 984K | | | | | | $3 | $8 |
69
+ | `llmgateway-providers/alibaba/qwen3.7-plus` | 984K | | | | | | $0.40 | $2 |
70
+ | `llmgateway-providers/alibaba/qwen3.8-flash` | 984K | | | | | | $0.15 | $0.47 |
71
+ | `llmgateway-providers/alibaba/qwen3.8-max` | 984K | | | | | | $2 | $6 |
72
72
  | `llmgateway-providers/alibaba/qwen35-397b-a17b` | 262K | | | | | | $0.60 | $4 |
73
73
  | `llmgateway-providers/anthropic/claude-fable-5` | 1.0M | | | | | | $10 | $50 |
74
74
  | `llmgateway-providers/anthropic/claude-fable-5-1` | 1.0M | | | | | | $10 | $50 |
@@ -175,11 +175,12 @@ for await (const chunk of stream) {
175
175
  | `llmgateway-providers/cerebras/gpt-oss-120b` | 131K | | | | | | $0.35 | $0.75 |
176
176
  | `llmgateway-providers/cerebras/llama-3.3-70b-instruct` | 128K | | | | | | $0.85 | $1 |
177
177
  | `llmgateway-providers/cerebras/qwen3-235b-a22b-instruct-2507` | 262K | | | | | | $0.60 | $1 |
178
+ | `llmgateway-providers/consensusprotocol/deepseek-v4-flash` | 524K | | | | | | $0.10 | $0.20 |
178
179
  | `llmgateway-providers/consensusprotocol/deepseek-v4.1-flash` | 1.0M | | | | | | $0.15 | $0.60 |
179
180
  | `llmgateway-providers/consensusprotocol/gemma-4-31b-it` | 262K | | | | | | $0.10 | $0.25 |
180
181
  | `llmgateway-providers/consensusprotocol/glm-5.3-flash` | 1.0M | | | | | | $0.10 | $0.25 |
181
- | `llmgateway-providers/consensusprotocol/gpt-oss-20b` | 66K | | | | | | $0.04 | $0.19 |
182
- | `llmgateway-providers/consensusprotocol/Qwen3.8-27B` | 33K | | | | | | $0.08 | $0.35 |
182
+ | `llmgateway-providers/consensusprotocol/gpt-oss-20b` | 128K | | | | | | $0.04 | $0.19 |
183
+ | `llmgateway-providers/consensusprotocol/Qwen3.8-27B` | 262K | | | | | | $0.08 | $0.35 |
183
184
  | `llmgateway-providers/deepinfra/deepseek-v3.2` | 160K | | | | | | $0.26 | $0.38 |
184
185
  | `llmgateway-providers/deepinfra/deepseek-v4-flash` | 1.0M | | | | | | $0.08 | $0.18 |
185
186
  | `llmgateway-providers/deepinfra/deepseek-v4-pro` | 1.0M | | | | | | $1 | $3 |
@@ -214,7 +214,7 @@ for await (const chunk of stream) {
214
214
  | `llmgateway/qwen3-32b` | 41K | | | | | | $0.36 | $0.87 |
215
215
  | `llmgateway/qwen3-coder-30b-a3b-instruct` | 262K | | | | | | $0.07 | $0.27 |
216
216
  | `llmgateway/qwen3-coder-480b-a35b-instruct` | 262K | | | | | | $0.38 | $2 |
217
- | `llmgateway/qwen3-coder-flash` | 1.0M | | | | | | $0.30 | $2 |
217
+ | `llmgateway/qwen3-coder-flash` | 998K | | | | | | $0.30 | $2 |
218
218
  | `llmgateway/qwen3-coder-next` | 262K | | | | | | $0.11 | $0.68 |
219
219
  | `llmgateway/qwen3-coder-plus` | 1.0M | | | | | | $1 | $5 |
220
220
  | `llmgateway/qwen3-max` | 262K | | | | | | $0.84 | $3 |
@@ -230,14 +230,14 @@ for await (const chunk of stream) {
230
230
  | `llmgateway/qwen3.5-35b-a3b` | 262K | | | | | | $0.25 | $2 |
231
231
  | `llmgateway/qwen3.5-9b` | 262K | | | | | | $0.10 | $0.15 |
232
232
  | `llmgateway/qwen3.6-35b-a3b` | 262K | | | | | | $0.25 | $1 |
233
- | `llmgateway/qwen3.6-flash` | 1.0M | | | | | | $0.25 | $2 |
233
+ | `llmgateway/qwen3.6-flash` | 984K | | | | | | $0.25 | $2 |
234
234
  | `llmgateway/qwen3.6-max-preview` | 262K | | | | | | $1 | $8 |
235
- | `llmgateway/qwen3.6-plus` | 1.0M | | | | | | $0.50 | $3 |
236
- | `llmgateway/qwen3.7-flash` | 1.0M | | | | | | $0.03 | $0.13 |
235
+ | `llmgateway/qwen3.6-plus` | 984K | | | | | | $0.50 | $3 |
236
+ | `llmgateway/qwen3.7-flash` | 984K | | | | | | $0.03 | $0.13 |
237
237
  | `llmgateway/qwen3.7-max` | 1.0M | | | | | | $1 | $4 |
238
- | `llmgateway/qwen3.7-plus` | 1.0M | | | | | | $0.40 | $2 |
238
+ | `llmgateway/qwen3.7-plus` | 984K | | | | | | $0.40 | $2 |
239
239
  | `llmgateway/qwen3.8-2.4t-a95b` | 1.0M | | | | | | $2 | $6 |
240
- | `llmgateway/Qwen3.8-27B` | 33K | | | | | | $0.08 | $0.35 |
240
+ | `llmgateway/Qwen3.8-27B` | 262K | | | | | | $0.08 | $0.35 |
241
241
  | `llmgateway/qwen3.8-flash` | 1.0M | | | | | | $0.15 | $0.47 |
242
242
  | `llmgateway/qwen3.8-max` | 1.0M | | | | | | $2 | $6 |
243
243
  | `llmgateway/qwen35-397b-a17b` | 262K | | | | | | $0.60 | $4 |
@@ -549,7 +549,6 @@ for await (const chunk of stream) {
549
549
  | `nano-gpt/TEE/qwen3.6-27b` | 262K | | | | | | $0.32 | $3 |
550
550
  | `nano-gpt/TEE/qwen3.6-35b-a3b` | 262K | | | | | | $0.20 | $1 |
551
551
  | `nano-gpt/TEE/qwen3.8-27b` | 262K | | | | | | $0.40 | $3 |
552
- | `nano-gpt/TEE/qwen3.8-27b-uncensored` | 262K | | | | | | $0.30 | $2 |
553
552
  | `nano-gpt/tencent/hy3` | 262K | | | | | | $0.07 | $0.26 |
554
553
  | `nano-gpt/tencent/hy4-preview` | 1.0M | | | | | | $0.83 | $3 |
555
554
  | `nano-gpt/TheDrummer/Anubis-70B-v1` | 66K | | | | | | $0.31 | $0.31 |
@@ -571,6 +570,7 @@ for await (const chunk of stream) {
571
570
  | `nano-gpt/THUDM/GLM-4-9B-0414` | 32K | | | | | | $0.20 | $0.20 |
572
571
  | `nano-gpt/THUDM/GLM-Z1-9B-0414` | 32K | | | | | | $0.20 | $0.20 |
573
572
  | `nano-gpt/unbiased/pareto` | 262K | | | | | | $3 | $8 |
573
+ | `nano-gpt/unbiased/pareto-26.10-preview` | 1.0M | | | | | | $0.80 | $3 |
574
574
  | `nano-gpt/undi95/remm-slerp-l2-13b` | 6K | | | | | | $0.80 | $1 |
575
575
  | `nano-gpt/universal-summarizer` | 33K | | | | | | $30 | $30 |
576
576
  | `nano-gpt/unsloth/gemma-3-12b-it` | 131K | | | | | | $0.27 | $0.27 |
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![Nvidia logo](https://models.dev/logos/nvidia.svg)Nvidia
6
6
 
7
- Access 103 Nvidia models through Mastra's model router. Authentication is handled automatically using the `NVIDIA_API_KEY` environment variable.
7
+ Access 106 Nvidia models through Mastra's model router. Authentication is handled automatically using the `NVIDIA_API_KEY` environment variable.
8
8
 
9
9
  Learn more in the [Nvidia documentation](https://docs.api.nvidia.com/nim/).
10
10
 
@@ -43,6 +43,8 @@ for await (const chunk of stream) {
43
43
  | `nvidia/black-forest-labs/flux_1-schnell` | 77 | | | | | | — | — |
44
44
  | `nvidia/black-forest-labs/flux_2-klein-4b` | 41K | | | | | | — | — |
45
45
  | `nvidia/black-forest-labs/flux.1-dev` | 4K | | | | | | — | — |
46
+ | `nvidia/deepseek-ai/deepseek-v4.1-flash` | 1.0M | | | | | | — | — |
47
+ | `nvidia/google/diffusiongemma-26b-a4b-it` | 250K | | | | | | — | — |
46
48
  | `nvidia/google/gemma-3-12b-it` | 131K | | | | | | — | — |
47
49
  | `nvidia/google/gemma-3-4b-it` | 131K | | | | | | — | — |
48
50
  | `nvidia/google/gemma-4-31b-it` | 256K | | | | | | — | — |
@@ -56,9 +58,6 @@ for await (const chunk of stream) {
56
58
  | `nvidia/mistralai/magistral-small-2506` | 33K | | | | | | — | — |
57
59
  | `nvidia/mistralai/mistral-7b-instruct-v0.3` | 66K | | | | | | — | — |
58
60
  | `nvidia/mistralai/mistral-medium-3-instruct` | 131K | | | | | | — | — |
59
- | `nvidia/mistralai/mistral-nemotron` | 128K | | | | | | — | — |
60
- | `nvidia/mistralai/mixtral-8x22b-instruct` | 66K | | | | | | — | — |
61
- | `nvidia/mistralai/mixtral-8x7b-instruct` | 33K | | | | | | — | — |
62
61
  | `nvidia/moonshotai/kimi-k3` | 1.0M | | | | | | — | — |
63
62
  | `nvidia/nvidia/active-speaker-detection` | — | | | | | | — | — |
64
63
  | `nvidia/nvidia/bevformer` | 128K | | | | | | — | — |
@@ -76,6 +75,7 @@ for await (const chunk of stream) {
76
75
  | `nvidia/nvidia/nemotron-3-nano-omni-30b-a3b-reasoning` | 256K | | | | | | — | — |
77
76
  | `nvidia/nvidia/nemotron-3-super-120b-a12b` | 262K | | | | | | $0.20 | $0.80 |
78
77
  | `nvidia/nvidia/nemotron-3-ultra-550b-a55b` | 1.0M | | | | | | $0.50 | $3 |
78
+ | `nvidia/nvidia/nemotron-3.5-content-safety` | 128K | | | | | | — | — |
79
79
  | `nvidia/nvidia/nemotron-3.5-lightning-30b-a3b` | 262K | | | | | | — | — |
80
80
  | `nvidia/nvidia/nemotron-voicechat` | 128K | | | | | | — | — |
81
81
  | `nvidia/nvidia/nv-embed-v1` | 33K | | | | | | — | — |
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![OpenCode Zen logo](https://models.dev/logos/opencode.svg)OpenCode Zen
6
6
 
7
- Access 114 OpenCode Zen models through Mastra's model router. Authentication is handled automatically using the `OPENCODE_API_KEY` environment variable.
7
+ Access 115 OpenCode Zen models through Mastra's model router. Authentication is handled automatically using the `OPENCODE_API_KEY` environment variable.
8
8
 
9
9
  Learn more in the [OpenCode Zen documentation](https://opencode.ai/docs/zen).
10
10
 
@@ -57,6 +57,7 @@ for await (const chunk of stream) {
57
57
  | `opencode/deepseek-v4-flash-vision-exp` | 1.0M | | | | | | $0.14 | $0.28 |
58
58
  | `opencode/deepseek-v4-pro` | 1.0M | | | | | | $2 | $4 |
59
59
  | `opencode/deepseek-v4.1-flash` | 1.0M | | | | | | $0.30 | $1 |
60
+ | `opencode/fledge-alpha-free` | 1.0M | | | | | | — | — |
60
61
  | `opencode/gemini-3-flash` | 1.0M | | | | | | $0.50 | $3 |
61
62
  | `opencode/gemini-3.1-pro` | 1.0M | | | | | | $2 | $12 |
62
63
  | `opencode/gemini-3.5-flash` | 1.0M | | | | | | $2 | $9 |
@@ -47,7 +47,7 @@ The `channels` property accepts a `ChannelConfig` object with the following fiel
47
47
 
48
48
  **userName** (`string`): Bot display name shown in platform messages. Defaults to the agent's name, or 'Mastra' if no name is set. (Default: `` agent's `name` ``)
49
49
 
50
- **threadContext** (`{ maxMessages?: number; addSystemMessage?: boolean }`): How the agent picks up context about the current thread. maxMessages controls how many recent platform messages are fetched on first mention (set to 0 to disable; only applies to non-DM threads). addSystemMessage: false skips the built-in system message that tells the agent which channel/platform a request came from. (Default: `{ maxMessages: 10, addSystemMessage: true }`)
50
+ **threadContext** (`{ maxMessages?: number; addSystemMessage?: boolean }`): How the agent picks up context about the current thread. maxMessages sets how many platform messages are saved to memory on first mention: the thread's first message plus up to maxMessages - 1 recent messages, with an omitted-count marker between them when needed (set to 0 to disable; only applies to non-DM threads). addSystemMessage: false skips the built-in system message that tells the agent which channel/platform a request came from. (Default: `{ maxMessages: 10, addSystemMessage: true }`)
51
51
 
52
52
  **chatOptions** (`Omit<ChatConfig, 'adapters' | 'state' | 'userName'>`): Additional options passed directly to the Chat SDK. Use for advanced configuration such as dedupeTtlMs, fallbackStreamingPlaceholderText, lockScope, and messageHistory.
53
53
 
@@ -41,7 +41,7 @@ OM performs thresholding with fast local token estimation. Text uses `tokenx`, a
41
41
 
42
42
  **scope** (`'resource' | 'thread'`): Memory scope for observations. 'thread' keeps observations per-thread. 'resource' is deprecated and will be removed in a future release. It shares observations across all threads for a resource and works much worse than thread scope for prompt caching and agent understanding. For cross-thread continuity, use thread scope with retrieval or resource-scoped working memory. See resource scope (deprecated). (Default: `'thread'`)
43
43
 
44
- **activateAfterIdle** (`number | string | false | "auto"`): Time before buffered observations are forced to activate after inactivity, even before observation.messageTokens is reached. Accepts a numeric millisecond value such as 300\_000, duration strings like "5m" or "1hr", "auto" for a provider-aware prompt cache TTL, or false to disable inherited observation idle activation. Reflections do not inherit this setting. Use reflection.activateAfterIdle to opt reflections into idle activation.
44
+ **activateAfterIdle** (`number | string | false | "auto" | Record<string, number | string | false | "auto">`): Time before buffered observations are forced to activate after inactivity, even before observation.messageTokens is reached. Accepts a numeric millisecond value such as 300\_000, duration strings like "5m" or "1hr", "auto" for a provider-aware prompt cache TTL, false to disable inherited observation idle activation, or an object of per-provider TTLs such as { default: "auto", anthropic: "1h" }. Object keys match the actor model provider before the first ., case-insensitively, so anthropic covers the direct Anthropic provider but not Claude through another provider such as amazon-bedrock; default covers every other provider. Reflections do not inherit this setting. Use reflection.activateAfterIdle to opt reflections into idle activation.
45
45
 
46
46
  **activateOnProviderChange** (`boolean`): Force buffered observations to activate when the actor provider or model changes. Reflections do not inherit this setting. Use reflection.activateOnProviderChange to opt reflections into provider-change activation. (Default: `false`)
47
47
 
@@ -91,7 +91,7 @@ OM performs thresholding with fast local token estimation. Text uses `tokenx`, a
91
91
 
92
92
  **observation.bufferActivation** (`number`): How much of the message window to clear when buffered observations activate. Values between 0 and 1 are the fraction of messageTokens to remove: 0.8 removes \~80% of the message history and keeps \~20% (6k tokens with the default 30k). Values of 1000 or more are the token count to keep: 4000 keeps \~4k message tokens after activation. Note the direction flips: a higher ratio removes more history, while a higher token count keeps more.
93
93
 
94
- **observation.activateAfterIdle** (`number | string | false | "auto"`): Time before buffered observations are forced to activate after inactivity. Accepts milliseconds, a duration string, "auto" for a provider-aware prompt cache TTL, or false. If unset, the top-level activateAfterIdle value is used for observations. Set false to disable the top-level idle setting for observations. Currently only applied when using the standalone ObservationalMemory class; new Memory(...) applies the top-level activateAfterIdle only.
94
+ **observation.activateAfterIdle** (`number | string | false | "auto" | Record<string, number | string | false | "auto">`): Time before buffered observations are forced to activate after inactivity. Accepts milliseconds, a duration string, "auto" for a provider-aware prompt cache TTL, false, or an object of per-provider TTLs. An object replaces the top-level value and is not merged with it. If unset, the top-level activateAfterIdle value is used for observations. Set false to disable the top-level idle setting for observations. Currently only applied when using the standalone ObservationalMemory class; new Memory(...) applies the top-level activateAfterIdle only.
95
95
 
96
96
  **observation.activateOnProviderChange** (`boolean`): Force buffered observations to activate when the actor provider or model changes. If unset, the top-level activateOnProviderChange value is used for observations. Currently only applied when using the standalone ObservationalMemory class; new Memory(...) applies the top-level activateOnProviderChange only.
97
97
 
@@ -125,7 +125,7 @@ OM performs thresholding with fast local token estimation. Text uses `tokenx`, a
125
125
 
126
126
  **reflection.bufferActivation** (`number`): When background reflection starts, as a ratio (0-1) of observationTokens: 0.5 starts reflecting in the background once observations reach 50% of the threshold (20k tokens with the default 40k). When the full threshold is reached, the buffered reflection replaces the observations it covers, preserving any new observations appended after that range.
127
127
 
128
- **reflection.activateAfterIdle** (`number | string | false | "auto"`): Time before buffered reflections are forced to activate after inactivity. Accepts milliseconds, a duration string, "auto" for a provider-aware prompt cache TTL, or false. Reflections do not inherit top-level activateAfterIdle; set this explicitly to opt reflections into idle activation. Currently only applied when using the standalone ObservationalMemory class; this setting has no effect through new Memory(...).
128
+ **reflection.activateAfterIdle** (`number | string | false | "auto" | Record<string, number | string | false | "auto">`): Time before buffered reflections are forced to activate after inactivity. Accepts milliseconds, a duration string, "auto" for a provider-aware prompt cache TTL, false, or an object of per-provider TTLs. Reflections do not inherit top-level activateAfterIdle; set this explicitly to opt reflections into idle activation. Currently only applied when using the standalone ObservationalMemory class; this setting has no effect through new Memory(...).
129
129
 
130
130
  **reflection.activateOnProviderChange** (`boolean`): Force buffered reflections to activate when the actor provider or model changes. Reflections do not inherit top-level activateOnProviderChange; set this explicitly to opt reflections into provider-change activation. Currently only applied when using the standalone ObservationalMemory class; this setting has no effect through new Memory(...).
131
131
 
@@ -775,11 +775,39 @@ The standalone `ObservationalMemory` class accepts all the same options as the `
775
775
 
776
776
  When `retrieval` is truthy, Mastra registers a `recall` tool that pages through raw messages behind observation group ranges. With the default resource scope, the tool can list threads (`mode: "threads"`) and browse another thread through `threadId`. It also supports cross-thread search. Set `retrieval: { vector: true }` for semantic search (`mode: "search"`), or use `scope: 'thread'` to restrict the tool to the current thread. The tool is automatically added to the agent.
777
777
 
778
- Mastra also injects scope-aware usage instructions into the agent's context. For resource scope with `vector: true`, these cover routing between `search`, `threads`, and `messages`, including fallback to thread discovery when search results are unsuitable. Without `vector: true`, the instructions only cover `threads` and `messages` browsing, so the agent isn't steered toward a search mode that isn't configured. Resource-scoped instructions are injected even before any observation group exists, so the agent can browse other threads from the first message. Use `retrieval: { instructions: '...' }` to append application-specific guidance after the built-in instructions.
778
+ When retrieval is enabled, OM also injects instructions telling the agent how to use recall: when to verify details, how to search and page, and when to read raw messages. They're included from the first turn, including read-only runs, and only describe the modes that are configured. Reflected groups are marked `_kind: reflection_` so the agent treats them as lossy summaries. Use `retrieval: { instructions: '...' }` to append your own guidance after the built-in instructions.
779
+
780
+ ### Observation pages
781
+
782
+ With vector search configured, `mode: "observations"` reads the original observation groups around a search hit, including groups that reflection condensed away and buffered groups that haven't been activated yet. Copy the hit's `groupId` exactly as shown and, in resource scope, its `threadId`:
783
+
784
+ ```json
785
+ {
786
+ "mode": "observations",
787
+ "threadId": "source-thread-id",
788
+ "groupId": "group-id-from-search",
789
+ "direction": "after",
790
+ "limit": 5
791
+ }
792
+ ```
793
+
794
+ Use `direction: "before"` to page backward, or omit `direction` to include the anchor group itself. Pages return `{ results, count, hasMore }` with continuation calls, and say when newer messages haven't been observed yet.
795
+
796
+ ### Search results
797
+
798
+ Search results are listed by date and share a 2,000-token text allowance, so long groups are shortened, starting at the line that best matches the query. Results already in the agent's context come back as short references, and lower-ranked hits fill the freed space. `limit` counts excerpts, not references, so `count` can exceed `limit`.
799
+
800
+ ### Storage requirements
801
+
802
+ Group IDs in search results include the record that holds them (`groupId@recordId`), so paging reads a single record. Groups indexed before this change still work, but page by scanning the thread's observation history. Paging needs a storage adapter that supports observation history filters, so upgrade it together with `@mastra/memory`. Convex users need to redeploy their Mastra server functions.
779
803
 
780
804
  ### Parameters
781
805
 
782
- **mode** (`'messages' | 'threads' | 'search'`): What to retrieve. "messages" (default) pages through message history. "threads" lists all threads for the current user. "search" finds messages by semantic similarity across all threads (requires vector store and embedder). (Default: `'messages'`)
806
+ **mode** (`'messages' | 'threads' | 'search' | 'observations'`): What to retrieve. "messages" (default) pages through message history. "threads" lists threads for the current user. "search" finds messages by semantic similarity (requires vector store and embedder). "observations" pages original observation groups around a search hit. (Default: `'messages'`)
807
+
808
+ **groupId** (`string`): Required for observations mode. Copy the observation group ID exactly from a search result or continuation call. IDs shown as groupId\@recordId let paging read the record directly; a plain group ID also works.
809
+
810
+ **direction** (`'before' | 'after'`): For observations mode: return groups strictly before or after the anchor group. Omit to include the anchor and following groups.
783
811
 
784
812
  **query** (`string`): Search query for mode: "search". Finds messages semantically similar to this text across all threads for the current user.
785
813
 
@@ -791,7 +819,7 @@ Mastra also injects scope-aware usage instructions into the agent's context. For
791
819
 
792
820
  **page** (`number`): Pagination offset. For messages: positive values page forward from cursor, negative values page backward. For threads: page number (0-indexed). 0 is treated as 1 for messages. (Default: `1`)
793
821
 
794
- **limit** (`number`): Maximum number of items to return per page. (Default: `20`)
822
+ **limit** (`number`): Page size, from 1 to 20. Defaults to 20 for messages and 5 groups for observations. Search defaults to 10 excerpts, plus compact references for evidence already in context. Bounded backfill can return fewer excerpts. (Default: `20`)
795
823
 
796
824
  **detail** (`'low' | 'high'`): Controls how much content is shown per message part. 'low' shows truncated text and tool names with positional indices (\[p0], \[p1]). 'high' shows full content including tool arguments and results, clamped to one part per call with continuation hints. Image and file parts show their filename, media type, and stored URL or provider file ID so the agent can reuse the attachment. Inline file data such as base64 or data URIs is omitted. Pass viewAttachment with cursor and partIndex to send inline attachment data to the model. (Default: `'low'`)
797
825
 
@@ -805,9 +833,9 @@ Mastra also injects scope-aware usage instructions into the agent's context. For
805
833
 
806
834
  **viewAttachment** (`boolean`): Show the attachment itself rather than only describing it. Requires cursor and partIndex, and applies when that part is an image or file. Inline data such as base64 or data URIs is sent as a native media part. Attachments stored as remote URLs or provider file IDs, media types outside image/\* and application/pdf, and oversized payloads come back as an explanation instead. (Default: `false`)
807
835
 
808
- **before** (`string`): For mode: "threads" only. Filter to threads created before this date. Accepts ISO 8601 format (e.g. "2026-03-15", "2026-03-10T00:00:00Z").
836
+ **before** (`string`): Filter to threads created before this date in threads mode, or observations dated before it in search mode. Accepts ISO 8601 format (e.g. "2026-03-15", "2026-03-10T00:00:00Z").
809
837
 
810
- **after** (`string`): For mode: "threads" only. Filter to threads created after this date. Accepts ISO 8601 format (e.g. "2026-03-01", "2026-03-10T00:00:00Z").
838
+ **after** (`string`): Filter to threads created after this date in threads mode, or observations dated after it in search mode. Accepts ISO 8601 format (e.g. "2026-03-01", "2026-03-10T00:00:00Z").
811
839
 
812
840
  ### Returns (messages mode)
813
841
 
@@ -849,9 +877,9 @@ Mastra also injects scope-aware usage instructions into the agent's context. For
849
877
 
850
878
  ### Returns (search mode)
851
879
 
852
- **results** (`string`): Formatted search results grouped by thread. Each result shows the thread title, thread ID, relevance score, message preview, and a cursor ID for browsing into that thread.
880
+ **results** (`string`): Search hits displayed by observation date, with excerpts or compact references for evidence already in context. Full entries include thread details, a relevance score, an observation group ID, and source message ranges.
853
881
 
854
- **count** (`number`): Number of matching messages found.
882
+ **count** (`number`): Number of displayed observation groups, including compact references. Can exceed limit when search fills covered hits with additional excerpts.
855
883
 
856
884
  ### ModelByInputTokens
857
885
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/mcp-docs-server",
3
- "version": "1.3.4-alpha.2",
3
+ "version": "1.3.5-alpha.1",
4
4
  "description": "MCP server for accessing Mastra.ai documentation, changelogs, and news.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -26,8 +26,8 @@
26
26
  "@mastra/mcp-legacy": "npm:@mastra/mcp@^1.18.0",
27
27
  "local-pkg": "^1.1.2",
28
28
  "zod": "^4.6.4",
29
- "@mastra/mcp": "^2.1.2",
30
- "@mastra/core": "1.73.1-alpha.1"
29
+ "@mastra/core": "1.75.0-alpha.0",
30
+ "@mastra/mcp": "^2.1.2"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@hono/node-server": "^2.0.0",
@@ -43,9 +43,9 @@
43
43
  "tsx": "^4.23.1",
44
44
  "typescript": "^7.0.2",
45
45
  "vitest": "4.1.11",
46
- "@mastra/core": "1.73.1-alpha.1",
47
- "@internal/lint": "0.0.139",
48
- "@internal/types-builder": "0.0.114"
46
+ "@internal/lint": "0.0.140",
47
+ "@mastra/core": "1.75.0-alpha.0",
48
+ "@internal/types-builder": "0.0.115"
49
49
  },
50
50
  "homepage": "https://mastra.ai",
51
51
  "repository": {