chore: add gpt 5.4 and gpt 5.4 pro (#204)

Andrey Nering created

Change summary

internal/providers/configs/openai.json | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)

Detailed changes

internal/providers/configs/openai.json 🔗

@@ -7,6 +7,34 @@
   "default_large_model_id": "gpt-5.1-codex",
   "default_small_model_id": "gpt-4o",
   "models": [
+    {
+      "id": "gpt-5.4",
+      "name": "GPT-5.4",
+      "cost_per_1m_in": 2.5,
+      "cost_per_1m_out": 15,
+      "cost_per_1m_in_cached": 0.25,
+      "cost_per_1m_out_cached": 0,
+      "context_window": 1050000,
+      "default_max_tokens": 128000,
+      "can_reason": true,
+      "reasoning_levels": ["low", "medium", "high", "xhigh"],
+      "default_reasoning_effort": "medium",
+      "supports_attachments": true
+    },
+    {
+      "id": "gpt-5.4-pro",
+      "name": "GPT-5.4 Pro",
+      "cost_per_1m_in": 30,
+      "cost_per_1m_out": 180,
+      "cost_per_1m_in_cached": 0,
+      "cost_per_1m_out_cached": 0,
+      "context_window": 1050000,
+      "default_max_tokens": 128000,
+      "can_reason": true,
+      "reasoning_levels": ["medium", "high", "xhigh"],
+      "default_reasoning_effort": "medium",
+      "supports_attachments": true
+    },
     {
       "id": "gpt-5.3-codex",
       "name": "GPT-5.3 Codex",