mirror of
https://github.com/simstudioai/sim.git
synced 2026-04-06 03:00:16 -04:00
feat(gpt-5): added gpt-5 models (#896)
* feat(gpt-5): added gpt-5 * restore grok-3-fast * added azure gpt-5
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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: {
|
||||
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user