Skip to content

Commit

Permalink
Update chat.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
tristandostaler authored Jul 22, 2024
1 parent b1dbec3 commit 2c899f0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/constants/chat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ export const modelCost = {
completion: { price: 0.015, unit: 1000 },
modelMaxToken: 128000,
},
'gpt-4o-mini': {
prompt: { price: 0.00015, unit: 1000 },
completion: { price: 0.006, unit: 1000 },
modelMaxToken: 128000,
}
};

export const modelOptions: ModelOptions[] = Object.keys(modelCost) as ModelOptions[];
Expand Down

0 comments on commit 2c899f0

Please sign in to comment.