add gpt 5.5 (#2841)

This commit is contained in:
ProgrammerIn-wonderland
2026-04-25 00:13:12 -04:00
committed by GitHub
parent 231bfbd8a9
commit 4e0ff1992c
@@ -4,6 +4,27 @@ import { IChatModel } from '../types';
// Hardcoded from https://models.dev/api.json
export const OPEN_AI_MODELS: IChatModel[] = [
{
puterId: 'openai:openai/gpt-5.5',
id: 'gpt-5.5-2026-04-23',
modalities: { 'input': ['text', 'image'], 'output': ['text'] },
open_weights: false,
tool_call: true,
knowledge: '2025-12-01',
release_date: '2026-04-23',
aliases: ['gpt-5.5', 'openai/gpt-5.5'],
costs_currency: 'usd-cents',
input_cost_key: 'prompt_tokens',
output_cost_key: 'completion_tokens',
costs: {
tokens: 1_000_000,
prompt_tokens: 500,
cached_tokens: 50,
completion_tokens: 3000,
},
context: 1_050_000,
max_tokens: 128_000,
},
{
puterId: 'openai:openai/gpt-5.4',
id: 'gpt-5.4-2026-03-05',