Skip to content

Commit f6ef841

Browse files
committed
chore: add new turbo model pricings
1 parent 26db616 commit f6ef841

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

lib/index.ts

+10-2
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,12 @@ const OpenAIPricing: { [key: string]: Pricing } = {
194194
output: 0.002,
195195
},
196196
'gpt-3.5-turbo': {
197-
input: 0.003,
198-
output: 0.006,
197+
input: 0.0005,
198+
output: 0.0015,
199+
},
200+
'gpt-3.5-turbo-0125': {
201+
input: 0.0005,
202+
output: 0.0015,
199203
},
200204
'gpt-3.5-turbo-0301': {
201205
input: 0.0015,
@@ -221,6 +225,10 @@ const OpenAIPricing: { [key: string]: Pricing } = {
221225
input: 0.03,
222226
output: 0.06,
223227
},
228+
'gpt-4-0125-preview': {
229+
input: 0.01,
230+
output: 0.03,
231+
},
224232
'gpt-4-0314': {
225233
input: 0.03,
226234
output: 0.06,

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "openlayer",
3-
"version": "0.1.25",
3+
"version": "0.1.26",
44
"description": "The Openlayer TypeScript client",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

0 commit comments

Comments
 (0)