feat: add gpt-5 for azure openai (#40)

Denpeer created

Change summary

internal/providers/configs/azure.json | 48 +++++++++++++++++++++++++++-
1 file changed, 45 insertions(+), 3 deletions(-)

Detailed changes

internal/providers/configs/azure.json 🔗

@@ -4,9 +4,51 @@
   "type": "azure",
   "api_key": "$AZURE_OPENAI_API_KEY",
   "api_endpoint": "$AZURE_OPENAI_API_ENDPOINT",
-  "default_large_model_id": "o4-mini",
-  "default_small_model_id": "gpt-4o",
+  "default_large_model_id": "gpt-5",
+  "default_small_model_id": "gpt-5-mini",
   "models": [
+    {
+      "id": "gpt-5",
+      "name": "GPT-5",
+      "cost_per_1m_in": 1.25,
+      "cost_per_1m_out": 10,
+      "cost_per_1m_in_cached": 0.25,
+      "cost_per_1m_out_cached": 0.25,
+      "context_window": 400000,
+      "default_max_tokens": 128000,
+      "can_reason": true,
+      "has_reasoning_efforts": false,
+      "default_reasoning_effort": "minimal",
+      "supports_attachments": true
+    },
+    {
+      "id": "gpt-5-mini",
+      "name": "GPT-5 Mini",
+      "cost_per_1m_in": 0.25,
+      "cost_per_1m_out": 2,
+      "cost_per_1m_in_cached": 0.025,
+      "cost_per_1m_out_cached": 0.025,
+      "context_window": 400000,
+      "default_max_tokens": 128000,
+      "can_reason": true,
+      "has_reasoning_efforts": false,
+      "default_reasoning_effort": "low",
+      "supports_attachments": true
+    },
+    {
+      "id": "gpt-5-nano",
+      "name": "GPT-5 Nano",
+      "cost_per_1m_in": 0.05,
+      "cost_per_1m_out": 0.4,
+      "cost_per_1m_in_cached": 0.005,
+      "cost_per_1m_out_cached": 0.005,
+      "context_window": 400000,
+      "default_max_tokens": 128000,
+      "can_reason": true,
+      "has_reasoning_efforts": false,
+      "default_reasoning_effort": "low",
+      "supports_attachments": true
+    },
     {
       "id": "codex-mini-latest",
       "name": "Codex Mini",
@@ -151,4 +193,4 @@
       "supports_attachments": true
     }
   ]
-}
+}