From 877ad8c7bfa3f74377caa6fd33cbc20687e0052f Mon Sep 17 00:00:00 2001
From: "langchain-oss-model-profiles[bot]"
<262694797+langchain-oss-model-profiles[bot]@users.noreply.github.com>
Date: Tue, 22 Sep 2026 10:22:17 -0400
Subject: [PATCH] chore(model-profiles): refresh model profile data (#40747)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Automated refresh of model profile data for all in-monorepo partner
integrations via `langchain-profiles refresh`.
๐ค Generated by the [`refresh_model_profiles`
workflow](https://github.com/langchain-ai/langchain/blob/master/.github/workflows/refresh_model_profiles.yml).
## Summary of changes
**9 added ยท 2 removed ยท 5 changed** across 3 provider(s).
huggingface
**โ 1 added**
- `tencent/Hy4-preview` โ 1,000,000 ctx, 64,000 out, reasoning, tools
openrouter
**โ 6 added**
- `nex-agi/nex-n2.5-mini` โ 262,144 ctx, 235,929 out, text+image in,
reasoning
- `nex-agi/nex-n2.5-pro` โ 262,144 ctx, 235,929 out, text+image in,
reasoning, tools
- `x-ai/grok-4.7` โ 500,000 ctx, 450,000 out, text+image+pdf in,
reasoning, tools
- `xiaomi/mimo-v2.6-flash` โ 1,048,576 ctx, 131,072 out,
text+image+audio+video in, reasoning, tools
- `xiaomi/mimo-v2.6-pro` โ 1,048,576 ctx, 131,072 out,
text+image+audio+video in, reasoning, tools
- `xiaomi/mimo-v2.6-pro-ultraspeed` โ 1,048,576 ctx, 131,072 out,
text+image+audio+video in, reasoning, tools
**โ 2 removed**
- `anthropic/claude-opus-4`
- `kwaipilot/kat-coder-pro-v2`
**โ๏ธ 5 changed**
- `anthropic/claude-sonnet-4`: max input tokens 1,000,000 โ 200,000
- `deepseek/deepseek-v4-pro-0813`: max output tokens 384,000 โ 943,718
- `meta-llama/llama-3.1-70b-instruct`: max output tokens 8,192 โ 16,384
- `qwen/qwen3-next-80b-a3b-thinking`: max output tokens 32,768 โ 235,929
- `z-ai/glm-5.3-flash`: max output tokens 131,072 โ 943,718
xai
**โ 2 added**
- `grok-4.7` โ 500,000 ctx, 500,000 out, text+image+pdf in, reasoning,
tools
- `grok-imagine-image-quality` โ 16,000 ctx, text+image+pdf in
Co-authored-by: mdrxy <61371264+mdrxy@users.noreply.github.com>
---
.../langchain_huggingface/data/_profiles.py | 22 ++
.../langchain_openrouter/data/_profiles.py | 188 +++++++++++++-----
.../xai/langchain_xai/data/_profiles.py | 45 +++++
3 files changed, 205 insertions(+), 50 deletions(-)
diff --git a/libs/partners/huggingface/langchain_huggingface/data/_profiles.py b/libs/partners/huggingface/langchain_huggingface/data/_profiles.py
index f9a550e18e..d6089243e0 100644
--- a/libs/partners/huggingface/langchain_huggingface/data/_profiles.py
+++ b/libs/partners/huggingface/langchain_huggingface/data/_profiles.py
@@ -1381,6 +1381,28 @@ _PROFILES: dict[str, dict[str, Any]] = {
"temperature": True,
"tool_call_streaming": True,
},
+ "tencent/Hy4-preview": {
+ "name": "Hy4 preview",
+ "release_date": "2026-08-28",
+ "last_updated": "2026-08-28",
+ "open_weights": True,
+ "max_input_tokens": 1000000,
+ "max_output_tokens": 64000,
+ "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,
+ "tool_call_streaming": True,
+ },
"thinkingmachines/Inkling": {
"name": "Inkling",
"release_date": "2026-07-15",
diff --git a/libs/partners/openrouter/langchain_openrouter/data/_profiles.py b/libs/partners/openrouter/langchain_openrouter/data/_profiles.py
index 38d6d64b51..c3022e4e6a 100644
--- a/libs/partners/openrouter/langchain_openrouter/data/_profiles.py
+++ b/libs/partners/openrouter/langchain_openrouter/data/_profiles.py
@@ -328,29 +328,6 @@ _PROFILES: dict[str, dict[str, Any]] = {
"temperature": True,
"tool_call_streaming": True,
},
- "anthropic/claude-opus-4": {
- "name": "Claude Opus 4",
- "release_date": "2025-05-22",
- "last_updated": "2025-05-22",
- "open_weights": False,
- "max_input_tokens": 200000,
- "max_output_tokens": 32000,
- "text_inputs": True,
- "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": True,
- "tool_calling": True,
- "structured_output": False,
- "attachment": True,
- "temperature": True,
- "tool_call_streaming": True,
- },
"anthropic/claude-opus-4.1": {
"name": "Claude Opus 4.1 (latest)",
"release_date": "2025-08-05",
@@ -494,7 +471,7 @@ _PROFILES: dict[str, dict[str, Any]] = {
"release_date": "2025-05-22",
"last_updated": "2025-05-22",
"open_weights": False,
- "max_input_tokens": 1000000,
+ "max_input_tokens": 200000,
"max_output_tokens": 64000,
"text_inputs": True,
"image_inputs": True,
@@ -1203,7 +1180,7 @@ _PROFILES: dict[str, dict[str, Any]] = {
"last_updated": "2026-08-22",
"open_weights": True,
"max_input_tokens": 1048576,
- "max_output_tokens": 384000,
+ "max_output_tokens": 943718,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -2223,28 +2200,6 @@ _PROFILES: dict[str, dict[str, Any]] = {
"temperature": True,
"tool_call_streaming": True,
},
- "kwaipilot/kat-coder-pro-v2": {
- "name": "KAT-Coder-Pro V2",
- "release_date": "2026-03-27",
- "last_updated": "2026-03-27",
- "open_weights": False,
- "max_input_tokens": 262144,
- "max_output_tokens": 144000,
- "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,
- "tool_call_streaming": True,
- },
"kwaipilot/kat-coder-pro-v2.5": {
"name": "KAT-Coder-Pro V2.5",
"release_date": "2026-07-10",
@@ -2339,7 +2294,7 @@ _PROFILES: dict[str, dict[str, Any]] = {
"last_updated": "2024-07-23",
"open_weights": True,
"max_input_tokens": 131072,
- "max_output_tokens": 8192,
+ "max_output_tokens": 16384,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -3470,6 +3425,28 @@ _PROFILES: dict[str, dict[str, Any]] = {
"temperature": True,
"tool_call_streaming": True,
},
+ "nex-agi/nex-n2.5-mini": {
+ "name": "Nex-N2.5-Mini",
+ "release_date": "2026-09-08",
+ "last_updated": "2026-09-08",
+ "open_weights": True,
+ "max_input_tokens": 262144,
+ "max_output_tokens": 235929,
+ "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": False,
+ "structured_output": True,
+ "attachment": True,
+ "temperature": True,
+ "tool_call_streaming": True,
+ },
"nex-agi/nex-n2.5-mini:free": {
"name": "Nex-N2.5-Mini (free)",
"release_date": "2026-09-08",
@@ -3492,6 +3469,28 @@ _PROFILES: dict[str, dict[str, Any]] = {
"temperature": True,
"tool_call_streaming": True,
},
+ "nex-agi/nex-n2.5-pro": {
+ "name": "Nex-N2.5-Pro",
+ "release_date": "2026-09-08",
+ "last_updated": "2026-09-08",
+ "open_weights": True,
+ "max_input_tokens": 262144,
+ "max_output_tokens": 235929,
+ "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,
+ "tool_call_streaming": True,
+ },
"nex-agi/nex-n2.5-pro:free": {
"name": "Nex-N2.5-Pro (free)",
"release_date": "2026-09-08",
@@ -6007,7 +6006,7 @@ _PROFILES: dict[str, dict[str, Any]] = {
"last_updated": "2025-09",
"open_weights": True,
"max_input_tokens": 262144,
- "max_output_tokens": 32768,
+ "max_output_tokens": 235929,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -7461,6 +7460,29 @@ _PROFILES: dict[str, dict[str, Any]] = {
"temperature": True,
"tool_call_streaming": True,
},
+ "x-ai/grok-4.7": {
+ "name": "Grok 4.7",
+ "release_date": "2026-09-21",
+ "last_updated": "2026-09-21",
+ "open_weights": False,
+ "max_input_tokens": 500000,
+ "max_output_tokens": 450000,
+ "text_inputs": True,
+ "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": True,
+ "tool_calling": True,
+ "structured_output": True,
+ "attachment": True,
+ "temperature": True,
+ "tool_call_streaming": True,
+ },
"x-ai/grok-build-0.1": {
"name": "Grok Build 0.1",
"release_date": "2026-04-16",
@@ -7528,6 +7550,72 @@ _PROFILES: dict[str, dict[str, Any]] = {
"temperature": True,
"tool_call_streaming": True,
},
+ "xiaomi/mimo-v2.6-flash": {
+ "name": "MiMo-V2.6-Flash",
+ "release_date": "2026-09-22",
+ "last_updated": "2026-09-22",
+ "open_weights": False,
+ "max_input_tokens": 1048576,
+ "max_output_tokens": 131072,
+ "text_inputs": True,
+ "image_inputs": True,
+ "audio_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,
+ "tool_call_streaming": True,
+ },
+ "xiaomi/mimo-v2.6-pro": {
+ "name": "MiMo-V2.6-Pro",
+ "release_date": "2026-09-22",
+ "last_updated": "2026-09-22",
+ "open_weights": False,
+ "max_input_tokens": 1048576,
+ "max_output_tokens": 131072,
+ "text_inputs": True,
+ "image_inputs": True,
+ "audio_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,
+ "tool_call_streaming": True,
+ },
+ "xiaomi/mimo-v2.6-pro-ultraspeed": {
+ "name": "MiMo-V2.6-Pro-UltraSpeed",
+ "release_date": "2026-09-21",
+ "last_updated": "2026-09-21",
+ "open_weights": False,
+ "max_input_tokens": 1048576,
+ "max_output_tokens": 131072,
+ "text_inputs": True,
+ "image_inputs": True,
+ "audio_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,
+ "tool_call_streaming": True,
+ },
"z-ai/glm-4.5": {
"name": "GLM-4.5",
"release_date": "2025-07-28",
@@ -7820,7 +7908,7 @@ _PROFILES: dict[str, dict[str, Any]] = {
"last_updated": "2026-08-26",
"open_weights": True,
"max_input_tokens": 1310720,
- "max_output_tokens": 131072,
+ "max_output_tokens": 943718,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
diff --git a/libs/partners/xai/langchain_xai/data/_profiles.py b/libs/partners/xai/langchain_xai/data/_profiles.py
index ee40449891..e442a29026 100644
--- a/libs/partners/xai/langchain_xai/data/_profiles.py
+++ b/libs/partners/xai/langchain_xai/data/_profiles.py
@@ -161,6 +161,29 @@ _PROFILES: dict[str, dict[str, Any]] = {
"temperature": True,
"tool_call_streaming": True,
},
+ "grok-4.7": {
+ "name": "Grok 4.7",
+ "release_date": "2026-09-21",
+ "last_updated": "2026-09-21",
+ "open_weights": False,
+ "max_input_tokens": 500000,
+ "max_output_tokens": 500000,
+ "text_inputs": True,
+ "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": True,
+ "tool_calling": True,
+ "structured_output": True,
+ "attachment": True,
+ "temperature": True,
+ "tool_call_streaming": True,
+ },
"grok-build-0.1": {
"name": "Grok Build 0.1",
"release_date": "2026-04-16",
@@ -206,6 +229,28 @@ _PROFILES: dict[str, dict[str, Any]] = {
"temperature": False,
"tool_call_streaming": True,
},
+ "grok-imagine-image-quality": {
+ "name": "Grok Imagine Image Quality",
+ "release_date": "2026-04-03",
+ "last_updated": "2026-04-03",
+ "open_weights": False,
+ "max_input_tokens": 16000,
+ "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,
+ "audio_outputs": False,
+ "video_outputs": False,
+ "reasoning_output": False,
+ "tool_calling": False,
+ "attachment": True,
+ "temperature": False,
+ "tool_call_streaming": True,
+ },
"grok-imagine-video": {
"name": "Grok Imagine Video",
"release_date": "2026-01-28",