@mastra/mcp-docs-server 1.3.9-alpha.11 → 1.3.9-alpha.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. package/.docs/docs/agents/processors.md +6 -4
  2. package/.docs/docs/auth/custom-auth-provider.md +1 -1
  3. package/.docs/docs/auth/overview.md +3 -1
  4. package/.docs/docs/connections/sdk-agents.md +18 -7
  5. package/.docs/docs/guides/mcp-authentication-authorization.md +2 -2
  6. package/.docs/docs/harness/agent-controller.md +11 -14
  7. package/.docs/docs/harness/durable-agents.md +3 -1
  8. package/.docs/docs/harness/schedules.md +8 -6
  9. package/.docs/docs/mastra-platform/environments.md +1 -1
  10. package/.docs/docs/mastra-platform/server.md +1 -1
  11. package/.docs/docs/mastra-platform/studio.md +1 -1
  12. package/.docs/docs/memory/semantic-recall.md +20 -0
  13. package/.docs/docs/studio/auth.md +2 -2
  14. package/.docs/docs/studio/observability.md +5 -1
  15. package/.docs/docs/workflows/error-handling.md +1 -1
  16. package/.docs/models/environment-variables.md +0 -1
  17. package/.docs/models/gateways/merge-gateway.md +6 -1
  18. package/.docs/models/index.md +1 -2
  19. package/.docs/models/providers/aixy.md +3 -1
  20. package/.docs/models/providers/alibaba-cn.md +7 -55
  21. package/.docs/models/providers/alibaba-coding-plan-cn.md +8 -12
  22. package/.docs/models/providers/alibaba-coding-plan.md +8 -12
  23. package/.docs/models/providers/alibaba-token-plan-cn.md +0 -2
  24. package/.docs/models/providers/alibaba-token-plan.md +29 -30
  25. package/.docs/models/providers/alibaba.md +32 -61
  26. package/.docs/models/providers/ambient.md +0 -8
  27. package/.docs/models/providers/anthropic.md +4 -2
  28. package/.docs/models/providers/cloudflare-workers-ai.md +1 -1
  29. package/.docs/models/providers/edenai.md +7 -1
  30. package/.docs/models/providers/empiriolabs.md +1 -3
  31. package/.docs/models/providers/google.md +2 -0
  32. package/.docs/models/providers/inception.md +2 -1
  33. package/.docs/models/providers/kilo.md +11 -25
  34. package/.docs/models/providers/llmgateway-providers.md +3 -1
  35. package/.docs/models/providers/llmgateway.md +3 -1
  36. package/.docs/models/providers/minimax-cn-coding-plan.md +4 -11
  37. package/.docs/models/providers/minimax-cn.md +4 -10
  38. package/.docs/models/providers/minimax-coding-plan.md +4 -11
  39. package/.docs/models/providers/minimax.md +4 -10
  40. package/.docs/models/providers/mistral.md +4 -4
  41. package/.docs/models/providers/moonshotai-cn.md +2 -2
  42. package/.docs/models/providers/nano-gpt.md +12 -16
  43. package/.docs/models/providers/openai.md +3 -1
  44. package/.docs/models/providers/runinfra.md +2 -1
  45. package/.docs/models/providers/xai.md +3 -1
  46. package/.docs/models/providers/zai-coding-plan.md +0 -4
  47. package/.docs/models/providers/zhipuai-coding-plan.md +0 -1
  48. package/.docs/models/providers/zhipuai.md +12 -12
  49. package/.docs/models/providers.md +0 -1
  50. package/.docs/reference/agent-controller/agent-controller-class.md +17 -22
  51. package/.docs/reference/agent-controller/session.md +3 -3
  52. package/.docs/reference/agents/channels.md +7 -1
  53. package/.docs/reference/agents/durable-agent.md +9 -7
  54. package/.docs/reference/agents/getSkill.md +1 -1
  55. package/.docs/reference/agents/listSkills.md +1 -4
  56. package/.docs/reference/browser/mastra-browser.md +1 -1
  57. package/.docs/reference/client-js/agent-controller.md +13 -3
  58. package/.docs/reference/client-js/mastra-client.md +1 -1
  59. package/.docs/reference/client-js/observability.md +1 -1
  60. package/.docs/reference/core/mastra-class.md +2 -2
  61. package/.docs/reference/editor/mastra-editor.md +9 -7
  62. package/.docs/reference/editor/tool-provider.md +2 -2
  63. package/.docs/reference/evals/create-classifier-scorer.md +6 -2
  64. package/.docs/reference/file-based-agents/instructions.md +1 -1
  65. package/.docs/reference/file-based-agents/processors.md +2 -0
  66. package/.docs/reference/file-based-agents/schedules.md +1 -1
  67. package/.docs/reference/file-based-agents/skills.md +1 -1
  68. package/.docs/reference/file-based-agents/subagents.md +1 -1
  69. package/.docs/reference/memory/cloneThread.md +1 -1
  70. package/.docs/reference/memory/copyThread.md +1 -1
  71. package/.docs/reference/memory/memory-class.md +2 -0
  72. package/.docs/reference/memory/serialized-memory-config.md +1 -1
  73. package/.docs/reference/observability/tracing/advanced-queries.md +11 -9
  74. package/.docs/reference/processors/processor-interface.md +10 -2
  75. package/.docs/reference/signals/signal-provider.md +2 -0
  76. package/.docs/reference/signals/task-signal-provider.md +1 -1
  77. package/package.json +4 -4
@@ -390,18 +390,20 @@ import type { Processor } from '@mastra/core/processors'
390
390
  export class ResponseValidator implements Processor {
391
391
  id = 'response-validator'
392
392
 
393
- async processOutputStep({ text, abort, retryCount }) {
393
+ async processOutputStep({ messages, text, abort, retryCount }) {
394
394
  const isValid = await validateResponse(text)
395
395
 
396
396
  if (!isValid && retryCount < 3) {
397
397
  abort('Response did not meet requirements. Try again.', { retry: true })
398
398
  }
399
399
 
400
- return []
400
+ return messages
401
401
  }
402
402
  }
403
403
  ```
404
404
 
405
+ Return `messages` to leave the conversation unchanged. Returning `[]` replaces the message list with an empty array, removing the conversation history and the latest response.
406
+
405
407
  For more on retry behavior, see [Retry mechanism](#retry-mechanism) in Advanced patterns.
406
408
 
407
409
  ### Persist data across chunks and steps
@@ -918,7 +920,7 @@ import type { Processor } from '@mastra/core/processors'
918
920
  export class QualityChecker implements Processor {
919
921
  id = 'quality-checker'
920
922
 
921
- async processOutputStep({ text, abort, retryCount }) {
923
+ async processOutputStep({ messages, text, abort, retryCount }) {
922
924
  const qualityScore = await evaluateQuality(text)
923
925
 
924
926
  if (qualityScore < 0.7 && retryCount < 3) {
@@ -929,7 +931,7 @@ export class QualityChecker implements Processor {
929
931
  })
930
932
  }
931
933
 
932
- return []
934
+ return messages
933
935
  }
934
936
  }
935
937
 
@@ -509,7 +509,7 @@ Mastra includes these auth providers as reference implementations:
509
509
  - **MastraAuthAuth0**: Auth0 authentication (`@mastra/auth-auth0`)
510
510
  - **MastraAuthSupabase**: Supabase authentication (`@mastra/auth-supabase`)
511
511
  - **MastraAuthFirebase**: Firebase authentication (`@mastra/auth-firebase`)
512
- - **MastraAuthWorkOS**: WorkOS authentication (`@mastra/auth-workos`)
512
+ - **MastraAuthWorkos**: WorkOS authentication (`@mastra/auth-workos`)
513
513
  - **MastraAuthBetterAuth**: Better Auth integration (`@mastra/auth-better-auth`)
514
514
  - **SimpleAuth**: Token-to-user mapping for development (`@mastra/core/server`)
515
515
 
@@ -10,11 +10,13 @@ You can start with basic shared secret JWT authentication and switch to known pr
10
10
 
11
11
  ## What auth secures
12
12
 
13
- Configuring authentication locks down two things at once:
13
+ Configuring authentication locks down two things:
14
14
 
15
15
  - **Studio UI**: Studio displays a login screen (SSO, email/password, or both). When you also configure an RBAC provider, Studio enforces role-based access control to determine what each team member can see and do.
16
16
  - **API routes**: Built-in routes (`/api/agents/*`, `/api/workflows/*`, etc.) and custom routes require authentication, whether requests come from Studio or direct API calls. A few built-in routes stay public, such as `GET /api/auth/capabilities`, which Studio uses to detect the login state.
17
17
 
18
+ By default, the provider you set in `server.auth` protects both. To give Studio its own provider, also set `studio.auth`. Requests from Studio, including its calls to API routes, then use `studio.auth` exclusively. All other requests keep using `server.auth`.
19
+
18
20
  Authentication is optional. If no auth is configured, all routes and Studio are publicly accessible. Public access can be enabled on individual custom routes using `requiresAuth: false`.
19
21
 
20
22
  See [Custom API Routes](https://mastra.ai/docs/server/custom-api-routes) for controlling authentication on custom endpoints. Visit the [Studio Auth docs](https://mastra.ai/docs/studio/auth) for more on securing your Studio deployment.
@@ -32,25 +32,25 @@ Install the Mastra package and the Claude Agent SDK peer dependency:
32
32
  **npm**:
33
33
 
34
34
  ```bash
35
- npm install @mastra/claude @anthropic-ai/claude-agent-sdk
35
+ npm install @mastra/claude @anthropic-ai/claude-agent-sdk zod
36
36
  ```
37
37
 
38
38
  **pnpm**:
39
39
 
40
40
  ```bash
41
- pnpm add @mastra/claude @anthropic-ai/claude-agent-sdk
41
+ pnpm add @mastra/claude @anthropic-ai/claude-agent-sdk zod
42
42
  ```
43
43
 
44
44
  **Yarn**:
45
45
 
46
46
  ```bash
47
- yarn add @mastra/claude @anthropic-ai/claude-agent-sdk
47
+ yarn add @mastra/claude @anthropic-ai/claude-agent-sdk zod
48
48
  ```
49
49
 
50
50
  **Bun**:
51
51
 
52
52
  ```bash
53
- bun add @mastra/claude @anthropic-ai/claude-agent-sdk
53
+ bun add @mastra/claude @anthropic-ai/claude-agent-sdk zod
54
54
  ```
55
55
 
56
56
  Set the Claude SDK credential:
@@ -79,12 +79,23 @@ export const claudeSDKAgent = new ClaudeSDKAgent({
79
79
 
80
80
  ### Add Claude SDK tools
81
81
 
82
- Claude Agent SDK tools are provided through Claude SDK Model Context Protocol (MCP) servers. Create the server with the Claude SDK, then pass it through `sdkOptions.mcpServers`.
82
+ Claude Agent SDK custom tools are provided through Claude SDK Model Context Protocol (MCP) servers. `ClaudeSDKAgent` doesn't accept Mastra's `tools` option, and tools created with Mastra's `createTool()` aren't automatically available to it because the Claude SDK owns the agent loop. A Mastra tool can't be passed directly to `createSdkMcpServer()`.
83
+
84
+ Create a tool with the Claude Agent SDK's `tool()` helper, add it to a server, then pass the server through `sdkOptions.mcpServers`. The helper takes a raw Zod shape, not a `z.object()`, and a handler that returns MCP content. This example returns sample temperature data:
83
85
 
84
86
  ```typescript
85
- import { createSdkMcpServer } from '@anthropic-ai/claude-agent-sdk'
87
+ import { createSdkMcpServer, tool } from '@anthropic-ai/claude-agent-sdk'
86
88
  import { ClaudeSDKAgent } from '@mastra/claude'
87
- import { getTemperature } from '../tools/get-temperature'
89
+ import { z } from 'zod'
90
+
91
+ const getTemperature = tool(
92
+ 'get_temperature',
93
+ 'Get the temperature for a city using sample data.',
94
+ { city: z.string() },
95
+ async ({ city }) => ({
96
+ content: [{ type: 'text', text: `${city}: 27 C` }],
97
+ }),
98
+ )
88
99
 
89
100
  const weatherServer = createSdkMcpServer({
90
101
  name: 'weather',
@@ -47,7 +47,7 @@ A separate provider per MCP server does one thing and not another:
47
47
 
48
48
  The specification recommends support for **Client ID Metadata Documents (CIMD)**, which identify a client through an HTTPS metadata URL. It also defines pre-registration. Clients that support all registration options should prefer existing pre-registered information when available. Legacy Dynamic Client Registration (DCR) remains optional for compatibility but is deprecated for new implementations. See the versioned [client registration rules](https://modelcontextprotocol.io/specification/2026-07-28/basic/authorization/client-registration).
49
49
 
50
- Mastra's provider accepts pre-registered client information and supports a DCR-based flow. Don't infer CIMD support from the presence of OAuth support. Check the registration mechanism supported by your client integration and authorization server before choosing a deployment.
50
+ `MCPOAuthClientProvider` never registers a client at runtime and doesn't support DCR. Configure exactly one client identity: `clientInformation` for a client pre-registered with the authorization server, or `clientMetadataUrl` for CIMD. Check that your authorization server supports the mechanism you choose before deploying. See the [OAuth client reference](https://mastra.ai/reference/tools/mcp-client) for configuration examples.
51
51
 
52
52
  Mastra's interactive `authenticate()` flow uses a local loopback callback server. It isn't a hosted multi-user login endpoint. A hosted application must own its callback endpoint and associate each authorization attempt with the correct user and provider. See [interactive browser authentication](https://mastra.ai/reference/tools/mcp-client).
53
53
 
@@ -97,7 +97,7 @@ Protecting Mastra routes with `server.auth` and providing interoperable OAuth di
97
97
 
98
98
  Alongside the MCP transport, Mastra registers REST routes used by Studio to list servers, inspect tools, execute tools, and read resources. See the [MCP routes reference](https://mastra.ai/reference/server/routes) for the full list. These paths use the default `/api` prefix.
99
99
 
100
- The `POST /api/mcp/:serverId/tools/:toolId/execute` route calls `executeTool()` directly, without a protocol client. With a Mastra FGA provider configured, `MCPServer.executeTool()` enforces tool execution permission using the user in `requestContext`. The REST tool list also filters tools through FGA. These permission checks don't replace route authentication.
100
+ The `POST /api/mcp/:serverId/tools/:toolId/execute` route calls `executeTool()` directly, without a protocol client. With a Mastra FGA provider configured, `MCPServer.executeTool()` enforces tool execution permission using the user in `requestContext`. The REST tool list also filters tools through FGA, but these permission checks don't replace route authentication.
101
101
 
102
102
  Built-in authentication for these routes depends on `server.auth`. Without it, `requiresAuth: true` doesn't enforce authentication. Custom middleware that checks only the `/mcp` or `/sse` transport paths leaves the REST routes open. If you use custom middleware instead of `server.auth`, default-deny `/api/mcp/*` and allow access only after authentication.
103
103
 
@@ -90,43 +90,40 @@ Use the same controller for many Sessions. Don't store a current Session on the
90
90
  The controller, Session, and thread have different lifetimes:
91
91
 
92
92
  - **Controller**: A shared host for configuration and runtime services. Initialize it once and reuse it.
93
- - **Session**: An isolated live runtime for one user, task, or concurrent work scope. It owns the active mode, model, state, event bus, run state, grants, and current thread binding.
93
+ - **Session**: An isolated live runtime for one user, task, or concurrent piece of work, addressed by its session id. It owns the active mode, model, state, event bus, run state, grants, and current thread binding.
94
94
  - **Thread**: A stored conversation containing messages and thread settings. Threads can survive controller and process recreation when you configure storage.
95
95
 
96
96
  A Session is live state. Arbitrary [`session.state`](https://mastra.ai/reference/agent-controller/session), permission grants, pending approvals, and active runs don't automatically survive process recreation. Thread messages and selected thread settings, including the active mode and the current model, can persist through storage, but switching modes doesn't change the model.
97
97
 
98
98
  ## Sessions and threads
99
99
 
100
- `createSession()` is get-or-create by `resourceId` and optional `scope`:
100
+ `createSession()` is get-or-create by session `id`. The `resourceId` names who owns the session's threads and resource-scoped memory. When you omit `id`, it defaults to `resourceId`:
101
101
 
102
102
  ```typescript
103
103
  const webSession = await controller.createSession({
104
+ id: 'user-123:web',
104
105
  resourceId: 'user-123',
105
- scope: 'web',
106
106
  })
107
107
 
108
- const sameWebSession = await controller.createSession({
109
- resourceId: 'user-123',
110
- scope: 'web',
111
- })
108
+ const sameWebSession = await controller.getSession('user-123:web')
112
109
 
113
110
  const workerSession = await controller.createSession({
111
+ id: 'user-123:background-worker',
114
112
  resourceId: 'user-123',
115
- scope: 'background-worker',
116
113
  })
117
114
 
118
115
  console.log(webSession === sameWebSession) // true
119
116
  console.log(webSession === workerSession) // false
120
117
  ```
121
118
 
122
- Sessions with different scopes have separate event buses, run loops, state, mode and model selections, and current thread bindings. Their stored threads still belong to the shared `resourceId`.
119
+ Sessions with different ids have separate event buses, run loops, state, mode and model selections, and current thread bindings. Their stored threads and resource-scoped memory still belong to the shared `resourceId`, so listing threads by resource returns both sessions' threads.
123
120
 
124
121
  Pass `threadId` when the host must bind the Session to an exact thread. The controller switches to the existing thread or creates it with that ID when it's missing. This behavior also applies when `createSession()` returns a cached Session:
125
122
 
126
123
  ```typescript
127
124
  const session = await controller.createSession({
125
+ id: 'user-123:web',
128
126
  resourceId: 'user-123',
129
- scope: 'web',
130
127
  threadId: 'support-ticket-42',
131
128
  })
132
129
  ```
@@ -430,9 +427,9 @@ channels: {
430
427
  const install = await installs.authorize(requestContext.get('teamId'))
431
428
 
432
429
  return controller.createSession({
430
+ id: `${install.id}:${thread.id}`,
433
431
  resourceId: thread.resourceId,
434
432
  threadId: thread.id,
435
- scope: install.id,
436
433
  ownerId: controller.id,
437
434
  requestContext,
438
435
  })
@@ -440,7 +437,7 @@ channels: {
440
437
  }
441
438
  ```
442
439
 
443
- Create the session under `thread.resourceId`. Because a session can bind only threads it owns, use `resolveResourceId` to assign a different owner to the mapped thread. Pass `threadId: thread.id` so the session opens on the mapped thread. Without it, a session that has tags or a `projectPath` doesn't treat the mapped thread as its own, so it creates an extra empty thread before switching to the mapped one. Sessions are get-or-create for each `resourceId` and `scope` combination. Pass `scope` when one thread needs separate sessions for each installation or principal.
440
+ Create the session under `thread.resourceId`. Because a session can bind only threads it owns, use `resolveResourceId` to assign a different owner to the mapped thread. Pass `threadId: thread.id` so the session opens on the mapped thread. Without it, a session that has tags or a `projectPath` doesn't treat the mapped thread as its own, so it creates an extra empty thread before switching to the mapped one. Sessions are get-or-create by `id`. Give each installation or principal its own `id` when one thread needs separate sessions.
444
441
 
445
442
  Failures that aren't refusals (a storage outage, a bug in your resolver's dependencies) still post an error to the thread, so a broken bot doesn't look like a silent one. If you need to tell them apart in your own code, a refusal is a `ChannelSessionRejectedError` with the original error as its `cause`.
446
443
 
@@ -490,7 +487,7 @@ Subscriptions are isolated by Session. Events from another Session on the same c
490
487
 
491
488
  ### Client-side sessions
492
489
 
493
- [`client.getAgentController(key).session(resourceId, scope?)`](https://mastra.ai/reference/client-js/agent-controller) returns a session client bound to one resource. Pass the key the controller is registered under in `new Mastra({ agentControllers })`, which can differ from the controller's `id`. Sessions are get-or-create on the server, so `create()` resumes an existing conversation instead of forking it. Pass `scope` when one resource needs independent sessions, such as one per git worktree:
490
+ [`client.getAgentController(key).session(sessionId)`](https://mastra.ai/reference/client-js/agent-controller) returns a session client addressed by its session id. Pass the key the controller is registered under in `new Mastra({ agentControllers })`, which can differ from the controller's `id`. Sessions are get-or-create on the server, so `create()` resumes an existing conversation instead of forking it. Pass `resourceId` to `create()` when several sessions share one resource; otherwise the resource defaults to the session id:
494
491
 
495
492
  ```typescript
496
493
  import { MastraClient } from '@mastra/client-js'
@@ -513,7 +510,7 @@ const subscription = await session.subscribe({
513
510
  subscription.unsubscribe()
514
511
  ```
515
512
 
516
- `subscribe()` takes an options object and is async, unlike the in-process listener. Its promise resolves once the stream is established and rejects when it can't connect. A rejected call leaves nothing running in the background. `reconnect: true` re-establishes a stream that drops after it was established, with exponential backoff. A connection that goes silent without closing, for example after the device sleeps, counts as a drop once no data, including server heartbeats, arrives for `idleTimeoutMs` (default `60000`).
513
+ `subscribe()` takes an options object and is async, unlike the in-process listener. Its promise resolves once the stream is established and rejects when it can't connect. A rejected call leaves nothing running in the background. `reconnect: true` re-establishes a stream that drops after it was established, with exponential backoff. A connection that stays open but stops delivering data, for example after the device sleeps, counts as a drop once no data, including server heartbeats, arrives for `idleTimeoutMs` (default `60000`).
517
514
 
518
515
  The server doesn't replay events missed while the stream was down, so read `session.state()` from `onReconnect` for the current mode, model, and thread. The client surface has no `session.displayState.get()`.
519
516
 
@@ -324,7 +324,9 @@ export const mastra = new Mastra({
324
324
 
325
325
  On startup, this discovers every registered durable agent with runs stuck in `running` status and re-drives them from the last persisted snapshot.
326
326
 
327
- Recovery attempts runs serially, waiting up to 30 seconds per run for both `recover()` setup and settlement of the whole recovered workflow. If that wait expires, the attempt continues in the background while recovery moves to later runs and agents. Discovery and overridden custom recovery methods aren't bounded by this budget.
327
+ Recovery processes up to five agents concurrently, with up to five run waits per agent. Each wait covers both `recover()` setup and settlement of the whole recovered workflow and lasts at most 30 seconds. If it expires, the attempt continues in the background and frees a slot for another run. These limits bound waiting, not the number of live executions. Discovery and overridden custom recovery methods aren't bounded by this budget.
328
+
329
+ Timed-out runs carry `retryAt` and are checked again automatically. Re-checks defer until the original attempt settles, so they don't start duplicate executions. After it settles, recovery checks the persisted snapshot and ownership before retrying. Finished or suspended runs aren't restarted.
328
330
 
329
331
  When shutdown begins, recovery stops dispatching new runs and agents and cancels pending re-checks. Original attempts, including those whose wait timed out, remain tracked for Mastra's shared shutdown drain. A recovery timeout doesn't cancel execution or add a separate drain window.
330
332
 
@@ -171,13 +171,13 @@ const mastra = new Mastra({
171
171
  return { prompt: `Status as of ${trigger.firedAt.toISOString()}` }
172
172
  },
173
173
  onFinish: async ({ agentId, outcome, runId }) => {
174
- // Runs on any non-error, non-abort outcome
174
+ // Runs on any non-error, non-abort outcome. For a threaded schedule, this is the hand-off, not the end of the run
175
175
  },
176
176
  onError: async ({ agentId, phase, error }) => {
177
- // Runs when prepare, the signal, or the agent run threw
177
+ // Runs when prepare or the signal threw, or a threadless run failed without aborting
178
178
  },
179
179
  onAbort: async ({ agentId, runId }) => {
180
- // Runs when the run was aborted mid-stream
180
+ // Runs when a threadless run was aborted
181
181
  },
182
182
  },
183
183
  })
@@ -186,9 +186,11 @@ const mastra = new Mastra({
186
186
  The hooks are:
187
187
 
188
188
  - `prepare`: runs before the fire. Return an object to override fire-time parameters such as `prompt` or `threadId`, `null` to skip the fire, or `undefined` to use the stored defaults.
189
- - `onFinish`: runs once per trigger that reached a non-error, non-abort terminal state.
190
- - `onError`: runs after a failure in `prepare` or the signal. It also runs when the agent run fails.
191
- - `onAbort`: runs when the run was aborted mid-stream.
189
+ - `onFinish`: runs once per trigger that reached a non-error, non-abort outcome. When a threaded schedule starts a new run, it runs with `outcome: 'succeeded'` as soon as the run starts, not when it finishes.
190
+ - `onError`: runs after a failure in `prepare` or the signal. For a schedule without a `threadId`, it also runs when the agent run fails with an error that isn't an abort.
191
+ - `onAbort`: runs when the run of a schedule without a `threadId` was aborted.
192
+
193
+ For a schedule with a `threadId`, the worker sends the prompt to the thread and doesn't wait for the run. Errors and aborts after the run starts surface on that thread's run, not through `onError` or `onAbort`.
192
194
 
193
195
  Every hook context includes `agentId` (the agent the schedule fired for) alongside `schedule` and `trigger`.
194
196
 
@@ -78,7 +78,7 @@ mastra env deploys
78
78
  mastra env deploys staging
79
79
  ```
80
80
 
81
- Each row shows the deploy status, environment, timestamp, and which deploy is currently active. A deploy transitions through **queued → uploading → building → deploying → running**, and the platform reports **running** only when the new version is serving traffic.
81
+ Each row shows the deploy status, environment, timestamp, and which deploy is currently active. A deploy transitions through **queued → uploading → starting → deploying → running**, and the platform reports **running** only when the new version is serving traffic. Deploys triggered from GitHub first build from source, so they pass through **building** between **queued** and **uploading**.
82
82
 
83
83
  ## Isolate an environment's data
84
84
 
@@ -60,7 +60,7 @@ You get a stable API endpoint with environment variable management and custom do
60
60
 
61
61
  ## Deploy lifecycle
62
62
 
63
- Each project runs one build at a time as its deploy transitions through **queued → uploading → building → deploying → running** (or **failed**, **cancelled**, **crashed**, or **stopped**). When multiple deploys queue up, the latest proceeds and the rest are cancelled. Builds running longer than 15 minutes are automatically failed. The first deploy provisions infrastructure and seeds environment variables from your local `.env`. Your server URL remains stable across deploys.
63
+ Each project runs one build at a time as its deploy transitions through **queued → uploading → starting → deploying → running** (or **failed**, **cancelled**, **crashed**, or **stopped**). Deploys triggered from GitHub first build from source, so they pass through **building** between **queued** and **uploading**. When multiple deploys queue up, the latest proceeds and the rest are cancelled. Builds running longer than 15 minutes are automatically failed. The first deploy provisions infrastructure and seeds environment variables from your local `.env`. Your server URL remains stable across deploys.
64
64
 
65
65
  ## Idle behavior
66
66
 
@@ -52,7 +52,7 @@ On your first deploy, the CLI prompts you to create a new project or select an e
52
52
 
53
53
  The `mastra deploy` command builds your project and compiles `src/mastra/` into `.mastra/output`. It packages that output as an artifact ZIP, then uploads and deploys it to a cloud sandbox.
54
54
 
55
- A deploy transitions through **queued → uploading → starting → running** or **failed** if something goes wrong. If a sandbox is already running for your project, the platform updates it in place with no downtime. Otherwise, it creates a fresh sandbox. Your instance URL is assigned per project slug and remains stable across deploys.
55
+ A deploy transitions through **queued → uploading → starting → deploying → running** or **failed** if something goes wrong. If a sandbox is already running for your project, the platform updates it in place with no downtime. Otherwise, it creates a fresh sandbox. Your instance URL is assigned per project slug and remains stable across deploys.
56
56
 
57
57
  See the [`mastra deploy` CLI reference](https://mastra.ai/reference/cli/mastra) for the full list of flags and CI/CD usage.
58
58
 
@@ -405,6 +405,26 @@ Multilingual E5 produces 1024-dimensional vectors. Your vector index must be cre
405
405
 
406
406
  FastEmbed models embed at most 512 tokens per input (roughly 2,000 to 2,500 characters of English text). Longer inputs are truncated, so text past the limit doesn't affect the embedding and can't be found by semantic recall. The AI SDK v3 FastEmbed models return a warning when this happens. The legacy v1 and v2 models don't. If you embed long documents with FastEmbed, chunk them to fit the window, for example with `maxSize: 1500` in `MDocument.chunk()`.
407
407
 
408
+ ### Setting the embedding dimension
409
+
410
+ To name the vector index, Memory needs the embedder's output dimension. By default it finds the dimension by embedding a short probe string the first time semantic recall is set up, once per `Memory` instance. If you already know the dimension, set `embeddingDimension`. Memory then skips the probe, so startup makes no embedding call and doesn't depend on the embedding provider being reachable:
411
+
412
+ ```ts
413
+ import { Memory } from '@mastra/memory'
414
+
415
+ const memory = new Memory({
416
+ embedder: 'openai/text-embedding-3-small',
417
+ embeddingDimension: 1536,
418
+ options: {
419
+ semanticRecall: true,
420
+ },
421
+ })
422
+ ```
423
+
424
+ The index name is the same whether the dimension is configured or probed, so existing indexes keep working.
425
+
426
+ The value must match the vectors the embedder returns. Memory compares it with the first real embedding, and on a mismatch it throws a `MASTRA_MEMORY_EMBEDDING_DIMENSION_MISMATCH` error naming both values before creating or querying any index. Update `embeddingDimension` whenever you change the embedding model or its output dimension.
427
+
408
428
  ## PostgreSQL index optimization
409
429
 
410
430
  When using PostgreSQL as your vector store, you can optimize semantic recall performance by configuring the vector index. This is particularly important for large-scale deployments with thousands of messages.
@@ -27,7 +27,7 @@ import { SimpleAuth } from '@mastra/core/server'
27
27
  export const mastra = new Mastra({
28
28
  server: {
29
29
  auth: new SimpleAuth({
30
- users: {
30
+ tokens: {
31
31
  'my-api-key': {
32
32
  id: 'user-1',
33
33
  name: 'Alice',
@@ -97,7 +97,7 @@ import { StaticRBACProvider, DEFAULT_ROLES } from '@mastra/core/auth/ee'
97
97
  export const mastra = new Mastra({
98
98
  server: {
99
99
  auth: new SimpleAuth({
100
- users: {
100
+ tokens: {
101
101
  'admin-key': { id: 'user-1', name: 'Alice', role: 'admin' },
102
102
  'viewer-key': { id: 'user-2', name: 'Bob', role: 'viewer' },
103
103
  },
@@ -98,7 +98,11 @@ Visit the [metrics overview](https://mastra.ai/docs/observability/metrics/overvi
98
98
 
99
99
  When you run an agent or workflow, the Observability tab displays traces that highlight the key AI operations such as model calls, tool executions, and workflow steps. Follow these traces to see how data moves, where time is spent, and what's happening under the hood.
100
100
 
101
- Above the trace list, open **Columns** to show or hide input, entity, duration, input token, output token, estimated cost, and custom metadata columns. To display custom metadata, add the top-level key used in `tracingOptions.metadata`. Studio saves the selection in browser storage for the current Mastra server and API prefix.
101
+ Above the trace list, open **Columns** to show or hide input, entity, duration, input token, output token, estimated cost, and custom metadata columns. Studio saves the selection in browser storage for the current Mastra server and API prefix.
102
+
103
+ Custom metadata columns require an observability store that supports trace queries (`queryTraces`), such as the DuckDB observability store in the [quickstart](#quickstart). In **Columns**, select **Add metadata column** and enter the top-level key used in `tracingOptions.metadata`.
104
+
105
+ With a store that doesn't support trace queries, such as LibSQL alone, Studio hides **Add metadata column**. Advanced filters, including metadata and tags, are also unavailable. Storing metadata on spans doesn't enable these trace-list features.
102
106
 
103
107
  Token and estimated cost columns require an observability store that supports metrics. These columns stay hidden in the **Branches** view because several branch rows can belong to the same trace.
104
108
 
@@ -36,7 +36,7 @@ switch (result.status) {
36
36
 
37
37
  The result object contains:
38
38
 
39
- - `status` - The workflow status: `'success'`, `'failed'`, `'suspended'`, or `'tripwire'`
39
+ - `status` - The workflow status: `'success'`, `'failed'`, `'suspended'`, `'paused'`, or `'tripwire'`
40
40
  - `result` - The workflow output (when status is `'success'`)
41
41
  - `error` - Error details (when status is `'failed'`)
42
42
  - `steps` - Individual step results with their status and output
@@ -53,7 +53,6 @@ List of required environment variables for each model provider and gateway suppo
53
53
  | [CoralBricks](https://mastra.ai/models/providers/coralbricks) | `coralbricks/*` | `CORAL_API_KEY` |
54
54
  | [CoreWeave](https://mastra.ai/models/providers/wandb) | `wandb/*` | `WANDB_API_KEY` |
55
55
  | [Cortecs](https://mastra.ai/models/providers/cortecs) | `cortecs/*` | `CORTECS_API_KEY` |
56
- | [CrofAI](https://mastra.ai/models/providers/crof) | `crof/*` | `CROF_API_KEY` |
57
56
  | [CrossModel](https://mastra.ai/models/providers/crossmodel) | `crossmodel/*` | `CROSSMODEL_API_KEY` |
58
57
  | [Crusoe](https://mastra.ai/models/providers/crusoe) | `crusoe/*` | `CRUSOE_API_KEY` |
59
58
  | [D.Run (China)](https://mastra.ai/models/providers/drun) | `drun/*` | `DRUN_API_KEY` |
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![Merge Gateway logo](https://models.dev/logos/merge-gateway.svg)Merge Gateway
6
6
 
7
- Merge Gateway aggregates models from multiple providers with enhanced features like rate limiting and failover. Access 206 models through Mastra's model router.
7
+ Merge Gateway aggregates models from multiple providers with enhanced features like rate limiting and failover. Access 211 models through Mastra's model router.
8
8
 
9
9
  Learn more in the [Merge Gateway documentation](https://docs.merge.dev/merge-gateway).
10
10
 
@@ -158,6 +158,7 @@ ANTHROPIC_API_KEY=ant-...
158
158
  | `openai/gpt-5-chat-latest` |
159
159
  | `openai/gpt-5-mini` |
160
160
  | `openai/gpt-5-nano` |
161
+ | `openai/gpt-5-search-api` |
161
162
  | `openai/gpt-5.1` |
162
163
  | `openai/gpt-5.1-chat-latest` |
163
164
  | `openai/gpt-5.2` |
@@ -174,6 +175,9 @@ ANTHROPIC_API_KEY=ant-...
174
175
  | `openai/gpt-6-luna` |
175
176
  | `openai/gpt-6-sol` |
176
177
  | `openai/gpt-6.1-sol` |
178
+ | `openai/gpt-audio` |
179
+ | `openai/gpt-audio-mini` |
180
+ | `openai/gpt-live-1` |
177
181
  | `openai/gpt-oss-120b` |
178
182
  | `openai/gpt-oss-20b` |
179
183
  | `openai/gpt-oss-safeguard-120b` |
@@ -182,6 +186,7 @@ ANTHROPIC_API_KEY=ant-...
182
186
  | `openai/o3` |
183
187
  | `openai/o3-mini` |
184
188
  | `openai/o4-mini` |
189
+ | `openai/whisper-1` |
185
190
  | `qwen/qwen-flash` |
186
191
  | `qwen/qwen-plus` |
187
192
  | `qwen/qwen3-235b-a22b` |
@@ -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 8413 models from 220 providers through a single API.
7
+ Mastra provides a unified interface for working with LLMs across multiple providers, giving you access to 8400 models from 219 providers through a single API.
8
8
 
9
9
  ## Features
10
10
 
@@ -420,7 +420,6 @@ Every provider below works with the model router as `provider/model`. Read the p
420
420
  - [CoralBricks](https://mastra.ai/models/providers/coralbricks)
421
421
  - [CoreWeave](https://mastra.ai/models/providers/wandb)
422
422
  - [Cortecs](https://mastra.ai/models/providers/cortecs)
423
- - [CrofAI](https://mastra.ai/models/providers/crof)
424
423
  - [CrossModel](https://mastra.ai/models/providers/crossmodel)
425
424
  - [Crusoe](https://mastra.ai/models/providers/crusoe)
426
425
  - [D.Run (China)](https://mastra.ai/models/providers/drun)
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![Aixy logo](https://models.dev/logos/aixy.svg)Aixy
6
6
 
7
- Access 11 Aixy models through Mastra's model router. Authentication is handled automatically using the `AIXY_API_KEY` environment variable.
7
+ Access 13 Aixy models through Mastra's model router. Authentication is handled automatically using the `AIXY_API_KEY` environment variable.
8
8
 
9
9
  Learn more in the [Aixy documentation](https://docs.aixy-gateway.com/integrations/overview).
10
10
 
@@ -42,6 +42,8 @@ for await (const chunk of stream) {
42
42
  | `aixy/anthropic/claude-haiku-5-5` | 1.0M | | | | | | $0.10 | $0.50 |
43
43
  | `aixy/anthropic/claude-opus-5-5` | 1.0M | | | | | | $4 | $20 |
44
44
  | `aixy/anthropic/claude-sonnet-5-5` | 1.0M | | | | | | $2 | $10 |
45
+ | `aixy/gemini/gemini-3.8-flash` | 1.0M | | | | | | $0.75 | $4 |
46
+ | `aixy/gemini/gemini-4-argon` | 1.0M | | | | | | $2 | $10 |
45
47
  | `aixy/openai/gpt-5.6-luna` | 1.1M | | | | | | $0.20 | $1 |
46
48
  | `aixy/openai/gpt-5.6-sol` | 1.1M | | | | | | $4 | $20 |
47
49
  | `aixy/openai/gpt-5.6-terra` | 1.1M | | | | | | $2 | $12 |
@@ -38,92 +38,44 @@ for await (const chunk of stream) {
38
38
 
39
39
  | Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
40
40
  | ----------------------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
41
- | `alibaba-cn/deepseek-r1` | 131K | | | | | | $0.57 | $2 |
42
- | `alibaba-cn/deepseek-r1-0528` | 131K | | | | | | $0.57 | $2 |
43
41
  | `alibaba-cn/deepseek-r1-distill-llama-70b` | 33K | | | | | | $0.29 | $0.86 |
44
- | `alibaba-cn/deepseek-r1-distill-llama-8b` | 33K | | | | | | — | — |
45
42
  | `alibaba-cn/deepseek-r1-distill-qwen-1-5b` | 33K | | | | | | — | — |
46
- | `alibaba-cn/deepseek-r1-distill-qwen-14b` | 33K | | | | | | $0.14 | $0.43 |
47
- | `alibaba-cn/deepseek-r1-distill-qwen-32b` | 33K | | | | | | $0.29 | $0.86 |
48
- | `alibaba-cn/deepseek-r1-distill-qwen-7b` | 33K | | | | | | $0.07 | $0.14 |
49
- | `alibaba-cn/deepseek-v3` | 66K | | | | | | $0.29 | $1 |
50
- | `alibaba-cn/deepseek-v3-1` | 131K | | | | | | $0.57 | $2 |
51
- | `alibaba-cn/deepseek-v3-2-exp` | 131K | | | | | | $0.29 | $0.43 |
52
- | `alibaba-cn/deepseek-v4-flash` | 1.0M | | | | | | $0.14 | $0.28 |
53
- | `alibaba-cn/deepseek-v4-pro` | 1.0M | | | | | | $0.43 | $0.87 |
43
+ | `alibaba-cn/deepseek-v4-pro` | 1.0M | | | | | | $2 | $3 |
54
44
  | `alibaba-cn/deepseek-v4.1-flash` | 1.0M | | | | | | $0.30 | $1 |
55
45
  | `alibaba-cn/glm-5` | 203K | | | | | | $0.57 | $3 |
56
46
  | `alibaba-cn/glm-5.1` | 203K | | | | | | $0.82 | $3 |
57
47
  | `alibaba-cn/glm-5.2` | 1.0M | | | | | | $1 | $4 |
58
48
  | `alibaba-cn/glm-5.3` | 1.0M | | | | | | $1 | $4 |
59
- | `alibaba-cn/kimi-k2-thinking` | 262K | | | | | | $0.57 | $2 |
60
- | `alibaba-cn/kimi-k2.5` | 262K | | | | | | $0.57 | $2 |
49
+ | `alibaba-cn/kimi-k2.5` | 262K | | | | | | $0.57 | $3 |
61
50
  | `alibaba-cn/kimi-k2.6` | 262K | | | | | | $0.93 | $4 |
62
51
  | `alibaba-cn/kimi-k3` | 1.0M | | | | | | $3 | $14 |
63
52
  | `alibaba-cn/kimi/kimi-k2.5` | 262K | | | | | | $0.60 | $3 |
64
53
  | `alibaba-cn/MiniMax-M2.5` | 205K | | | | | | $0.30 | $1 |
65
54
  | `alibaba-cn/MiniMax/MiniMax-M2.7` | 205K | | | | | | $0.30 | $1 |
66
- | `alibaba-cn/moonshot-kimi-k2-instruct` | 131K | | | | | | $0.57 | $2 |
67
- | `alibaba-cn/qvq-max` | 131K | | | | | | $1 | $5 |
68
55
  | `alibaba-cn/qwen-deep-research` | 1.0M | | | | | | $8 | $23 |
69
56
  | `alibaba-cn/qwen-doc-turbo` | 131K | | | | | | $0.09 | $0.14 |
70
57
  | `alibaba-cn/qwen-flash` | 1.0M | | | | | | $0.02 | $0.22 |
71
58
  | `alibaba-cn/qwen-long` | 10.0M | | | | | | $0.07 | $0.29 |
72
- | `alibaba-cn/qwen-math-plus` | 4K | | | | | | $0.57 | $2 |
73
- | `alibaba-cn/qwen-math-turbo` | 4K | | | | | | $0.29 | $0.86 |
74
59
  | `alibaba-cn/qwen-max` | 131K | | | | | | $0.34 | $1 |
75
60
  | `alibaba-cn/qwen-mt-plus` | 16K | | | | | | $0.26 | $0.78 |
76
- | `alibaba-cn/qwen-mt-turbo` | 16K | | | | | | $0.10 | $0.28 |
77
- | `alibaba-cn/qwen-omni-turbo` | 33K | | | | | | $0.06 | $0.23 |
78
- | `alibaba-cn/qwen-omni-turbo-realtime` | 33K | | | | | | $0.23 | $0.92 |
79
61
  | `alibaba-cn/qwen-plus` | 1.0M | | | | | | $0.12 | $0.29 |
80
62
  | `alibaba-cn/qwen-plus-character` | 33K | | | | | | $0.12 | $0.29 |
81
- | `alibaba-cn/qwen-turbo` | 1.0M | | | | | | $0.04 | $0.09 |
82
- | `alibaba-cn/qwen-vl-max` | 131K | | | | | | $0.23 | $0.57 |
83
63
  | `alibaba-cn/qwen-vl-ocr` | 34K | | | | | | $0.04 | $0.07 |
84
- | `alibaba-cn/qwen-vl-plus` | 131K | | | | | | $0.12 | $0.29 |
85
- | `alibaba-cn/qwen2-5-14b-instruct` | 131K | | | | | | $0.14 | $0.43 |
86
- | `alibaba-cn/qwen2-5-32b-instruct` | 131K | | | | | | $0.29 | $0.86 |
87
- | `alibaba-cn/qwen2-5-72b-instruct` | 131K | | | | | | $0.57 | $2 |
88
- | `alibaba-cn/qwen2-5-7b-instruct` | 131K | | | | | | $0.07 | $0.14 |
89
- | `alibaba-cn/qwen2-5-coder-32b-instruct` | 131K | | | | | | $0.29 | $0.86 |
90
- | `alibaba-cn/qwen2-5-coder-7b-instruct` | 131K | | | | | | $0.14 | $0.29 |
91
- | `alibaba-cn/qwen2-5-math-72b-instruct` | 4K | | | | | | $0.57 | $2 |
92
- | `alibaba-cn/qwen2-5-math-7b-instruct` | 4K | | | | | | $0.14 | $0.29 |
93
- | `alibaba-cn/qwen2-5-omni-7b` | 33K | | | | | | $0.09 | $0.34 |
94
- | `alibaba-cn/qwen2-5-vl-72b-instruct` | 131K | | | | | | $2 | $7 |
95
- | `alibaba-cn/qwen2-5-vl-7b-instruct` | 131K | | | | | | $0.29 | $0.72 |
96
- | `alibaba-cn/qwen3-14b` | 131K | | | | | | $0.14 | $0.57 |
97
- | `alibaba-cn/qwen3-235b-a22b` | 131K | | | | | | $0.29 | $1 |
98
- | `alibaba-cn/qwen3-32b` | 131K | | | | | | $0.29 | $1 |
99
- | `alibaba-cn/qwen3-8b` | 131K | | | | | | $0.07 | $0.29 |
100
64
  | `alibaba-cn/qwen3-asr-flash` | 53K | | | | | | $0.03 | $0.03 |
101
- | `alibaba-cn/qwen3-coder-30b-a3b-instruct` | 262K | | | | | | $0.22 | $0.86 |
102
- | `alibaba-cn/qwen3-coder-480b-a35b-instruct` | 262K | | | | | | $0.86 | $3 |
103
65
  | `alibaba-cn/qwen3-coder-flash` | 1.0M | | | | | | $0.14 | $0.57 |
104
- | `alibaba-cn/qwen3-coder-plus` | 1.0M | | | | | | $0.57 | $2 |
105
- | `alibaba-cn/qwen3-max` | 262K | | | | | | $0.36 | $1 |
106
- | `alibaba-cn/qwen3-next-80b-a3b-instruct` | 131K | | | | | | $0.14 | $0.57 |
107
- | `alibaba-cn/qwen3-next-80b-a3b-thinking` | 131K | | | | | | $0.14 | $1 |
108
- | `alibaba-cn/qwen3-omni-flash` | 66K | | | | | | $0.06 | $0.23 |
109
- | `alibaba-cn/qwen3-omni-flash-realtime` | 66K | | | | | | $0.23 | $0.92 |
110
- | `alibaba-cn/qwen3-vl-235b-a22b` | 131K | | | | | | $0.29 | $1 |
111
- | `alibaba-cn/qwen3-vl-30b-a3b` | 131K | | | | | | $0.11 | $0.43 |
66
+ | `alibaba-cn/qwen3-omni-flash` | 66K | | | | | | $0.26 | $0.99 |
112
67
  | `alibaba-cn/qwen3-vl-plus` | 262K | | | | | | $0.14 | $1 |
113
68
  | `alibaba-cn/qwen3.5-397b-a17b` | 262K | | | | | | $0.17 | $1 |
114
69
  | `alibaba-cn/qwen3.5-flash` | 1.0M | | | | | | $0.03 | $0.29 |
115
70
  | `alibaba-cn/qwen3.5-plus` | 1.0M | | | | | | $0.12 | $0.69 |
116
- | `alibaba-cn/qwen3.6-flash` | 1.0M | | | | | | $0.19 | $1 |
117
- | `alibaba-cn/qwen3.6-max-preview` | 246K | | | | | | $1 | $8 |
118
- | `alibaba-cn/qwen3.6-plus` | 1.0M | | | | | | $0.50 | $3 |
71
+ | `alibaba-cn/qwen3.6-flash` | 1.0M | | | | | | $0.17 | $0.99 |
72
+ | `alibaba-cn/qwen3.6-plus` | 1.0M | | | | | | $0.28 | $2 |
119
73
  | `alibaba-cn/qwen3.7-flash` | 1.0M | | | | | | $0.03 | $0.12 |
120
- | `alibaba-cn/qwen3.7-max` | 1.0M | | | | | | $3 | $8 |
121
- | `alibaba-cn/qwen3.7-plus` | 1.0M | | | | | | $0.50 | $3 |
74
+ | `alibaba-cn/qwen3.7-max` | 1.0M | | | | | | $2 | $5 |
75
+ | `alibaba-cn/qwen3.7-plus` | 1.0M | | | | | | $0.28 | $1 |
122
76
  | `alibaba-cn/qwen3.8-flash` | 1.0M | | | | | | $0.12 | $0.40 |
123
77
  | `alibaba-cn/qwen3.8-max` | 1.0M | | | | | | $2 | $5 |
124
78
  | `alibaba-cn/qwen3.8-omni-flash` | 1.0M | | | | | | $0.11 | $0.38 |
125
- | `alibaba-cn/qwq-32b` | 131K | | | | | | $0.29 | $0.86 |
126
- | `alibaba-cn/qwq-plus` | 131K | | | | | | $0.23 | $0.57 |
127
79
  | `alibaba-cn/siliconflow/deepseek-r1-0528` | 164K | | | | | | $0.50 | $2 |
128
80
  | `alibaba-cn/siliconflow/deepseek-v3-0324` | 164K | | | | | | $0.25 | $1 |
129
81
  | `alibaba-cn/siliconflow/deepseek-v3.1-terminus` | 164K | | | | | | $0.27 | $1 |