feat(openai): add GPT-5.5 and GPT-5.5 Pro (#70)

Source: https://openai.com/index/introducing-gpt-5-5/ (announcement 2026-04-23)

Adds 4 new model entries across 3 provider files:

- providers/openai.toml:
    gpt-5.5      — 1M context,  $5/$30 per 1M tokens (input/output)
    gpt-5.5-pro  — 1M context, $30/$180 per 1M tokens
- providers/codex-cli.toml:
    codex-cli/gpt-5.5  — 400K context (Codex subscription limit),
                         $0/$0 (covered by subscription)
- providers/chatgpt.toml:
    gpt-5.5-codex  — 400K context, session-auth (subscription)

Notes:
- API availability announced as 'very soon'; pricing confirmed in the
  announcement. tools/vision/streaming flags match GPT-5.4 family.
- max_output_tokens retained at 128000 (openai/codex-cli) and 65536
  (chatgpt) — matches sibling 5.4 entries; announcement does not
  specify a new output cap.
- Header comment in openai.toml updated (15 → 17 models).
This commit is contained in:
Evan authored and GitHub committed 2026-04-25 00:08:46 +09:00
1 parent b1ebaf6d34
commit 65cb852632
3 files changed
+63 -2

No files matched your search

+17
View File
@@ -11,6 +11,23 @@ key_required = false
# gpt-oss-*) are intentionally omitted because the Codex CLI actively
# migrates users off them via tui/src/model_migration.rs.
[[models]]
id = "codex-cli/gpt-5.5"
display_name = "GPT-5.5 (Codex CLI)"
provider = "codex-cli"
tier = "frontier"
# Per OpenAI's GPT-5.5 announcement, Codex exposes a 400K context window
# (announcement 2026-04-23).
context_window = 400000
max_output_tokens = 128000
input_cost_per_m = 0.0
output_cost_per_m = 0.0
supports_tools = true
supports_vision = true
supports_streaming = true
supports_thinking = true
aliases = ["codex-cli-gpt-5.5"]
[[models]]
id = "codex-cli/gpt-5.4"
display_name = "GPT-5.4 (Codex CLI)"