From b3004ba7ed3defeb6d175a755981d49aea2c67ee Mon Sep 17 00:00:00 2001 From: waleedlatif1 Date: Thu, 7 Aug 2025 10:09:15 -0700 Subject: [PATCH 1/3] feat(gpt-5): added gpt-5 --- apps/docs/content/docs/blocks/agent.mdx | 2 +- .../docs/connections/data-structure.mdx | 2 +- apps/sim/providers/models.ts | 65 +++++++++++++++---- 3 files changed, 54 insertions(+), 15 deletions(-) diff --git a/apps/docs/content/docs/blocks/agent.mdx b/apps/docs/content/docs/blocks/agent.mdx index b5b02ff7688..42c3ea9bc5f 100644 --- a/apps/docs/content/docs/blocks/agent.mdx +++ b/apps/docs/content/docs/blocks/agent.mdx @@ -61,7 +61,7 @@ The user prompt represents the primary input data for inference processing. This The Agent block supports multiple LLM providers through a unified inference interface. Available models include: -**OpenAI Models**: GPT-4o, o1, o3, o4-mini, gpt-4.1 (API-based inference) +**OpenAI Models**: GPT-5, GPT-4o, o1, o3, o4-mini, gpt-4.1 (API-based inference) **Anthropic Models**: Claude 3.7 Sonnet (API-based inference) **Google Models**: Gemini 2.5 Pro, Gemini 2.0 Flash (API-based inference) **Alternative Providers**: Groq, Cerebras, xAI, DeepSeek (API-based inference) diff --git a/apps/docs/content/docs/connections/data-structure.mdx b/apps/docs/content/docs/connections/data-structure.mdx index 591d364fea4..590b94483e3 100644 --- a/apps/docs/content/docs/connections/data-structure.mdx +++ b/apps/docs/content/docs/connections/data-structure.mdx @@ -84,7 +84,7 @@ Different block types produce different output structures. Here's what you can e ```json { "content": "Evaluation summary", - "model": "gpt-4o", + "model": "gpt-5", "tokens": { "prompt": 120, "completion": 85, diff --git a/apps/sim/providers/models.ts b/apps/sim/providers/models.ts index e56fa7f56b9..9c506b556c0 100644 --- a/apps/sim/providers/models.ts +++ b/apps/sim/providers/models.ts @@ -77,6 +77,58 @@ export const PROVIDER_DEFINITIONS: Record = { toolUsageControl: true, }, }, + { + id: 'gpt-5', + pricing: { + input: 10.0, + cachedInput: 5.0, + output: 40.0, + updatedAt: '2025-08-07', + }, + capabilities: { + temperature: { min: 0, max: 2 }, + toolUsageControl: true, + }, + }, + { + id: 'gpt-5-mini', + pricing: { + input: 1.0, + cachedInput: 0.5, + output: 4.0, + updatedAt: '2025-08-07', + }, + capabilities: { + temperature: { min: 0, max: 2 }, + toolUsageControl: true, + }, + }, + { + id: 'gpt-5-nano', + pricing: { + input: 0.2, + cachedInput: 0.1, + output: 0.8, + updatedAt: '2025-08-07', + }, + capabilities: { + temperature: { min: 0, max: 2 }, + toolUsageControl: true, + }, + }, + { + id: 'gpt-5-chat-latest', + pricing: { + input: 10.0, + cachedInput: 5.0, + output: 40.0, + updatedAt: '2025-08-07', + }, + capabilities: { + temperature: { min: 0, max: 2 }, + toolUsageControl: true, + }, + }, { id: 'o1', pricing: { @@ -406,19 +458,6 @@ export const PROVIDER_DEFINITIONS: Record = { toolUsageControl: true, }, }, - { - id: 'grok-3-fast-latest', - pricing: { - input: 5.0, - cachedInput: 2.5, - output: 25.0, - updatedAt: '2025-04-17', - }, - capabilities: { - temperature: { min: 0, max: 1 }, - toolUsageControl: true, - }, - }, ], }, cerebras: { From 5677f37126b75d940b4978368c700f2a1e8e041f Mon Sep 17 00:00:00 2001 From: waleedlatif1 Date: Thu, 7 Aug 2025 10:11:29 -0700 Subject: [PATCH 2/3] restore grok-3-fast --- apps/sim/providers/models.ts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/apps/sim/providers/models.ts b/apps/sim/providers/models.ts index 9c506b556c0..096aff07e71 100644 --- a/apps/sim/providers/models.ts +++ b/apps/sim/providers/models.ts @@ -458,6 +458,19 @@ export const PROVIDER_DEFINITIONS: Record = { toolUsageControl: true, }, }, + { + id: 'grok-3-fast-latest', + pricing: { + input: 5.0, + cachedInput: 2.5, + output: 25.0, + updatedAt: '2025-04-17', + }, + capabilities: { + temperature: { min: 0, max: 1 }, + toolUsageControl: true, + }, + }, ], }, cerebras: { From e810da3d7bb200f438ecbfbf5733d6a660ced9a6 Mon Sep 17 00:00:00 2001 From: waleedlatif1 Date: Thu, 7 Aug 2025 10:21:15 -0700 Subject: [PATCH 3/3] added azure gpt-5 --- apps/sim/providers/models.ts | 52 ++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/apps/sim/providers/models.ts b/apps/sim/providers/models.ts index 096aff07e71..1c8f3e61328 100644 --- a/apps/sim/providers/models.ts +++ b/apps/sim/providers/models.ts @@ -227,6 +227,58 @@ export const PROVIDER_DEFINITIONS: Record = { toolUsageControl: true, }, }, + { + id: 'azure/gpt-5', + pricing: { + input: 10.0, + cachedInput: 5.0, + output: 40.0, + updatedAt: '2025-08-07', + }, + capabilities: { + temperature: { min: 0, max: 2 }, + toolUsageControl: true, + }, + }, + { + id: 'azure/gpt-5-mini', + pricing: { + input: 1.0, + cachedInput: 0.5, + output: 4.0, + updatedAt: '2025-08-07', + }, + capabilities: { + temperature: { min: 0, max: 2 }, + toolUsageControl: true, + }, + }, + { + id: 'azure/gpt-5-nano', + pricing: { + input: 0.2, + cachedInput: 0.1, + output: 0.8, + updatedAt: '2025-08-07', + }, + capabilities: { + temperature: { min: 0, max: 2 }, + toolUsageControl: true, + }, + }, + { + id: 'azure/gpt-5-chat-latest', + pricing: { + input: 10.0, + cachedInput: 5.0, + output: 40.0, + updatedAt: '2025-08-07', + }, + capabilities: { + temperature: { min: 0, max: 2 }, + toolUsageControl: true, + }, + }, { id: 'azure/o3', pricing: {