Skip to content

Commit

Permalink
feat: support the latest OpenAI model chatgpt-4o-latest
Browse files Browse the repository at this point in the history
 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
  • Loading branch information
PeterDaveHello committed Aug 29, 2024
1 parent a95a4cb commit 7bc0487
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/src/admin/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion app/src/admin/datasets/charge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand Down

0 comments on commit 7bc0487

Please sign in to comment.