From ef7be611ed7f94aab313c5b102586c18bae1bc57 Mon Sep 17 00:00:00 2001 From: Vincent Koc Date: Thu, 5 Mar 2026 14:35:45 -0500 Subject: [PATCH] docs(chatgpt): include gpt-5.4 and gpt-5.4-pro examples --- docs/my-website/docs/providers/chatgpt.md | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/docs/my-website/docs/providers/chatgpt.md b/docs/my-website/docs/providers/chatgpt.md index d6248e6274b..702e9441f78 100644 --- a/docs/my-website/docs/providers/chatgpt.md +++ b/docs/my-website/docs/providers/chatgpt.md @@ -4,12 +4,12 @@ Use ChatGPT Pro/Max subscription models through LiteLLM with OAuth device flow a | Property | Details | |-------|-------| -| Description | ChatGPT subscription access (Codex + GPT-5.3 family) via ChatGPT backend API | +| Description | ChatGPT subscription access (Codex + GPT-5.3/5.4 family) via ChatGPT backend API | | Provider Route on LiteLLM | `chatgpt/` | | Supported Endpoints | `/responses`, `/chat/completions` (bridged to Responses for supported models) | | API Reference | https://chatgpt.com | -ChatGPT subscription access is native to the Responses API. Chat Completions requests are bridged to Responses for supported models (for example `chatgpt/gpt-5.3-chat-latest`). +ChatGPT subscription access is native to the Responses API. Chat Completions requests are bridged to Responses for supported models (for example `chatgpt/gpt-5.4`). Notes: - The ChatGPT subscription backend rejects token limit fields (`max_tokens`, `max_output_tokens`, `max_completion_tokens`) and `metadata`. LiteLLM strips these fields for this provider. @@ -44,7 +44,7 @@ print(response) import litellm response = litellm.completion( - model="chatgpt/gpt-5.3-chat-latest", + model="chatgpt/gpt-5.4", messages=[{"role": "user", "content": "Write a Python hello world"}] ) @@ -55,11 +55,16 @@ print(response) ```yaml showLineNumbers title="config.yaml" model_list: - - model_name: chatgpt/gpt-5.3-chat-latest + - model_name: chatgpt/gpt-5.4 model_info: mode: responses litellm_params: - model: chatgpt/gpt-5.3-chat-latest + model: chatgpt/gpt-5.4 + - model_name: chatgpt/gpt-5.4-pro + model_info: + mode: responses + litellm_params: + model: chatgpt/gpt-5.4-pro - model_name: chatgpt/gpt-5.3-codex model_info: mode: responses @@ -70,6 +75,11 @@ model_list: mode: responses litellm_params: model: chatgpt/gpt-5.3-codex-spark + - model_name: chatgpt/gpt-5.3-instant + model_info: + mode: responses + litellm_params: + model: chatgpt/gpt-5.3-instant ``` ```bash showLineNumbers title="Start LiteLLM Proxy"