Skip to content

Commit d5c13b7

Browse files
authored
feat(gpt-5): added gpt-5 models (#896)
* feat(gpt-5): added gpt-5 * restore grok-3-fast * added azure gpt-5
1 parent e164e32 commit d5c13b7

File tree

3 files changed

+106
-2
lines changed

3 files changed

+106
-2
lines changed

apps/docs/content/docs/blocks/agent.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ The user prompt represents the primary input data for inference processing. This
6161

6262
The Agent block supports multiple LLM providers through a unified inference interface. Available models include:
6363

64-
**OpenAI Models**: GPT-4o, o1, o3, o4-mini, gpt-4.1 (API-based inference)
64+
**OpenAI Models**: GPT-5, GPT-4o, o1, o3, o4-mini, gpt-4.1 (API-based inference)
6565
**Anthropic Models**: Claude 3.7 Sonnet (API-based inference)
6666
**Google Models**: Gemini 2.5 Pro, Gemini 2.0 Flash (API-based inference)
6767
**Alternative Providers**: Groq, Cerebras, xAI, DeepSeek (API-based inference)

apps/docs/content/docs/connections/data-structure.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ Different block types produce different output structures. Here's what you can e
8484
```json
8585
{
8686
"content": "Evaluation summary",
87-
"model": "gpt-4o",
87+
"model": "gpt-5",
8888
"tokens": {
8989
"prompt": 120,
9090
"completion": 85,

apps/sim/providers/models.ts

Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,58 @@ export const PROVIDER_DEFINITIONS: Record<string, ProviderDefinition> = {
7777
toolUsageControl: true,
7878
},
7979
},
80+
{
81+
id: 'gpt-5',
82+
pricing: {
83+
input: 10.0,
84+
cachedInput: 5.0,
85+
output: 40.0,
86+
updatedAt: '2025-08-07',
87+
},
88+
capabilities: {
89+
temperature: { min: 0, max: 2 },
90+
toolUsageControl: true,
91+
},
92+
},
93+
{
94+
id: 'gpt-5-mini',
95+
pricing: {
96+
input: 1.0,
97+
cachedInput: 0.5,
98+
output: 4.0,
99+
updatedAt: '2025-08-07',
100+
},
101+
capabilities: {
102+
temperature: { min: 0, max: 2 },
103+
toolUsageControl: true,
104+
},
105+
},
106+
{
107+
id: 'gpt-5-nano',
108+
pricing: {
109+
input: 0.2,
110+
cachedInput: 0.1,
111+
output: 0.8,
112+
updatedAt: '2025-08-07',
113+
},
114+
capabilities: {
115+
temperature: { min: 0, max: 2 },
116+
toolUsageControl: true,
117+
},
118+
},
119+
{
120+
id: 'gpt-5-chat-latest',
121+
pricing: {
122+
input: 10.0,
123+
cachedInput: 5.0,
124+
output: 40.0,
125+
updatedAt: '2025-08-07',
126+
},
127+
capabilities: {
128+
temperature: { min: 0, max: 2 },
129+
toolUsageControl: true,
130+
},
131+
},
80132
{
81133
id: 'o1',
82134
pricing: {
@@ -175,6 +227,58 @@ export const PROVIDER_DEFINITIONS: Record<string, ProviderDefinition> = {
175227
toolUsageControl: true,
176228
},
177229
},
230+
{
231+
id: 'azure/gpt-5',
232+
pricing: {
233+
input: 10.0,
234+
cachedInput: 5.0,
235+
output: 40.0,
236+
updatedAt: '2025-08-07',
237+
},
238+
capabilities: {
239+
temperature: { min: 0, max: 2 },
240+
toolUsageControl: true,
241+
},
242+
},
243+
{
244+
id: 'azure/gpt-5-mini',
245+
pricing: {
246+
input: 1.0,
247+
cachedInput: 0.5,
248+
output: 4.0,
249+
updatedAt: '2025-08-07',
250+
},
251+
capabilities: {
252+
temperature: { min: 0, max: 2 },
253+
toolUsageControl: true,
254+
},
255+
},
256+
{
257+
id: 'azure/gpt-5-nano',
258+
pricing: {
259+
input: 0.2,
260+
cachedInput: 0.1,
261+
output: 0.8,
262+
updatedAt: '2025-08-07',
263+
},
264+
capabilities: {
265+
temperature: { min: 0, max: 2 },
266+
toolUsageControl: true,
267+
},
268+
},
269+
{
270+
id: 'azure/gpt-5-chat-latest',
271+
pricing: {
272+
input: 10.0,
273+
cachedInput: 5.0,
274+
output: 40.0,
275+
updatedAt: '2025-08-07',
276+
},
277+
capabilities: {
278+
temperature: { min: 0, max: 2 },
279+
toolUsageControl: true,
280+
},
281+
},
178282
{
179283
id: 'azure/o3',
180284
pricing: {

0 commit comments

Comments
 (0)