From bf965dd471421ab38824c9b0d9610690e8eced72 Mon Sep 17 00:00:00 2001 From: Markus Ylisiurunen Date: Wed, 14 Jan 2026 20:34:55 +0200 Subject: [PATCH 1/2] Add gpt-5.2-codex (OpenAI Responses) --- 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 000000000..b5d987555 --- /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 = "2026-01-14" +last_updated = "2026-01-14" +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 7156de4d5825093ddcdb8be627cdd196e5f657de Mon Sep 17 00:00:00 2001 From: Markus Ylisiurunen Date: Wed, 14 Jan 2026 20:40:49 +0200 Subject: [PATCH 2/2] fix family --- 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 b5d987555..b4e0cb44c 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 = "2026-01-14" last_updated = "2026-01-14" attachment = true