Skip to content

Add GPT-5.4 and GPT-5.4-pro BYOK models#50858

Merged
rtfeldman merged 1 commit intomainfrom
AI-78/add-gpt-5.4-byok
Mar 6, 2026
Merged

Add GPT-5.4 and GPT-5.4-pro BYOK models#50858
rtfeldman merged 1 commit intomainfrom
AI-78/add-gpt-5.4-byok

Conversation

@rtfeldman
Copy link
Contributor

Add GPT-5.4 and GPT-5.4-pro as Bring Your Own Key model options for the OpenAI provider.

GPT-5.4 (gpt-5.4):

  • 1,050,000 token context window, 128K max output
  • Supports chat completions, images, parallel tool calls
  • Default reasoning effort: none

GPT-5.4-pro (gpt-5.4-pro):

  • 1,050,000 token context window, 128K max output
  • Responses API only (no chat completions)
  • Default reasoning effort: medium (supports medium/high/xhigh)

Also fixes context window sizes for GPT-5 mini and GPT-5 nano (272K → 400K) to match current OpenAI docs.

Closes AI-78

Release Notes:

  • Added GPT-5.4 and GPT-5.4-pro as available models when using your own OpenAI API key.

- Add FivePointFour (gpt-5.4): 1,050,000 context, 128K output, supports chat completions
- Add FivePointFourPro (gpt-5.4-pro): 1,050,000 context, 128K output, Responses API only, default reasoning effort Medium
- Fix GPT-5 mini context window: 272K -> 400K
- Fix GPT-5 nano context window: 272K -> 400K
- Wire both new models through all match arms: supports_images, count_open_ai_tokens, etc.
@rtfeldman rtfeldman self-assigned this Mar 5, 2026
@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Mar 5, 2026
@zed-community-bot zed-community-bot bot added the staff Pull requests authored by a current member of Zed staff label Mar 5, 2026
@rtfeldman rtfeldman marked this pull request as ready for review March 6, 2026 04:29
@rtfeldman rtfeldman merged commit 3b3ffc0 into main Mar 6, 2026
38 checks passed
@rtfeldman rtfeldman deleted the AI-78/add-gpt-5.4-byok branch March 6, 2026 04:40
@rtfeldman
Copy link
Contributor Author

/cherry-pick stable

@rtfeldman
Copy link
Contributor Author

/cherry-pick preview

github-actions bot pushed a commit that referenced this pull request Mar 6, 2026
Add GPT-5.4 and GPT-5.4-pro as Bring Your Own Key model options for the
OpenAI provider.

**GPT-5.4** (`gpt-5.4`):
- 1,050,000 token context window, 128K max output
- Supports chat completions, images, parallel tool calls
- Default reasoning effort: none

**GPT-5.4-pro** (`gpt-5.4-pro`):
- 1,050,000 token context window, 128K max output
- Responses API only (no chat completions)
- Default reasoning effort: medium (supports medium/high/xhigh)

Also fixes context window sizes for GPT-5 mini and GPT-5 nano (272K →
400K) to match current OpenAI docs.

Closes AI-78

Release Notes:

- Added GPT-5.4 and GPT-5.4-pro as available models when using your own
OpenAI API key.
@zed-zippy
Copy link
Contributor

zed-zippy bot commented Mar 6, 2026

🍒💥 Cherry-pick did not succeed
https://github.com/zed-industries/zed/actions/runs/22749362999

zed-zippy bot added a commit that referenced this pull request Mar 6, 2026
…iew) (#50896)

Cherry-pick of #50858 to preview

----
Add GPT-5.4 and GPT-5.4-pro as Bring Your Own Key model options for the
OpenAI provider.

**GPT-5.4** (`gpt-5.4`):
- 1,050,000 token context window, 128K max output
- Supports chat completions, images, parallel tool calls
- Default reasoning effort: none

**GPT-5.4-pro** (`gpt-5.4-pro`):
- 1,050,000 token context window, 128K max output
- Responses API only (no chat completions)
- Default reasoning effort: medium (supports medium/high/xhigh)

Also fixes context window sizes for GPT-5 mini and GPT-5 nano (272K →
400K) to match current OpenAI docs.

Closes AI-78

Release Notes:

- Added GPT-5.4 and GPT-5.4-pro as available models when using your own
OpenAI API key.

Co-authored-by: Richard Feldman <richard@zed.dev>
bennetbo pushed a commit that referenced this pull request Mar 6, 2026
Add GPT-5.4 and GPT-5.4-pro as Bring Your Own Key model options for the
OpenAI provider.

**GPT-5.4** (`gpt-5.4`):
- 1,050,000 token context window, 128K max output
- Supports chat completions, images, parallel tool calls
- Default reasoning effort: none

**GPT-5.4-pro** (`gpt-5.4-pro`):
- 1,050,000 token context window, 128K max output
- Responses API only (no chat completions)
- Default reasoning effort: medium (supports medium/high/xhigh)

Also fixes context window sizes for GPT-5 mini and GPT-5 nano (272K →
400K) to match current OpenAI docs.

Closes AI-78

Release Notes:

- Added GPT-5.4 and GPT-5.4-pro as available models when using your own
OpenAI API key.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement staff Pull requests authored by a current member of Zed staff

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant