import { ModelProviderCard } from '@/types/llm'; // ref: https://platform.openai.com/docs/deprecations const OpenAI: ModelProviderCard = { chatModels: [ { contextWindowTokens: 128_000, description: 'o1-mini是一款针对编程、数学和科学应用场景而设计的快速、经济高效的推理模型。该模型具有128K上下文和2023年10月的知识截止日期。', displayName: 'OpenAI o1-mini', enabled: true, id: 'o1-mini', maxOutput: 65_536, pricing: { input: 3, output: 12, }, releasedAt: '2024-09-12', }, { contextWindowTokens: 200_000, description: 'o1是OpenAI新的推理模型,支持图文输入并输出文本,适用于需要广泛通用知识的复杂任务。该模型具有200K上下文和2023年10月的知识截止日期。', displayName: 'OpenAI o1', enabled: true, id: 'o1-2024-12-17', maxOutput: 100_000, pricing: { input: 15, output: 60, }, 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: 'GPT-4o mini是OpenAI在GPT-4 Omni之后推出的最新模型,支持图文输入并输出文本。作为他们最先进的小型模型,它比其他近期的前沿模型便宜很多,并且比GPT-3.5 Turbo便宜超过60%。它保持了最先进的智能,同时具有显著的性价比。GPT-4o mini在MMLU测试中获得了 82% 的得分,目前在聊天偏好上排名高于 GPT-4。', displayName: 'GPT-4o mini', enabled: true, functionCall: true, id: 'gpt-4o-mini', maxOutput: 16_385, pricing: { input: 0.15, output: 0.6, }, 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: 'ChatGPT-4o 是一款动态模型,实时更新以保持当前最新版本。它结合了强大的语言理解与生成能力,适合于大规模应用场景,包括客户服务、教育和技术支持。', displayName: 'GPT-4o', enabled: true, functionCall: true, id: 'gpt-4o', pricing: { input: 2.5, output: 10, }, vision: true, }, { contextWindowTokens: 128_000, description: 'ChatGPT-4o 是一款动态模型,实时更新以保持当前最新版本。它结合了强大的语言理解与生成能力,适合于大规模应用场景,包括客户服务、教育和技术支持。', displayName: 'GPT-4o 0806', functionCall: true, id: 'gpt-4o-2024-08-06', pricing: { input: 2.5, output: 10, }, releasedAt: '2024-08-06', vision: true, }, { contextWindowTokens: 128_000, description: 'ChatGPT-4o 是一款动态模型,实时更新以保持当前最新版本。它结合了强大的语言理解与生成能力,适合于大规模应用场景,包括客户服务、教育和技术支持。', displayName: 'GPT-4o 0513', functionCall: true, id: 'gpt-4o-2024-05-13', pricing: { input: 5, output: 15, }, releasedAt: '2024-05-13', 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: 128_000, description: '最新的 GPT-4 Turbo 模型具备视觉功能。现在,视觉请求可以使用 JSON 模式和函数调用。 GPT-4 Turbo 是一个增强版本,为多模态任务提供成本效益高的支持。它在准确性和效率之间找到平衡,适合需要进行实时交互的应用程序场景。', displayName: 'GPT-4 Turbo', functionCall: true, id: 'gpt-4-turbo', pricing: { input: 10, output: 30, }, vision: true, }, { contextWindowTokens: 128_000, description: '最新的 GPT-4 Turbo 模型具备视觉功能。现在,视觉请求可以使用 JSON 模式和函数调用。 GPT-4 Turbo 是一个增强版本,为多模态任务提供成本效益高的支持。它在准确性和效率之间找到平衡,适合需要进行实时交互的应用程序场景。', displayName: 'GPT-4 Turbo Vision 0409', functionCall: true, id: 'gpt-4-turbo-2024-04-09', pricing: { input: 10, output: 30, }, vision: true, }, { contextWindowTokens: 128_000, description: '最新的 GPT-4 Turbo 模型具备视觉功能。现在,视觉请求可以使用 JSON 模式和函数调用。 GPT-4 Turbo 是一个增强版本,为多模态任务提供成本效益高的支持。它在准确性和效率之间找到平衡,适合需要进行实时交互的应用程序场景。', displayName: 'GPT-4 Turbo Preview', functionCall: true, id: 'gpt-4-turbo-preview', pricing: { input: 10, output: 30, }, }, { contextWindowTokens: 128_000, description: '最新的 GPT-4 Turbo 模型具备视觉功能。现在,视觉请求可以使用 JSON 模式和函数调用。 GPT-4 Turbo 是一个增强版本,为多模态任务提供成本效益高的支持。它在准确性和效率之间找到平衡,适合需要进行实时交互的应用程序场景。', displayName: 'GPT-4 Turbo Preview 0125', functionCall: true, id: 'gpt-4-0125-preview', pricing: { input: 10, output: 30, }, }, { contextWindowTokens: 128_000, description: '最新的 GPT-4 Turbo 模型具备视觉功能。现在,视觉请求可以使用 JSON 模式和函数调用。 GPT-4 Turbo 是一个增强版本,为多模态任务提供成本效益高的支持。它在准确性和效率之间找到平衡,适合需要进行实时交互的应用程序场景。', displayName: 'GPT-4 Turbo Preview 1106', functionCall: true, id: 'gpt-4-1106-preview', pricing: { input: 10, output: 30, }, }, { contextWindowTokens: 8192, description: 'GPT-4 提供了一个更大的上下文窗口,能够处理更长的文本输入,适用于需要广泛信息整合和数据分析的场景。', displayName: 'GPT-4', functionCall: true, id: 'gpt-4', pricing: { input: 30, output: 60, }, }, { contextWindowTokens: 8192, description: 'GPT-4 提供了一个更大的上下文窗口,能够处理更长的文本输入,适用于需要广泛信息整合和数据分析的场景。', displayName: 'GPT-4 0613', functionCall: true, id: 'gpt-4-0613', pricing: { input: 30, output: 60, }, }, { contextWindowTokens: 32_768, description: 'GPT-4 提供了一个更大的上下文窗口,能够处理更长的文本输入,适用于需要广泛信息整合和数据分析的场景。', // Will be discontinued on June 6, 2025 displayName: 'GPT-4 32K', functionCall: true, id: 'gpt-4-32k', pricing: { input: 60, output: 120, }, }, { contextWindowTokens: 32_768, // Will be discontinued on June 6, 2025 description: 'GPT-4 提供了一个更大的上下文窗口,能够处理更长的文本输入,适用于需要广泛信息整合和数据分析的场景。', displayName: 'GPT-4 32K 0613', functionCall: true, id: 'gpt-4-32k-0613', pricing: { input: 60, output: 120, }, }, { contextWindowTokens: 16_385, description: 'GPT 3.5 Turbo,适用于各种文本生成和理解任务,Currently points to gpt-3.5-turbo-0125', displayName: 'GPT-3.5 Turbo', functionCall: true, id: 'gpt-3.5-turbo', pricing: { input: 0.5, output: 1.5, }, }, { contextWindowTokens: 16_385, description: 'GPT 3.5 Turbo,适用于各种文本生成和理解任务,Currently points to gpt-3.5-turbo-0125', displayName: 'GPT-3.5 Turbo 0125', functionCall: true, id: 'gpt-3.5-turbo-0125', pricing: { input: 0.5, output: 1.5, }, }, { contextWindowTokens: 16_385, description: 'GPT 3.5 Turbo,适用于各种文本生成和理解任务,Currently points to gpt-3.5-turbo-0125', displayName: 'GPT-3.5 Turbo 1106', functionCall: true, id: 'gpt-3.5-turbo-1106', pricing: { input: 1, output: 2, }, }, { contextWindowTokens: 4096, description: 'GPT 3.5 Turbo,适用于各种文本生成和理解任务,Currently points to gpt-3.5-turbo-0125', displayName: 'GPT-3.5 Turbo Instruct', id: 'gpt-3.5-turbo-instruct', pricing: { input: 1.5, output: 2, }, }, ], checkModel: 'gpt-4o-mini', description: 'OpenAI 是全球领先的人工智能研究机构,其开发的模型如GPT系列推动了自然语言处理的前沿。OpenAI 致力于通过创新和高效的AI解决方案改变多个行业。他们的产品具有显著的性能和经济性,广泛用于研究、商业和创新应用。', enabled: false, id: 'openai', modelList: { showModelFetcher: true }, modelsUrl: 'https://platform.openai.com/docs/models', name: 'OpenAI', settings: { showModelFetcher: true, smoothing: { text: true, }, }, url: 'https://openai.com', }; export default OpenAI;