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:
Waleed Latif
2025-08-07 10:25:49 -07:00
committed by GitHub
parent e164e32c5b
commit d5c13b72e9
3 changed files with 106 additions and 2 deletions

View File

@@ -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)

View File

@@ -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,

View File

@@ -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: {