Skip to content

Commit

Permalink
Merge pull request #89 from parea-ai/PAI-1509-new-openai-models
Browse files Browse the repository at this point in the history
feat(models): add new openai models
  • Loading branch information
jalexanderII authored Sep 12, 2024
2 parents e34437b + 9144a3c commit f53e156
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/utils/model-prices.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,4 +111,20 @@ export const MODEL_COST_MAPPING: { [key: string]: { [key: string]: number } } =
prompt: 2.5,
completion: 10.0,
},
'o1-preview': {
prompt: 15.0,
completion: 60.0,
},
'o1-preview-2024-09-12': {
prompt: 15.0,
completion: 60.0,
},
'o1-mini': {
prompt: 3.0,
completion: 12.0,
},
'o1-mini-2024-09-12': {
prompt: 3.0,
completion: 12.0,
},
};

0 comments on commit f53e156

Please sign in to comment.