From 94310d742dea81709532d233a26e54dd010f9681 Mon Sep 17 00:00:00 2001 From: cyhhao Date: Sun, 11 Jan 2026 01:55:50 +0800 Subject: [PATCH 1/2] Add gpt-5.2-codex model --- providers/openai/models/gpt-5.2-codex.toml | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 providers/openai/models/gpt-5.2-codex.toml diff --git a/providers/openai/models/gpt-5.2-codex.toml b/providers/openai/models/gpt-5.2-codex.toml new file mode 100644 index 00000000..797a85cc --- /dev/null +++ b/providers/openai/models/gpt-5.2-codex.toml @@ -0,0 +1,24 @@ +name = "GPT-5.2 Codex" +family = "gpt-5-codex" +release_date = "2025-12-11" +last_updated = "2025-12-11" +attachment = true +reasoning = true +temperature = false +knowledge = "2025-08-31" +tool_call = true +structured_output = true +open_weights = false + +[cost] +input = 1.75 +output = 14.00 +cache_read = 0.175 + +[limit] +context = 400_000 +output = 128_000 + +[modalities] +input = ["text", "image"] +output = ["text"] From 6a614ab0accae2663484ecc9e949ce42f757120b Mon Sep 17 00:00:00 2001 From: Aiden Cline <63023139+rekram1-node@users.noreply.github.com> Date: Wed, 14 Jan 2026 13:24:47 -0600 Subject: [PATCH 2/2] Update model family name in gpt-5.2-codex.toml --- providers/openai/models/gpt-5.2-codex.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/providers/openai/models/gpt-5.2-codex.toml b/providers/openai/models/gpt-5.2-codex.toml index 797a85cc..4c6c0266 100644 --- a/providers/openai/models/gpt-5.2-codex.toml +++ b/providers/openai/models/gpt-5.2-codex.toml @@ -1,5 +1,5 @@ name = "GPT-5.2 Codex" -family = "gpt-5-codex" +family = "gpt-codex" release_date = "2025-12-11" last_updated = "2025-12-11" attachment = true