-
-
Notifications
You must be signed in to change notification settings - Fork 3k
feat: add gpt-5.4-mini codex model definitions #2203
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1601,6 +1601,29 @@ | |
| ] | ||
| } | ||
| }, | ||
| { | ||
| "id": "gpt-5.4-mini", | ||
| "object": "model", | ||
| "created": 1772668800, | ||
| "owned_by": "openai", | ||
| "type": "openai", | ||
| "display_name": "GPT 5.4 Mini", | ||
| "version": "gpt-5.4-mini", | ||
| "description": "Stable version of GPT 5.4 Mini", | ||
| "context_length": 1050000, | ||
| "max_completion_tokens": 128000, | ||
| "supported_parameters": [ | ||
| "tools" | ||
| ], | ||
| "thinking": { | ||
| "levels": [ | ||
| "low", | ||
| "medium", | ||
| "high", | ||
| "xhigh" | ||
| ] | ||
| } | ||
| }, | ||
| { | ||
| "id": "gpt-5.4", | ||
| "object": "model", | ||
|
|
@@ -1876,6 +1899,29 @@ | |
| ] | ||
| } | ||
| }, | ||
| { | ||
| "id": "gpt-5.4-mini", | ||
| "object": "model", | ||
| "created": 1772668800, | ||
| "owned_by": "openai", | ||
| "type": "openai", | ||
| "display_name": "GPT 5.4 Mini", | ||
| "version": "gpt-5.4-mini", | ||
| "description": "Stable version of GPT 5.4 Mini", | ||
| "context_length": 1050000, | ||
| "max_completion_tokens": 128000, | ||
| "supported_parameters": [ | ||
| "tools" | ||
| ], | ||
| "thinking": { | ||
| "levels": [ | ||
| "low", | ||
| "medium", | ||
| "high", | ||
| "xhigh" | ||
| ] | ||
| } | ||
|
Comment on lines
+1903
to
+1923
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Similar to the other additions, this JSON object is missing commas between key-value pairs, which will break JSON parsing. Please also consider improving the "id": "gpt-5.4-mini",
"object": "model",
"created": 1772668800,
"owned_by": "openai",
"type": "openai",
"display_name": "GPT 5.4 Mini",
"version": "gpt-5.4-mini",
"description": "Stable version of GPT 5.4 Mini, a faster and more cost-effective variant of GPT 5.4.",
"context_length": 1050000,
"max_completion_tokens": 128000,
"supported_parameters": [
"tools"
],
"thinking": {
"levels": [
"low",
"medium",
"high",
"xhigh"
]
} |
||
| }, | ||
| { | ||
| "id": "gpt-5.4", | ||
| "object": "model", | ||
|
|
@@ -2151,6 +2197,29 @@ | |
| ] | ||
| } | ||
| }, | ||
| { | ||
| "id": "gpt-5.4-mini", | ||
| "object": "model", | ||
| "created": 1772668800, | ||
| "owned_by": "openai", | ||
| "type": "openai", | ||
| "display_name": "GPT 5.4 Mini", | ||
| "version": "gpt-5.4-mini", | ||
| "description": "Stable version of GPT 5.4 Mini", | ||
| "context_length": 1050000, | ||
| "max_completion_tokens": 128000, | ||
| "supported_parameters": [ | ||
| "tools" | ||
| ], | ||
| "thinking": { | ||
| "levels": [ | ||
| "low", | ||
| "medium", | ||
| "high", | ||
| "xhigh" | ||
| ] | ||
| } | ||
|
Comment on lines
+2201
to
+2221
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Similar to the other additions, this JSON object is missing commas between key-value pairs, which will break JSON parsing. Please also consider improving the "id": "gpt-5.4-mini",
"object": "model",
"created": 1772668800,
"owned_by": "openai",
"type": "openai",
"display_name": "GPT 5.4 Mini",
"version": "gpt-5.4-mini",
"description": "Stable version of GPT 5.4 Mini, a faster and more cost-effective variant of GPT 5.4.",
"context_length": 1050000,
"max_completion_tokens": 128000,
"supported_parameters": [
"tools"
],
"thinking": {
"levels": [
"low",
"medium",
"high",
"xhigh"
]
} |
||
| }, | ||
| { | ||
| "id": "gpt-5.4", | ||
| "object": "model", | ||
|
|
@@ -2680,4 +2749,4 @@ | |
| "max_completion_tokens": 32768 | ||
| } | ||
| ] | ||
| } | ||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This new JSON object for
gpt-5.4-miniis syntactically incorrect as it's missing commas between the key-value pairs. This will cause JSON parsing to fail.While fixing this, please also consider making the
descriptionmore informative. To help users, you could clarify what 'Mini' implies (e.g., faster, more cost-effective) compared to the basegpt-5.4model.This feedback applies to all three locations where this model definition is added.