@mastra/mcp-docs-server 1.3.3-alpha.1 → 1.3.3

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.
@@ -407,6 +407,10 @@ const handleResume = async () => {
407
407
  }
408
408
  ```
409
409
 
410
+ When a suspended or approval-gated tool call resumes, the stream emits a `tool-call-resumed` chunk with the same `toolCallId` before the call's `tool-result`. Its `payload.kind` is `'suspension'` or `'approval'`, and the payload repeats the original `args`, `suspendPayload`, and `resumeSchema`. The chunk is only emitted when a real suspension or approval request is cleared.
411
+
412
+ With `@mastra/ai-sdk`, it arrives as a `data-tool-call-suspended` part (or `data-tool-call-approval` part for approvals) with `resumed: true`, which replaces the original part and keeps its payload. Use this signal to mark a question as answered. Don't infer it from the shape of the tool output: when the suspension came from a sub-agent, the output of the delegation call is the sub-agent's result, not your answer.
413
+
410
414
  ## Automatic tool resumption
411
415
 
412
416
  When using tools that call `suspend()`, you can enable automatic resumption so the agent resumes suspended tools based on the user's next message. Set `autoResumeSuspendedTools` to `true` in the agent's default options or per-request:
@@ -4,44 +4,54 @@
4
4
 
5
5
  # Alerts
6
6
 
7
- Alerts notify your team when a deploy fails or a running service stops. You configure alerts at the organization level, then choose which projects and environments each alert covers.
7
+ Alerts notify your team when a deploy fails, a running service stops or stops responding, or organization usage crosses a plan threshold. You configure alerts at the organization level, then choose which projects and environments each alert covers.
8
8
 
9
9
  Organization admins can create and manage alerts. Other organization roles have read-only access to the alert settings.
10
10
 
11
11
  Open the [Mastra platform dashboard](https://projects.mastra.ai), go to your organization settings, then select **Alerts**. The page has three tabs:
12
12
 
13
13
  - **Alerts** lists each alert with its scope, destinations, status, and enable or pause switch.
14
- - **Destinations** lists the Slack channels, email groups, and webhook endpoints that can receive notifications.
14
+ - **Destinations** lists the Slack channels, Discord channels, Microsoft Teams channels, email groups, webhook endpoints, PagerDuty services, and incident.io alert sources that can receive notifications.
15
15
  - **Activity** shows incidents and the notification attempts associated with them.
16
16
 
17
17
  ## Add a destination
18
18
 
19
19
  A destination defines where Mastra sends notifications. Add at least one destination before creating an alert.
20
20
 
21
- | Destination | Configuration |
22
- | ----------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- |
23
- | **Slack** | Connect a Slack workspace and select one or more channels. Mastra creates a separate destination for each selected channel. |
24
- | **Email** | Select organization roles, individual members, or up to 10 email addresses. Role-based recipient groups update when organization membership changes. |
25
- | **Webhook** | Enter an HTTPS endpoint. Mastra signs each request and shows the signing secret once after the destination is created. |
21
+ | Destination | Configuration |
22
+ | ------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- |
23
+ | **Slack** | Connect a Slack workspace and select one or more channels. Mastra creates a separate destination for each selected channel. |
24
+ | **Discord** | Enter a Discord channel webhook URL. See [Send alerts to Discord](#send-alerts-to-discord). |
25
+ | **Microsoft Teams** | Enter the URL of a Teams workflow that posts to a channel. See [Send alerts to Microsoft Teams](#send-alerts-to-microsoft-teams). |
26
+ | **Email** | Select organization roles, individual members, or up to 10 email addresses. Role-based recipient groups update when organization membership changes. |
27
+ | **Webhook** | Enter an HTTPS endpoint. Mastra signs each request and shows the signing secret once after the destination is created. |
28
+ | **PagerDuty** | Enter the integration key of a PagerDuty Events API v2 integration. See [Send alerts to PagerDuty](#send-alerts-to-pagerduty). |
29
+ | **Incident.io** | Enter the alert source config ID and token of an incident.io HTTP alert source. See [Send alerts to incident.io](#send-alerts-to-incidentio). |
26
30
 
27
31
  1. On the **Destinations** tab, select **Add destination**.
28
32
 
29
- 2. Select **Slack**, **Email**, or **Webhook**, then enter a name for the destination.
33
+ 2. Select **Slack**, **Discord**, **Microsoft Teams**, **Email**, **Webhook**, **PagerDuty**, or **Incident.io**, then enter a name for the destination.
30
34
 
31
35
  3. Configure the selected destination:
32
36
 
33
37
  - For Slack, connect or select a workspace and choose the channels that should receive alerts. The Mastra Alerts app joins public channels automatically. Invite `@Mastra Alerts` before selecting a private channel.
38
+ - For Discord, enter the channel's webhook URL.
39
+ - For Microsoft Teams, enter the workflow's webhook URL.
34
40
  - For email, choose **All organization members**, one or more roles, individual members, or external email addresses.
35
41
  - For a webhook, enter an endpoint that starts with `https://`.
42
+ - For PagerDuty, enter the **Integration key**.
43
+ - For incident.io, enter the **Alert source config ID** and **Token**.
36
44
 
37
45
  4. Select **Create destination**. For a webhook destination, copy the signing secret before closing the page. The secret can't be shown again.
38
46
 
39
- The destination form changes based on the selected type. Slack destinations require a workspace and at least one channel. Email destinations require at least one recipient, which can be an organization role, a member, or an external address. Webhook destinations require an HTTPS endpoint. Every destination also requires a name that identifies it in alert configuration and activity history.
47
+ The destination form changes based on the selected type. Slack destinations require a workspace and at least one channel. Discord and Microsoft Teams destinations require a webhook URL. Email destinations require at least one recipient, which can be an organization role, a member, or an external address. Webhook destinations require an HTTPS endpoint. PagerDuty and incident.io destinations require the credentials from their integration. Every destination also requires a name that identifies it in alert configuration and activity history.
40
48
 
41
49
  Use the destination's actions menu to send a test notification. You can also edit, pause, or delete a destination. Pausing a destination stops notifications without removing it from existing alerts.
42
50
 
43
51
  For webhook destinations, **Rotate secret** replaces the current signing secret immediately. Update the receiving endpoint with the new secret before sending another alert.
44
52
 
53
+ Discord and Microsoft Teams webhook URLs contain their own credentials, so Mastra stores them encrypted and shows only the last four characters after the destination is created. To rotate the URL, edit the destination and paste a new one. Leaving the URL field blank keeps the stored URL.
54
+
45
55
  ## Create an alert
46
56
 
47
57
  An alert combines triggers, scope, destinations, and repeat-alert pacing.
@@ -55,6 +65,8 @@ An alert combines triggers, scope, destinations, and repeat-alert pacing.
55
65
  - **Deploy failed**: A build or deploy doesn't reach a running state.
56
66
  - **Service crashed**: A running service exhausts its restart policy and stops.
57
67
  - **Service out of memory**: A service is stopped after running out of memory.
68
+ - **Service unreachable**: A deployed service fails 3 health checks in a row.
69
+ - **Usage threshold crossed**: Organization usage crosses a plan threshold or reaches its limit. This trigger is organization-wide, so it requires the **All projects** scope.
58
70
 
59
71
  4. Set the alert scope to **All projects** or **Specific projects**. When you select specific projects, you can narrow the scope to individual environments. Leaving the environment selection empty includes every environment in that project.
60
72
 
@@ -78,6 +90,235 @@ Open an alert's actions menu to:
78
90
 
79
91
  ## Review alert activity
80
92
 
81
- The **Activity** tab groups each incident with its delivery attempts. An incident stays **Open** while the condition is active and changes to **Resolved** after the service or deploy recovers.
93
+ The **Activity** tab groups each incident with its delivery attempts. An incident stays **Open** while the condition is active and changes to **Resolved** after the service or deploy recovers, except for usage threshold incidents, which don't resolve automatically.
94
+
95
+ Expand an incident to inspect the notification sent to each destination. Each incident row shows when the event occurred, the event type, its project or environment scope, and its current status. Nested delivery rows show the trigger, destination, and delivery status for each notification attempt. Delivery attempts can be **Scheduled**, **Sent**, **Suppressed**, **Retrying**, **Exhausted**, or **Config error**. Use the activity filter to show all activity, incidents only, or delivery attempts only.
96
+
97
+ ## Send alerts to Discord
98
+
99
+ A Discord destination posts an embed to a channel through a Discord webhook. A triggered incident posts a red embed, and a recovery posts a separate green **Resolved** embed. Discord webhooks can't update earlier messages, so the resolved notice is a new message rather than an edit.
100
+
101
+ 1. In Discord, open the channel that should receive alerts, then select **Edit Channel**, **Integrations**, **Webhooks**, and **New Webhook**. Copy the webhook URL. See [Intro to Webhooks](https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks) in the Discord documentation.
102
+
103
+ 2. In Mastra, add a destination, select **Discord**, and paste the URL into **Webhook URL**. The URL must have the form `https://discord.com/api/webhooks/<id>/<token>`.
104
+
105
+ 3. Send a test notification from the destination's actions menu.
106
+
107
+ The embed shows the event and project in its title, which links to the deployment logs, followed by the error excerpt and the environment, branch, and error code when the event includes them. If Discord rejects the webhook URL, the delivery shows **Config error**.
108
+
109
+ ## Send alerts to Microsoft Teams
110
+
111
+ A Microsoft Teams destination posts an Adaptive Card to a channel through a Teams workflow. A triggered incident posts a red card, and a recovery posts a separate green **Resolved** card.
112
+
113
+ 1. In Teams, open the channel that should receive alerts, select **More options** and then **Workflows**, and choose the template **Send webhook alerts to a channel**. Select the team and channel, create the workflow, then copy the workflow URL. See [Create incoming webhooks with Workflows](https://support.microsoft.com/en-us/office/create-incoming-webhooks-with-workflows-for-microsoft-teams-8ae491c7-0394-4861-ba59-055e33f75498) in the Microsoft documentation.
114
+
115
+ 2. In Mastra, add a destination, select **Microsoft Teams**, and paste the URL into **Webhook URL**.
116
+
117
+ 3. Send a test notification from the destination's actions menu.
118
+
119
+ Microsoft retired classic Office 365 connectors, so use a Teams workflow rather than the older **Incoming Webhook** connector. Mastra still accepts legacy `webhook.office.com` URLs for tenants that haven't migrated.
120
+
121
+ The card shows the event and project in its title, followed by the environment, branch, and error code when the event includes them, the error excerpt, and a button that opens the deployment logs. If Teams rejects the workflow URL, the delivery shows **Config error**.
122
+
123
+ ## Send alerts to PagerDuty
124
+
125
+ A PagerDuty destination sends events to the PagerDuty Events API v2. Each Mastra incident opens one PagerDuty incident, and PagerDuty resolves it when the Mastra incident resolves.
126
+
127
+ 1. In PagerDuty, open the service that should receive alerts. On its **Integrations** tab, add an **Events API V2** integration and copy its **Integration Key**. See [Services and integrations](https://support.pagerduty.com/main/docs/services-and-integrations) in the PagerDuty documentation.
128
+
129
+ 2. In Mastra, add a destination, select **PagerDuty**, and paste the key into **Integration key**.
130
+
131
+ 3. Send a test notification from the destination's actions menu. The test opens an incident with `info` severity in PagerDuty. Resolve it in PagerDuty.
132
+
133
+ Mastra maps its notifications to PagerDuty events as follows:
134
+
135
+ | PagerDuty field | Value |
136
+ | ------------------------ | -------------------------------------------------------------------------------------------------- |
137
+ | `event_action` | `trigger` for a new or repeated notification, `resolve` for a recovery |
138
+ | `dedup_key` | The Mastra incident ID. Repeated notifications for the same incident update one PagerDuty incident |
139
+ | `payload.summary` | A one-line description, for example `Deploy failed on support-agent (production): Build failed` |
140
+ | `payload.severity` | The Mastra severity: `critical`, `error`, `warning`, or `info` |
141
+ | `payload.source` | `mastra:<project>/<environment>` |
142
+ | `payload.custom_details` | The event data described in [Webhook payload](#webhook-payload) |
143
+
144
+ Changes made in PagerDuty, such as acknowledging or resolving an incident, don't update the Mastra incident. If PagerDuty rejects the integration key, the delivery shows **Config error**.
145
+
146
+ ## Send alerts to incident.io
147
+
148
+ An incident.io destination sends alert events to an incident.io HTTP alert source. Each Mastra incident creates one alert in incident.io, and the alert resolves when the Mastra incident resolves.
149
+
150
+ 1. In incident.io, create an HTTP alert source with the **Default** source type. Mastra sends events in the incident.io alert event format, so a custom transform isn't needed. See [Create an alert event](https://docs.incident.io/api-reference/alert-events-v2/create) in the incident.io documentation.
151
+
152
+ 2. Copy the alert source config ID and the bearer token from the source's authorization header. The ID is the last segment of the alert events URL, `https://api.incident.io/v2/alert_events/http/<alert-source-config-id>`.
153
+
154
+ 3. In Mastra, add a destination and select **Incident.io**. Paste the ID, or the full alert events URL, into **Alert source config ID**, and the token into **Token**.
155
+
156
+ 4. Send a test notification from the destination's actions menu. The test creates a firing alert in incident.io.
157
+
158
+ Mastra sends these fields to incident.io:
159
+
160
+ | incident.io field | Value |
161
+ | ------------------- | --------------------------------------------------------------------------------------- |
162
+ | `status` | `firing` for a new or repeated notification, `resolved` for a recovery |
163
+ | `deduplication_key` | The Mastra incident ID |
164
+ | `title` | A one-line description of the event |
165
+ | `description` | The error message, when the event has one |
166
+ | `metadata` | The event data plus `source`, `event_type`, `severity`, `project_id`, and `environment` |
167
+
168
+ Use the `metadata` fields in alert attributes and routing rules. Changes made in incident.io don't update the Mastra incident, and if incident.io rejects the token or alert source ID, the delivery shows **Config error**.
169
+
170
+ ## Receive webhook notifications
171
+
172
+ A webhook destination receives an HTTP `POST` request with a JSON body for each notification. Use a webhook to connect a tool that Mastra doesn't integrate with directly.
173
+
174
+ ### Webhook payload
175
+
176
+ The following example shows a failed deploy:
177
+
178
+ ```json
179
+ {
180
+ "id": "deploy.failed:dep_8c2f1a:triggered",
181
+ "version": "2026-09-01",
182
+ "type": "deploy.failed",
183
+ "createdAt": "2026-09-24T14:03:11.000Z",
184
+ "fingerprint": "deploy.failed|prj_41d9e2|server|production",
185
+ "severity": "error",
186
+ "status": "triggered",
187
+ "summary": "Deploy failed on support-agent (production): Build failed",
188
+ "source": "mastra",
189
+ "data": {
190
+ "deployId": "dep_8c2f1a",
191
+ "projectName": "support-agent",
192
+ "gitBranch": "main",
193
+ "error": "Build failed",
194
+ "errorCode": "BUILD_FAILED",
195
+ "errorCategory": "build",
196
+ "deployUrl": "https://projects.mastra.ai/..."
197
+ },
198
+ "links": []
199
+ }
200
+ ```
201
+
202
+ | Field | Description |
203
+ | ------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
204
+ | `id` | Notification ID. Stays the same when Mastra retries the same notification |
205
+ | `version` | Payload version. The current version is `2026-09-01` |
206
+ | `type` | Event type. See the table below |
207
+ | `createdAt` | ISO 8601 time when the event occurred |
208
+ | `fingerprint` | Identifies the incident the notification belongs to. Notifications for the same failing deploy target or service share a fingerprint |
209
+ | `severity` | `critical`, `error`, `warning`, or `info`. These values match PagerDuty severities |
210
+ | `status` | `triggered` for a new or repeated notification, `resolved` when the incident recovers |
211
+ | `summary` | One-line description of the event |
212
+ | `source` | Always `mastra` |
213
+ | `data` | Event-specific details. Fields vary by event type |
214
+ | `links` | Related links, each with `href` and `text`. Can be empty |
215
+
216
+ The `type` field has one of these values:
217
+
218
+ | Type | Trigger | Common `data` fields |
219
+ | ------------------------- | --------------------------- | ------------------------------------------------------------------------------------------ |
220
+ | `deploy.failed` | **Deploy failed** | `deployId`, `projectName`, `gitBranch`, `error`, `errorCode`, `errorCategory`, `deployUrl` |
221
+ | `service.crashed` | **Service crashed** | Same as `deploy.failed` |
222
+ | `service.oom` | **Service out of memory** | Same as `deploy.failed` |
223
+ | `service.unreachable` | **Service unreachable** | `projectName`, `probeUrl`, `error`, `consecutiveFailures` |
224
+ | `billing.usage_threshold` | **Usage threshold crossed** | `featureId`, `featureLabel`, `thresholdDisplay`, `error` |
225
+
226
+ Crash, out-of-memory, and unreachable events for the same service share a fingerprint, so one outage produces one incident. Usage threshold incidents don't send a `resolved` notification.
227
+
228
+ Test notifications use `type: "deploy.failed"`, `severity: "info"`, and include `"test": true` in `data`.
229
+
230
+ ### Request headers
231
+
232
+ | Header | Value |
233
+ | -------------------------- | ------------------------------------------------------------------------------------------ |
234
+ | `content-type` | `application/json` |
235
+ | `user-agent` | `Mastra-Alerts/1.0` |
236
+ | `x-mastra-signature` | Signature of the request body. See [Verify webhook signatures](#verify-webhook-signatures) |
237
+ | `x-mastra-idempotency-key` | Same value as the payload `id` |
238
+
239
+ ### Verify webhook signatures
240
+
241
+ Verify the signature before you trust a request. The `x-mastra-signature` header has this format:
242
+
243
+ ```text
244
+ t=1790258591,v1=5f0c9d3e...
245
+ ```
246
+
247
+ `t` is the Unix time in seconds when Mastra signed the request. `v1` is a hex-encoded HMAC-SHA256 of the string `<t>.<raw request body>`, using the destination's signing secret as the key.
248
+
249
+ To verify a request:
250
+
251
+ 1. Read the raw request body before parsing it as JSON. Parsing and serializing the body again can change it.
252
+ 2. Compute the HMAC of `<t>.<raw body>` and compare it with `v1` using a constant-time comparison.
253
+ 3. Reject requests where `t` is more than a few minutes old to prevent replayed requests.
254
+
255
+ **Node.js**:
256
+
257
+ ```typescript
258
+ import { createHmac, timingSafeEqual } from 'node:crypto'
259
+
260
+ const TOLERANCE_SECONDS = 300
261
+
262
+ export function verifyMastraSignature(
263
+ rawBody: string,
264
+ signatureHeader: string,
265
+ signingSecret: string,
266
+ ): boolean {
267
+ const parts = new Map(signatureHeader.split(',').map(part => part.split('=') as [string, string]))
268
+ const timestamp = Number(parts.get('t'))
269
+ const signature = parts.get('v1')
270
+ if (!Number.isInteger(timestamp) || !signature || !/^[0-9a-f]{64}$/.test(signature)) return false
271
+ if (Math.abs(Date.now() / 1000 - timestamp) > TOLERANCE_SECONDS) return false
272
+
273
+ const expected = createHmac('sha256', signingSecret)
274
+ .update(`${timestamp}.${rawBody}`)
275
+ .digest('hex')
276
+ const expectedBytes = Buffer.from(expected, 'hex')
277
+ const signatureBytes = Buffer.from(signature, 'hex')
278
+ return (
279
+ expectedBytes.length === signatureBytes.length && timingSafeEqual(expectedBytes, signatureBytes)
280
+ )
281
+ }
282
+ ```
283
+
284
+ **Python**:
285
+
286
+ ```python
287
+ import hashlib
288
+ import hmac
289
+ import time
290
+
291
+ TOLERANCE_SECONDS = 300
292
+
293
+ def verify_mastra_signature(raw_body: bytes, signature_header: str, signing_secret: str) -> bool:
294
+ parts = dict(part.partition("=")[::2] for part in signature_header.split(","))
295
+ try:
296
+ timestamp = int(parts["t"])
297
+ signature = parts["v1"]
298
+ except (KeyError, ValueError):
299
+ return False
300
+ if abs(time.time() - timestamp) > TOLERANCE_SECONDS:
301
+ return False
302
+
303
+ expected = hmac.new(
304
+ signing_secret.encode(),
305
+ f"{timestamp}.".encode() + raw_body,
306
+ hashlib.sha256,
307
+ ).hexdigest()
308
+ return hmac.compare_digest(expected, signature)
309
+ ```
310
+
311
+ Return a `401` status for a request that fails verification. After you rotate a destination's secret, requests are signed with the new secret immediately.
312
+
313
+ ### Retries and duplicate notifications
314
+
315
+ Mastra treats any `2xx` response as delivered and doesn't retry it. Persist or durably enqueue the notification before responding, and return a `5xx` response if that step fails so Mastra retries the delivery. Respond within 10 seconds and process the notification after responding if the work takes longer. Mastra doesn't follow redirects.
316
+
317
+ When a request fails, Mastra retries based on the response:
318
+
319
+ - **`4xx` response:** Mastra stops and marks the delivery **Config error**. Fix the endpoint, then use **Test** on the destination to confirm it works.
320
+ - **`5xx` response, timeout, or network error:** Mastra retries twice within a few seconds. If those requests also fail, the delivery shows **Retrying** and Mastra tries again after about 30 seconds, doubling the wait each time up to 15 minutes. After 6 failed attempts, the delivery shows **Exhausted**.
321
+
322
+ Discord, Microsoft Teams, PagerDuty, and incident.io destinations follow the same schedule. For those destinations, Mastra also retries `408` and `429` responses.
82
323
 
83
- Expand an incident to inspect the notification sent to each destination. Each incident row shows when the event occurred, the event type, its project or environment scope, and its current status. Nested delivery rows show the trigger, destination, and delivery status for each notification attempt. Delivery attempts can be **Scheduled**, **Sent**, **Suppressed**, **Retrying**, **Exhausted**, or **Config error**. Use the activity filter to show all activity, incidents only, or delivery attempts only.
324
+ Retries can deliver the same notification more than once. Store the `x-mastra-idempotency-key` value of each processed request and skip requests with a key you've already seen. Use `fingerprint` to group notifications that belong to the same incident.
@@ -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 394 models through Mastra's model router.
7
+ Vercel aggregates models from multiple providers with enhanced features like rate limiting and failover. Access 396 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
 
@@ -400,6 +400,8 @@ ANTHROPIC_API_KEY=ant-...
400
400
  | `thinkingmachines/inkling-small` |
401
401
  | `voyage/rerank-2.5` |
402
402
  | `voyage/rerank-2.5-lite` |
403
+ | `voyage/rerank-3` |
404
+ | `voyage/rerank-3-lite` |
403
405
  | `voyage/voyage-3-large` |
404
406
  | `voyage/voyage-3.5` |
405
407
  | `voyage/voyage-3.5-lite` |
@@ -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 7713 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 7725 models from 212 providers through a single API.
8
8
 
9
9
  ## Features
10
10
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![302.AI logo](https://models.dev/logos/302ai.svg)302.AI
6
6
 
7
- Access 121 302.AI models through Mastra's model router. Authentication is handled automatically using the `302AI_API_KEY` environment variable.
7
+ Access 122 302.AI models through Mastra's model router. Authentication is handled automatically using the `302AI_API_KEY` environment variable.
8
8
 
9
9
  Learn more in the [302.AI documentation](https://doc.302.ai).
10
10
 
@@ -56,6 +56,7 @@ for await (const chunk of stream) {
56
56
  | `302ai/claude-sonnet-4-6` | 1.0M | | | | | | $3 | $15 |
57
57
  | `302ai/claude-sonnet-4-6-thinking` | 1.0M | | | | | | $3 | $15 |
58
58
  | `302ai/claude-sonnet-5` | 1.0M | | | | | | $2 | $10 |
59
+ | `302ai/claude-sonnet-5-5` | 1.0M | | | | | | $2 | $10 |
59
60
  | `302ai/deepseek-flash` | 1.0M | | | | | | $0.15 | $0.60 |
60
61
  | `302ai/deepseek-v3.2` | 128K | | | | | | $0.29 | $0.43 |
61
62
  | `302ai/deepseek-v3.2-thinking` | 128K | | | | | | $0.29 | $0.43 |
@@ -48,10 +48,10 @@ for await (const chunk of stream) {
48
48
  | `crossmodel/anthropic/claude-sonnet-4-6` | 1.0M | | | | | | $3 | $15 |
49
49
  | `crossmodel/anthropic/claude-sonnet-5` | 1.0M | | | | | | $2 | $10 |
50
50
  | `crossmodel/anthropic/claude-sonnet-5-5` | 1.0M | | | | | | $2 | $10 |
51
- | `crossmodel/deepseek/deepseek-v4-flash` | 1.0M | | | | | | $0.27 | $1 |
52
- | `crossmodel/deepseek/deepseek-v4-flash-vision-exp` | 1.0M | | | | | | $0.27 | $1 |
51
+ | `crossmodel/deepseek/deepseek-v4-flash` | 1.0M | | | | | | $0.30 | $1 |
52
+ | `crossmodel/deepseek/deepseek-v4-flash-vision-exp` | 1.0M | | | | | | $0.30 | $1 |
53
53
  | `crossmodel/deepseek/deepseek-v4-pro` | 1.0M | | | | | | $1 | $4 |
54
- | `crossmodel/deepseek/deepseek-v4.1-flash` | 1.0M | | | | | | $0.27 | $1 |
54
+ | `crossmodel/deepseek/deepseek-v4.1-flash` | 1.0M | | | | | | $0.30 | $1 |
55
55
  | `crossmodel/gemini/gemini-2.5-flash` | 1.0M | | | | | | $0.30 | $3 |
56
56
  | `crossmodel/gemini/gemini-2.5-flash-lite` | 1.0M | | | | | | $0.10 | $0.40 |
57
57
  | `crossmodel/gemini/gemini-2.5-pro` | 1.0M | | | | | | $1 | $10 |
@@ -55,7 +55,7 @@ for await (const chunk of stream) {
55
55
  | `deepinfra/google/gemma-4-26B-A4B-it` | 262K | | | | | | $0.07 | $0.34 |
56
56
  | `deepinfra/google/gemma-4-31B-it` | 262K | | | | | | $0.13 | $0.38 |
57
57
  | `deepinfra/google/gemma-4-E4B-it` | 131K | | | | | | $0.02 | $0.10 |
58
- | `deepinfra/meta-llama/Llama-3.3-70B-Instruct-Turbo` | 131K | | | | | | $0.10 | $0.32 |
58
+ | `deepinfra/meta-llama/Llama-3.3-70B-Instruct-Turbo` | 66K | | | | | | $0.10 | $0.32 |
59
59
  | `deepinfra/meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8` | 1.0M | | | | | | $0.20 | $0.80 |
60
60
  | `deepinfra/meta-llama/Llama-4-Scout-17B-16E-Instruct` | 328K | | | | | | $0.10 | $0.30 |
61
61
  | `deepinfra/MiniMaxAI/MiniMax-M3` | 524K | | | | | | $0.28 | $1 |
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![DigitalOcean logo](https://models.dev/logos/digitalocean.svg)DigitalOcean
6
6
 
7
- Access 101 DigitalOcean models through Mastra's model router. Authentication is handled automatically using the `DIGITALOCEAN_ACCESS_TOKEN` environment variable.
7
+ Access 102 DigitalOcean models through Mastra's model router. Authentication is handled automatically using the `DIGITALOCEAN_ACCESS_TOKEN` environment variable.
8
8
 
9
9
  Learn more in the [DigitalOcean documentation](https://docs.digitalocean.com/products/gradient-ai-platform/details/models/).
10
10
 
@@ -115,6 +115,7 @@ for await (const chunk of stream) {
115
115
  | `digitalocean/openai-gpt-5.6-luna` | 1.1M | | | | | | $0.20 | $1 |
116
116
  | `digitalocean/openai-gpt-5.6-sol` | 1.1M | | | | | | $4 | $20 |
117
117
  | `digitalocean/openai-gpt-5.6-terra` | 1.1M | | | | | | $2 | $12 |
118
+ | `digitalocean/openai-gpt-6-1-sol` | 1.1M | | | | | | $2 | $10 |
118
119
  | `digitalocean/openai-gpt-6-astra` | 1.1M | | | | | | $10 | $50 |
119
120
  | `digitalocean/openai-gpt-6-luna` | 1.1M | | | | | | $0.10 | $0.50 |
120
121
  | `digitalocean/openai-gpt-6-sol` | 1.1M | | | | | | $2 | $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` | 131K | | | | | | $0.10 | $0.32 |
117
+ | `edenai/deepinfra/meta-llama/Llama-3.3-70B-Instruct` | 66K | | | | | | $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 |
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![GMI Cloud logo](https://models.dev/logos/gmicloud.svg)GMI Cloud
6
6
 
7
- Access 15 GMI Cloud models through Mastra's model router. Authentication is handled automatically using the `GMICLOUD_API_KEY` environment variable.
7
+ Access 17 GMI Cloud models through Mastra's model router. Authentication is handled automatically using the `GMICLOUD_API_KEY` environment variable.
8
8
 
9
9
  Learn more in the [GMI Cloud documentation](https://docs.gmicloud.ai).
10
10
 
@@ -50,6 +50,8 @@ for await (const chunk of stream) {
50
50
  | `gmicloud/moonshotai/kimi-k2.7-code-highspeed` | 262K | | | | | | $2 | $8 |
51
51
  | `gmicloud/openai/gpt-5.5` | 1.1M | | | | | | $5 | $30 |
52
52
  | `gmicloud/Qwen/Qwen3.7-Max` | 1.0M | | | | | | $3 | $8 |
53
+ | `gmicloud/Qwen/Qwen3.8-Flash` | 1.0M | | | | | | $0.16 | $0.47 |
54
+ | `gmicloud/Qwen/Qwen3.8-Max` | 262K | | | | | | $2 | $6 |
53
55
  | `gmicloud/zai-org/GLM-5-FP8` | 203K | | | | | | $0.60 | $2 |
54
56
  | `gmicloud/zai-org/GLM-5.1-FP8` | 203K | | | | | | $0.98 | $3 |
55
57
  | `gmicloud/zai-org/GLM-5.2-FP8` | 1.0M | | | | | | $0.98 | $3 |
@@ -43,11 +43,11 @@ for await (const chunk of stream) {
43
43
  | `kilo/~anthropic/claude-opus-latest` | 1.0M | | | | | | $4 | $20 |
44
44
  | `kilo/~anthropic/claude-sonnet-latest` | 1.0M | | | | | | $2 | $10 |
45
45
  | `kilo/~deepseek/deepseek-flash-latest` | 1.0M | | | | | | $0.02 | $0.40 |
46
- | `kilo/~deepseek/deepseek-pro-latest` | 1.0M | | | | | | $0.12 | $4 |
47
- | `kilo/~deepseek/deepseek-v4-flash-latest` | 1.0M | | | | | | $0.01 | $0.13 |
46
+ | `kilo/~deepseek/deepseek-pro-latest` | 1.0M | | | | | | $0.29 | $4 |
47
+ | `kilo/~deepseek/deepseek-v4-flash-latest` | 1.0M | | | | | | $0.00 | $0.13 |
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.37 | $9 |
50
+ | `kilo/~moonshotai/kimi-latest` | 1.0M | | | | | | $0.58 | $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 |
@@ -140,7 +140,7 @@ for await (const chunk of stream) {
140
140
  | `kilo/google/gemma-3-27b-it` | 131K | | | | | | $0.08 | $0.16 |
141
141
  | `kilo/google/gemma-3-4b-it` | 131K | | | | | | $0.05 | $0.10 |
142
142
  | `kilo/google/gemma-4-26b-a4b-it` | 262K | | | | | | $0.04 | $0.22 |
143
- | `kilo/google/gemma-4-31b-it` | 262K | | | | | | $0.06 | $0.33 |
143
+ | `kilo/google/gemma-4-31b-it` | 262K | | | | | | $0.09 | $0.34 |
144
144
  | `kilo/google/lyria-3-clip-preview` | 1.0M | | | | | | — | — |
145
145
  | `kilo/google/lyria-3-pro-preview` | 1.0M | | | | | | — | — |
146
146
  | `kilo/gryphe/mythomax-l2-13b` | 4K | | | | | | $0.08 | $0.11 |
@@ -167,7 +167,7 @@ for await (const chunk of stream) {
167
167
  | `kilo/meta-llama/llama-3.1-8b-instruct` | 131K | | | | | | $0.02 | $0.04 |
168
168
  | `kilo/meta-llama/llama-3.2-1b-instruct` | 60K | | | | | | $0.03 | $0.20 |
169
169
  | `kilo/meta-llama/llama-3.2-3b-instruct` | 131K | | | | | | $0.05 | $0.33 |
170
- | `kilo/meta-llama/llama-3.3-70b-instruct` | 131K | | | | | | $0.10 | $0.32 |
170
+ | `kilo/meta-llama/llama-3.3-70b-instruct` | 66K | | | | | | $0.10 | $0.32 |
171
171
  | `kilo/meta-llama/llama-4-maverick` | 128K | | | | | | $0.19 | $0.65 |
172
172
  | `kilo/meta-llama/llama-4-scout` | 328K | | | | | | $0.10 | $0.30 |
173
173
  | `kilo/meta-llama/llama-guard-4-12b` | 164K | | | | | | $0.18 | $0.18 |
@@ -212,7 +212,7 @@ for await (const chunk of stream) {
212
212
  | `kilo/moonshotai/kimi-k2.5` | 262K | | | | | | $0.60 | $3 |
213
213
  | `kilo/moonshotai/kimi-k2.6` | 262K | | | | | | $0.65 | $3 |
214
214
  | `kilo/moonshotai/kimi-k2.7-code` | 262K | | | | | | $0.67 | $3 |
215
- | `kilo/moonshotai/kimi-k3` | 1.0M | | | | | | $3 | $15 |
215
+ | `kilo/moonshotai/kimi-k3` | 1.0M | | | | | | $0.58 | $10 |
216
216
  | `kilo/morph/morph-v3-fast` | 82K | | | | | | $0.80 | $1 |
217
217
  | `kilo/morph/morph-v3-large` | 262K | | | | | | $0.90 | $2 |
218
218
  | `kilo/nex-agi/nex-n2.5-mini` | 262K | | | | | | $0.03 | $0.10 |
@@ -321,7 +321,7 @@ for await (const chunk of stream) {
321
321
  | `kilo/qwen/qwen3-235b-a22b` | 131K | | | | | | $0.46 | $2 |
322
322
  | `kilo/qwen/qwen3-235b-a22b-2507` | 262K | | | | | | $0.15 | $0.60 |
323
323
  | `kilo/qwen/qwen3-235b-a22b-thinking-2507` | 131K | | | | | | $0.23 | $2 |
324
- | `kilo/qwen/qwen3-30b-a3b` | 131K | | | | | | $0.13 | $0.52 |
324
+ | `kilo/qwen/qwen3-30b-a3b` | 41K | | | | | | $0.13 | $0.52 |
325
325
  | `kilo/qwen/qwen3-30b-a3b-instruct-2507` | 128K | | | | | | $0.13 | $0.52 |
326
326
  | `kilo/qwen/qwen3-30b-a3b-thinking-2507` | 82K | | | | | | $0.20 | $2 |
327
327
  | `kilo/qwen/qwen3-32b` | 41K | | | | | | $0.08 | $0.28 |
@@ -359,7 +359,7 @@ for await (const chunk of stream) {
359
359
  | `kilo/qwen/qwen3.7-max` | 1.0M | | | | | | $1 | $4 |
360
360
  | `kilo/qwen/qwen3.7-plus` | 1.0M | | | | | | $0.32 | $1 |
361
361
  | `kilo/qwen/qwen3.8-2.4t-a95b` | 1.0M | | | | | | $2 | $6 |
362
- | `kilo/qwen/qwen3.8-27b` | 262K | | | | | | $0.42 | $3 |
362
+ | `kilo/qwen/qwen3.8-27b` | 1.0M | | | | | | $0.42 | $3 |
363
363
  | `kilo/qwen/qwen3.8-27b:free` | 262K | | | | | | — | — |
364
364
  | `kilo/qwen/qwen3.8-flash` | 1.0M | | | | | | $0.15 | $0.47 |
365
365
  | `kilo/qwen/qwen3.8-max-0902` | 1.0M | | | | | | $2 | $6 |
@@ -413,7 +413,7 @@ for await (const chunk of stream) {
413
413
  | `kilo/x-ai/grok-build-0.1` | 256K | | | | | | $1 | $2 |
414
414
  | `kilo/xiaomi/mimo-v2.5` | 1.0M | | | | | | $0.14 | $0.28 |
415
415
  | `kilo/xiaomi/mimo-v2.5-pro` | 1.0M | | | | | | $0.43 | $0.87 |
416
- | `kilo/xiaomi/mimo-v2.6-flash` | 1.0M | | | | | | $0.14 | $0.28 |
416
+ | `kilo/xiaomi/mimo-v2.6-flash` | 1.0M | | | | | | $0.07 | $0.28 |
417
417
  | `kilo/xiaomi/mimo-v2.6-pro` | 1.0M | | | | | | $0.43 | $0.87 |
418
418
  | `kilo/xiaomi/mimo-v2.6-pro-ultraspeed` | 1.0M | | | | | | $4 | $9 |
419
419
  | `kilo/z-ai/glm-4.5` | 131K | | | | | | $0.60 | $2 |
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![LLM Gateway logo](https://models.dev/logos/llmgateway-providers.svg)LLM Gateway
6
6
 
7
- Access 432 LLM Gateway models through Mastra's model router. Authentication is handled automatically using the `LLMGATEWAY_API_KEY` environment variable.
7
+ Access 429 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
 
@@ -175,8 +175,7 @@ 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.13 | $0.27 |
179
- | `llmgateway-providers/consensusprotocol/deepseek-v4.1-flash` | 1.0M | | | | | | $0.20 | $0.60 |
178
+ | `llmgateway-providers/consensusprotocol/deepseek-v4.1-flash` | 1.0M | | | | | | $0.15 | $0.60 |
180
179
  | `llmgateway-providers/consensusprotocol/gemma-4-31b-it` | 262K | | | | | | $0.10 | $0.25 |
181
180
  | `llmgateway-providers/consensusprotocol/glm-5.3-flash` | 1.0M | | | | | | $0.10 | $0.25 |
182
181
  | `llmgateway-providers/consensusprotocol/gpt-oss-20b` | 66K | | | | | | $0.04 | $0.19 |
@@ -187,7 +186,6 @@ for await (const chunk of stream) {
187
186
  | `llmgateway-providers/deepinfra/deepseek-v4.1-flash` | 1.0M | | | | | | $0.20 | $0.60 |
188
187
  | `llmgateway-providers/deepinfra/gemma-4-26b-a4b-it` | 262K | | | | | | $0.07 | $0.34 |
189
188
  | `llmgateway-providers/deepinfra/gemma-4-31b-it` | 262K | | | | | | $0.15 | $0.40 |
190
- | `llmgateway-providers/deepinfra/glm-5.1` | 198K | | | | | | $1 | $4 |
191
189
  | `llmgateway-providers/deepinfra/granite-4.2-8b` | 131K | | | | | | $0.06 | $0.25 |
192
190
  | `llmgateway-providers/deepinfra/hy3` | 262K | | | | | | $0.14 | $0.58 |
193
191
  | `llmgateway-providers/deepinfra/inkling` | 524K | | | | | | $0.95 | $4 |
@@ -201,7 +199,6 @@ for await (const chunk of stream) {
201
199
  | `llmgateway-providers/deepinfra/qwen3-vl-30b-a3b-instruct` | 262K | | | | | | $0.15 | $0.60 |
202
200
  | `llmgateway-providers/deepinfra/qwen3.5-9b` | 262K | | | | | | $0.10 | $0.15 |
203
201
  | `llmgateway-providers/deepinfra/qwen3.8-2.4t-a95b` | 262K | | | | | | $2 | $6 |
204
- | `llmgateway-providers/deepinfra/step-3.7-flash` | 262K | | | | | | $0.20 | $1 |
205
202
  | `llmgateway-providers/deepseek/deepseek-v4-pro` | 1.1M | | | | | | $0.43 | $0.87 |
206
203
  | `llmgateway-providers/deepseek/deepseek-v4.1-flash` | 1.1M | | | | | | $0.15 | $0.60 |
207
204
  | `llmgateway-providers/embercloud/glm-4.5` | 131K | | | | | | $0.60 | $2 |
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![NanoGPT logo](https://models.dev/logos/nano-gpt.svg)NanoGPT
6
6
 
7
- Access 599 NanoGPT models through Mastra's model router. Authentication is handled automatically using the `NANO_GPT_API_KEY` environment variable.
7
+ Access 600 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
 
@@ -260,6 +260,7 @@ for await (const chunk of stream) {
260
260
  | `nano-gpt/inclusionai/ling-3.0-flash` | 262K | | | | | | $0.07 | $0.22 |
261
261
  | `nano-gpt/inclusionai/ling-3.0-flash-vl` | 262K | | | | | | $0.06 | $0.18 |
262
262
  | `nano-gpt/inclusionai/ling-3.0-flash:thinking` | 262K | | | | | | $0.07 | $0.22 |
263
+ | `nano-gpt/inclusionai/ling-3.1-flash` | 262K | | | | | | $0.07 | $0.22 |
263
264
  | `nano-gpt/inference-net/schematron-v2-small` | 128K | | | | | | $0.05 | $0.23 |
264
265
  | `nano-gpt/inference-net/schematron-v2-turbo` | 128K | | | | | | $0.03 | $0.15 |
265
266
  | `nano-gpt/inflatebot/MN-12B-Mag-Mell-R1` | 16K | | | | | | $0.49 | $0.49 |
@@ -629,7 +630,7 @@ for await (const chunk of stream) {
629
630
  | `nano-gpt/z-ai/glm-5.2` | 1.0M | | | | | | $0.42 | $1 |
630
631
  | `nano-gpt/z-ai/glm-5.2:thinking` | 1.0M | | | | | | $0.42 | $1 |
631
632
  | `nano-gpt/z-ai/glm-5.3` | 1.0M | | | | | | $1 | $3 |
632
- | `nano-gpt/z-ai/glm-5.3-flash` | 1.0M | | | | | | $0.07 | $0.25 |
633
+ | `nano-gpt/z-ai/glm-5.3-flash` | 1.0M | | | | | | $0.10 | $0.30 |
633
634
  | `nano-gpt/z-ai/glm-5.3-flash-cybersecurity` | 1.0M | | | | | | $0.15 | $0.50 |
634
635
  | `nano-gpt/z-ai/glm-5.3-flash-uncensored` | 1.0M | | | | | | $0.20 | $0.80 |
635
636
  | `nano-gpt/z-ai/glm-5.3-uncensored` | 1.0M | | | | | | $1 | $2 |
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![Ofox logo](https://models.dev/logos/ofox.svg)Ofox
6
6
 
7
- Access 150 Ofox models through Mastra's model router. Authentication is handled automatically using the `OFOX_API_KEY` environment variable.
7
+ Access 151 Ofox models through Mastra's model router. Authentication is handled automatically using the `OFOX_API_KEY` environment variable.
8
8
 
9
9
  Learn more in the [Ofox documentation](https://ofox.ai/docs).
10
10
 
@@ -134,6 +134,7 @@ for await (const chunk of stream) {
134
134
  | `ofox/openai/gpt-6-astra` | 1.1M | | | | | | $8 | $40 |
135
135
  | `ofox/openai/gpt-6-luna` | 1.1M | | | | | | $0.08 | $0.40 |
136
136
  | `ofox/openai/gpt-6-sol` | 1.1M | | | | | | $2 | $8 |
137
+ | `ofox/openai/gpt-6.1-sol` | 1.1M | | | | | | $2 | $10 |
137
138
  | `ofox/qwen/qwen-flash` | 1.0M | | | | | | $0.02 | $0.22 |
138
139
  | `ofox/qwen/qwen-max` | 32K | | | | | | $0.35 | $1 |
139
140
  | `ofox/qwen/qwen-plus` | 1.0M | | | | | | $0.12 | $0.29 |
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![Vivgrid logo](https://models.dev/logos/vivgrid.svg)Vivgrid
6
6
 
7
- Access 34 Vivgrid models through Mastra's model router. Authentication is handled automatically using the `VIVGRID_API_KEY` environment variable.
7
+ Access 36 Vivgrid models through Mastra's model router. Authentication is handled automatically using the `VIVGRID_API_KEY` environment variable.
8
8
 
9
9
  Learn more in the [Vivgrid documentation](https://docs.vivgrid.com/models).
10
10
 
@@ -43,6 +43,7 @@ for await (const chunk of stream) {
43
43
  | `vivgrid/claude-opus-5` | 1.0M | | | | | | $5 | $25 |
44
44
  | `vivgrid/claude-opus-5-5` | 1.0M | | | | | | $4 | $20 |
45
45
  | `vivgrid/claude-sonnet-5` | 1.0M | | | | | | $2 | $10 |
46
+ | `vivgrid/claude-sonnet-5-5` | 1.0M | | | | | | $2 | $10 |
46
47
  | `vivgrid/deepseek-v3.2` | 128K | | | | | | $0.28 | $0.42 |
47
48
  | `vivgrid/deepseek-v4-flash` | 1.0M | | | | | | $0.15 | $0.30 |
48
49
  | `vivgrid/deepseek-v4-pro` | 1.0M | | | | | | $0.43 | $0.87 |
@@ -70,6 +71,7 @@ for await (const chunk of stream) {
70
71
  | `vivgrid/gpt-6-astra` | 1.1M | | | | | | $10 | $50 |
71
72
  | `vivgrid/gpt-6-luna` | 1.1M | | | | | | $0.10 | $0.50 |
72
73
  | `vivgrid/gpt-6-sol` | 1.1M | | | | | | $2 | $10 |
74
+ | `vivgrid/gpt-6.1-sol` | 1.1M | | | | | | $2 | $10 |
73
75
  | `vivgrid/kimi-k3` | 1.0M | | | | | | $3 | $15 |
74
76
  | `vivgrid/viv-fast` | 1.0M | | | | | | $0.13 | $0.40 |
75
77
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![Vultr logo](https://models.dev/logos/vultr.svg)Vultr
6
6
 
7
- Access 10 Vultr models through Mastra's model router. Authentication is handled automatically using the `VULTR_API_KEY` environment variable.
7
+ Access 15 Vultr models through Mastra's model router. Authentication is handled automatically using the `VULTR_API_KEY` environment variable.
8
8
 
9
9
  Learn more in the [Vultr documentation](https://api.vultrinference.com/).
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: "vultr/MiniMaxAI/MiniMax-M2.7"
22
+ model: "vultr/deepseek-v4-flash-0731"
23
23
  });
24
24
 
25
25
  // Generate a response
@@ -36,18 +36,23 @@ for await (const chunk of stream) {
36
36
 
37
37
  ## Models
38
38
 
39
- | Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
40
- | ---------------------------------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
41
- | `vultr/deepseek-ai/DeepSeek-V4-Flash` | 1.0M | | | | | | $0.30 | $1 |
42
- | `vultr/MiniMaxAI/MiniMax-M2.7` | 205K | | | | | | $0.30 | $1 |
43
- | `vultr/moonshotai/Kimi-K2.6` | 262K | | | | | | $0.30 | $1 |
44
- | `vultr/nvidia/DeepSeek-V3.2-NVFP4` | 131K | | | | | | $0.55 | $2 |
45
- | `vultr/nvidia/Nemotron-3-Nano-Omni-30B-A3B-Reasoning-BF16` | 262K | | | | | | $0.13 | $0.38 |
46
- | `vultr/nvidia/Nemotron-Cascade-2-30B-A3B` | 262K | | | | | | $0.15 | $0.60 |
47
- | `vultr/Qwen/Qwen3.5-397B-A17B` | 262K | | | | | | $0.30 | $2 |
48
- | `vultr/Qwen/Qwen3.6-27B` | 262K | | | | | | $0.30 | $2 |
49
- | `vultr/XiaomiMiMo/MiMo-V2.5-Pro` | 1.0M | | | | | | $0.55 | $2 |
50
- | `vultr/zai-org/GLM-5.2-FP8` | 393K | | | | | | $0.85 | $3 |
39
+ | Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
40
+ | ---------------------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
41
+ | `vultr/deepseek-v4-flash-0731` | 1.0M | | | | | | $0.10 | $0.25 |
42
+ | `vultr/deepseek-v4.1-flash` | 1.0M | | | | | | $0.15 | $0.60 |
43
+ | `vultr/glm-5.2` | 1.0M | | | | | | $0.75 | $3 |
44
+ | `vultr/glm-5.3` | 1.0M | | | | | | $0.75 | $3 |
45
+ | `vultr/glm-5.3-flash` | 1.0M | | | | | | $0.10 | $0.35 |
46
+ | `vultr/glm-5.x-menthol` | 203K | | | | | | $0.40 | $2 |
47
+ | `vultr/laguna-s-2.1` | 1.0M | | | | | | $0.09 | $0.18 |
48
+ | `vultr/mimo-v2.6-flash-rl` | 1.0M | | | | | | $0.10 | $0.25 |
49
+ | `vultr/mimo-v2.6-pro-rl` | 1.0M | | | | | | $0.40 | $0.80 |
50
+ | `vultr/minimax-m3` | 524K | | | | | | $0.20 | $0.90 |
51
+ | `vultr/muse-glimmer-30b` | 131K | | | | | | $0.25 | $1 |
52
+ | `vultr/nemotron-3-nano-omni-30b-a3b-reasoning` | 262K | | | | | | $0.10 | $0.25 |
53
+ | `vultr/nemotron-3.5-content-safety` | 131K | | | | | | $0.05 | $0.15 |
54
+ | `vultr/qwen3.8-27b` | 262K | | | | | | $0.15 | $1 |
55
+ | `vultr/qwen3.8-flash-next` | 262K | | | | | | $0.10 | $0.20 |
51
56
 
52
57
  Model availability, capabilities, context windows, and pricing are sourced from [models.dev](https://models.dev) and may change.
53
58
 
@@ -61,7 +66,7 @@ const agent = new Agent({
61
66
  name: "custom-agent",
62
67
  model: {
63
68
  url: "https://api.vultrinference.com/v1",
64
- id: "vultr/MiniMaxAI/MiniMax-M2.7",
69
+ id: "vultr/deepseek-v4-flash-0731",
65
70
  apiKey: process.env.VULTR_API_KEY,
66
71
  headers: {
67
72
  "X-Custom-Header": "value"
@@ -79,8 +84,8 @@ const agent = new Agent({
79
84
  model: ({ requestContext }) => {
80
85
  const useAdvanced = requestContext.task === "complex";
81
86
  return useAdvanced
82
- ? "vultr/zai-org/GLM-5.2-FP8"
83
- : "vultr/MiniMaxAI/MiniMax-M2.7";
87
+ ? "vultr/qwen3.8-flash-next"
88
+ : "vultr/deepseek-v4-flash-0731";
84
89
  }
85
90
  });
86
91
  ```
@@ -293,9 +293,9 @@ To change the resource ID, use [`controller.setResourceId()`](https://mastra.ai/
293
293
 
294
294
  `session.thread` owns the active thread binding and resource-scoped thread operations. Stored threads and messages can survive controller recreation when storage is configured. The live session and its event bus don't.
295
295
 
296
- ### `session.thread.create({ title?, id? })`
296
+ ### `session.thread.create({ title?, id?, requestContext? })`
297
297
 
298
- Create a thread, bind the session to it, and open its event stream.
298
+ Create a thread, bind the session to it, and open its event stream. Pass `requestContext` when memory is a function that reads the signed-in user.
299
299
 
300
300
  ```typescript
301
301
  const thread = await session.thread.create({
@@ -314,9 +314,9 @@ Rename the active stored thread.
314
314
  await session.thread.rename({ title: 'Fix login failure' })
315
315
  ```
316
316
 
317
- ### `session.thread.clone({ sourceThreadId?, title?, resourceId? })`
317
+ ### `session.thread.clone({ sourceThreadId?, title?, resourceId?, requestContext? })`
318
318
 
319
- Clone an owned thread and its messages, then bind the session to the clone.
319
+ Clone an owned thread and its messages, then bind the session to the clone. Pass `requestContext` when memory is a function that reads the signed-in user.
320
320
 
321
321
  ```typescript
322
322
  const clone = await session.thread.clone({
@@ -327,17 +327,17 @@ const clone = await session.thread.clone({
327
327
 
328
328
  Returns: `Promise<AgentControllerThread>`
329
329
 
330
- ### `session.thread.switch({ threadId, emitEvent? })`
330
+ ### `session.thread.switch({ threadId, emitEvent?, requestContext? })`
331
331
 
332
- Switch to an owned stored thread and hydrate its mode, model, and observational memory settings.
332
+ Switch to an owned stored thread and hydrate its mode, model, and observational memory settings. Pass `requestContext` when memory is a function that reads the signed-in user.
333
333
 
334
334
  ```typescript
335
335
  await session.thread.switch({ threadId: 'thread-8' })
336
336
  ```
337
337
 
338
- ### `session.thread.delete({ threadId })`
338
+ ### `session.thread.delete({ threadId, requestContext? })`
339
339
 
340
- Delete an owned thread. Deleting the active thread also clears the current binding.
340
+ Delete an owned thread. Deleting the active thread also clears the current binding. Pass `requestContext` when memory is a function that reads the signed-in user.
341
341
 
342
342
  ```typescript
343
343
  await session.thread.delete({ threadId: 'thread-8' })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/mcp-docs-server",
3
- "version": "1.3.3-alpha.1",
3
+ "version": "1.3.3",
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-alpha.0",
30
- "@mastra/core": "1.73.0-alpha.0"
29
+ "@mastra/core": "1.73.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
- "@internal/types-builder": "0.0.113",
47
- "@internal/lint": "0.0.138",
48
- "@mastra/core": "1.73.0-alpha.0"
46
+ "@internal/types-builder": "0.0.114",
47
+ "@internal/lint": "0.0.139",
48
+ "@mastra/core": "1.73.0"
49
49
  },
50
50
  "homepage": "https://mastra.ai",
51
51
  "repository": {