From c63b7965bd8228d6c437806d7be54a0d3bbb088c Mon Sep 17 00:00:00 2001 From: Chesars Date: Wed, 14 Jan 2026 16:06:20 -0300 Subject: [PATCH] fix(vertex_ai): add supported_regions for zai-org/glm-4.7-maas Add `supported_regions: ["global"]` to the GLM-4.7 model configuration so that LiteLLM automatically uses the correct global endpoint. Without this, users must manually specify `vertex_location: global`, otherwise LiteLLM defaults to us-central1 which returns 404. --- litellm/model_prices_and_context_window_backup.json | 3 +++ model_prices_and_context_window.json | 3 +++ 2 files changed, 6 insertions(+) diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.json index d3dd6b3d992..01dca07e9dd 100644 --- a/litellm/model_prices_and_context_window_backup.json +++ b/litellm/model_prices_and_context_window_backup.json @@ -33840,6 +33840,9 @@ "mode": "chat", "output_cost_per_token": 2.2e-06, "source": "https://cloud.google.com/vertex-ai/generative-ai/pricing#partner-models", + "supported_regions": [ + "global" + ], "supports_function_calling": true, "supports_reasoning": true, "supports_tool_choice": true diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json index d3dd6b3d992..01dca07e9dd 100644 --- a/model_prices_and_context_window.json +++ b/model_prices_and_context_window.json @@ -33840,6 +33840,9 @@ "mode": "chat", "output_cost_per_token": 2.2e-06, "source": "https://cloud.google.com/vertex-ai/generative-ai/pricing#partner-models", + "supported_regions": [ + "global" + ], "supports_function_calling": true, "supports_reasoning": true, "supports_tool_choice": true