Skip to content

Commit

Permalink
feat: support model gpt-4o-2024-08-06
Browse files Browse the repository at this point in the history
  • Loading branch information
XiaomaiTX committed Aug 8, 2024
1 parent 9e111c9 commit a95a4cb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/src/admin/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ export const ChannelInfos: Record<string, ChannelInfo> = {
"gpt-4-32k-0613",
"gpt-4o",
"gpt-4o-2024-05-13",
"gpt-4o-2024-08-06",
"gpt-4o-mini",
"gpt-4o-mini-2024-07-18",
"dalle",
Expand Down
5 changes: 5 additions & 0 deletions app/src/admin/datasets/charge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@ export const pricing: PricingDataset = [
input: 0.005,
output: 0.015,
},
{
models: ["gpt-4o-2024-08-06"],
input: 0.0025,
output: 0.01,
},
{
models: ["gpt-4o-mini", "gpt-4o-mini-2024-07-18"],
input: 0.00015,
Expand Down

0 comments on commit a95a4cb

Please sign in to comment.