@mastra/mcp-docs-server 1.3.9-alpha.6 → 1.3.9-alpha.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. package/.docs/docs/agents/human-in-the-loop.md +2 -1
  2. package/.docs/docs/harness/agent-controller.md +1 -1
  3. package/.docs/docs/harness/durable-agents.md +17 -5
  4. package/.docs/docs/memory/observational-memory.md +4 -2
  5. package/.docs/docs/studio/overview.md +8 -0
  6. package/.docs/docs/workflows/control-flow.md +3 -1
  7. package/.docs/docs/workflows/overview.md +2 -0
  8. package/.docs/docs/workflows/time-travel.md +1 -1
  9. package/.docs/integrations/voice/google.md +6 -0
  10. package/.docs/models/gateways/merge-gateway.md +3 -1
  11. package/.docs/models/gateways/netlify.md +6 -4
  12. package/.docs/models/gateways/openrouter.md +6 -4
  13. package/.docs/models/gateways/vercel.md +7 -1
  14. package/.docs/models/index.md +1 -1
  15. package/.docs/models/providers/alibaba-token-plan-cn.md +31 -30
  16. package/.docs/models/providers/baseten.md +27 -25
  17. package/.docs/models/providers/cloudflare-workers-ai.md +2 -1
  18. package/.docs/models/providers/coralbricks.md +5 -8
  19. package/.docs/models/providers/cortecs.md +4 -4
  20. package/.docs/models/providers/deepinfra.md +2 -1
  21. package/.docs/models/providers/edenai.md +12 -6
  22. package/.docs/models/providers/empiriolabs.md +3 -1
  23. package/.docs/models/providers/engy.md +12 -11
  24. package/.docs/models/providers/fireworks-ai.md +2 -1
  25. package/.docs/models/providers/huggingface.md +2 -1
  26. package/.docs/models/providers/hyper.md +26 -25
  27. package/.docs/models/providers/kilo.md +21 -19
  28. package/.docs/models/providers/llmgateway-providers.md +9 -5
  29. package/.docs/models/providers/llmgateway.md +3 -1
  30. package/.docs/models/providers/minimax-cn-coding-plan.md +2 -1
  31. package/.docs/models/providers/minimax-cn.md +3 -2
  32. package/.docs/models/providers/minimax-coding-plan.md +2 -1
  33. package/.docs/models/providers/minimax.md +3 -2
  34. package/.docs/models/providers/nano-gpt.md +52 -55
  35. package/.docs/models/providers/nearai.md +1 -1
  36. package/.docs/models/providers/nebius.md +2 -1
  37. package/.docs/models/providers/novita-ai.md +2 -1
  38. package/.docs/models/providers/nvidia.md +2 -1
  39. package/.docs/models/providers/ofox.md +2 -1
  40. package/.docs/models/providers/ollama-cloud.md +31 -29
  41. package/.docs/models/providers/opencode-go.md +2 -2
  42. package/.docs/models/providers/opencode.md +2 -2
  43. package/.docs/models/providers/prime.md +3 -1
  44. package/.docs/models/providers/requesty.md +4 -1
  45. package/.docs/models/providers/standardcompute.md +47 -8
  46. package/.docs/models/providers/togetherai.md +4 -1
  47. package/.docs/models/providers/upstage.md +8 -7
  48. package/.docs/models/providers/zenmux.md +2 -1
  49. package/.docs/reference/agents/channels.md +5 -1
  50. package/.docs/reference/agents/durable-agent.md +11 -6
  51. package/.docs/reference/classifier/classifier.md +29 -5
  52. package/.docs/reference/client-js/agent-controller.md +2 -0
  53. package/.docs/reference/client-js/observability.md +117 -0
  54. package/.docs/reference/core/mastra-class.md +7 -1
  55. package/.docs/reference/evals/create-classifier-scorer.md +1 -0
  56. package/.docs/reference/memory/observational-memory.md +2 -2
  57. package/.docs/reference/observability/tracing/trace-query.md +39 -10
  58. package/.docs/reference/processors/classifier-processor.md +8 -6
  59. package/.docs/reference/processors/model-selection-processor.md +2 -2
  60. package/.docs/reference/processors/moderation-processor.md +5 -1
  61. package/.docs/reference/processors/system-prompt-scrubber.md +4 -0
  62. package/.docs/reference/signals/create-notification-inbox-tool.md +11 -9
  63. package/.docs/reference/tools/create-tool.md +2 -2
  64. package/.docs/reference/tools/mcp-client.md +2 -2
  65. package/.docs/reference/workflows/dynamic-workflow-definition.md +1 -1
  66. package/.docs/reference/workflows/run-methods/resume.md +1 -1
  67. package/.docs/reference/workflows/run-methods/timeTravel.md +15 -16
  68. package/.docs/reference/workflows/step.md +1 -0
  69. package/.docs/reference/workflows/workflow-methods/classifier.md +1 -0
  70. package/.docs/reference/workspace/factory-sandbox.md +2 -0
  71. package/package.json +8 -9
@@ -144,7 +144,8 @@ const stream = await agent.stream('Clean up old records', {
144
144
  },
145
145
  })
146
146
 
147
- return result.answers.requiresApproval.probability >= 0.7
147
+ // A refused question has no probability, so it falls back to requiring approval.
148
+ return (result.answers.requiresApproval.probability ?? 1) >= 0.7
148
149
  },
149
150
  })
150
151
  ```
@@ -513,7 +513,7 @@ const subscription = await session.subscribe({
513
513
  subscription.unsubscribe()
514
514
  ```
515
515
 
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.
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`).
517
517
 
518
518
  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
519
 
@@ -320,6 +320,10 @@ export const mastra = new Mastra({
320
320
 
321
321
  On startup, this discovers every registered durable agent with runs stuck in `running` status and re-drives them from the last persisted snapshot.
322
322
 
323
+ 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.
324
+
325
+ 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.
326
+
323
327
  Recovery doesn't take over a run that another execution still drives. It skips the run and checks it again once that execution's claim could have lapsed. A run whose process crashed shortly before the restart is still recovered, without another call.
324
328
 
325
329
  ### Manual recovery
@@ -330,20 +334,20 @@ If you need finer control, such as running recovery on a schedule, call the meth
330
334
  // Recover all durable agents
331
335
  const result = await mastra.recoverAllDurableAgents()
332
336
  console.log(
333
- `Recovered ${result.recovered} runs (${result.succeeded} ok, ${result.failed} failed, ${result.skipped} still live)`,
337
+ `Recovered ${result.recovered} runs (${result.succeeded} ok, ${result.failed} failed, ${result.skipped} skipped)`,
334
338
  )
335
339
 
336
340
  // Recover a specific agent
337
341
  const { recovered } = await durableAgent.recoverActiveRuns()
338
342
  for (const run of recovered) {
339
- if (run.status === 'skipped') console.log(`${run.runId} is still live: ${run.reason}`)
343
+ if (run.status === 'skipped') console.log(`${run.runId} was skipped: ${run.reason}`)
340
344
  }
341
345
 
342
346
  // Recover a single known run
343
347
  await durableAgent.recoverActiveRuns({ runId: 'run-abc-123' })
344
348
  ```
345
349
 
346
- `recoverAllDurableAgents()` returns counts and re-checks skipped runs itself. `recoverActiveRuns()` returns each run's outcome as `success`, `failed`, or `skipped`, and doesn't re-check skipped runs. A run skipped because another process drives it carries `retryAt`, the time after which its claim lapses unless renewed.
350
+ `recoverAllDurableAgents()` returns counts and schedules eligible ownership re-checks itself. `recoverActiveRuns()` returns each run's outcome as `success`, `failed`, or `skipped`, and doesn't re-check skipped runs. A run skipped because another process drives it carries `retryAt`, the time after which its claim lapses unless renewed. A timed-out attempt instead returns `status: 'skipped'` with `reason: 'recovery-timeout'` and no `retryAt`, so Mastra doesn't automatically retry it. Only the `skipped` count includes this attempt; the `recovered`, `succeeded`, and `failed` counts exclude it even if it settles later.
347
351
 
348
352
  Manual recovery reads the same `running` checkpoints as automatic recovery. For a `DurableAgent` using the default snapshot policy with `recovery.durableAgents` set to `'off'`, in-flight runs are only checkpointed at step boundaries reached after `mastra.shutdown()` starts. A run that crashes before then, or doesn't reach a step boundary during the drain, has no checkpoint, so `listActiveRuns()` and `recoverActiveRuns()` don't find it. See [snapshot persistence](#snapshot-persistence).
349
353
 
@@ -353,11 +357,11 @@ To take over a run that's still live, such as one held by a hung execution, call
353
357
  const { output } = await durableAgent.recover('run-abc-123', { force: true })
354
358
  ```
355
359
 
356
- The execution that held the run loses it and stops, and streams for the run drop the events it still publishes. Without `force`, `recover()` throws `DURABLE_AGENT_RUN_ACTIVE` for a live run. Even with `force`, `recover()` refuses a run that the same process is executing.
360
+ The execution that held the run loses its claim. Mastra requests cancellation when that execution detects the loss. Work that ignores cancellation can continue. With storage-backed claims, streams drop events from older claim generations. See [stop work after ownership loss](#stop-work-after-ownership-loss) for cancellation limits. Without `force`, `recover()` throws `DURABLE_AGENT_RUN_ACTIVE` for a live run. Even with `force`, `recover()` refuses a run that the same process is executing.
357
361
 
358
362
  ### Run ownership
359
363
 
360
- Every `stream()`, `generate()`, `resume()`, and `recover()` call claims the run before it executes and renews the claim every 10 seconds. A claim lapses 30 seconds after its last renewal, so a run whose process crashed becomes recoverable within 30 seconds. Until then, recovery treats the run as live, and a `stream()` or `resume()` call for that run waits up to 5 seconds for the claim, then throws `DURABLE_AGENT_EXECUTION_CONFLICT`. `mastra.shutdown()` stops the runs still executing after its drain window without further writes and releases their claims. The next boot then recovers them without waiting for the claims to lapse.
364
+ Every `stream()`, `generate()`, `resume()`, and `recover()` call claims the run before it executes and renews the claim every 5 seconds. A claim lapses 15 seconds after its last renewal, so a run whose process crashed becomes recoverable within 15 seconds. Until then, recovery treats the run as live, and a `stream()` or `resume()` call for that run waits up to 5 seconds for the claim, then throws `DURABLE_AGENT_EXECUTION_CONFLICT`. `mastra.shutdown()` stops the runs still executing after its drain window without further writes and releases their claims. The next boot then recovers them without waiting for the claims to lapse. Set `MASTRA_AGENT_THREAD_LEASE_TTL_MS` to change the lapse time. Renewal happens every third of it unless `MASTRA_AGENT_THREAD_LEASE_RENEW_INTERVAL_MS` sets an interval shorter than the TTL.
361
365
 
362
366
  Enforcement of the claim depends on the workflows store. When the store supports run fencing, the claim is a record in that store, and each write is checked against the claim in the same operation. Once another execution claims the run, writes from the execution that lost it are rejected. That execution's message, thread, and working memory writes are rejected only if the memory store supports run fencing too, so they still land when the agent's `Memory` uses a storage adapter without it. These storage adapters support run fencing:
363
367
 
@@ -386,6 +390,14 @@ With any other workflows store, the claim is a lease on the [PubSub](https://mas
386
390
 
387
391
  A lease only coordinates the processes that share it. `EventEmitterPubSub`, the default, covers one process. `UnixSocketPubSub` covers the processes on one host. `RedisStreamsPubSub` and `ValkeyStreamsPubSub` cover every instance connected to the same server. `GoogleCloudPubSub` doesn't provide leases, so with a store that lacks run fencing every claim succeeds, and recovery can take over a run that's still live.
388
392
 
393
+ ### Stop work after ownership loss
394
+
395
+ Durable and evented agents request cancellation of in-flight tool and model calls when their step detects that it no longer owns the run. Evented workers in another process check ownership at the claim renewal interval without renewing the original execution's claim. By default that's every 5 seconds, a third of `MASTRA_AGENT_THREAD_LEASE_TTL_MS`. Detection depends on backend response time. If ownership checks keep failing or stop responding, the step stops trusting its claim after one lease TTL, 15 seconds by default.
396
+
397
+ Cancellation is cooperative. Use the tool execution context's `abortSignal` for cancellable operations, and check it before starting another side effect. A tool that ignores the signal can keep running. Work already completed outside Mastra isn't rolled back.
398
+
399
+ Recovery can start the same tool call before the old invocation detects ownership loss. Keep tools idempotent or deduplicate external effects even when they handle cancellation. Cancellation reduces overlapping work. It doesn't guarantee exactly-once execution.
400
+
389
401
  ### Multi-instance deployments
390
402
 
391
403
  Every replica can start with `recovery.durableAgents: 'auto'`. Replicas that boot together race to recover the same orphaned runs, but only one claim succeeds per run and the other replicas skip it. This requires a claim that every replica shares: a workflows store that supports run fencing, or a PubSub backend whose lease every replica shares. Without either, gate recovery behind your own leader election or run it from a single replica.
@@ -203,7 +203,7 @@ const memory = new Memory({
203
203
 
204
204
  ### Retries and failure policy
205
205
 
206
- Observer and Reflector model calls are retried on transient provider errors, and a turn aborts if they still fail. Each stage is controlled independently by:
206
+ Observer and Reflector model calls are retried on transient provider errors. By default, a synchronous observation or reflection that still fails aborts the turn. Each stage is controlled independently by:
207
207
 
208
208
  - `maxRetries`: retries after the initial model call (default `8`).
209
209
  - `failurePolicy`: what happens once retries are exhausted, either `'abort'` (default) or `'continue'`.
@@ -231,7 +231,9 @@ With `failurePolicy: 'continue'`, Mastra retries as configured, reports the fail
231
231
 
232
232
  A provider outage usually takes out both stages, so set the policy on both if you want the turn to survive one.
233
233
 
234
- This policy applies only to Observer and Reflector model and provider failures in synchronous, resource-scoped, and buffered observation. Persistence, indexing, transform, locking, invariant, and explicit abort failures remain fatal. It doesn't prevent the underlying provider or network error, change `blockAfter`, or change attachment handling.
234
+ This policy applies only to Observer and Reflector model and provider failures when observation or reflection runs synchronously: at `blockAfter`, when async buffering is disabled, and in resource-scoped observation. In those paths, persistence, indexing, transform, locking, invariant, and explicit abort failures remain fatal. It doesn't prevent the underlying provider or network error, change `blockAfter`, or change attachment handling.
235
+
236
+ Background (async buffered) observation and reflection failures never stop the turn, whatever the policy. They're reported as `om_buffering_failed`, and the failed input stays pending. If it keeps growing, it reaches `blockAfter`, where synchronous observation applies `failurePolicy`.
235
237
 
236
238
  > **Warning:** `'continue'` has no backstop for a sustained outage. Unobserved messages stay pending and keep accruing in the main agent's context. A long outage moves the failure from the memory layer to the model's context limit.
237
239
 
@@ -67,6 +67,14 @@ Use [Editor](https://mastra.ai/docs/studio/editor) to let non-technical team mem
67
67
 
68
68
  Use [Agent Builder](https://agent-builder.mastra.ai) to create and manage fully stored agents through a separate browser-based interface.
69
69
 
70
+ #### Models panel
71
+
72
+ Open an agent's **Models** panel to view its primary model and fallback models in priority order. For static model lists, you can reorder models, enable or disable fallbacks, and change the provider or model. The panel stays synchronized when Studio refetches the agent.
73
+
74
+ These edits change the running server's in-memory agent and are lost when the server restarts. Persistent model-list editing is tracked in [GitHub issue #27089](https://github.com/mastra-ai/mastra/issues/27089).
75
+
76
+ Function-valued model lists can vary by request context, so Studio displays them as read-only. Change a dynamic model list in code instead.
77
+
70
78
  ### Workflows
71
79
 
72
80
  Visualize your workflow as a graph and run it step by step with a custom input. During execution, the interface updates in real time to show the active step and the path taken.
@@ -289,7 +289,9 @@ export const ticketTriage = createWorkflow({
289
289
  .commit()
290
290
  ```
291
291
 
292
- The `choice` field retains the configured criteria-key union, so `inputData.answers.route.choice` is typed as `'billing' | 'support' | 'other'`. Score answers expose `score`. Boolean answers expose the `P(true)` value as `probability`. Apply an explicit threshold when routing.
292
+ The `choice` field retains the configured criteria-key union, so `inputData.answers.route.choice` is typed as `'billing' | 'support' | 'other' | undefined`. Score answers expose `score`. Boolean answers expose the `P(true)` value as `probability`. Apply an explicit threshold when routing.
293
+
294
+ When the decision model refuses a question, its answer is `{ type: 'refusal' }` and `choice`, `score`, and `probability` are `undefined`. In the example above, a refused `route` question matches no condition. Add a condition on `inputData.answers.route.type === 'refusal'` to handle it explicitly.
293
295
 
294
296
  ### Output structure
295
297
 
@@ -494,6 +494,8 @@ Runs restart concurrently, up to `recovery.workflowConcurrency` at a time (defau
494
494
 
495
495
  To exclude a workflow from automatic boot-time restarts triggered by `Mastra.restartAllActiveWorkflowRuns()`, set `autoRestartActiveRuns: false` in the workflow's `options`. This is useful for workflows with side effects that must not be re-driven by a blanket restart. Durable agent workflows set this automatically because their recovery is owned by the opt-in `recovery.durableAgents: 'auto'` path.
496
496
 
497
+ While a run executes, Mastra holds a storage lease on it and renews it in the background. `restart()` refuses to take over a run whose lease hasn't expired: it throws a `WORKFLOW_RESTART_RUN_OWNED` error and the sweep skips the run. The lease is advisory and doesn't fence writes. If a process stops renewing its lease but keeps executing a step, for example because its event loop is blocked for longer than the lease TTL, recovery can run that step a second time. The boot-time sweep, `mastra.restartAllActiveWorkflowRuns()`, rechecks a skipped run once its lease could have expired, so a run whose process crashed is still recovered. `workflow.restartAllActiveWorkflowRuns()` skips the run without a recheck, so call it after the lease expires if you need to recover that run. Storage adapters without run-ownership support keep the previous behavior and restart every active run.
498
+
497
499
  ### Restarting an active workflow run with `restart()`
498
500
 
499
501
  Use `restart()` to restart an active workflow run from the last active step. This will resume execution from the last active step, and the workflow will continue from there.
@@ -197,7 +197,7 @@ const result = await run.timeTravel({
197
197
 
198
198
  ## Error handling
199
199
 
200
- Time travel throws errors in specific situations. It rejects a call that observes a running snapshot, but it doesn't atomically claim the run. Concurrent calls can both pass the status check and proceed, so guard against duplicates in your application. See [Concurrent time travel calls](https://mastra.ai/reference/workflows/run-methods/timeTravel).
200
+ Time travel throws errors in specific situations. Before it runs anything, time travel atomically claims the run, so only one call proceeds at a time. A concurrent call throws `WORKFLOW_TIME_TRAVEL_ALREADY_CLAIMED`, or `WORKFLOW_TIME_TRAVEL_RUN_RUNNING` if the run is already executing. See [Concurrent time travel calls](https://mastra.ai/reference/workflows/run-methods/timeTravel).
201
201
 
202
202
  ### Running workflow
203
203
 
@@ -397,6 +397,12 @@ voice.close()
397
397
 
398
398
  **sessionConfig.contextCompression** (`boolean`): Enable automatic context compression.
399
399
 
400
+ **inputAudioTranscription** (`GeminiAudioTranscriptionConfig`): Transcription settings for the user's speech. Set languageCodes to BCP-47 hints (for example \['es-ES']) so short or accented utterances aren't transcribed in the wrong language. Without hints, the server auto-detects the language. Applied when the session connects.
401
+
402
+ **inputAudioTranscription.languageCodes** (`string[]`): BCP-47 language codes present in the audio.
403
+
404
+ **outputAudioTranscription** (`GeminiAudioTranscriptionConfig`): Transcription settings for the model's speech. Takes the same languageCodes hints as inputAudioTranscription. Applied when the session connects.
405
+
400
406
  **debug** (`boolean`): Enable debug logging for troubleshooting. (Default: `false`)
401
407
 
402
408
  ### Methods
@@ -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 204 models through Mastra's model router.
7
+ Merge Gateway aggregates models from multiple providers with enhanced features like rate limiting and failover. Access 206 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
 
@@ -78,6 +78,7 @@ ANTHROPIC_API_KEY=ant-...
78
78
  | `deepseek/deepseek-v4-pro-0423` |
79
79
  | `deepseek/deepseek-v4-pro-0813` |
80
80
  | `deepseek/deepseek-v4.1-flash` |
81
+ | `deepseek/deepseek-v4.1-flash-1017` |
81
82
  | `google/gemini-2.5-computer-use-preview-10-2025` |
82
83
  | `google/gemini-2.5-flash` |
83
84
  | `google/gemini-2.5-flash-image` |
@@ -119,6 +120,7 @@ ANTHROPIC_API_KEY=ant-...
119
120
  | `minimax/minimax-m2.7` |
120
121
  | `minimax/minimax-m2.7-highspeed` |
121
122
  | `minimax/minimax-m3` |
123
+ | `minimax/minimax-m3.1-flash` |
122
124
  | `mistral/codestral-latest` |
123
125
  | `mistral/devstral-2512` |
124
126
  | `mistral/devstral-medium-2507` |
@@ -4,7 +4,7 @@
4
4
 
5
5
  # Netlify
6
6
 
7
- Netlify AI Gateway provides unified access to multiple providers with built-in caching and observability. Access 286 models through Mastra's model router.
7
+ Netlify AI Gateway provides unified access to multiple providers with built-in caching and observability. Access 288 models through Mastra's model router.
8
8
 
9
9
  Learn more in the [Netlify documentation](https://docs.netlify.com/build/ai-gateway/overview/).
10
10
 
@@ -133,6 +133,7 @@ ANTHROPIC_API_KEY=ant-...
133
133
  | `openrouter/~deepseek/deepseek-pro-latest` |
134
134
  | `openrouter/~deepseek/deepseek-v4-flash-latest` |
135
135
  | `openrouter/~moonshotai/kimi-latest` |
136
+ | `openrouter/~unbiased/pareto-latest` |
136
137
  | `openrouter/~x-ai/grok-latest` |
137
138
  | `openrouter/~z-ai/glm-flash-latest` |
138
139
  | `openrouter/~z-ai/glm-latest` |
@@ -148,7 +149,6 @@ ANTHROPIC_API_KEY=ant-...
148
149
  | `openrouter/cohere/command-a-plus` |
149
150
  | `openrouter/deepseek/deepseek-chat` |
150
151
  | `openrouter/deepseek/deepseek-chat-v3.1` |
151
- | `openrouter/deepseek/deepseek-r1` |
152
152
  | `openrouter/deepseek/deepseek-r1-0528` |
153
153
  | `openrouter/deepseek/deepseek-v3.2` |
154
154
  | `openrouter/deepseek/deepseek-v4-flash` |
@@ -157,6 +157,8 @@ ANTHROPIC_API_KEY=ant-...
157
157
  | `openrouter/deepseek/deepseek-v4-pro` |
158
158
  | `openrouter/deepseek/deepseek-v4-pro-0813` |
159
159
  | `openrouter/deepseek/deepseek-v4.1-flash` |
160
+ | `openrouter/deepseek/deepseek-v4.1-flash-1017` |
161
+ | `openrouter/elorian/glimpse` |
160
162
  | `openrouter/fireworks/ember-1` |
161
163
  | `openrouter/google/gemma-2-27b-it` |
162
164
  | `openrouter/google/gemma-3-12b-it` |
@@ -169,6 +171,7 @@ ANTHROPIC_API_KEY=ant-...
169
171
  | `openrouter/ibm-granite/granite-4.2-8b` |
170
172
  | `openrouter/inception/mercury-2` |
171
173
  | `openrouter/inception/mercury-2.5` |
174
+ | `openrouter/inception/mercury-3` |
172
175
  | `openrouter/inclusionai/ling-3.0-flash` |
173
176
  | `openrouter/inclusionai/ling-3.0-flash-vl` |
174
177
  | `openrouter/inclusionai/ling-3.1-flash` |
@@ -187,7 +190,6 @@ ANTHROPIC_API_KEY=ant-...
187
190
  | `openrouter/meta/muse-glimmer-30b` |
188
191
  | `openrouter/meta/muse-spark-open` |
189
192
  | `openrouter/microsoft/phi-4` |
190
- | `openrouter/microsoft/wizardlm-2-8x22b` |
191
193
  | `openrouter/minimax/minimax-m1` |
192
194
  | `openrouter/minimax/minimax-m2` |
193
195
  | `openrouter/minimax/minimax-m2.1` |
@@ -279,7 +281,6 @@ ANTHROPIC_API_KEY=ant-...
279
281
  | `openrouter/relace/relace-search` |
280
282
  | `openrouter/sao10k/l3-lunaris-8b` |
281
283
  | `openrouter/sao10k/l3.1-euryale-70b` |
282
- | `openrouter/sao10k/l3.3-euryale-70b` |
283
284
  | `openrouter/scaledown/extract` |
284
285
  | `openrouter/scaledown/summarize` |
285
286
  | `openrouter/stepfun/step-3.7-flash` |
@@ -295,6 +296,7 @@ ANTHROPIC_API_KEY=ant-...
295
296
  | `openrouter/thinkingmachines/inkling` |
296
297
  | `openrouter/thinkingmachines/inkling-small` |
297
298
  | `openrouter/typesafe/jev-router` |
299
+ | `openrouter/unbiased/pareto-26.10` |
298
300
  | `openrouter/undi95/remm-slerp-l2-13b` |
299
301
  | `openrouter/upstage/solar-mini4` |
300
302
  | `openrouter/upstage/solar-pro4` |
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![OpenRouter logo](https://models.dev/logos/openrouter.svg)OpenRouter
6
6
 
7
- OpenRouter aggregates models from multiple providers with enhanced features like rate limiting and failover. Access 387 models through Mastra's model router.
7
+ OpenRouter aggregates models from multiple providers with enhanced features like rate limiting and failover. Access 389 models through Mastra's model router.
8
8
 
9
9
  Learn more in the [OpenRouter documentation](https://openrouter.ai/models).
10
10
 
@@ -102,7 +102,6 @@ ANTHROPIC_API_KEY=ant-...
102
102
  | `deepseek/deepseek-chat` |
103
103
  | `deepseek/deepseek-chat-v3-0324` |
104
104
  | `deepseek/deepseek-chat-v3.1` |
105
- | `deepseek/deepseek-r1` |
106
105
  | `deepseek/deepseek-r1-0528` |
107
106
  | `deepseek/deepseek-v3.1-terminus` |
108
107
  | `deepseek/deepseek-v3.2` |
@@ -113,7 +112,9 @@ ANTHROPIC_API_KEY=ant-...
113
112
  | `deepseek/deepseek-v4-pro` |
114
113
  | `deepseek/deepseek-v4-pro-0813` |
115
114
  | `deepseek/deepseek-v4.1-flash` |
115
+ | `deepseek/deepseek-v4.1-flash-1017` |
116
116
  | `dots-studio/dots-3-note-preview:free` |
117
+ | `elorian/glimpse` |
117
118
  | `fireworks/ember-1` |
118
119
  | `google/gemini-2.5-flash` |
119
120
  | `google/gemini-2.5-flash-image` |
@@ -152,6 +153,7 @@ ANTHROPIC_API_KEY=ant-...
152
153
  | `ibm-granite/granite-4.2-8b` |
153
154
  | `inception/mercury-2` |
154
155
  | `inception/mercury-2.5` |
156
+ | `inception/mercury-3` |
155
157
  | `inclusionai/ling-3.0-flash` |
156
158
  | `inclusionai/ling-3.0-flash-vl` |
157
159
  | `inclusionai/ling-3.1-flash` |
@@ -178,7 +180,6 @@ ANTHROPIC_API_KEY=ant-...
178
180
  | `meta/muse-spark-open` |
179
181
  | `meta/muse-wonder` |
180
182
  | `microsoft/phi-4` |
181
- | `microsoft/wizardlm-2-8x22b` |
182
183
  | `minimax/minimax-01` |
183
184
  | `minimax/minimax-m1` |
184
185
  | `minimax/minimax-m2` |
@@ -187,6 +188,7 @@ ANTHROPIC_API_KEY=ant-...
187
188
  | `minimax/minimax-m2.5` |
188
189
  | `minimax/minimax-m2.7` |
189
190
  | `minimax/minimax-m3` |
191
+ | `minimax/minimax-m3.1-flash:free` |
190
192
  | `mistralai/codestral-2508` |
191
193
  | `mistralai/devstral-2512` |
192
194
  | `mistralai/ministral-14b-2512` |
@@ -370,7 +372,6 @@ ANTHROPIC_API_KEY=ant-...
370
372
  | `sakana/sakana-namazu` |
371
373
  | `sao10k/l3-lunaris-8b` |
372
374
  | `sao10k/l3.1-euryale-70b` |
373
- | `sao10k/l3.3-euryale-70b` |
374
375
  | `scaledown/extract` |
375
376
  | `scaledown/summarize` |
376
377
  | `stepfun/step-3.5-flash` |
@@ -390,6 +391,7 @@ ANTHROPIC_API_KEY=ant-...
390
391
  | `thinkingmachines/inkling-small` |
391
392
  | `thinkingmachines/inkling-small:free` |
392
393
  | `thinkingmachines/inkling:free` |
394
+ | `unbiased/pareto-26.10` |
393
395
  | `unbiased/pareto-26.9` |
394
396
  | `undi95/remm-slerp-l2-13b` |
395
397
  | `upstage/solar-mini4` |
@@ -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 410 models through Mastra's model router.
7
+ Vercel aggregates models from multiple providers with enhanced features like rate limiting and failover. Access 416 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
 
@@ -105,6 +105,7 @@ ANTHROPIC_API_KEY=ant-...
105
105
  | `bfl/flux-2-max` |
106
106
  | `bfl/flux-2-pro` |
107
107
  | `bfl/flux-3-image` |
108
+ | `bfl/flux-3-image-klein` |
108
109
  | `bfl/flux-3-video` |
109
110
  | `bfl/flux-kontext-max` |
110
111
  | `bfl/flux-kontext-pro` |
@@ -143,7 +144,10 @@ ANTHROPIC_API_KEY=ant-...
143
144
  | `deepseek/deepseek-v4-pro` |
144
145
  | `deepseek/deepseek-v4-pro-0813` |
145
146
  | `deepseek/deepseek-v4.1-flash` |
147
+ | `deepseek/deepseek-v4.1-flash-1017` |
148
+ | `deepseek/deepseek-v4.1-flash-1017-fast` |
146
149
  | `deepseek/deepseek-v4.1-flash-fast` |
150
+ | `elorian/glimpse` |
147
151
  | `fireworks/ember-1` |
148
152
  | `fish-audio/drama-3` |
149
153
  | `fish-audio/s1` |
@@ -189,6 +193,7 @@ ANTHROPIC_API_KEY=ant-...
189
193
  | `heygen/heygen-video-1` |
190
194
  | `inception/mercury-2` |
191
195
  | `inception/mercury-2.5` |
196
+ | `inception/mercury-3` |
192
197
  | `inception/mercury-coder-small` |
193
198
  | `inclusionai/ling-3.0-flash` |
194
199
  | `inclusionai/ling-3.0-flash-fin` |
@@ -240,6 +245,7 @@ ANTHROPIC_API_KEY=ant-...
240
245
  | `minimax/minimax-m2.7` |
241
246
  | `minimax/minimax-m2.7-highspeed` |
242
247
  | `minimax/minimax-m3` |
248
+ | `minimax/minimax-m3.1-flash` |
243
249
  | `mistral/codestral` |
244
250
  | `mistral/codestral-embed` |
245
251
  | `mistral/ministral-14b` |
@@ -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 8322 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 8414 models from 220 providers through a single API.
8
8
 
9
9
  ## Features
10
10
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![Alibaba Token Plan (China) logo](https://models.dev/logos/alibaba-token-plan-cn.svg)Alibaba Token Plan (China)
6
6
 
7
- Access 28 Alibaba Token Plan (China) models through Mastra's model router. Authentication is handled automatically using the `ALIBABA_TOKEN_PLAN_API_KEY` environment variable.
7
+ Access 29 Alibaba Token Plan (China) models through Mastra's model router. Authentication is handled automatically using the `ALIBABA_TOKEN_PLAN_API_KEY` environment variable.
8
8
 
9
9
  Learn more in the [Alibaba Token Plan (China) documentation](https://www.alibabacloud.com/help/zh/model-studio/token-plan-overview).
10
10
 
@@ -36,35 +36,36 @@ 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
- | `alibaba-token-plan-cn/deepseek-v3.2` | 131K | | | | | | — | — |
42
- | `alibaba-token-plan-cn/deepseek-v4-flash` | 1.0M | | | | | | — | — |
43
- | `alibaba-token-plan-cn/deepseek-v4-flash-0731` | 1.0M | | | | | | — | — |
44
- | `alibaba-token-plan-cn/deepseek-v4-pro` | 1.0M | | | | | | — | — |
45
- | `alibaba-token-plan-cn/deepseek-v4-pro-0813` | 1.0M | | | | | | — | — |
46
- | `alibaba-token-plan-cn/deepseek-v4.1-flash` | 1.0M | | | | | | — | — |
47
- | `alibaba-token-plan-cn/glm-5` | 203K | | | | | | — | — |
48
- | `alibaba-token-plan-cn/glm-5.1` | 203K | | | | | | — | — |
49
- | `alibaba-token-plan-cn/glm-5.2` | 1.0M | | | | | | — | — |
50
- | `alibaba-token-plan-cn/glm-5.3` | 1.0M | | | | | | — | — |
51
- | `alibaba-token-plan-cn/happyhorse-1.1-i2v` | — | | | | | | — | — |
52
- | `alibaba-token-plan-cn/happyhorse-1.1-r2v` | — | | | | | | — | — |
53
- | `alibaba-token-plan-cn/happyhorse-1.1-t2v` | — | | | | | | — | — |
54
- | `alibaba-token-plan-cn/kimi-k2.5` | 262K | | | | | | — | — |
55
- | `alibaba-token-plan-cn/kimi-k2.6` | 262K | | | | | | — | — |
56
- | `alibaba-token-plan-cn/kimi-k2.7-code` | 262K | | | | | | — | — |
57
- | `alibaba-token-plan-cn/MiniMax-M2.5` | 197K | | | | | | — | — |
58
- | `alibaba-token-plan-cn/qwen-image-2.0` | 8K | | | | | | — | — |
59
- | `alibaba-token-plan-cn/qwen-image-2.0-pro` | 8K | | | | | | — | — |
60
- | `alibaba-token-plan-cn/qwen3.6-flash` | 1.0M | | | | | | — | — |
61
- | `alibaba-token-plan-cn/qwen3.6-plus` | 1.0M | | | | | | — | — |
62
- | `alibaba-token-plan-cn/qwen3.7-max` | 1.0M | | | | | | — | — |
63
- | `alibaba-token-plan-cn/qwen3.7-plus` | 1.0M | | | | | | — | — |
64
- | `alibaba-token-plan-cn/qwen3.8-flash` | 1.0M | | | | | | — | — |
65
- | `alibaba-token-plan-cn/qwen3.8-max` | 1.0M | | | | | | — | — |
66
- | `alibaba-token-plan-cn/wan2.7-image` | 8K | | | | | | — | — |
67
- | `alibaba-token-plan-cn/wan2.7-image-pro` | 8K | | | | | | — | — |
39
+ | Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
40
+ | ------------------------------------------------ | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
41
+ | `alibaba-token-plan-cn/deepseek-v3.2` | 131K | | | | | | — | — |
42
+ | `alibaba-token-plan-cn/deepseek-v4-flash` | 1.0M | | | | | | — | — |
43
+ | `alibaba-token-plan-cn/deepseek-v4-flash-0731` | 1.0M | | | | | | — | — |
44
+ | `alibaba-token-plan-cn/deepseek-v4-pro` | 1.0M | | | | | | — | — |
45
+ | `alibaba-token-plan-cn/deepseek-v4-pro-0813` | 1.0M | | | | | | — | — |
46
+ | `alibaba-token-plan-cn/deepseek-v4.1-flash` | 1.0M | | | | | | — | — |
47
+ | `alibaba-token-plan-cn/deepseek-v4.1-flash-1017` | 1.0M | | | | | | — | — |
48
+ | `alibaba-token-plan-cn/glm-5` | 203K | | | | | | — | — |
49
+ | `alibaba-token-plan-cn/glm-5.1` | 203K | | | | | | — | — |
50
+ | `alibaba-token-plan-cn/glm-5.2` | 1.0M | | | | | | — | — |
51
+ | `alibaba-token-plan-cn/glm-5.3` | 1.0M | | | | | | — | — |
52
+ | `alibaba-token-plan-cn/happyhorse-1.1-i2v` | — | | | | | | — | — |
53
+ | `alibaba-token-plan-cn/happyhorse-1.1-r2v` | — | | | | | | — | — |
54
+ | `alibaba-token-plan-cn/happyhorse-1.1-t2v` | — | | | | | | — | — |
55
+ | `alibaba-token-plan-cn/kimi-k2.5` | 262K | | | | | | — | — |
56
+ | `alibaba-token-plan-cn/kimi-k2.6` | 262K | | | | | | — | — |
57
+ | `alibaba-token-plan-cn/kimi-k2.7-code` | 262K | | | | | | — | — |
58
+ | `alibaba-token-plan-cn/MiniMax-M2.5` | 197K | | | | | | — | — |
59
+ | `alibaba-token-plan-cn/qwen-image-2.0` | 8K | | | | | | — | — |
60
+ | `alibaba-token-plan-cn/qwen-image-2.0-pro` | 8K | | | | | | — | — |
61
+ | `alibaba-token-plan-cn/qwen3.6-flash` | 1.0M | | | | | | — | — |
62
+ | `alibaba-token-plan-cn/qwen3.6-plus` | 1.0M | | | | | | — | — |
63
+ | `alibaba-token-plan-cn/qwen3.7-max` | 1.0M | | | | | | — | — |
64
+ | `alibaba-token-plan-cn/qwen3.7-plus` | 1.0M | | | | | | — | — |
65
+ | `alibaba-token-plan-cn/qwen3.8-flash` | 1.0M | | | | | | — | — |
66
+ | `alibaba-token-plan-cn/qwen3.8-max` | 1.0M | | | | | | — | — |
67
+ | `alibaba-token-plan-cn/wan2.7-image` | 8K | | | | | | — | — |
68
+ | `alibaba-token-plan-cn/wan2.7-image-pro` | 8K | | | | | | — | — |
68
69
 
69
70
  Model availability, capabilities, context windows, and pricing are sourced from [models.dev](https://models.dev) and may change.
70
71
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![Baseten logo](https://models.dev/logos/baseten.svg)Baseten
6
6
 
7
- Access 24 Baseten models through Mastra's model router. Authentication is handled automatically using the `BASETEN_API_KEY` environment variable.
7
+ Access 26 Baseten models through Mastra's model router. Authentication is handled automatically using the `BASETEN_API_KEY` environment variable.
8
8
 
9
9
  Learn more in the [Baseten documentation](https://docs.baseten.co).
10
10
 
@@ -36,30 +36,32 @@ 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
- | `baseten/deepseek-ai/DeepSeek-V4-Flash-0731` | 1.0M | | | | | | $0.13 | $0.26 |
42
- | `baseten/deepseek-ai/DeepSeek-V4-Pro` | 1.0M | | | | | | $2 | $3 |
43
- | `baseten/deepseek-ai/DeepSeek-V4-Pro-0813` | 1.0M | | | | | | $1 | $4 |
44
- | `baseten/deepseek-ai/DeepSeek-V4.1-Flash` | 1.0M | | | | | | $0.30 | $1 |
45
- | `baseten/deepseek-ai/DeepSeek-V4.1-Flash-Fast` | 1.0M | | | | | | $0.60 | $2 |
46
- | `baseten/moonshotai/Kimi-K2.5` | 262K | | | | | | $0.60 | $3 |
47
- | `baseten/moonshotai/Kimi-K2.6` | 262K | | | | | | $0.95 | $4 |
48
- | `baseten/moonshotai/Kimi-K2.7-Code` | 262K | | | | | | $0.95 | $4 |
49
- | `baseten/moonshotai/Kimi-K3` | 1.0M | | | | | | $3 | $15 |
50
- | `baseten/nvidia/Nemotron-120B-A12B` | 203K | | | | | | $0.30 | $0.75 |
51
- | `baseten/nvidia/NVIDIA-Nemotron-3-Ultra-550B-A55B` | 203K | | | | | | $0.60 | $2 |
52
- | `baseten/openai/gpt-oss-120b` | 128K | | | | | | $0.10 | $0.50 |
53
- | `baseten/thinkingmachines/inkling` | 1.0M | | | | | | $1 | $4 |
54
- | `baseten/thinkingmachines/inkling-small` | 1.0M | | | | | | $0.50 | $1 |
55
- | `baseten/zai-org/GLM-4.7` | 200K | | | | | | $0.60 | $2 |
56
- | `baseten/zai-org/GLM-5` | 203K | | | | | | $0.95 | $3 |
57
- | `baseten/zai-org/GLM-5.1` | 203K | | | | | | $1 | $4 |
58
- | `baseten/zai-org/GLM-5.2` | 1.0M | | | | | | $1 | $4 |
59
- | `baseten/zai-org/GLM-5.2-Fast` | 1.0M | | | | | | $2 | $7 |
60
- | `baseten/zai-org/GLM-5.3` | 1.0M | | | | | | $1 | $4 |
61
- | `baseten/zai-org/GLM-5.3-Fast` | 1.0M | | | | | | $2 | $7 |
62
- | `baseten/zai-org/GLM-5.3-Flash` | 1.0M | | | | | | $0.15 | $0.50 |
39
+ | Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
40
+ | --------------------------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
41
+ | `baseten/deepseek-ai/DeepSeek-V4-Flash-0731` | 1.0M | | | | | | $0.13 | $0.26 |
42
+ | `baseten/deepseek-ai/DeepSeek-V4-Pro` | 1.0M | | | | | | $2 | $3 |
43
+ | `baseten/deepseek-ai/DeepSeek-V4-Pro-0813` | 1.0M | | | | | | $1 | $4 |
44
+ | `baseten/deepseek-ai/DeepSeek-V4.1-Flash` | 1.0M | | | | | | $0.30 | $1 |
45
+ | `baseten/deepseek-ai/DeepSeek-V4.1-Flash-1017` | 1.0M | | | | | | $0.30 | $1 |
46
+ | `baseten/deepseek-ai/DeepSeek-V4.1-Flash-1017-Fast` | 1.0M | | | | | | $0.60 | $2 |
47
+ | `baseten/deepseek-ai/DeepSeek-V4.1-Flash-Fast` | 1.0M | | | | | | $0.60 | $2 |
48
+ | `baseten/moonshotai/Kimi-K2.5` | 262K | | | | | | $0.60 | $3 |
49
+ | `baseten/moonshotai/Kimi-K2.6` | 262K | | | | | | $0.95 | $4 |
50
+ | `baseten/moonshotai/Kimi-K2.7-Code` | 262K | | | | | | $0.95 | $4 |
51
+ | `baseten/moonshotai/Kimi-K3` | 1.0M | | | | | | $3 | $15 |
52
+ | `baseten/nvidia/Nemotron-120B-A12B` | 203K | | | | | | $0.30 | $0.75 |
53
+ | `baseten/nvidia/NVIDIA-Nemotron-3-Ultra-550B-A55B` | 203K | | | | | | $0.60 | $2 |
54
+ | `baseten/openai/gpt-oss-120b` | 128K | | | | | | $0.10 | $0.50 |
55
+ | `baseten/thinkingmachines/inkling` | 1.0M | | | | | | $1 | $4 |
56
+ | `baseten/thinkingmachines/inkling-small` | 1.0M | | | | | | $0.50 | $1 |
57
+ | `baseten/zai-org/GLM-4.7` | 200K | | | | | | $0.60 | $2 |
58
+ | `baseten/zai-org/GLM-5` | 203K | | | | | | $0.95 | $3 |
59
+ | `baseten/zai-org/GLM-5.1` | 203K | | | | | | $1 | $4 |
60
+ | `baseten/zai-org/GLM-5.2` | 1.0M | | | | | | $1 | $4 |
61
+ | `baseten/zai-org/GLM-5.2-Fast` | 1.0M | | | | | | $2 | $7 |
62
+ | `baseten/zai-org/GLM-5.3` | 1.0M | | | | | | $1 | $4 |
63
+ | `baseten/zai-org/GLM-5.3-Fast` | 1.0M | | | | | | $2 | $7 |
64
+ | `baseten/zai-org/GLM-5.3-Flash` | 1.0M | | | | | | $0.15 | $0.50 |
63
65
 
64
66
  Model availability, capabilities, context windows, and pricing are sourced from [models.dev](https://models.dev) and may change.
65
67
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![Cloudflare Workers AI logo](https://models.dev/logos/cloudflare-workers-ai.svg)Cloudflare Workers AI
6
6
 
7
- Access 27 Cloudflare Workers AI models through Mastra's model router. Authentication is handled automatically using the `CLOUDFLARE_API_KEY` environment variable. Configure `CLOUDFLARE_ACCOUNT_ID` as well.
7
+ Access 28 Cloudflare Workers AI models through Mastra's model router. Authentication is handled automatically using the `CLOUDFLARE_API_KEY` environment variable. Configure `CLOUDFLARE_ACCOUNT_ID` as well.
8
8
 
9
9
  Learn more in the [Cloudflare Workers AI documentation](https://developers.cloudflare.com/workers-ai/models/).
10
10
 
@@ -40,6 +40,7 @@ for await (const chunk of stream) {
40
40
  | Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
41
41
  | -------------------------------------------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
42
42
  | `cloudflare-workers-ai/@cf/aisingapore/gemma-sea-lion-v4-27b-it` | 128K | | | | | | $0.35 | $0.56 |
43
+ | `cloudflare-workers-ai/@cf/cloudflare/clairic` | 66K | | | | | | $0.10 | — |
43
44
  | `cloudflare-workers-ai/@cf/deepseek-ai/deepseek-r1-distill-qwen-32b` | 80K | | | | | | $0.50 | $5 |
44
45
  | `cloudflare-workers-ai/@cf/deepseek-ai/deepseek-v4-flash-0731` | 1.0M | | | | | | $0.44 | $1 |
45
46
  | `cloudflare-workers-ai/@cf/deepseek-ai/deepseek-v4-pro-0813` | 1.0M | | | | | | $1 | $4 |
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![CoralBricks logo](https://models.dev/logos/coralbricks.svg)CoralBricks
6
6
 
7
- Access 4 CoralBricks models through Mastra's model router. Authentication is handled automatically using the `CORAL_API_KEY` environment variable.
7
+ Access 1 CoralBricks model through Mastra's model router. Authentication is handled automatically using the `CORAL_API_KEY` environment variable.
8
8
 
9
9
  Learn more in the [CoralBricks documentation](https://www.coralbricks.ai/docs).
10
10
 
@@ -36,12 +36,9 @@ 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
- | `coralbricks/deepseek-v4.1-flash-fast` | 1.0M | | | | | | $0.01 | $1 |
42
- | `coralbricks/deepseek-v4.1-flash-fast-fp4` | 1.0M | | | | | | $0.01 | $1 |
43
- | `coralbricks/glm-5.3-fast` | 1.0M | | | | | | $1 | $4 |
44
- | `coralbricks/glm-5.3-fp4` | 1.0M | | | | | | $1 | $4 |
39
+ | Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
40
+ | -------------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
41
+ | `coralbricks/deepseek-v4.1-flash-fast` | 1.0M | | | | | | $0.01 | $1 |
45
42
 
46
43
  Model availability, capabilities, context windows, and pricing are sourced from [models.dev](https://models.dev) and may change.
47
44
 
@@ -73,7 +70,7 @@ const agent = new Agent({
73
70
  model: ({ requestContext }) => {
74
71
  const useAdvanced = requestContext.task === "complex";
75
72
  return useAdvanced
76
- ? "coralbricks/glm-5.3-fp4"
73
+ ? "coralbricks/deepseek-v4.1-flash-fast"
77
74
  : "coralbricks/deepseek-v4.1-flash-fast";
78
75
  }
79
76
  });