mirror of
https://github.com/HeyPuter/puter.git
synced 2026-09-23 21:56:57 +00:00
add all gpt-5.1 models
This commit is contained in:
@@ -11,6 +11,36 @@ export const OPEN_AI_MODELS = [
|
||||
},
|
||||
max_tokens: 128000,
|
||||
},
|
||||
{
|
||||
id: 'gpt-5.1-codex',
|
||||
cost: {
|
||||
currency: 'usd-cents',
|
||||
tokens: 1_000_000,
|
||||
input: 125,
|
||||
output: 1000,
|
||||
},
|
||||
max_tokens: 400000,
|
||||
},
|
||||
{
|
||||
id: 'gpt-5.1-codex-mini',
|
||||
cost: {
|
||||
currency: 'usd-cents',
|
||||
tokens: 1_000_000,
|
||||
input: 25,
|
||||
output: 200,
|
||||
},
|
||||
max_tokens: 400000,
|
||||
},
|
||||
{
|
||||
id: 'gpt-5.1-chat-latest',
|
||||
cost: {
|
||||
currency: 'usd-cents',
|
||||
tokens: 1_000_000,
|
||||
input: 125,
|
||||
output: 1000,
|
||||
},
|
||||
max_tokens: 400000,
|
||||
},
|
||||
{
|
||||
id: 'gpt-5-2025-08-07',
|
||||
aliases: ['gpt-5'],
|
||||
|
||||
@@ -23,6 +23,15 @@ export const OPENAI_COST_MAP = {
|
||||
'openai:gpt-5.1:prompt_tokens': 125,
|
||||
'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:completion_tokens': 1000,
|
||||
'openai:gpt-5.1-codex-mini:prompt_tokens': 25,
|
||||
'openai:gpt-5.1-codex-mini:cached_tokens': 3,
|
||||
'openai:gpt-5.1-codex-mini:completion_tokens': 200,
|
||||
'openai:gpt-5.1-chat-latest:prompt_tokens': 125,
|
||||
'openai:gpt-5.1-chat-latest:cached_tokens': 13,
|
||||
'openai:gpt-5.1-chat-latest:completion_tokens': 1000,
|
||||
'openai:gpt-5-2025-08-07:prompt_tokens': 125,
|
||||
'openai:gpt-5-2025-08-07:cached_tokens': 13,
|
||||
'openai:gpt-5-2025-08-07:completion_tokens': 1000,
|
||||
|
||||
Reference in New Issue
Block a user