Skip to content

Commit

Permalink
Update chat.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
tristandostaler authored Sep 24, 2024
1 parent ae47ed0 commit ae6e392
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/constants/chat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,16 @@ export const _defaultSystemMessage =
'{{SystemPrompt}}';

export const modelCost = {
'o1-preview': {
prompt: { price: 0.015, unit: 1000 },
completion: { price: 0.06, unit: 1000 },
modelMaxToken: 32768,
},
'o1-mini': {
prompt: { price: 0.003, unit: 1000 },
completion: { price: 0.012, unit: 1000 },
modelMaxToken: 65536,
},
'gpt-4': {
prompt: { price: 0.03, unit: 1000 },
completion: { price: 0.06, unit: 1000 },
Expand Down

0 comments on commit ae6e392

Please sign in to comment.