Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

docs(chatgpt): include gpt-5.4 and gpt-5.4-pro examples

Vincent Kocef7be611ed7f
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"