Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

💄 style: add GPT-5.5 and GPT-5.5 Pro models (#14142)

sxjerud73858ef429f
diff --git a/packages/model-bank/src/aiModels/aihubmix.ts b/packages/model-bank/src/aiModels/aihubmix.ts
index c3f806d3d17..6ad3598bc68 100644
--- a/packages/model-bank/src/aiModels/aihubmix.ts
+++ b/packages/model-bank/src/aiModels/aihubmix.ts
@@ -1,6 +1,67 @@
import { type AIChatModelCard } from '../types/aiModel';
const aihubmixModels: AIChatModelCard[] = [
+ {
+ abilities: {
+ functionCall: true,
+ reasoning: true,
+ search: true,
+ structuredOutput: true,
+ vision: true,
+ },
+ contextWindowTokens: 1_050_000,
+ description: 'GPT-5.5 is our newest frontier model for the most complex professional work.',
+ displayName: 'GPT-5.5',
+ enabled: true,
+ id: 'gpt-5.5',
+ maxOutput: 128_000,
+ pricing: {
+ units: [
+ {
+ lookup: {
+ prices: {
+ '[0, 0.272]': 5,
+ '[0.272, infinity]': 10,
+ },
+ pricingParams: ['textInput'],
+ },
+ name: 'textInput',
+ strategy: 'lookup',
+ unit: 'millionTokens',
+ },
+ {
+ lookup: {
+ prices: {
+ '[0, 0.272]': 0.5,
+ '[0.272, infinity]': 1,
+ },
+ pricingParams: ['textInput'],
+ },
+ name: 'textInput_cacheRead',
+ strategy: 'lookup',
+ unit: 'millionTokens',
+ },
+ {
+ lookup: {
+ prices: {
+ '[0, 0.272]': 30,
+ '[0.272, infinity]': 45,
+ },
+ pricingParams: ['textInput'],
+ },
+ name: 'textOutput',
+ strategy: 'lookup',
+ unit: 'millionTokens',
+ },
+ ],
+ },
+ releasedAt: '2026-04-23',
+ settings: {
+ extendParams: ['gpt5_2ReasoningEffort', 'textVerbosity'],
+ searchImpl: 'params',
+ },
+ type: 'chat',
+ },
{
abilities: {
functionCall: true,
@@ -13,7 +74,6 @@ const aihubmixModels: AIChatModelCard[] = [
description:
'GPT-5.4 is the frontier model for complex professional work with highest reasoning capability.',
displayName: 'GPT-5.4',
- enabled: true,
id: 'gpt-5.4',
maxOutput: 128_000,
pricing: {
@@ -853,6 +913,36 @@ const aihubmixModels: AIChatModelCard[] = [
},
type: 'chat',
},
+ {
+ abilities: {
+ functionCall: true,
+ reasoning: true,
+ search: true,
+ structuredOutput: true,
+ vision: true,
+ },
+ contextWindowTokens: 1_000_000,
+ description:
+ "Claude Opus 4.7 is Anthropic's most capable generally available model for complex reasoning and agentic coding.",
+ displayName: 'Claude Opus 4.7',
+ enabled: true,
+ id: 'claude-opus-4-7',
+ maxOutput: 128_000,
+ pricing: {
+ units: [
+ { name: 'textInput_cacheRead', rate: 0.5, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 5, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 25, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput_cacheWrite', rate: 6.25, strategy: 'fixed', unit: 'millionTokens' },
+ ],
+ },
+ releasedAt: '2026-04-16',
+ settings: {
+ extendParams: ['disableContextCaching', 'enableAdaptiveThinking', 'opus47Effort'],
+ searchImpl: 'params',
+ },
+ type: 'chat',
+ },
{
abilities: {
functionCall: true,
@@ -865,7 +955,6 @@ const aihubmixModels: AIChatModelCard[] = [
description:
'Claude Opus 4.6 is Anthropic’s most intelligent model for building agents and coding.',
displayName: 'Claude Opus 4.6',
- enabled: true,
id: 'claude-opus-4-6',
maxOutput: 128_000,
pricing: {
@@ -1195,48 +1284,6 @@ const aihubmixModels: AIChatModelCard[] = [
},
type: 'chat',
},
- {
- abilities: {
- functionCall: true,
- },
- contextWindowTokens: 131_072,
- description:
- 'DeepSeek-V3.2 is an efficient LLM with DSA sparse attention and strengthened reasoning. Its key strength is agent capability, combining reasoning with real tool use through large-scale task synthesis for more robust, compliant, and generalizable agents.',
- displayName: 'DeepSeek V3.2',
- id: 'deepseek-chat',
- maxOutput: 8192,
- pricing: {
- units: [
- { name: 'textInput', rate: 0.3, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 0.45, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textInput_cacheRead', rate: 0.03, strategy: 'fixed', unit: 'millionTokens' },
- ],
- },
- releasedAt: '2025-12-01',
- type: 'chat',
- },
- {
- abilities: {
- functionCall: true,
- reasoning: true,
- },
- contextWindowTokens: 131_072,
- description:
- 'DeepSeek V3.2 thinking mode outputs a chain-of-thought before the final answer to improve accuracy.',
- displayName: 'DeepSeek V3.2 Thinking',
- enabled: true,
- id: 'deepseek-reasoner',
- maxOutput: 65_536,
- pricing: {
- units: [
- { name: 'textInput', rate: 0.3, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textOutput', rate: 0.45, strategy: 'fixed', unit: 'millionTokens' },
- { name: 'textInput_cacheRead', rate: 0.03, strategy: 'fixed', unit: 'millionTokens' },
- ],
- },
- releasedAt: '2025-12-01',
- type: 'chat',
- },
{
abilities: {
functionCall: true,
diff --git a/packages/model-bank/src/aiModels/anthropic.ts b/packages/model-bank/src/aiModels/anthropic.ts
index 698567bddc4..2d8a02b0224 100644
--- a/packages/model-bank/src/aiModels/anthropic.ts
+++ b/packages/model-bank/src/aiModels/anthropic.ts
@@ -1,6 +1,37 @@
import { type AIChatModelCard } from '../types/aiModel';
const anthropicChatModels: AIChatModelCard[] = [
+ {
+ abilities: {
+ functionCall: true,
+ reasoning: true,
+ search: true,
+ structuredOutput: true,
+ vision: true,
+ },
+ contextWindowTokens: 1_000_000,
+ description:
+ "Claude Opus 4.7 is Anthropic's most capable generally available model for complex reasoning and agentic coding.",
+ displayName: 'Claude Opus 4.7',
+ enabled: true,
+ id: 'claude-opus-4-7',
+ maxOutput: 128_000,
+ pricing: {
+ units: [
+ { name: 'textInput_cacheRead', rate: 0.5, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 5, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 25, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput_cacheWrite', rate: 6.25, strategy: 'fixed', unit: 'millionTokens' },
+ ],
+ },
+ releasedAt: '2026-04-16',
+ settings: {
+ disabledParams: ['temperature', 'top_p'],
+ extendParams: ['disableContextCaching', 'enableAdaptiveThinking', 'opus47Effort'],
+ searchImpl: 'params',
+ },
+ type: 'chat',
+ },
{
abilities: {
functionCall: true,
@@ -13,7 +44,6 @@ const anthropicChatModels: AIChatModelCard[] = [
description:
'Claude Opus 4.6 is Anthropic’s most intelligent model for building agents and coding.',
displayName: 'Claude Opus 4.6',
- enabled: true,
id: 'claude-opus-4-6',
maxOutput: 128_000,
pricing: {
diff --git a/packages/model-bank/src/aiModels/openai.ts b/packages/model-bank/src/aiModels/openai.ts
index eb41d4a673e..224aca3b0ac 100644
--- a/packages/model-bank/src/aiModels/openai.ts
+++ b/packages/model-bank/src/aiModels/openai.ts
@@ -8,6 +8,7 @@ import {
type AITTSModelCard,
type AIVideoModelCard,
} from '../types/aiModel';
+import { gptImage2Schema } from './lobehub';
export const gptImage1ParamsSchema: ModelParamsSchema = {
imageUrls: { default: [] },
@@ -19,6 +20,104 @@ export const gptImage1ParamsSchema: ModelParamsSchema = {
};
export const openaiChatModels: AIChatModelCard[] = [
+ {
+ abilities: {
+ functionCall: true,
+ reasoning: true,
+ search: true,
+ structuredOutput: true,
+ vision: true,
+ },
+ contextWindowTokens: 1_050_000,
+ description: 'GPT-5.5 is our newest frontier model for the most complex professional work.',
+ displayName: 'GPT-5.5',
+ enabled: true,
+ id: 'gpt-5.5',
+ maxOutput: 128_000,
+ pricing: {
+ units: [
+ {
+ lookup: {
+ prices: {
+ '[0, 0.272]': 5,
+ '[0.272, infinity]': 10,
+ },
+ pricingParams: ['textInput'],
+ },
+ name: 'textInput',
+ strategy: 'lookup',
+ unit: 'millionTokens',
+ },
+ {
+ lookup: {
+ prices: {
+ '[0, 0.272]': 0.5,
+ '[0.272, infinity]': 1,
+ },
+ pricingParams: ['textInput'],
+ },
+ name: 'textInput_cacheRead',
+ strategy: 'lookup',
+ unit: 'millionTokens',
+ },
+ {
+ lookup: {
+ prices: {
+ '[0, 0.272]': 30,
+ '[0.272, infinity]': 45,
+ },
+ pricingParams: ['textInput'],
+ },
+ name: 'textOutput',
+ strategy: 'lookup',
+ unit: 'millionTokens',
+ },
+ ],
+ },
+ releasedAt: '2026-04-23',
+ settings: {
+ extendParams: ['gpt5_2ReasoningEffort', 'textVerbosity'],
+ searchImpl: 'params',
+ },
+ type: 'chat',
+ },
+ {
+ abilities: {
+ functionCall: true,
+ reasoning: true,
+ search: true,
+ structuredOutput: true,
+ vision: true,
+ },
+ contextWindowTokens: 1_050_000,
+ description:
+ 'GPT-5.5 pro uses more compute to think harder and provide consistently better answers.',
+ displayName: 'GPT-5.5 Pro',
+ id: 'gpt-5.5-pro',
+ maxOutput: 128_000,
+ pricing: {
+ units: [
+ {
+ name: 'textInput',
+ rate: 30,
+ strategy: 'fixed',
+ unit: 'millionTokens',
+ },
+ {
+ name: 'textOutput',
+ rate: 180,
+ strategy: 'fixed',
+ unit: 'millionTokens',
+ },
+ ],
+ },
+ releasedAt: '2026-04-23',
+ settings: {
+ extendParams: ['gpt5_2ProReasoningEffort', 'textVerbosity'],
+ searchImpl: 'params',
+ },
+ type: 'chat',
+ },
{
abilities: {
functionCall: true,
@@ -232,7 +331,6 @@ export const openaiChatModels: AIChatModelCard[] = [
description:
"GPT-5.4 nano is OpenAI's cheapest GPT-5.4-class model for simple high-volume tasks.",
displayName: 'GPT-5.4 nano',
- enabled: true,
id: 'gpt-5.4-nano',
maxOutput: 128_000,
pricing: {
@@ -1509,11 +1607,32 @@ export const openaiSTTModels: AISTTModelCard[] = [
// Image generation models
export const openaiImageModels: AIImageModelCard[] = [
+ {
+ description:
+ "OpenAI's next-generation multimodal image model with native reasoning, up to 4K resolution, near-perfect text rendering, and high-fidelity multilingual support.",
+ displayName: 'GPT Image 2',
+ enabled: true,
+ id: 'gpt-image-2',
+ parameters: gptImage2Schema,
+ pricing: {
+ // Medium quality at 1024x1024: ~1767 output tokens * $30/M = $0.053 per image.
+ // Source: https://developers.openai.com/api/docs/guides/image-generation#calculating-costs
+ approximatePricePerImage: 0.053,
+ units: [
+ { name: 'textInput', rate: 5, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput_cacheRead', rate: 1.25, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'imageInput', rate: 8, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'imageInput_cacheRead', rate: 2, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'imageOutput', rate: 30, strategy: 'fixed', unit: 'millionTokens' },
+ ],
+ },
+ releasedAt: '2026-04-21',
+ type: 'image',
+ },
{
description:
'An enhanced GPT Image 1 model with 4× faster generation, more precise editing, and improved text rendering.',
displayName: 'GPT Image 1.5',
- enabled: true,
id: 'gpt-image-1.5',
parameters: gptImage1ParamsSchema,
pricing: {
@@ -1533,7 +1652,6 @@ export const openaiImageModels: AIImageModelCard[] = [
{
description: 'ChatGPT native multimodal image generation model.',
displayName: 'GPT Image 1',
- enabled: true,
id: 'gpt-image-1',
parameters: gptImage1ParamsSchema,
pricing: {
@@ -1552,7 +1670,6 @@ export const openaiImageModels: AIImageModelCard[] = [
description:
'A lower-cost GPT Image 1 variant with native text and image input and image output.',
displayName: 'GPT Image 1 Mini',
- enabled: true,
id: 'gpt-image-1-mini',
parameters: gptImage1ParamsSchema,
pricing: {
@@ -1572,7 +1689,6 @@ export const openaiImageModels: AIImageModelCard[] = [
description:
'The latest DALL·E model, released in November 2023, supports more realistic, accurate image generation with stronger detail.',
displayName: 'DALL·E 3',
- enabled: true,
id: 'dall-e-3',
parameters: {
prompt: { default: '' },
diff --git a/packages/model-runtime/src/const/models.ts b/packages/model-runtime/src/const/models.ts
index 322f3d618c1..8366b9be27f 100644
--- a/packages/model-runtime/src/const/models.ts
+++ b/packages/model-runtime/src/const/models.ts
@@ -51,6 +51,7 @@ export const responsesAPIModels = new Set([
'gpt-5.4-nano',
'gpt-5.4-pro',
'gpt-5.5',
+ 'gpt-5.5-pro',
]);
/**
diff --git a/packages/model-runtime/src/providers/vercelaigateway/index.ts b/packages/model-runtime/src/providers/vercelaigateway/index.ts
index 563adbd3f1d..fc4ea210618 100644
--- a/packages/model-runtime/src/providers/vercelaigateway/index.ts
+++ b/packages/model-runtime/src/providers/vercelaigateway/index.ts
@@ -122,14 +122,7 @@ export const params = {
// Merge all applicable extendParams for settings
...(() => {
const extendParams: string[] = [];
- if (
- tags.includes('reasoning') &&
- m.id.includes('gpt-5') &&
- !m.id.includes('gpt-5.1') &&
- !m.id.includes('gpt-5.2') &&
- !m.id.includes('gpt-5.4') &&
- !m.id.includes('gpt-5.5')
- ) {
+ if (tags.includes('reasoning') && m.id.includes('gpt-5') && !m.id.includes('gpt-5.')) {
extendParams.push('gpt5ReasoningEffort', 'textVerbosity');
}
if (tags.includes('reasoning') && m.id.includes('gpt-5.1') && !m.id.includes('gpt-5.2')) {
diff --git a/src/features/ModelSwitchPanel/components/ControlsForm/ControlsForm.tsx b/src/features/ModelSwitchPanel/components/ControlsForm/ControlsForm.tsx
index 95c45aa5b2c..b4a1542e0ae 100644
--- a/src/features/ModelSwitchPanel/components/ControlsForm/ControlsForm.tsx
+++ b/src/features/ModelSwitchPanel/components/ControlsForm/ControlsForm.tsx
@@ -104,6 +104,7 @@ const ControlsForm = memo<ControlsFormProps>(({ model: modelProp, provider: prov
const screens = Grid.useBreakpoint();
const isNarrow = !screens.sm;
+ const gpt52ReasoningEffortDefaultValue = model === 'gpt-5.5' ? 'medium' : 'none';
const descWide = { display: 'inline-block', width: 300 } as const;
const descNarrow = {
@@ -256,7 +257,7 @@ const ControlsForm = memo<ControlsFormProps>(({ model: modelProp, provider: prov
},
},
{
- children: <GPT52ReasoningEffortSlider />,
+ children: <GPT52ReasoningEffortSlider defaultValue={gpt52ReasoningEffortDefaultValue} />,
desc: 'reasoning_effort',
label: t('extendParams.reasoningEffort.title'),
layout: 'horizontal',