From 95d471ea9b9eec5059e39354b7d088e07478293c Mon Sep 17 00:00:00 2001 From: Divy Date: Sun, 18 Oct 2026 16:58:26 -0700 Subject: [PATCH] chore(coralbricks): remove glm 5.3 rows CoralBricks no longer serves GLM 5.3 on its public API as of 2026-10-18, and requests for glm-5.3, glm-5.3-fast or glm-5.3-fp4 now return 404. Drop the three rows from both cost maps and point the Add Model placeholder at coralbricks/deepseek-v4.1-flash-fast, the provider's remaining model The tests that used the GLM slugs now use the DeepSeek V4.1 Flash slugs --- ...odel_prices_and_context_window_backup.json | 69 ------------------- .../provider_create_fields.json | 2 +- model_prices_and_context_window.json | 69 ------------------- tests/integration/providers/_coralbricks.py | 2 +- .../openai_like/test_coralbricks_provider.py | 10 ++- .../components/provider_info_helpers.test.tsx | 2 +- .../src/components/provider_info_helpers.tsx | 2 +- 7 files changed, 8 insertions(+), 148 deletions(-) diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.json index f76d61c417d..7d7f963a8c0 100644 --- a/litellm/model_prices_and_context_window_backup.json +++ b/litellm/model_prices_and_context_window_backup.json @@ -16693,75 +16693,6 @@ "supports_function_calling": true, "supports_tool_choice": true }, - "coralbricks/glm-5.3-fast": { - "cache_creation_input_token_cost": 1.68e-06, - "cache_read_input_token_cost": 0.0, - "input_cost_per_token": 1.12e-06, - "litellm_provider": "coralbricks", - "max_input_tokens": 1048576, - "max_tokens": 1048576, - "mode": "chat", - "output_cost_per_token": 4.4e-06, - "source": "https://www.coralbricks.ai/pricing", - "supported_endpoints": [ - "/v1/chat/completions", - "/v1/responses", - "/v1/messages" - ], - "supports_function_calling": true, - "supports_native_streaming": true, - "supports_prompt_caching": true, - "supports_reasoning": true, - "supports_system_messages": true, - "supports_tool_choice": true, - "supports_vision": false - }, - "coralbricks/glm-5.3-fp4": { - "cache_creation_input_token_cost": 1.68e-06, - "cache_read_input_token_cost": 0.0, - "input_cost_per_token": 1.12e-06, - "litellm_provider": "coralbricks", - "max_input_tokens": 1048576, - "max_tokens": 1048576, - "mode": "chat", - "output_cost_per_token": 4.4e-06, - "source": "https://www.coralbricks.ai/pricing", - "supported_endpoints": [ - "/v1/chat/completions", - "/v1/responses", - "/v1/messages" - ], - "supports_function_calling": true, - "supports_native_streaming": true, - "supports_prompt_caching": true, - "supports_reasoning": true, - "supports_system_messages": true, - "supports_tool_choice": true, - "supports_vision": false - }, - "coralbricks/glm-5.3": { - "cache_creation_input_token_cost": 1.68e-06, - "cache_read_input_token_cost": 0.0, - "input_cost_per_token": 1.12e-06, - "litellm_provider": "coralbricks", - "max_input_tokens": 1048576, - "max_tokens": 1048576, - "mode": "chat", - "output_cost_per_token": 4.4e-06, - "source": "https://www.coralbricks.ai/pricing", - "supported_endpoints": [ - "/v1/chat/completions", - "/v1/responses", - "/v1/messages" - ], - "supports_function_calling": true, - "supports_native_streaming": true, - "supports_prompt_caching": true, - "supports_reasoning": true, - "supports_system_messages": true, - "supports_tool_choice": true, - "supports_vision": false - }, "coralbricks/deepseek-v4.1-flash-fast": { "cache_creation_input_token_cost": 9e-08, "cache_read_input_token_cost": 0.0, diff --git a/litellm/proxy/public_endpoints/provider_create_fields.json b/litellm/proxy/public_endpoints/provider_create_fields.json index a794854ce19..9a6b8a3dec9 100644 --- a/litellm/proxy/public_endpoints/provider_create_fields.json +++ b/litellm/proxy/public_endpoints/provider_create_fields.json @@ -1087,7 +1087,7 @@ "default_value": null } ], - "default_model_placeholder": "coralbricks/glm-5.3-fast" + "default_model_placeholder": "coralbricks/deepseek-v4.1-flash-fast" }, { "provider": "CORTECS", diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json index f76d61c417d..7d7f963a8c0 100644 --- a/model_prices_and_context_window.json +++ b/model_prices_and_context_window.json @@ -16693,75 +16693,6 @@ "supports_function_calling": true, "supports_tool_choice": true }, - "coralbricks/glm-5.3-fast": { - "cache_creation_input_token_cost": 1.68e-06, - "cache_read_input_token_cost": 0.0, - "input_cost_per_token": 1.12e-06, - "litellm_provider": "coralbricks", - "max_input_tokens": 1048576, - "max_tokens": 1048576, - "mode": "chat", - "output_cost_per_token": 4.4e-06, - "source": "https://www.coralbricks.ai/pricing", - "supported_endpoints": [ - "/v1/chat/completions", - "/v1/responses", - "/v1/messages" - ], - "supports_function_calling": true, - "supports_native_streaming": true, - "supports_prompt_caching": true, - "supports_reasoning": true, - "supports_system_messages": true, - "supports_tool_choice": true, - "supports_vision": false - }, - "coralbricks/glm-5.3-fp4": { - "cache_creation_input_token_cost": 1.68e-06, - "cache_read_input_token_cost": 0.0, - "input_cost_per_token": 1.12e-06, - "litellm_provider": "coralbricks", - "max_input_tokens": 1048576, - "max_tokens": 1048576, - "mode": "chat", - "output_cost_per_token": 4.4e-06, - "source": "https://www.coralbricks.ai/pricing", - "supported_endpoints": [ - "/v1/chat/completions", - "/v1/responses", - "/v1/messages" - ], - "supports_function_calling": true, - "supports_native_streaming": true, - "supports_prompt_caching": true, - "supports_reasoning": true, - "supports_system_messages": true, - "supports_tool_choice": true, - "supports_vision": false - }, - "coralbricks/glm-5.3": { - "cache_creation_input_token_cost": 1.68e-06, - "cache_read_input_token_cost": 0.0, - "input_cost_per_token": 1.12e-06, - "litellm_provider": "coralbricks", - "max_input_tokens": 1048576, - "max_tokens": 1048576, - "mode": "chat", - "output_cost_per_token": 4.4e-06, - "source": "https://www.coralbricks.ai/pricing", - "supported_endpoints": [ - "/v1/chat/completions", - "/v1/responses", - "/v1/messages" - ], - "supports_function_calling": true, - "supports_native_streaming": true, - "supports_prompt_caching": true, - "supports_reasoning": true, - "supports_system_messages": true, - "supports_tool_choice": true, - "supports_vision": false - }, "coralbricks/deepseek-v4.1-flash-fast": { "cache_creation_input_token_cost": 9e-08, "cache_read_input_token_cost": 0.0, diff --git a/tests/integration/providers/_coralbricks.py b/tests/integration/providers/_coralbricks.py index e6449df9591..43ebfc1669a 100644 --- a/tests/integration/providers/_coralbricks.py +++ b/tests/integration/providers/_coralbricks.py @@ -19,7 +19,7 @@ from pydantic import JsonValue PROVIDER: Final = "coralbricks" MODEL: Final = "deepseek-v4.1-flash-fast" -MODELS: Final = (MODEL, "glm-5.3-fast") +MODELS: Final = (MODEL, "deepseek-v4.1-flash-fast-fp4") API_KEY: Final = "cb_synthetic_integration_key" ANSWER: Final = "coral ok" NO_CACHE: Final[dict[str, JsonValue]] = {"no-cache": True} diff --git a/tests/unit/llms/openai_like/test_coralbricks_provider.py b/tests/unit/llms/openai_like/test_coralbricks_provider.py index 6187c7aa466..0b64fce13ba 100644 --- a/tests/unit/llms/openai_like/test_coralbricks_provider.py +++ b/tests/unit/llms/openai_like/test_coralbricks_provider.py @@ -19,13 +19,13 @@ def test_coralbricks_provider_resolution(monkeypatch: pytest.MonkeyPatch): monkeypatch.setenv("CORALBRICKS_API_KEY", "coralbricks-test-key") model, provider, api_key, api_base = get_llm_provider( - model="coralbricks/glm-5.3-fast", + model=CORALBRICKS_MODEL, custom_llm_provider=None, api_base=None, api_key=None, ) - assert model == "glm-5.3-fast" + assert model == CORALBRICKS_MODEL_ID assert provider == "coralbricks" assert api_key == "coralbricks-test-key" assert api_base == "https://inference.coralbricks.ai/v1" @@ -37,7 +37,7 @@ def test_coralbricks_provider_keeps_explicit_credentials(monkeypatch: pytest.Mon monkeypatch.setenv("CORALBRICKS_API_KEY", "coralbricks-env-key") _, provider, api_key, api_base = get_llm_provider( - model="coralbricks/glm-5.3-fast", + model=CORALBRICKS_MODEL, custom_llm_provider=None, api_base="https://coralbricks.internal.example/v1", api_key="coralbricks-explicit-key", @@ -59,7 +59,7 @@ def test_coralbricks_is_available_in_add_model_form(): assert coralbricks["provider"] == "CORALBRICKS" assert coralbricks["provider_display_name"] == "CoralBricks" - assert coralbricks["default_model_placeholder"] == "coralbricks/glm-5.3-fast" + assert coralbricks["default_model_placeholder"] == CORALBRICKS_MODEL assert {field["key"]: field["required"] for field in coralbricks["credential_fields"]} == { "api_base": False, "api_key": True, @@ -444,8 +444,6 @@ def _billed_chat_cost(model_id: str) -> float: @pytest.mark.parametrize( ("deprecated_slug", "current_slug"), ( - ("glm-5.3-fp4", "glm-5.3-fast"), - ("glm-5.3", "glm-5.3-fast"), ("deepseek-v4.1-flash-fast-fp4", "deepseek-v4.1-flash-fast"), ("deepseek-v4.1-flash", "deepseek-v4.1-flash-fast"), ), diff --git a/ui/litellm-dashboard/src/components/provider_info_helpers.test.tsx b/ui/litellm-dashboard/src/components/provider_info_helpers.test.tsx index 0ebd2cdff17..4c6cc484a21 100644 --- a/ui/litellm-dashboard/src/components/provider_info_helpers.test.tsx +++ b/ui/litellm-dashboard/src/components/provider_info_helpers.test.tsx @@ -366,7 +366,7 @@ describe("provider_info_helpers", () => { }); it("should return a coralbricks/ placeholder for the CoralBricks provider", () => { - expect(getPlaceholder(Providers.CORALBRICKS)).toBe("coralbricks/glm-5.3-fast"); + expect(getPlaceholder(Providers.CORALBRICKS)).toBe("coralbricks/deepseek-v4.1-flash-fast"); }); it("should return decision model placeholders for the TypeSafe and StrandsDecider dropdown keys", () => { diff --git a/ui/litellm-dashboard/src/components/provider_info_helpers.tsx b/ui/litellm-dashboard/src/components/provider_info_helpers.tsx index 5a163bce3b6..08eff9e1c97 100644 --- a/ui/litellm-dashboard/src/components/provider_info_helpers.tsx +++ b/ui/litellm-dashboard/src/components/provider_info_helpers.tsx @@ -467,7 +467,7 @@ const providerPlaceholderMap: Partial> = { [Providers.Bedrock]: "claude-3-opus", [Providers.CHATGPT]: "chatgpt/gpt-5.4", [Providers.Cognition]: "cognition/swe-1.7", - [Providers.CORALBRICKS]: "coralbricks/glm-5.3-fast", + [Providers.CORALBRICKS]: "coralbricks/deepseek-v4.1-flash-fast", [Providers.Cursor]: "cursor/claude-4-sonnet", [Providers.DeepInfra]: "deepinfra/", [Providers.EDENAI]: "edenai/openai/gpt-mini-latest",