diff --git a/openhands-sdk/openhands/sdk/llm/utils/verified_models.py b/openhands-sdk/openhands/sdk/llm/utils/verified_models.py index 07cce3d42a4..76189679e02 100644 --- a/openhands-sdk/openhands/sdk/llm/utils/verified_models.py +++ b/openhands-sdk/openhands/sdk/llm/utils/verified_models.py @@ -44,9 +44,12 @@ "devstral-medium-2512", ] -# Argon: 4. Pro: 3.1. Flash: 3.8 and 3.7. Flash-lite: 3.5 and 3.1. +# Gemini 4: Argon, Carbon and Hydrogen. Pro: 3.1. Flash: 3.8 and 3.7. +# Flash-lite: 3.5 and 3.1. VERIFIED_GEMINI_MODELS = [ "gemini-4-argon", + "gemini-4-carbon", + "gemini-4-hydrogen", "gemini-3.1-pro", "gemini-3.1-pro-preview", "gemini-3.8-flash", @@ -99,11 +102,12 @@ "nemotron-3-ultra-550b-a55b", ] -# Plus: 3.7 and 3.6. Max: 3.8 and 3.7. Flash: 3.8 and 3.7. Omni-flash: 3.8. +# Plus: 3.7 and 3.6. Max: 4, 3.8 and 3.7. Flash: 3.8 and 3.7. Omni-flash: 3.8. # Coder: unversioned. VERIFIED_QWEN_MODELS = [ "qwen3.7-plus", "qwen3.6-plus", + "qwen4-max", "qwen3.8-max", "qwen3.7-max", "qwen3.8-flash", @@ -136,6 +140,8 @@ "deepseek/deepseek-v4-pro", "deepseek/deepseek-v4-flash", "google/gemini-4-argon", + "google/gemini-4-carbon", + "google/gemini-4-hydrogen", "google/gemini-3.1-pro-preview", "google/gemini-3.8-flash", "google/gemini-3.7-flash", @@ -216,6 +222,7 @@ "nemotron-3-ultra-550b-a55b", "qwen3.7-plus", "qwen3.6-plus", + "qwen4-max", "qwen3.8-max", "qwen3.7-max", "qwen3.8-flash", diff --git a/tests/sdk/llm/test_model_list.py b/tests/sdk/llm/test_model_list.py index 5c902694915..aa5337b9abd 100644 --- a/tests/sdk/llm/test_model_list.py +++ b/tests/sdk/llm/test_model_list.py @@ -260,7 +260,15 @@ def test_verified_lists_keep_two_latest_versions_per_line(): {"devstral-2512", "devstral-medium-2512"}, {"devstral-medium-2507"}, ), - "gemini": ({"gemini-4-argon", "gemini-3.8-flash"}, {"gemini-3.6-flash"}), + "gemini": ( + { + "gemini-4-argon", + "gemini-4-carbon", + "gemini-4-hydrogen", + "gemini-3.8-flash", + }, + {"gemini-3.6-flash"}, + ), "deepseek": ({"deepseek-v4-pro", "deepseek-v3.2-reasoner"}, set()), "moonshot": ({"kimi-k3.1-pro", "kimi-k3", "kimi-k2.7-code"}, {"kimi-k2.6"}), "minimax": ( @@ -277,7 +285,7 @@ def test_verified_lists_keep_two_latest_versions_per_line(): set(), ), "qwen": ( - {"qwen3.8-max", "qwen3.7-max", "qwen3.8-omni-flash"}, + {"qwen4-max", "qwen3.8-max", "qwen3.7-max", "qwen3.8-omni-flash"}, {"qwen3-max", "qwen3-6-plus"}, ), # OpenRouter routes other vendors' models, so entries are namespaced