Add o3 and o4-mini models
Docker Image CI / build-and-push-image (push) Has been cancelled
Maintain Release Merge PR / update-release-pr (push) Has been cancelled
release-please / release-please (push) Has been cancelled
test / test (18.x) (push) Has been cancelled
test / test (20.x) (push) Has been cancelled
test / test (22.x) (push) Has been cancelled

This commit is contained in:
jelveh
2025-04-16 11:06:57 -07:00
parent b17dc58ca6
commit 2cdcc5ffcd
@@ -128,6 +128,15 @@ class OpenAICompletionService extends BaseService {
// output: 6000,
// },
// }
{
id: 'o1',
cost: {
currency: 'usd-cents',
tokens: 1_000_000,
input: 1500,
output: 6000,
}
},
{
id: 'o1-mini',
cost: {
@@ -147,12 +156,12 @@ class OpenAICompletionService extends BaseService {
}
},
{
id: 'o1',
id: 'o3',
cost: {
currency: 'usd-cents',
tokens: 1_000_000,
input: 1500,
output: 6000,
input: 1000,
output: 4000,
}
},
{
@@ -164,6 +173,15 @@ class OpenAICompletionService extends BaseService {
output: 440,
}
},
{
id: 'o4-mini',
cost: {
currency: 'usd-cents',
tokens: 1_000_000,
input: 110,
output: 440,
}
},
{
id: 'gpt-4.1',
cost: {