Update OpenAI model max_tokens and cost map values

This commit is contained in:
jelveh
2025-11-14 23:31:53 -08:00
parent 968150db7e
commit 064a5e6c67
2 changed files with 4 additions and 4 deletions
@@ -19,7 +19,7 @@ export const OPEN_AI_MODELS = [
input: 125,
output: 1000,
},
max_tokens: 400000,
max_tokens: 128000,
},
{
id: 'gpt-5.1-codex-mini',
@@ -29,7 +29,7 @@ export const OPEN_AI_MODELS = [
input: 25,
output: 200,
},
max_tokens: 400000,
max_tokens: 128000,
},
{
id: 'gpt-5.1-chat-latest',
@@ -39,7 +39,7 @@ export const OPEN_AI_MODELS = [
input: 125,
output: 1000,
},
max_tokens: 400000,
max_tokens: 16384,
},
{
id: 'gpt-5-2025-08-07',
@@ -24,7 +24,7 @@ export const OPENAI_COST_MAP = {
'openai:gpt-5.1:cached_tokens': 13,
'openai:gpt-5.1:completion_tokens': 1000,
'openai:gpt-5.1-codex:prompt_tokens': 125,
'openai:gpt-5.1-codex:cached_tokens': 12.5,
'openai:gpt-5.1-codex:cached_tokens': 13,
'openai:gpt-5.1-codex:completion_tokens': 1000,
'openai:gpt-5.1-codex-mini:prompt_tokens': 25,
'openai:gpt-5.1-codex-mini:cached_tokens': 3,