diff --git a/libs/partners/openrouter/langchain_openrouter/data/_profiles.py b/libs/partners/openrouter/langchain_openrouter/data/_profiles.py index 91e4c595b65..05e68ecd1ca 100644 --- a/libs/partners/openrouter/langchain_openrouter/data/_profiles.py +++ b/libs/partners/openrouter/langchain_openrouter/data/_profiles.py @@ -303,28 +303,6 @@ _PROFILES: dict[str, dict[str, Any]] = { "temperature": True, "tool_call_streaming": True, }, - "anthropic/claude-3.5-haiku": { - "name": "Claude 3.5 Haiku", - "release_date": "2024-11-04", - "last_updated": "2024-11-04", - "open_weights": False, - "max_input_tokens": 200000, - "max_output_tokens": 8192, - "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, - "structured_output": False, - "attachment": True, - "temperature": True, - "tool_call_streaming": True, - }, "anthropic/claude-haiku-4.5": { "name": "Claude Haiku 4.5 (latest)", "release_date": "2025-10-15", @@ -652,7 +630,7 @@ _PROFILES: dict[str, dict[str, Any]] = { "last_updated": "2026-04-01", "open_weights": True, "max_input_tokens": 262144, - "max_output_tokens": 262144, + "max_output_tokens": 80000, "text_inputs": True, "image_inputs": False, "audio_inputs": False, @@ -1516,8 +1494,8 @@ _PROFILES: dict[str, dict[str, Any]] = { "release_date": "2026-02-26", "last_updated": "2026-02-26", "open_weights": False, - "max_input_tokens": 65536, - "max_output_tokens": 65536, + "max_input_tokens": 131072, + "max_output_tokens": 32768, "text_inputs": True, "image_inputs": True, "audio_inputs": False, @@ -3228,7 +3206,7 @@ _PROFILES: dict[str, dict[str, Any]] = { "last_updated": "2026-04-21", "open_weights": True, "max_input_tokens": 262144, - "max_output_tokens": 262144, + "max_output_tokens": 65535, "text_inputs": True, "image_inputs": True, "audio_inputs": False, @@ -3310,8 +3288,8 @@ _PROFILES: dict[str, dict[str, Any]] = { "temperature": True, "tool_call_streaming": True, }, - "nex-agi/nex-n2-pro:free": { - "name": "Nex-N2-Pro (free)", + "nex-agi/nex-n2-pro": { + "name": "Nex-N2-Pro", "release_date": "2026-06-08", "last_updated": "2026-06-08", "open_weights": True, @@ -3326,8 +3304,30 @@ _PROFILES: dict[str, dict[str, Any]] = { "audio_outputs": False, "video_outputs": False, "reasoning_output": True, + "tool_calling": False, + "structured_output": False, + "attachment": True, + "temperature": True, + "tool_call_streaming": True, + }, + "nex-agi/nex-n2-pro:free": { + "name": "Nex-N2-Pro (free)", + "release_date": "2026-06-08", + "last_updated": "2026-06-08", + "open_weights": True, + "max_input_tokens": 262144, + "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, + "structured_output": False, "attachment": True, "temperature": True, "tool_call_streaming": True, @@ -5372,7 +5372,7 @@ _PROFILES: dict[str, dict[str, Any]] = { "video_outputs": False, "reasoning_output": True, "tool_calling": True, - "structured_output": True, + "structured_output": False, "attachment": False, "temperature": True, "tool_call_streaming": True, @@ -5416,7 +5416,7 @@ _PROFILES: dict[str, dict[str, Any]] = { "video_outputs": False, "reasoning_output": True, "tool_calling": True, - "structured_output": True, + "structured_output": False, "attachment": False, "temperature": True, "tool_call_streaming": True, @@ -6302,9 +6302,9 @@ _PROFILES: dict[str, dict[str, Any]] = { "tool_call_streaming": True, }, "qwen/qwen3.5-9b": { - "name": "Qwen3.5-9B", - "release_date": "2026-03-10", - "last_updated": "2026-03-10", + "name": "Qwen3.5 9B", + "release_date": "2026-02-23", + "last_updated": "2026-02-23", "open_weights": True, "max_input_tokens": 262144, "max_output_tokens": 262144, @@ -6582,7 +6582,7 @@ _PROFILES: dict[str, dict[str, Any]] = { "video_outputs": False, "reasoning_output": True, "tool_calling": False, - "structured_output": False, + "structured_output": True, "attachment": False, "temperature": True, "tool_call_streaming": True, @@ -7321,7 +7321,7 @@ _PROFILES: dict[str, dict[str, Any]] = { "last_updated": "2026-04-07", "open_weights": True, "max_input_tokens": 202752, - "max_output_tokens": 131072, + "max_output_tokens": 65535, "text_inputs": True, "image_inputs": False, "audio_inputs": False, @@ -7343,7 +7343,7 @@ _PROFILES: dict[str, dict[str, Any]] = { "last_updated": "2026-06-13", "open_weights": True, "max_input_tokens": 1048576, - "max_output_tokens": 131072, + "max_output_tokens": 32768, "text_inputs": True, "image_inputs": False, "audio_inputs": False, @@ -7503,7 +7503,7 @@ _PROFILES: dict[str, dict[str, Any]] = { "last_updated": "2026-04-27", "open_weights": False, "max_input_tokens": 262144, - "max_output_tokens": 262144, + "max_output_tokens": 65535, "text_inputs": True, "image_inputs": True, "audio_inputs": False,