diff --git a/libs/partners/openrouter/langchain_openrouter/data/_profiles.py b/libs/partners/openrouter/langchain_openrouter/data/_profiles.py index 8e411eef28d..a2bec510108 100644 --- a/libs/partners/openrouter/langchain_openrouter/data/_profiles.py +++ b/libs/partners/openrouter/langchain_openrouter/data/_profiles.py @@ -354,7 +354,7 @@ _PROFILES: dict[str, dict[str, Any]] = { "temperature": True, }, "anthropic/claude-haiku-4.5": { - "name": "Claude Haiku 4.5", + "name": "Claude Haiku 4.5 (latest)", "release_date": "2025-10-15", "last_updated": "2025-10-15", "open_weights": False, @@ -398,7 +398,7 @@ _PROFILES: dict[str, dict[str, Any]] = { "temperature": True, }, "anthropic/claude-opus-4.1": { - "name": "Claude Opus 4.1", + "name": "Claude Opus 4.1 (latest)", "release_date": "2025-08-05", "last_updated": "2025-08-05", "open_weights": False, @@ -420,7 +420,7 @@ _PROFILES: dict[str, dict[str, Any]] = { "temperature": True, }, "anthropic/claude-opus-4.5": { - "name": "Claude Opus 4.5", + "name": "Claude Opus 4.5 (latest)", "release_date": "2025-11-24", "last_updated": "2025-11-24", "open_weights": False, @@ -443,8 +443,8 @@ _PROFILES: dict[str, dict[str, Any]] = { }, "anthropic/claude-opus-4.6": { "name": "Claude Opus 4.6", - "release_date": "2026-02-04", - "last_updated": "2026-02-04", + "release_date": "2026-02-05", + "last_updated": "2026-03-13", "open_weights": False, "max_input_tokens": 1000000, "max_output_tokens": 128000, @@ -552,7 +552,7 @@ _PROFILES: dict[str, dict[str, Any]] = { "temperature": True, }, "anthropic/claude-sonnet-4.5": { - "name": "Claude Sonnet 4.5", + "name": "Claude Sonnet 4.5 (latest)", "release_date": "2025-09-29", "last_updated": "2025-09-29", "open_weights": False, @@ -576,7 +576,7 @@ _PROFILES: dict[str, dict[str, Any]] = { "anthropic/claude-sonnet-4.6": { "name": "Claude Sonnet 4.6", "release_date": "2026-02-17", - "last_updated": "2026-02-17", + "last_updated": "2026-03-13", "open_weights": False, "max_input_tokens": 1000000, "max_output_tokens": 128000, @@ -658,27 +658,6 @@ _PROFILES: dict[str, dict[str, Any]] = { "attachment": True, "temperature": True, }, - "arcee-ai/trinity-large-preview": { - "name": "Trinity Large Preview", - "release_date": "2026-01-27", - "last_updated": "2026-01-27", - "open_weights": True, - "max_input_tokens": 131000, - "max_output_tokens": 131000, - "text_inputs": True, - "image_inputs": False, - "audio_inputs": False, - "video_inputs": False, - "text_outputs": True, - "image_outputs": False, - "audio_outputs": False, - "video_outputs": False, - "reasoning_output": False, - "tool_calling": True, - "structured_output": True, - "attachment": False, - "temperature": True, - }, "arcee-ai/trinity-large-thinking": { "name": "Trinity Large Thinking", "release_date": "2026-04-01", @@ -1058,10 +1037,10 @@ _PROFILES: dict[str, dict[str, Any]] = { "temperature": True, }, "cohere/command-r-08-2024": { - "name": "Command R (08-2024)", + "name": "Command R", "release_date": "2024-08-30", "last_updated": "2024-08-30", - "open_weights": False, + "open_weights": True, "max_input_tokens": 128000, "max_output_tokens": 4000, "text_inputs": True, @@ -1079,10 +1058,10 @@ _PROFILES: dict[str, dict[str, Any]] = { "temperature": True, }, "cohere/command-r-plus-08-2024": { - "name": "Command R+ (08-2024)", + "name": "Command R+", "release_date": "2024-08-30", "last_updated": "2024-08-30", - "open_weights": False, + "open_weights": True, "max_input_tokens": 128000, "max_output_tokens": 4000, "text_inputs": True, @@ -1100,10 +1079,10 @@ _PROFILES: dict[str, dict[str, Any]] = { "temperature": True, }, "cohere/command-r7b-12-2024": { - "name": "Command R7B (12-2024)", - "release_date": "2024-12-14", - "last_updated": "2024-12-14", - "open_weights": False, + "name": "Command R7B", + "release_date": "2024-02-27", + "last_updated": "2024-02-27", + "open_weights": True, "max_input_tokens": 128000, "max_output_tokens": 4000, "text_inputs": True, @@ -1142,9 +1121,9 @@ _PROFILES: dict[str, dict[str, Any]] = { "temperature": True, }, "deepseek/deepseek-chat": { - "name": "DeepSeek V3", - "release_date": "2024-12-26", - "last_updated": "2024-12-26", + "name": "DeepSeek Chat", + "release_date": "2025-12-01", + "last_updated": "2026-02-28", "open_weights": True, "max_input_tokens": 163840, "max_output_tokens": 16384, @@ -1461,7 +1440,7 @@ _PROFILES: dict[str, dict[str, Any]] = { "release_date": "2025-02-05", "last_updated": "2025-02-05", "open_weights": False, - "max_input_tokens": 1048576, + "max_input_tokens": 1000000, "max_output_tokens": 8192, "text_inputs": True, "image_inputs": True, @@ -1502,8 +1481,8 @@ _PROFILES: dict[str, dict[str, Any]] = { }, "google/gemini-2.5-flash": { "name": "Gemini 2.5 Flash", - "release_date": "2025-06-17", - "last_updated": "2025-06-17", + "release_date": "2025-03-20", + "last_updated": "2025-06-05", "open_weights": False, "max_input_tokens": 1048576, "max_output_tokens": 65535, @@ -1523,9 +1502,9 @@ _PROFILES: dict[str, dict[str, Any]] = { "temperature": True, }, "google/gemini-2.5-flash-image": { - "name": "Nano Banana (Gemini 2.5 Flash Image)", - "release_date": "2025-10-07", - "last_updated": "2025-10-07", + "name": "Nano Banana", + "release_date": "2025-08-26", + "last_updated": "2025-08-26", "open_weights": False, "max_input_tokens": 32768, "max_output_tokens": 32768, @@ -1544,9 +1523,9 @@ _PROFILES: dict[str, dict[str, Any]] = { "temperature": True, }, "google/gemini-2.5-flash-lite": { - "name": "Gemini 2.5 Flash Lite", - "release_date": "2025-07-22", - "last_updated": "2025-07-22", + "name": "Gemini 2.5 Flash-Lite", + "release_date": "2025-06-17", + "last_updated": "2025-06-17", "open_weights": False, "max_input_tokens": 1048576, "max_output_tokens": 65535, @@ -1589,8 +1568,8 @@ _PROFILES: dict[str, dict[str, Any]] = { }, "google/gemini-2.5-pro": { "name": "Gemini 2.5 Pro", - "release_date": "2025-06-17", - "last_updated": "2025-06-17", + "release_date": "2025-03-20", + "last_updated": "2025-06-05", "open_weights": False, "max_input_tokens": 1048576, "max_output_tokens": 65536, @@ -1697,7 +1676,7 @@ _PROFILES: dict[str, dict[str, Any]] = { "temperature": True, }, "google/gemini-3.1-flash-image-preview": { - "name": "Nano Banana 2 (Gemini 3.1 Flash Image Preview)", + "name": "Nano Banana 2", "release_date": "2026-02-26", "last_updated": "2026-02-26", "open_weights": False, @@ -1785,8 +1764,30 @@ _PROFILES: dict[str, dict[str, Any]] = { }, "google/gemini-3.1-pro-preview-customtools": { "name": "Gemini 3.1 Pro Preview Custom Tools", - "release_date": "2026-02-25", - "last_updated": "2026-02-25", + "release_date": "2026-02-19", + "last_updated": "2026-02-19", + "open_weights": False, + "max_input_tokens": 1048576, + "max_output_tokens": 65536, + "text_inputs": True, + "image_inputs": True, + "audio_inputs": True, + "pdf_inputs": True, + "video_inputs": True, + "text_outputs": True, + "image_outputs": False, + "audio_outputs": False, + "video_outputs": False, + "reasoning_output": True, + "tool_calling": True, + "structured_output": True, + "attachment": True, + "temperature": True, + }, + "google/gemini-3.5-flash": { + "name": "Gemini 3.5 Flash", + "release_date": "2026-05-19", + "last_updated": "2026-05-19", "open_weights": False, "max_input_tokens": 1048576, "max_output_tokens": 65536, @@ -1911,9 +1912,9 @@ _PROFILES: dict[str, dict[str, Any]] = { "temperature": True, }, "google/gemma-4-26b-a4b-it": { - "name": "Gemma 4 26B A4B ", - "release_date": "2026-04-03", - "last_updated": "2026-04-03", + "name": "Gemma 4 26B A4B IT", + "release_date": "2026-04-02", + "last_updated": "2026-04-02", "open_weights": True, "max_input_tokens": 262144, "max_output_tokens": 262144, @@ -1933,8 +1934,8 @@ _PROFILES: dict[str, dict[str, Any]] = { }, "google/gemma-4-26b-a4b-it:free": { "name": "Gemma 4 26B A4B (free)", - "release_date": "2026-04-03", - "last_updated": "2026-04-03", + "release_date": "2026-04-02", + "last_updated": "2026-04-02", "open_weights": True, "max_input_tokens": 262144, "max_output_tokens": 32768, @@ -1953,7 +1954,7 @@ _PROFILES: dict[str, dict[str, Any]] = { "temperature": True, }, "google/gemma-4-31b-it": { - "name": "Gemma 4 31B", + "name": "Gemma 4 31B IT", "release_date": "2026-04-02", "last_updated": "2026-04-02", "open_weights": True, @@ -2499,7 +2500,7 @@ _PROFILES: dict[str, dict[str, Any]] = { "temperature": True, }, "meta-llama/llama-3.3-70b-instruct": { - "name": "Llama 3.3 70B Instruct", + "name": "Llama-3.3-70B-Instruct", "release_date": "2024-12-06", "last_updated": "2024-12-06", "open_weights": True, @@ -2730,9 +2731,9 @@ _PROFILES: dict[str, dict[str, Any]] = { "temperature": True, }, "minimax/minimax-m2": { - "name": "MiniMax M2", - "release_date": "2025-10-23", - "last_updated": "2025-10-23", + "name": "MiniMax-M2", + "release_date": "2025-10-27", + "last_updated": "2025-10-27", "open_weights": True, "max_input_tokens": 196608, "max_output_tokens": 196608, @@ -2772,7 +2773,7 @@ _PROFILES: dict[str, dict[str, Any]] = { "temperature": True, }, "minimax/minimax-m2.1": { - "name": "MiniMax M2.1", + "name": "MiniMax-M2.1", "release_date": "2025-12-23", "last_updated": "2025-12-23", "open_weights": True, @@ -2793,7 +2794,7 @@ _PROFILES: dict[str, dict[str, Any]] = { "temperature": True, }, "minimax/minimax-m2.5": { - "name": "MiniMax M2.5", + "name": "MiniMax-M2.5", "release_date": "2026-02-12", "last_updated": "2026-02-12", "open_weights": True, @@ -2835,7 +2836,7 @@ _PROFILES: dict[str, dict[str, Any]] = { "temperature": True, }, "minimax/minimax-m2.7": { - "name": "MiniMax M2.7", + "name": "MiniMax-M2.7", "release_date": "2026-03-18", "last_updated": "2026-03-18", "open_weights": True, @@ -2878,7 +2879,7 @@ _PROFILES: dict[str, dict[str, Any]] = { "temperature": True, }, "mistralai/devstral-2512": { - "name": "Devstral 2 2512", + "name": "Devstral 2", "release_date": "2025-12-09", "last_updated": "2025-12-09", "open_weights": True, @@ -3072,10 +3073,10 @@ _PROFILES: dict[str, dict[str, Any]] = { "temperature": True, }, "mistralai/mistral-large-2411": { - "name": "Mistral Large 2411", - "release_date": "2024-11-19", - "last_updated": "2024-11-19", - "open_weights": False, + "name": "Mistral Large 2.1", + "release_date": "2024-11-01", + "last_updated": "2024-11-04", + "open_weights": True, "max_input_tokens": 131072, "max_output_tokens": 131072, "text_inputs": True, @@ -3094,10 +3095,10 @@ _PROFILES: dict[str, dict[str, Any]] = { "temperature": True, }, "mistralai/mistral-large-2512": { - "name": "Mistral Large 3 2512", - "release_date": "2025-12-01", - "last_updated": "2025-12-01", - "open_weights": False, + "name": "Mistral Large 3", + "release_date": "2024-11-01", + "last_updated": "2025-12-02", + "open_weights": True, "max_input_tokens": 262144, "max_output_tokens": 262144, "text_inputs": True, @@ -3183,8 +3184,8 @@ _PROFILES: dict[str, dict[str, Any]] = { }, "mistralai/mistral-nemo": { "name": "Mistral Nemo", - "release_date": "2024-07-19", - "last_updated": "2024-07-19", + "release_date": "2024-07-01", + "last_updated": "2024-07-01", "open_weights": True, "max_input_tokens": 131072, "max_output_tokens": 131072, @@ -3439,8 +3440,8 @@ _PROFILES: dict[str, dict[str, Any]] = { }, "moonshotai/kimi-k2.5": { "name": "Kimi K2.5", - "release_date": "2026-01-27", - "last_updated": "2026-01-27", + "release_date": "2026-01", + "last_updated": "2026-01", "open_weights": True, "max_input_tokens": 262144, "max_output_tokens": 262144, @@ -3460,8 +3461,8 @@ _PROFILES: dict[str, dict[str, Any]] = { }, "moonshotai/kimi-k2.6": { "name": "Kimi K2.6", - "release_date": "2026-04-20", - "last_updated": "2026-04-20", + "release_date": "2026-04-21", + "last_updated": "2026-04-21", "open_weights": True, "max_input_tokens": 262142, "max_output_tokens": 262142, @@ -3858,9 +3859,9 @@ _PROFILES: dict[str, dict[str, Any]] = { "temperature": True, }, "openai/gpt-3.5-turbo": { - "name": "GPT-3.5 Turbo", - "release_date": "2023-05-28", - "last_updated": "2023-05-28", + "name": "GPT-3.5-turbo", + "release_date": "2023-03-01", + "last_updated": "2023-11-06", "open_weights": False, "max_input_tokens": 16385, "max_output_tokens": 4096, @@ -3943,8 +3944,8 @@ _PROFILES: dict[str, dict[str, Any]] = { }, "openai/gpt-4": { "name": "GPT-4", - "release_date": "2023-05-28", - "last_updated": "2023-05-28", + "release_date": "2023-11-06", + "last_updated": "2024-04-09", "open_weights": False, "max_input_tokens": 8191, "max_output_tokens": 4096, @@ -4006,7 +4007,7 @@ _PROFILES: dict[str, dict[str, Any]] = { }, "openai/gpt-4-turbo": { "name": "GPT-4 Turbo", - "release_date": "2024-04-09", + "release_date": "2023-11-06", "last_updated": "2024-04-09", "open_weights": False, "max_input_tokens": 128000, @@ -4069,7 +4070,7 @@ _PROFILES: dict[str, dict[str, Any]] = { "temperature": True, }, "openai/gpt-4.1-mini": { - "name": "GPT-4.1 Mini", + "name": "GPT-4.1 mini", "release_date": "2025-04-14", "last_updated": "2025-04-14", "open_weights": False, @@ -4091,7 +4092,7 @@ _PROFILES: dict[str, dict[str, Any]] = { "temperature": True, }, "openai/gpt-4.1-nano": { - "name": "GPT-4.1 Nano", + "name": "GPT-4.1 nano", "release_date": "2025-04-14", "last_updated": "2025-04-14", "open_weights": False, @@ -4115,7 +4116,7 @@ _PROFILES: dict[str, dict[str, Any]] = { "openai/gpt-4o": { "name": "GPT-4o", "release_date": "2024-05-13", - "last_updated": "2024-05-13", + "last_updated": "2024-08-06", "open_weights": False, "max_input_tokens": 128000, "max_output_tokens": 16384, @@ -4222,7 +4223,7 @@ _PROFILES: dict[str, dict[str, Any]] = { "temperature": True, }, "openai/gpt-4o-mini": { - "name": "GPT-4o-mini", + "name": "GPT-4o mini", "release_date": "2024-07-18", "last_updated": "2024-07-18", "open_weights": False, @@ -4352,9 +4353,9 @@ _PROFILES: dict[str, dict[str, Any]] = { "temperature": False, }, "openai/gpt-5-codex": { - "name": "GPT-5 Codex", - "release_date": "2025-09-23", - "last_updated": "2025-09-23", + "name": "GPT-5-Codex", + "release_date": "2025-09-15", + "last_updated": "2025-09-15", "open_weights": False, "max_input_tokens": 400000, "max_output_tokens": 128000, @@ -4527,7 +4528,7 @@ _PROFILES: dict[str, dict[str, Any]] = { "temperature": False, }, "openai/gpt-5.1-codex": { - "name": "GPT-5.1-Codex", + "name": "GPT-5.1 Codex", "release_date": "2025-11-13", "last_updated": "2025-11-13", "open_weights": False, @@ -4548,9 +4549,9 @@ _PROFILES: dict[str, dict[str, Any]] = { "temperature": False, }, "openai/gpt-5.1-codex-max": { - "name": "GPT-5.1-Codex-Max", - "release_date": "2025-12-04", - "last_updated": "2025-12-04", + "name": "GPT-5.1 Codex Max", + "release_date": "2025-11-13", + "last_updated": "2025-11-13", "open_weights": False, "max_input_tokens": 400000, "max_output_tokens": 128000, @@ -4569,7 +4570,7 @@ _PROFILES: dict[str, dict[str, Any]] = { "temperature": False, }, "openai/gpt-5.1-codex-mini": { - "name": "GPT-5.1-Codex-Mini", + "name": "GPT-5.1 Codex mini", "release_date": "2025-11-13", "last_updated": "2025-11-13", "open_weights": False, @@ -4591,8 +4592,8 @@ _PROFILES: dict[str, dict[str, Any]] = { }, "openai/gpt-5.2": { "name": "GPT-5.2", - "release_date": "2025-12-10", - "last_updated": "2025-12-10", + "release_date": "2025-12-11", + "last_updated": "2025-12-11", "open_weights": False, "max_input_tokens": 400000, "max_output_tokens": 128000, @@ -4634,9 +4635,9 @@ _PROFILES: dict[str, dict[str, Any]] = { "temperature": False, }, "openai/gpt-5.2-codex": { - "name": "GPT-5.2-Codex", - "release_date": "2026-01-14", - "last_updated": "2026-01-14", + "name": "GPT-5.2 Codex", + "release_date": "2025-12-11", + "last_updated": "2025-12-11", "open_weights": False, "max_input_tokens": 400000, "max_output_tokens": 128000, @@ -4656,8 +4657,8 @@ _PROFILES: dict[str, dict[str, Any]] = { }, "openai/gpt-5.2-pro": { "name": "GPT-5.2 Pro", - "release_date": "2025-12-10", - "last_updated": "2025-12-10", + "release_date": "2025-12-11", + "last_updated": "2025-12-11", "open_weights": False, "max_input_tokens": 400000, "max_output_tokens": 128000, @@ -4699,9 +4700,9 @@ _PROFILES: dict[str, dict[str, Any]] = { "temperature": False, }, "openai/gpt-5.3-codex": { - "name": "GPT-5.3-Codex", - "release_date": "2026-02-24", - "last_updated": "2026-02-24", + "name": "GPT-5.3 Codex", + "release_date": "2026-02-05", + "last_updated": "2026-02-05", "open_weights": False, "max_input_tokens": 400000, "max_output_tokens": 128000, @@ -4765,7 +4766,7 @@ _PROFILES: dict[str, dict[str, Any]] = { "temperature": False, }, "openai/gpt-5.4-mini": { - "name": "GPT-5.4 Mini", + "name": "GPT-5.4 mini", "release_date": "2026-03-17", "last_updated": "2026-03-17", "open_weights": False, @@ -4787,7 +4788,7 @@ _PROFILES: dict[str, dict[str, Any]] = { "temperature": False, }, "openai/gpt-5.4-nano": { - "name": "GPT-5.4 Nano", + "name": "GPT-5.4 nano", "release_date": "2026-03-17", "last_updated": "2026-03-17", "open_weights": False, @@ -4832,8 +4833,8 @@ _PROFILES: dict[str, dict[str, Any]] = { }, "openai/gpt-5.5": { "name": "GPT-5.5", - "release_date": "2026-04-24", - "last_updated": "2026-04-24", + "release_date": "2026-04-23", + "last_updated": "2026-04-23", "open_weights": False, "max_input_tokens": 1050000, "max_output_tokens": 128000, @@ -4854,8 +4855,8 @@ _PROFILES: dict[str, dict[str, Any]] = { }, "openai/gpt-5.5-pro": { "name": "GPT-5.5 Pro", - "release_date": "2026-04-24", - "last_updated": "2026-04-24", + "release_date": "2026-04-23", + "last_updated": "2026-04-23", "open_weights": False, "max_input_tokens": 1050000, "max_output_tokens": 128000, @@ -5045,8 +5046,8 @@ _PROFILES: dict[str, dict[str, Any]] = { }, "openai/o1": { "name": "o1", - "release_date": "2024-12-17", - "last_updated": "2024-12-17", + "release_date": "2024-12-05", + "last_updated": "2024-12-05", "open_weights": False, "max_input_tokens": 200000, "max_output_tokens": 100000, @@ -5110,9 +5111,9 @@ _PROFILES: dict[str, dict[str, Any]] = { "temperature": False, }, "openai/o3-deep-research": { - "name": "o3 Deep Research", - "release_date": "2025-10-10", - "last_updated": "2025-10-10", + "name": "o3-deep-research", + "release_date": "2024-06-26", + "last_updated": "2024-06-26", "open_weights": False, "max_input_tokens": 200000, "max_output_tokens": 100000, @@ -5132,9 +5133,9 @@ _PROFILES: dict[str, dict[str, Any]] = { "temperature": True, }, "openai/o3-mini": { - "name": "o3 Mini", - "release_date": "2025-01-31", - "last_updated": "2025-01-31", + "name": "o3-mini", + "release_date": "2024-12-20", + "last_updated": "2025-01-29", "open_weights": False, "max_input_tokens": 200000, "max_output_tokens": 100000, @@ -5176,7 +5177,7 @@ _PROFILES: dict[str, dict[str, Any]] = { "temperature": False, }, "openai/o3-pro": { - "name": "o3 Pro", + "name": "o3-pro", "release_date": "2025-06-10", "last_updated": "2025-06-10", "open_weights": False, @@ -5198,7 +5199,7 @@ _PROFILES: dict[str, dict[str, Any]] = { "temperature": False, }, "openai/o4-mini": { - "name": "o4 Mini", + "name": "o4-mini", "release_date": "2025-04-16", "last_updated": "2025-04-16", "open_weights": False, @@ -5220,9 +5221,9 @@ _PROFILES: dict[str, dict[str, Any]] = { "temperature": False, }, "openai/o4-mini-deep-research": { - "name": "o4 Mini Deep Research", - "release_date": "2025-10-10", - "last_updated": "2025-10-10", + "name": "o4-mini-deep-research", + "release_date": "2024-06-26", + "last_updated": "2024-06-26", "open_weights": False, "max_input_tokens": 200000, "max_output_tokens": 100000, @@ -6446,8 +6447,8 @@ _PROFILES: dict[str, dict[str, Any]] = { "release_date": "2026-04-27", "last_updated": "2026-04-27", "open_weights": True, - "max_input_tokens": 262144, - "max_output_tokens": 81920, + "max_input_tokens": 262140, + "max_output_tokens": 262140, "text_inputs": True, "image_inputs": True, "audio_inputs": False, @@ -6546,6 +6547,27 @@ _PROFILES: dict[str, dict[str, Any]] = { "attachment": True, "temperature": True, }, + "qwen/qwen3.7-max": { + "name": "Qwen3.7 Max", + "release_date": "2026-05-21", + "last_updated": "2026-05-21", + "open_weights": False, + "max_input_tokens": 1000000, + "max_output_tokens": 65536, + "text_inputs": True, + "image_inputs": False, + "audio_inputs": False, + "video_inputs": False, + "text_outputs": True, + "image_outputs": False, + "audio_outputs": False, + "video_outputs": False, + "reasoning_output": True, + "tool_calling": True, + "structured_output": True, + "attachment": False, + "temperature": True, + }, "rekaai/reka-edge": { "name": "Reka Edge", "release_date": "2026-03-20", @@ -6741,7 +6763,7 @@ _PROFILES: dict[str, dict[str, Any]] = { "last_updated": "2026-01-29", "open_weights": True, "max_input_tokens": 262144, - "max_output_tokens": 65536, + "max_output_tokens": 16384, "text_inputs": True, "image_inputs": False, "audio_inputs": False, @@ -7012,8 +7034,8 @@ _PROFILES: dict[str, dict[str, Any]] = { }, "x-ai/grok-4.3": { "name": "Grok 4.3", - "release_date": "2026-04-30", - "last_updated": "2026-04-30", + "release_date": "2026-04-17", + "last_updated": "2026-04-17", "open_weights": False, "max_input_tokens": 1000000, "max_output_tokens": 1000000, @@ -7031,10 +7053,31 @@ _PROFILES: dict[str, dict[str, Any]] = { "attachment": True, "temperature": True, }, + "x-ai/grok-build-0.1": { + "name": "Grok Build 0.1", + "release_date": "2026-04-16", + "last_updated": "2026-04-16", + "open_weights": False, + "max_input_tokens": 256000, + "max_output_tokens": 256000, + "text_inputs": True, + "image_inputs": True, + "audio_inputs": False, + "video_inputs": False, + "text_outputs": True, + "image_outputs": False, + "audio_outputs": False, + "video_outputs": False, + "reasoning_output": True, + "tool_calling": True, + "structured_output": True, + "attachment": True, + "temperature": True, + }, "xiaomi/mimo-v2-flash": { "name": "MiMo-V2-Flash", - "release_date": "2025-12-14", - "last_updated": "2025-12-14", + "release_date": "2025-12-16", + "last_updated": "2026-02-04", "open_weights": True, "max_input_tokens": 262144, "max_output_tokens": 65536, @@ -7158,9 +7201,9 @@ _PROFILES: dict[str, dict[str, Any]] = { "temperature": True, }, "z-ai/glm-4.5": { - "name": "GLM 4.5", - "release_date": "2025-07-25", - "last_updated": "2025-07-25", + "name": "GLM-4.5", + "release_date": "2025-07-28", + "last_updated": "2025-07-28", "open_weights": True, "max_input_tokens": 131072, "max_output_tokens": 98304, @@ -7179,9 +7222,9 @@ _PROFILES: dict[str, dict[str, Any]] = { "temperature": True, }, "z-ai/glm-4.5-air": { - "name": "GLM 4.5 Air", - "release_date": "2025-07-25", - "last_updated": "2025-07-25", + "name": "GLM-4.5-Air", + "release_date": "2025-07-28", + "last_updated": "2025-07-28", "open_weights": True, "max_input_tokens": 131072, "max_output_tokens": 98304, @@ -7201,8 +7244,8 @@ _PROFILES: dict[str, dict[str, Any]] = { }, "z-ai/glm-4.5-air:free": { "name": "GLM 4.5 Air (free)", - "release_date": "2025-07-25", - "last_updated": "2025-07-25", + "release_date": "2025-07-28", + "last_updated": "2025-07-28", "open_weights": True, "max_input_tokens": 131072, "max_output_tokens": 96000, @@ -7221,7 +7264,7 @@ _PROFILES: dict[str, dict[str, Any]] = { "temperature": True, }, "z-ai/glm-4.5v": { - "name": "GLM 4.5V", + "name": "GLM-4.5V", "release_date": "2025-08-11", "last_updated": "2025-08-11", "open_weights": True, @@ -7242,7 +7285,7 @@ _PROFILES: dict[str, dict[str, Any]] = { "temperature": True, }, "z-ai/glm-4.6": { - "name": "GLM 4.6", + "name": "GLM-4.6", "release_date": "2025-09-30", "last_updated": "2025-09-30", "open_weights": True, @@ -7263,7 +7306,7 @@ _PROFILES: dict[str, dict[str, Any]] = { "temperature": True, }, "z-ai/glm-4.6v": { - "name": "GLM 4.6V", + "name": "GLM-4.6V", "release_date": "2025-12-08", "last_updated": "2025-12-08", "open_weights": True, @@ -7284,7 +7327,7 @@ _PROFILES: dict[str, dict[str, Any]] = { "temperature": True, }, "z-ai/glm-4.7": { - "name": "GLM 4.7", + "name": "GLM-4.7", "release_date": "2025-12-22", "last_updated": "2025-12-22", "open_weights": True, @@ -7305,7 +7348,7 @@ _PROFILES: dict[str, dict[str, Any]] = { "temperature": True, }, "z-ai/glm-4.7-flash": { - "name": "GLM 4.7 Flash", + "name": "GLM-4.7-Flash", "release_date": "2026-01-19", "last_updated": "2026-01-19", "open_weights": True, @@ -7326,7 +7369,7 @@ _PROFILES: dict[str, dict[str, Any]] = { "temperature": True, }, "z-ai/glm-5": { - "name": "GLM 5", + "name": "GLM-5", "release_date": "2026-02-11", "last_updated": "2026-02-11", "open_weights": True, @@ -7347,9 +7390,9 @@ _PROFILES: dict[str, dict[str, Any]] = { "temperature": True, }, "z-ai/glm-5-turbo": { - "name": "GLM 5 Turbo", - "release_date": "2026-03-15", - "last_updated": "2026-03-15", + "name": "GLM-5-Turbo", + "release_date": "2026-03-16", + "last_updated": "2026-03-16", "open_weights": False, "max_input_tokens": 202752, "max_output_tokens": 131072, @@ -7368,12 +7411,12 @@ _PROFILES: dict[str, dict[str, Any]] = { "temperature": True, }, "z-ai/glm-5.1": { - "name": "GLM 5.1", - "release_date": "2026-04-07", - "last_updated": "2026-04-07", - "open_weights": True, + "name": "GLM-5.1", + "release_date": "2026-03-27", + "last_updated": "2026-03-27", + "open_weights": False, "max_input_tokens": 202752, - "max_output_tokens": 131072, + "max_output_tokens": 202800, "text_inputs": True, "image_inputs": False, "audio_inputs": False, @@ -7389,7 +7432,7 @@ _PROFILES: dict[str, dict[str, Any]] = { "temperature": True, }, "z-ai/glm-5v-turbo": { - "name": "GLM 5V Turbo", + "name": "GLM-5V-Turbo", "release_date": "2026-04-01", "last_updated": "2026-04-01", "open_weights": False, diff --git a/libs/partners/xai/langchain_xai/data/_profiles.py b/libs/partners/xai/langchain_xai/data/_profiles.py index 0a157bb858a..851693c648e 100644 --- a/libs/partners/xai/langchain_xai/data/_profiles.py +++ b/libs/partners/xai/langchain_xai/data/_profiles.py @@ -16,126 +16,6 @@ https://docs.langchain.com/oss/python/langchain/models#updating-or-overwriting-p from typing import Any _PROFILES: dict[str, dict[str, Any]] = { - "grok-2": { - "name": "Grok 2", - "release_date": "2024-08-20", - "last_updated": "2024-08-20", - "open_weights": False, - "max_input_tokens": 131072, - "max_output_tokens": 8192, - "text_inputs": True, - "image_inputs": False, - "audio_inputs": False, - "video_inputs": False, - "text_outputs": True, - "image_outputs": False, - "audio_outputs": False, - "video_outputs": False, - "reasoning_output": False, - "tool_calling": True, - "attachment": False, - "temperature": True, - }, - "grok-2-1212": { - "name": "Grok 2 (1212)", - "release_date": "2024-12-12", - "last_updated": "2024-12-12", - "open_weights": False, - "max_input_tokens": 131072, - "max_output_tokens": 8192, - "text_inputs": True, - "image_inputs": False, - "audio_inputs": False, - "video_inputs": False, - "text_outputs": True, - "image_outputs": False, - "audio_outputs": False, - "video_outputs": False, - "reasoning_output": False, - "tool_calling": True, - "attachment": False, - "temperature": True, - }, - "grok-2-latest": { - "name": "Grok 2 Latest", - "release_date": "2024-08-20", - "last_updated": "2024-12-12", - "open_weights": False, - "max_input_tokens": 131072, - "max_output_tokens": 8192, - "text_inputs": True, - "image_inputs": False, - "audio_inputs": False, - "video_inputs": False, - "text_outputs": True, - "image_outputs": False, - "audio_outputs": False, - "video_outputs": False, - "reasoning_output": False, - "tool_calling": True, - "attachment": False, - "temperature": True, - }, - "grok-2-vision": { - "name": "Grok 2 Vision", - "release_date": "2024-08-20", - "last_updated": "2024-08-20", - "open_weights": False, - "max_input_tokens": 8192, - "max_output_tokens": 4096, - "text_inputs": True, - "image_inputs": True, - "audio_inputs": False, - "video_inputs": False, - "text_outputs": True, - "image_outputs": False, - "audio_outputs": False, - "video_outputs": False, - "reasoning_output": False, - "tool_calling": True, - "attachment": True, - "temperature": True, - }, - "grok-2-vision-1212": { - "name": "Grok 2 Vision (1212)", - "release_date": "2024-08-20", - "last_updated": "2024-12-12", - "open_weights": False, - "max_input_tokens": 8192, - "max_output_tokens": 4096, - "text_inputs": True, - "image_inputs": True, - "audio_inputs": False, - "video_inputs": False, - "text_outputs": True, - "image_outputs": False, - "audio_outputs": False, - "video_outputs": False, - "reasoning_output": False, - "tool_calling": True, - "attachment": True, - "temperature": True, - }, - "grok-2-vision-latest": { - "name": "Grok 2 Vision Latest", - "release_date": "2024-08-20", - "last_updated": "2024-12-12", - "open_weights": False, - "max_input_tokens": 8192, - "max_output_tokens": 4096, - "text_inputs": True, - "image_inputs": True, - "audio_inputs": False, - "video_inputs": False, - "text_outputs": True, - "image_outputs": False, - "audio_outputs": False, - "video_outputs": False, - "reasoning_output": False, - "tool_calling": True, - "attachment": True, - "temperature": True, - }, "grok-4.20-0309-non-reasoning": { "name": "Grok 4.20 (Non-Reasoning)", "release_date": "2026-03-09", @@ -146,6 +26,7 @@ _PROFILES: dict[str, dict[str, Any]] = { "text_inputs": True, "image_inputs": True, "audio_inputs": False, + "pdf_inputs": True, "video_inputs": False, "text_outputs": True, "image_outputs": False, @@ -166,6 +47,7 @@ _PROFILES: dict[str, dict[str, Any]] = { "text_inputs": True, "image_inputs": True, "audio_inputs": False, + "pdf_inputs": True, "video_inputs": False, "text_outputs": True, "image_outputs": False, @@ -186,6 +68,7 @@ _PROFILES: dict[str, dict[str, Any]] = { "text_inputs": True, "image_inputs": True, "audio_inputs": False, + "pdf_inputs": True, "video_inputs": False, "text_outputs": True, "image_outputs": False, @@ -198,14 +81,15 @@ _PROFILES: dict[str, dict[str, Any]] = { }, "grok-4.3": { "name": "Grok 4.3", - "release_date": "2026-05-01", - "last_updated": "2026-05-01", + "release_date": "2026-04-17", + "last_updated": "2026-04-17", "open_weights": False, "max_input_tokens": 1000000, "max_output_tokens": 30000, "text_inputs": True, "image_inputs": True, "audio_inputs": False, + "pdf_inputs": True, "video_inputs": False, "text_outputs": True, "image_outputs": False, @@ -216,36 +100,39 @@ _PROFILES: dict[str, dict[str, Any]] = { "attachment": True, "temperature": True, }, - "grok-beta": { - "name": "Grok Beta", - "release_date": "2024-11-01", - "last_updated": "2024-11-01", + "grok-build-0.1": { + "name": "Grok Build 0.1", + "release_date": "2026-04-16", + "last_updated": "2026-04-16", "open_weights": False, - "max_input_tokens": 131072, - "max_output_tokens": 4096, + "max_input_tokens": 256000, + "max_output_tokens": 256000, "text_inputs": True, - "image_inputs": False, + "image_inputs": True, "audio_inputs": False, + "pdf_inputs": True, "video_inputs": False, "text_outputs": True, "image_outputs": False, "audio_outputs": False, "video_outputs": False, - "reasoning_output": False, + "reasoning_output": True, "tool_calling": True, - "attachment": False, + "structured_output": True, + "attachment": True, "temperature": True, }, "grok-imagine-image": { "name": "Grok Imagine Image", - "release_date": "2026-03", - "last_updated": "2026-05-16", + "release_date": "2026-01-28", + "last_updated": "2026-01-28", "open_weights": False, - "max_input_tokens": 1024, + "max_input_tokens": 8000, "max_output_tokens": 0, "text_inputs": True, "image_inputs": True, "audio_inputs": False, + "pdf_inputs": True, "video_inputs": False, "text_outputs": False, "image_outputs": True, @@ -258,14 +145,15 @@ _PROFILES: dict[str, dict[str, Any]] = { }, "grok-imagine-image-quality": { "name": "Grok Imagine Image Quality", - "release_date": "2026-04", - "last_updated": "2026-05-16", + "release_date": "2026-04-03", + "last_updated": "2026-04-03", "open_weights": False, - "max_input_tokens": 1024, + "max_input_tokens": 8000, "max_output_tokens": 0, "text_inputs": True, "image_inputs": True, "audio_inputs": False, + "pdf_inputs": True, "video_inputs": False, "text_outputs": False, "image_outputs": True, @@ -278,15 +166,16 @@ _PROFILES: dict[str, dict[str, Any]] = { }, "grok-imagine-video": { "name": "Grok Imagine Video", - "release_date": "2026-03", - "last_updated": "2026-05-16", + "release_date": "2026-01-28", + "last_updated": "2026-01-28", "open_weights": False, "max_input_tokens": 1024, "max_output_tokens": 0, "text_inputs": True, "image_inputs": True, "audio_inputs": False, - "video_inputs": True, + "pdf_inputs": True, + "video_inputs": False, "text_outputs": False, "image_outputs": False, "audio_outputs": False, @@ -296,24 +185,4 @@ _PROFILES: dict[str, dict[str, Any]] = { "attachment": True, "temperature": False, }, - "grok-vision-beta": { - "name": "Grok Vision Beta", - "release_date": "2024-11-01", - "last_updated": "2024-11-01", - "open_weights": False, - "max_input_tokens": 8192, - "max_output_tokens": 4096, - "text_inputs": True, - "image_inputs": True, - "audio_inputs": False, - "video_inputs": False, - "text_outputs": True, - "image_outputs": False, - "audio_outputs": False, - "video_outputs": False, - "reasoning_output": False, - "tool_calling": True, - "attachment": True, - "temperature": True, - }, }