Skip to content

Commit b661349

Browse files
chore: regenerate providers and docs [skip ci]
1 parent 6047c1a commit b661349

11 files changed

Lines changed: 8989 additions & 8556 deletions

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@mastra/core': patch
3+
---
4+
5+
Update provider registry and model documentation with latest models and providers

docs/src/content/en/models/index.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Models"
3-
description: "Access 115+ AI providers and 3948+ models through Mastra's model router."
3+
description: "Access 117+ AI providers and 3962+ models through Mastra's model router."
44
---
55

66
{/* This file is auto-generated by generate-model-docs.ts - DO NOT EDIT MANUALLY */}
@@ -12,7 +12,7 @@ import { NetlifyLogo } from "@site/src/components/logos/NetlifyLogo";
1212

1313
# Model Providers
1414

15-
Mastra provides a unified interface for working with LLMs across multiple providers, giving you access to 3948 models from 115 providers through a single API.
15+
Mastra provides a unified interface for working with LLMs across multiple providers, giving you access to 3962 models from 117 providers through a single API.
1616

1717
## Features
1818

@@ -149,7 +149,7 @@ Browse the directory of available models using the navigation on the left, or ex
149149
<span>Google</span>
150150
</div>
151151
</div>
152-
<div className="text-sm text-gray-600 dark:text-gray-400 mt-3">+ 107 more</div>
152+
<div className="text-sm text-gray-600 dark:text-gray-400 mt-3">+ 109 more</div>
153153
</div>
154154
</CardGridItem>
155155
</CardGrid>
Lines changed: 145 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,145 @@
1+
---
2+
title: "Atomic Chat | Models"
3+
description: "Use Atomic Chat models with Mastra. 5 models available."
4+
---
5+
6+
{/* This file is auto-generated by generate-model-docs.ts - DO NOT EDIT MANUALLY */}
7+
8+
# <img src="https://models.dev/logos/atomic-chat.svg" alt="Atomic Chat logo" className="inline w-8 h-8 mr-2 align-middle dark:invert dark:brightness-0 dark:contrast-200" />Atomic Chat
9+
10+
Access 5 Atomic Chat models through Mastra's model router. Authentication is handled automatically using the `ATOMIC_CHAT_API_KEY` environment variable.
11+
12+
Learn more in the [Atomic Chat documentation](https://atomic.chat).
13+
14+
```bash title=".env"
15+
ATOMIC_CHAT_API_KEY=your-api-key
16+
```
17+
18+
```typescript title="src/mastra/agents/my-agent.ts" {7}
19+
import { Agent } from "@mastra/core/agent";
20+
21+
const agent = new Agent({
22+
id: "my-agent",
23+
name: "My Agent",
24+
instructions: "You are a helpful assistant",
25+
model: "atomic-chat/Meta-Llama-3_1-8B-Instruct-GGUF"
26+
});
27+
28+
// Generate a response
29+
const response = await agent.generate("Hello!");
30+
31+
// Stream a response
32+
const stream = await agent.stream("Tell me a story");
33+
for await (const chunk of stream) {
34+
console.log(chunk);
35+
}
36+
```
37+
38+
:::info
39+
40+
Mastra uses the OpenAI-compatible `/chat/completions` endpoint. Some provider-specific features may not be available. Check the [Atomic Chat documentation](https://atomic.chat) for details.
41+
42+
:::
43+
44+
## Models
45+
46+
<ProviderModelsTable
47+
models={[
48+
{
49+
"model": "atomic-chat/gemma-4-E4B-it-IQ4_XS",
50+
"imageInput": false,
51+
"audioInput": false,
52+
"videoInput": false,
53+
"toolUsage": false,
54+
"reasoning": false,
55+
"contextWindow": 32768,
56+
"maxOutput": 8192,
57+
"inputCost": null,
58+
"outputCost": null
59+
},
60+
{
61+
"model": "atomic-chat/gemma-4-E4B-it-MLX-4bit",
62+
"imageInput": false,
63+
"audioInput": false,
64+
"videoInput": false,
65+
"toolUsage": false,
66+
"reasoning": false,
67+
"contextWindow": 32768,
68+
"maxOutput": 8192,
69+
"inputCost": null,
70+
"outputCost": null
71+
},
72+
{
73+
"model": "atomic-chat/Meta-Llama-3_1-8B-Instruct-GGUF",
74+
"imageInput": false,
75+
"audioInput": false,
76+
"videoInput": false,
77+
"toolUsage": true,
78+
"reasoning": false,
79+
"contextWindow": 131072,
80+
"maxOutput": 4096,
81+
"inputCost": null,
82+
"outputCost": null
83+
},
84+
{
85+
"model": "atomic-chat/Qwen3_5-9B-MLX-4bit",
86+
"imageInput": true,
87+
"audioInput": false,
88+
"videoInput": false,
89+
"toolUsage": true,
90+
"reasoning": false,
91+
"contextWindow": 32768,
92+
"maxOutput": 8192,
93+
"inputCost": null,
94+
"outputCost": null
95+
},
96+
{
97+
"model": "atomic-chat/Qwen3_5-9B-Q4_K_M",
98+
"imageInput": true,
99+
"audioInput": false,
100+
"videoInput": false,
101+
"toolUsage": true,
102+
"reasoning": false,
103+
"contextWindow": 32768,
104+
"maxOutput": 8192,
105+
"inputCost": null,
106+
"outputCost": null
107+
}
108+
]}
109+
/>
110+
111+
## Advanced configuration
112+
113+
### Custom headers
114+
115+
```typescript title="src/mastra/agents/my-agent.ts"
116+
const agent = new Agent({
117+
id: "custom-agent",
118+
name: "custom-agent",
119+
model: {
120+
url: "http://127.0.0.1:1337/v1",
121+
id: "atomic-chat/Meta-Llama-3_1-8B-Instruct-GGUF",
122+
apiKey: process.env.ATOMIC_CHAT_API_KEY,
123+
headers: {
124+
"X-Custom-Header": "value"
125+
}
126+
}
127+
});
128+
```
129+
130+
### Dynamic model selection
131+
132+
```typescript title="src/mastra/agents/my-agent.ts"
133+
const agent = new Agent({
134+
id: "dynamic-agent",
135+
name: "Dynamic Agent",
136+
model: ({ requestContext }) => {
137+
const useAdvanced = requestContext.task === "complex";
138+
return useAdvanced
139+
? "atomic-chat/gemma-4-E4B-it-MLX-4bit"
140+
: "atomic-chat/Meta-Llama-3_1-8B-Instruct-GGUF";
141+
}
142+
});
143+
```
144+
145+
Lines changed: 181 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,181 @@
1+
---
2+
title: "GMI Cloud | Models"
3+
description: "Use GMI Cloud models with Mastra. 8 models available."
4+
---
5+
6+
{/* This file is auto-generated by generate-model-docs.ts - DO NOT EDIT MANUALLY */}
7+
8+
# <img src="https://models.dev/logos/gmicloud.svg" alt="GMI Cloud logo" className="inline w-8 h-8 mr-2 align-middle dark:invert dark:brightness-0 dark:contrast-200" />GMI Cloud
9+
10+
Access 8 GMI Cloud models through Mastra's model router. Authentication is handled automatically using the `GMICLOUD_API_KEY` environment variable.
11+
12+
Learn more in the [GMI Cloud documentation](https://docs.gmicloud.ai).
13+
14+
```bash title=".env"
15+
GMICLOUD_API_KEY=your-api-key
16+
```
17+
18+
```typescript title="src/mastra/agents/my-agent.ts" {7}
19+
import { Agent } from "@mastra/core/agent";
20+
21+
const agent = new Agent({
22+
id: "my-agent",
23+
name: "My Agent",
24+
instructions: "You are a helpful assistant",
25+
model: "gmicloud/anthropic/claude-opus-4.6"
26+
});
27+
28+
// Generate a response
29+
const response = await agent.generate("Hello!");
30+
31+
// Stream a response
32+
const stream = await agent.stream("Tell me a story");
33+
for await (const chunk of stream) {
34+
console.log(chunk);
35+
}
36+
```
37+
38+
:::info
39+
40+
Mastra uses the OpenAI-compatible `/chat/completions` endpoint. Some provider-specific features may not be available. Check the [GMI Cloud documentation](https://docs.gmicloud.ai) for details.
41+
42+
:::
43+
44+
## Models
45+
46+
<ProviderModelsTable
47+
models={[
48+
{
49+
"model": "gmicloud/anthropic/claude-opus-4.6",
50+
"imageInput": false,
51+
"audioInput": false,
52+
"videoInput": false,
53+
"toolUsage": true,
54+
"reasoning": true,
55+
"contextWindow": 409600,
56+
"maxOutput": 128000,
57+
"inputCost": 5,
58+
"outputCost": 25
59+
},
60+
{
61+
"model": "gmicloud/anthropic/claude-opus-4.7",
62+
"imageInput": false,
63+
"audioInput": false,
64+
"videoInput": false,
65+
"toolUsage": true,
66+
"reasoning": true,
67+
"contextWindow": 409600,
68+
"maxOutput": 128000,
69+
"inputCost": 4.5,
70+
"outputCost": 22.5
71+
},
72+
{
73+
"model": "gmicloud/anthropic/claude-sonnet-4.6",
74+
"imageInput": false,
75+
"audioInput": false,
76+
"videoInput": false,
77+
"toolUsage": true,
78+
"reasoning": true,
79+
"contextWindow": 409600,
80+
"maxOutput": 64000,
81+
"inputCost": 3,
82+
"outputCost": 15
83+
},
84+
{
85+
"model": "gmicloud/deepseek-ai/DeepSeek-V4-Flash",
86+
"imageInput": false,
87+
"audioInput": false,
88+
"videoInput": false,
89+
"toolUsage": true,
90+
"reasoning": true,
91+
"contextWindow": 1048575,
92+
"maxOutput": 384000,
93+
"inputCost": 0.112,
94+
"outputCost": 0.224
95+
},
96+
{
97+
"model": "gmicloud/deepseek-ai/DeepSeek-V4-Pro",
98+
"imageInput": false,
99+
"audioInput": false,
100+
"videoInput": false,
101+
"toolUsage": true,
102+
"reasoning": true,
103+
"contextWindow": 1048576,
104+
"maxOutput": 384000,
105+
"inputCost": 1.392,
106+
"outputCost": 2.784
107+
},
108+
{
109+
"model": "gmicloud/moonshotai/Kimi-K2.6",
110+
"imageInput": false,
111+
"audioInput": false,
112+
"videoInput": false,
113+
"toolUsage": true,
114+
"reasoning": true,
115+
"contextWindow": 65536,
116+
"maxOutput": 65536,
117+
"inputCost": 0.855,
118+
"outputCost": 3.6
119+
},
120+
{
121+
"model": "gmicloud/zai-org/GLM-5-FP8",
122+
"imageInput": false,
123+
"audioInput": false,
124+
"videoInput": false,
125+
"toolUsage": true,
126+
"reasoning": true,
127+
"contextWindow": 202752,
128+
"maxOutput": 131072,
129+
"inputCost": 0.6,
130+
"outputCost": 1.92
131+
},
132+
{
133+
"model": "gmicloud/zai-org/GLM-5.1-FP8",
134+
"imageInput": false,
135+
"audioInput": false,
136+
"videoInput": false,
137+
"toolUsage": true,
138+
"reasoning": true,
139+
"contextWindow": 202752,
140+
"maxOutput": 131072,
141+
"inputCost": 0.98,
142+
"outputCost": 3.08
143+
}
144+
]}
145+
/>
146+
147+
## Advanced configuration
148+
149+
### Custom headers
150+
151+
```typescript title="src/mastra/agents/my-agent.ts"
152+
const agent = new Agent({
153+
id: "custom-agent",
154+
name: "custom-agent",
155+
model: {
156+
url: "https://api.gmi-serving.com/v1",
157+
id: "gmicloud/anthropic/claude-opus-4.6",
158+
apiKey: process.env.GMICLOUD_API_KEY,
159+
headers: {
160+
"X-Custom-Header": "value"
161+
}
162+
}
163+
});
164+
```
165+
166+
### Dynamic model selection
167+
168+
```typescript title="src/mastra/agents/my-agent.ts"
169+
const agent = new Agent({
170+
id: "dynamic-agent",
171+
name: "Dynamic Agent",
172+
model: ({ requestContext }) => {
173+
const useAdvanced = requestContext.task === "complex";
174+
return useAdvanced
175+
? "gmicloud/zai-org/GLM-5.1-FP8"
176+
: "gmicloud/anthropic/claude-opus-4.6";
177+
}
178+
});
179+
```
180+
181+

0 commit comments

Comments
 (0)