Skip to content

Commit

Permalink
Update gpt-4o-latest to 2024-08-06
Browse files Browse the repository at this point in the history
https://platform.openai.com/docs/models/gpt-4o

As of October 2nd, GPT-4o-Latest now points to gpt-4o-2024-08-06
  • Loading branch information
Noah Kiss committed Oct 22, 2024
1 parent 838e9e5 commit 18cb931
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions src/modules/llms/server/openai/models.data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,19 @@ import { wireTogetherAIListOutputSchema } from './togetherai.wiretypes';
// https://platform.openai.com/docs/models
const _knownOpenAIChatModels: ManualMappings = [

// GPT-4o -> 2024-05-13 (Starting October 2nd, 2024, gpt-4o will point to the gpt-4o-2024-08-06 snapshot)
{
idPrefix: 'gpt-4o',
label: 'GPT-4o',
description: 'Currently points to gpt-4o-2024-05-13.',
symLink: 'gpt-4o-2024-05-13',
description: 'Currently points to gpt-4o-2024-08-06.',
symLink: 'gpt-4o-2024-08-06',
hidden: true,
// copied from symlinked
contextWindow: 128000,
maxCompletionTokens: 4096,
maxCompletionTokens: 16384,
trainingDataCutoff: 'Oct 2023',
interfaces: [LLM_IF_OAI_Chat, LLM_IF_OAI_Vision, LLM_IF_OAI_Fn, LLM_IF_OAI_Json],
pricing: { chatIn: 5, chatOut: 15 },
benchmark: { cbaElo: 1286 },
interfaces: [LLM_IF_OAI_Chat, LLM_IF_OAI_Vision, LLM_IF_OAI_Fn, LLM_IF_OAI_Json], // + Structured Outputs?
pricing: { chatIn: 2.5, chatOut: 10 },
benchmark: { cbaElo: 1286 + 1 },
},
{
isLatest: true,
Expand Down

0 comments on commit 18cb931

Please sign in to comment.