Skip to content

Commit

Permalink
Add gpt-4o models
Browse files Browse the repository at this point in the history
PR-URL: #6
  • Loading branch information
timursevimli committed May 31, 2024
1 parent 33febdf commit df4c8f7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/openai/data.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

const models = {
completion: {
'gpt-4o': { prices: { prompt: 5.0, completion: 15.0 } },
'gpt-4o-2024-05-13': { prices: { prompt: 5.0, completion: 15.0 } },
'gpt-4-turbo-2024-04-09': { prices: { prompt: 10.0, completion: 30.0 } },
'gpt-4-1106-preview': { prices: { prompt: 10.0, completion: 30.0 } },
'gpt-3.5-turbo-0125': { prices: { prompt: 0.5, completion: 1.5 } },
Expand Down

0 comments on commit df4c8f7

Please sign in to comment.