mirror of
https://github.com/HeyPuter/puter.git
synced 2026-05-06 23:20:08 -05:00
Update OpenAI model max_tokens and cost map values
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user