Skip to content

Commit

Permalink
Update openai.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
bentwnghk authored Jan 12, 2025
1 parent 1088f60 commit e6b9c58
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions src/config/modelProviders/openai.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,20 @@ const OpenAI: ModelProviderCard = {
releasedAt: '2024-12-17',
vision: true,
},
{
contextWindowTokens: 128_000,
description:
'o1是OpenAI新的推理模型,适用于需要广泛通用知识的复杂任务。该模型具有128K上下文和2023年10月的知识截止日期。',
displayName: 'OpenAI o1-preview',
enabled: true,
id: 'o1-preview',
maxOutput: 32_768,
pricing: {
input: 15,
output: 60,
},
releasedAt: '2024-09-12',
},
{
contextWindowTokens: 128_000,
description:
Expand All @@ -47,6 +61,21 @@ const OpenAI: ModelProviderCard = {
},
vision: true,
},
{
contextWindowTokens: 128_000,
description:
'ChatGPT-4o 是一款动态模型,实时更新以保持当前最新版本。它结合了强大的语言理解与生成能力,适合于大规模应用场景,包括客户服务、教育和技术支持。',
displayName: 'GPT-4o 1120',
enabled: true,
functionCall: true,
id: 'gpt-4o-2024-11-20',
pricing: {
input: 2.5,
output: 10,
},
releasedAt: '2024-11-20',
vision: true,
},
{
contextWindowTokens: 128_000,
description:
Expand All @@ -61,6 +90,19 @@ const OpenAI: ModelProviderCard = {
},
vision: true,
},
{
contextWindowTokens: 128_000,
description:
'ChatGPT-4o 是一款动态模型,实时更新以保持当前最新版本。它结合了强大的语言理解与生成能力,适合于大规模应用场景,包括客户服务、教育和技术支持。',
displayName: 'ChatGPT-4o',
enabled: true,
id: 'chatgpt-4o-latest',
pricing: {
input: 5,
output: 15,
},
vision: true,
},
{
contextWindowTokens: 200_000,
description:
Expand Down

0 comments on commit e6b9c58

Please sign in to comment.