feat: support the latest OpenAI model chatgpt-4o-latest

This also means we can save the steps to update the latest model.

 Reference:
 - https://x.com/OpenAIDevs/status/1823510395619000525
 - https://x.com/lmsysorg/status/1823515224064098546
 - https://x.com/lmsysorg/status/1823515229491515715
 - https://platform.openai.com/docs/models/gpt-4o

 > Dynamic model continuously updated to the current version of GPT-4o
 in ChatGPT. Intended for research and evaluation.
 >
 > We are releasing this model for developers and researchers to explore
 OpenAI's latest research. For production use, OpenAI recommends using
 dated GPT models, which are optimized for API usage.
 >
 > https://platform.openai.com/docs/models/gpt-4o#4ofootnote
This commit is contained in:
Peter Dave Hello 2024-08-29 22:03:32 +08:00
parent a95a4cb35c
commit 7bc048788e
2 changed files with 2 additions and 1 deletions

View File

@ -119,6 +119,7 @@ export const ChannelInfos: Record<string, ChannelInfo> = {
"gpt-4o-2024-08-06",
"gpt-4o-mini",
"gpt-4o-mini-2024-07-18",
"chatgpt-4o-latest",
"dalle",
"dall-e-2",
"dall-e-3",

View File

@ -69,7 +69,7 @@ export const pricing: PricingDataset = [
output: 0.03,
},
{
models: ["gpt-4o", "gpt-4o-2024-05-13"],
models: ["gpt-4o", "gpt-4o-2024-05-13", "chatgpt-4o-latest"],
input: 0.005,
output: 0.015,
},