Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat(gpt-5): added gpt-5 models (#896)
* feat(gpt-5): added gpt-5

* restore grok-3-fast

* added azure gpt-5
  • Loading branch information
waleedlatif1 authored Aug 7, 2025
commit d5c13b72e923531bdd0d38ca56f02e6f763468de
2 changes: 1 addition & 1 deletion apps/docs/content/docs/blocks/agent.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/content/docs/connections/data-structure.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
104 changes: 104 additions & 0 deletions apps/sim/providers/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,58 @@ export const PROVIDER_DEFINITIONS: Record<string, ProviderDefinition> = {
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: {
Expand Down Expand Up @@ -175,6 +227,58 @@ export const PROVIDER_DEFINITIONS: Record<string, ProviderDefinition> = {
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: {
Expand Down