Skip to content

The agent engineering platform.

fix(model-profiles): sort generated profiles by model ID for stable diffs (#35344)

Mason Daugherty70192690b1a2
diff --git a/libs/model-profiles/langchain_model_profiles/cli.py b/libs/model-profiles/langchain_model_profiles/cli.py
index aa759867a0..fbdc0c7ee5 100644
--- a/libs/model-profiles/langchain_model_profiles/cli.py
+++ b/libs/model-profiles/langchain_model_profiles/cli.py
@@ -310,7 +310,7 @@ def refresh(provider: str, data_dir: Path) -> None: # noqa: C901, PLR0915
print(f"Writing to {output_file}...")
module_content = [f'"""{MODULE_ADMONITION}"""\n\n', "from typing import Any\n\n"]
module_content.append("_PROFILES: dict[str, dict[str, Any]] = ")
- json_str = json.dumps(profiles, indent=4)
+ json_str = json.dumps(dict(sorted(profiles.items())), indent=4)
json_str = (
json_str.replace("true", "True")
.replace("false", "False")
diff --git a/libs/model-profiles/tests/unit_tests/test_cli.py b/libs/model-profiles/tests/unit_tests/test_cli.py
index 8cfdddc4f9..6c962acff6 100644
--- a/libs/model-profiles/tests/unit_tests/test_cli.py
+++ b/libs/model-profiles/tests/unit_tests/test_cli.py
@@ -216,6 +216,62 @@ max_input_tokens = 123
)
+def test_refresh_generates_sorted_profiles(
+ tmp_path: Path, mock_models_dev_response: dict
+) -> None:
+ """Test that profiles are sorted alphabetically by model ID."""
+ data_dir = tmp_path / "data"
+ data_dir.mkdir()
+
+ # Inject models in reverse-alphabetical order so the API response
+ # is NOT already sorted.
+ mock_models_dev_response["anthropic"]["models"] = {
+ "z-model": {
+ "id": "z-model",
+ "name": "Z Model",
+ "tool_call": True,
+ "limit": {"context": 100000, "output": 2048},
+ "modalities": {"input": ["text"], "output": ["text"]},
+ },
+ "a-model": {
+ "id": "a-model",
+ "name": "A Model",
+ "tool_call": True,
+ "limit": {"context": 100000, "output": 2048},
+ "modalities": {"input": ["text"], "output": ["text"]},
+ },
+ "m-model": {
+ "id": "m-model",
+ "name": "M Model",
+ "tool_call": True,
+ "limit": {"context": 100000, "output": 2048},
+ "modalities": {"input": ["text"], "output": ["text"]},
+ },
+ }
+
+ mock_response = Mock()
+ mock_response.json.return_value = mock_models_dev_response
+ mock_response.raise_for_status = Mock()
+
+ with (
+ patch("langchain_model_profiles.cli.httpx.get", return_value=mock_response),
+ patch("builtins.input", return_value="y"),
+ ):
+ refresh("anthropic", data_dir)
+
+ profiles_file = data_dir / "_profiles.py"
+ spec = importlib.util.spec_from_file_location(
+ "generated_profiles_sorted", profiles_file
+ )
+ assert spec
+ assert spec.loader
+ module = importlib.util.module_from_spec(spec)
+ spec.loader.exec_module(module) # type: ignore[union-attr]
+
+ model_ids = list(module._PROFILES.keys()) # type: ignore[attr-defined]
+ assert model_ids == sorted(model_ids), f"Profile keys are not sorted: {model_ids}"
+
+
def test_model_data_to_profile_text_modalities() -> None:
"""Test that text input/output modalities are correctly mapped."""
# Model with text in both input and output
diff --git a/libs/partners/anthropic/langchain_anthropic/data/_profiles.py b/libs/partners/anthropic/langchain_anthropic/data/_profiles.py
index cfebc851ce..a589bc2018 100644
--- a/libs/partners/anthropic/langchain_anthropic/data/_profiles.py
+++ b/libs/partners/anthropic/langchain_anthropic/data/_profiles.py
@@ -16,9 +16,9 @@ https://docs.langchain.com/oss/python/langchain/models#updating-or-overwriting-p
from typing import Any
_PROFILES: dict[str, dict[str, Any]] = {
- "claude-opus-4-5-20251101": {
+ "claude-3-5-haiku-20241022": {
"max_input_tokens": 200000,
- "max_output_tokens": 64000,
+ "max_output_tokens": 8192,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
@@ -28,7 +28,7 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": True,
+ "reasoning_output": False,
"tool_calling": True,
"image_url_inputs": True,
"pdf_tool_message": True,
@@ -54,9 +54,9 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_tool_message": True,
"structured_output": False,
},
- "claude-opus-4-1": {
+ "claude-3-5-sonnet-20240620": {
"max_input_tokens": 200000,
- "max_output_tokens": 32000,
+ "max_output_tokens": 8192,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
@@ -66,12 +66,12 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": True,
+ "reasoning_output": False,
"tool_calling": True,
"image_url_inputs": True,
"pdf_tool_message": True,
"image_tool_message": True,
- "structured_output": True,
+ "structured_output": False,
},
"claude-3-5-sonnet-20241022": {
"max_input_tokens": 200000,
@@ -92,9 +92,9 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_tool_message": True,
"structured_output": False,
},
- "claude-3-sonnet-20240229": {
+ "claude-3-7-sonnet-20250219": {
"max_input_tokens": 200000,
- "max_output_tokens": 4096,
+ "max_output_tokens": 64000,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
@@ -104,16 +104,16 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": False,
+ "reasoning_output": True,
"tool_calling": True,
"image_url_inputs": True,
"pdf_tool_message": True,
"image_tool_message": True,
"structured_output": False,
},
- "claude-opus-4-6": {
+ "claude-3-7-sonnet-latest": {
"max_input_tokens": 200000,
- "max_output_tokens": 128000,
+ "max_output_tokens": 64000,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
@@ -130,9 +130,9 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_tool_message": True,
"structured_output": False,
},
- "claude-sonnet-4-6": {
+ "claude-3-haiku-20240307": {
"max_input_tokens": 200000,
- "max_output_tokens": 64000,
+ "max_output_tokens": 4096,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
@@ -142,16 +142,16 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": True,
+ "reasoning_output": False,
"tool_calling": True,
"image_url_inputs": True,
"pdf_tool_message": True,
"image_tool_message": True,
"structured_output": False,
},
- "claude-sonnet-4-0": {
+ "claude-3-opus-20240229": {
"max_input_tokens": 200000,
- "max_output_tokens": 64000,
+ "max_output_tokens": 4096,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
@@ -161,16 +161,16 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": True,
+ "reasoning_output": False,
"tool_calling": True,
"image_url_inputs": True,
"pdf_tool_message": True,
"image_tool_message": True,
"structured_output": False,
},
- "claude-opus-4-20250514": {
+ "claude-3-sonnet-20240229": {
"max_input_tokens": 200000,
- "max_output_tokens": 32000,
+ "max_output_tokens": 4096,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
@@ -180,14 +180,14 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": True,
+ "reasoning_output": False,
"tool_calling": True,
"image_url_inputs": True,
"pdf_tool_message": True,
"image_tool_message": True,
"structured_output": False,
},
- "claude-sonnet-4-5-20250929": {
+ "claude-haiku-4-5": {
"max_input_tokens": 200000,
"max_output_tokens": 64000,
"text_inputs": True,
@@ -206,9 +206,9 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_tool_message": True,
"structured_output": False,
},
- "claude-opus-4-0": {
+ "claude-haiku-4-5-20251001": {
"max_input_tokens": 200000,
- "max_output_tokens": 32000,
+ "max_output_tokens": 64000,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
@@ -225,9 +225,9 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_tool_message": True,
"structured_output": False,
},
- "claude-3-5-haiku-20241022": {
+ "claude-opus-4-0": {
"max_input_tokens": 200000,
- "max_output_tokens": 8192,
+ "max_output_tokens": 32000,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
@@ -237,16 +237,16 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": False,
+ "reasoning_output": True,
"tool_calling": True,
"image_url_inputs": True,
"pdf_tool_message": True,
"image_tool_message": True,
"structured_output": False,
},
- "claude-3-5-sonnet-20240620": {
+ "claude-opus-4-1": {
"max_input_tokens": 200000,
- "max_output_tokens": 8192,
+ "max_output_tokens": 32000,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
@@ -256,16 +256,16 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": False,
+ "reasoning_output": True,
"tool_calling": True,
"image_url_inputs": True,
"pdf_tool_message": True,
"image_tool_message": True,
- "structured_output": False,
+ "structured_output": True,
},
- "claude-3-7-sonnet-latest": {
+ "claude-opus-4-1-20250805": {
"max_input_tokens": 200000,
- "max_output_tokens": 64000,
+ "max_output_tokens": 32000,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
@@ -282,9 +282,9 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_tool_message": True,
"structured_output": False,
},
- "claude-3-7-sonnet-20250219": {
+ "claude-opus-4-20250514": {
"max_input_tokens": 200000,
- "max_output_tokens": 64000,
+ "max_output_tokens": 32000,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
@@ -301,9 +301,9 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_tool_message": True,
"structured_output": False,
},
- "claude-3-haiku-20240307": {
+ "claude-opus-4-5": {
"max_input_tokens": 200000,
- "max_output_tokens": 4096,
+ "max_output_tokens": 64000,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
@@ -313,14 +313,14 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": False,
+ "reasoning_output": True,
"tool_calling": True,
"image_url_inputs": True,
"pdf_tool_message": True,
"image_tool_message": True,
"structured_output": False,
},
- "claude-haiku-4-5-20251001": {
+ "claude-opus-4-5-20251101": {
"max_input_tokens": 200000,
"max_output_tokens": 64000,
"text_inputs": True,
@@ -339,9 +339,9 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_tool_message": True,
"structured_output": False,
},
- "claude-haiku-4-5": {
+ "claude-opus-4-6": {
"max_input_tokens": 200000,
- "max_output_tokens": 64000,
+ "max_output_tokens": 128000,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
@@ -358,7 +358,7 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_tool_message": True,
"structured_output": False,
},
- "claude-opus-4-5": {
+ "claude-sonnet-4-0": {
"max_input_tokens": 200000,
"max_output_tokens": 64000,
"text_inputs": True,
@@ -377,9 +377,9 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_tool_message": True,
"structured_output": False,
},
- "claude-3-opus-20240229": {
+ "claude-sonnet-4-20250514": {
"max_input_tokens": 200000,
- "max_output_tokens": 4096,
+ "max_output_tokens": 64000,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
@@ -389,7 +389,7 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": False,
+ "reasoning_output": True,
"tool_calling": True,
"image_url_inputs": True,
"pdf_tool_message": True,
@@ -415,7 +415,7 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_tool_message": True,
"structured_output": True,
},
- "claude-sonnet-4-20250514": {
+ "claude-sonnet-4-5-20250929": {
"max_input_tokens": 200000,
"max_output_tokens": 64000,
"text_inputs": True,
@@ -434,9 +434,9 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_tool_message": True,
"structured_output": False,
},
- "claude-opus-4-1-20250805": {
+ "claude-sonnet-4-6": {
"max_input_tokens": 200000,
- "max_output_tokens": 32000,
+ "max_output_tokens": 64000,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
diff --git a/libs/partners/deepseek/langchain_deepseek/data/_profiles.py b/libs/partners/deepseek/langchain_deepseek/data/_profiles.py
index 0bce7c20b9..f24a7b9907 100644
--- a/libs/partners/deepseek/langchain_deepseek/data/_profiles.py
+++ b/libs/partners/deepseek/langchain_deepseek/data/_profiles.py
@@ -16,9 +16,9 @@ https://docs.langchain.com/oss/python/langchain/models#updating-or-overwriting-p
from typing import Any
_PROFILES: dict[str, dict[str, Any]] = {
- "deepseek-reasoner": {
+ "deepseek-chat": {
"max_input_tokens": 128000,
- "max_output_tokens": 128000,
+ "max_output_tokens": 8192,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -27,12 +27,12 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": True,
+ "reasoning_output": False,
"tool_calling": True,
},
- "deepseek-chat": {
+ "deepseek-reasoner": {
"max_input_tokens": 128000,
- "max_output_tokens": 8192,
+ "max_output_tokens": 128000,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -41,7 +41,7 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": False,
+ "reasoning_output": True,
"tool_calling": True,
},
}
diff --git a/libs/partners/fireworks/langchain_fireworks/data/_profiles.py b/libs/partners/fireworks/langchain_fireworks/data/_profiles.py
index 94cf90317c..e170da2cc0 100644
--- a/libs/partners/fireworks/langchain_fireworks/data/_profiles.py
+++ b/libs/partners/fireworks/langchain_fireworks/data/_profiles.py
@@ -16,9 +16,9 @@ https://docs.langchain.com/oss/python/langchain/models#updating-or-overwriting-p
from typing import Any
_PROFILES: dict[str, dict[str, Any]] = {
- "accounts/fireworks/models/kimi-k2-instruct": {
- "max_input_tokens": 128000,
- "max_output_tokens": 16384,
+ "accounts/fireworks/models/deepseek-v3p1": {
+ "max_input_tokens": 163840,
+ "max_output_tokens": 163840,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -27,12 +27,12 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": False,
+ "reasoning_output": True,
"tool_calling": True,
},
- "accounts/fireworks/models/glm-4p7": {
- "max_input_tokens": 198000,
- "max_output_tokens": 198000,
+ "accounts/fireworks/models/deepseek-v3p2": {
+ "max_input_tokens": 160000,
+ "max_output_tokens": 160000,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -44,8 +44,8 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": True,
"tool_calling": True,
},
- "accounts/fireworks/models/glm-5": {
- "max_input_tokens": 202752,
+ "accounts/fireworks/models/glm-4p5": {
+ "max_input_tokens": 131072,
"max_output_tokens": 131072,
"text_inputs": True,
"image_inputs": False,
@@ -58,9 +58,9 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": True,
"tool_calling": True,
},
- "accounts/fireworks/models/deepseek-v3p1": {
- "max_input_tokens": 163840,
- "max_output_tokens": 163840,
+ "accounts/fireworks/models/glm-4p5-air": {
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -72,9 +72,9 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": True,
"tool_calling": True,
},
- "accounts/fireworks/models/minimax-m2p1": {
- "max_input_tokens": 200000,
- "max_output_tokens": 200000,
+ "accounts/fireworks/models/glm-4p7": {
+ "max_input_tokens": 198000,
+ "max_output_tokens": 198000,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -86,8 +86,8 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": True,
"tool_calling": True,
},
- "accounts/fireworks/models/glm-4p5-air": {
- "max_input_tokens": 131072,
+ "accounts/fireworks/models/glm-5": {
+ "max_input_tokens": 202752,
"max_output_tokens": 131072,
"text_inputs": True,
"image_inputs": False,
@@ -100,9 +100,9 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": True,
"tool_calling": True,
},
- "accounts/fireworks/models/deepseek-v3p2": {
- "max_input_tokens": 160000,
- "max_output_tokens": 160000,
+ "accounts/fireworks/models/gpt-oss-120b": {
+ "max_input_tokens": 131072,
+ "max_output_tokens": 32768,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -114,9 +114,9 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": True,
"tool_calling": True,
},
- "accounts/fireworks/models/minimax-m2p5": {
- "max_input_tokens": 196608,
- "max_output_tokens": 196608,
+ "accounts/fireworks/models/gpt-oss-20b": {
+ "max_input_tokens": 131072,
+ "max_output_tokens": 32768,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -128,9 +128,9 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": True,
"tool_calling": True,
},
- "accounts/fireworks/models/gpt-oss-120b": {
- "max_input_tokens": 131072,
- "max_output_tokens": 32768,
+ "accounts/fireworks/models/kimi-k2-instruct": {
+ "max_input_tokens": 128000,
+ "max_output_tokens": 16384,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -139,16 +139,16 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": True,
+ "reasoning_output": False,
"tool_calling": True,
},
- "accounts/fireworks/models/kimi-k2p5": {
+ "accounts/fireworks/models/kimi-k2-thinking": {
"max_input_tokens": 256000,
"max_output_tokens": 256000,
"text_inputs": True,
- "image_inputs": True,
+ "image_inputs": False,
"audio_inputs": False,
- "video_inputs": True,
+ "video_inputs": False,
"text_outputs": True,
"image_outputs": False,
"audio_outputs": False,
@@ -156,13 +156,13 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": True,
"tool_calling": True,
},
- "accounts/fireworks/models/kimi-k2-thinking": {
+ "accounts/fireworks/models/kimi-k2p5": {
"max_input_tokens": 256000,
"max_output_tokens": 256000,
"text_inputs": True,
- "image_inputs": False,
+ "image_inputs": True,
"audio_inputs": False,
- "video_inputs": False,
+ "video_inputs": True,
"text_outputs": True,
"image_outputs": False,
"audio_outputs": False,
@@ -170,9 +170,9 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": True,
"tool_calling": True,
},
- "accounts/fireworks/models/glm-4p5": {
- "max_input_tokens": 131072,
- "max_output_tokens": 131072,
+ "accounts/fireworks/models/minimax-m2p1": {
+ "max_input_tokens": 200000,
+ "max_output_tokens": 200000,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -184,9 +184,9 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": True,
"tool_calling": True,
},
- "accounts/fireworks/models/gpt-oss-20b": {
- "max_input_tokens": 131072,
- "max_output_tokens": 32768,
+ "accounts/fireworks/models/minimax-m2p5": {
+ "max_input_tokens": 196608,
+ "max_output_tokens": 196608,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
diff --git a/libs/partners/groq/langchain_groq/data/_profiles.py b/libs/partners/groq/langchain_groq/data/_profiles.py
index 6f6e069684..c8e31e8a38 100644
--- a/libs/partners/groq/langchain_groq/data/_profiles.py
+++ b/libs/partners/groq/langchain_groq/data/_profiles.py
@@ -16,8 +16,8 @@ https://docs.langchain.com/oss/python/langchain/models#updating-or-overwriting-p
from typing import Any
_PROFILES: dict[str, dict[str, Any]] = {
- "llama3-70b-8192": {
- "max_input_tokens": 8192,
+ "deepseek-r1-distill-llama-70b": {
+ "max_input_tokens": 131072,
"max_output_tokens": 8192,
"text_inputs": True,
"image_inputs": False,
@@ -27,12 +27,12 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": False,
+ "reasoning_output": True,
"tool_calling": True,
},
- "qwen-qwq-32b": {
- "max_input_tokens": 131072,
- "max_output_tokens": 16384,
+ "gemma2-9b-it": {
+ "max_input_tokens": 8192,
+ "max_output_tokens": 8192,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -41,7 +41,7 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": True,
+ "reasoning_output": False,
"tool_calling": True,
},
"llama-3.1-8b-instant": {
@@ -58,9 +58,9 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": False,
"tool_calling": True,
},
- "llama-guard-3-8b": {
- "max_input_tokens": 8192,
- "max_output_tokens": 8192,
+ "llama-3.3-70b-versatile": {
+ "max_input_tokens": 131072,
+ "max_output_tokens": 32768,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -70,10 +70,10 @@ _PROFILES: dict[str, dict[str, Any]] = {
"audio_outputs": False,
"video_outputs": False,
"reasoning_output": False,
- "tool_calling": False,
+ "tool_calling": True,
},
- "deepseek-r1-distill-llama-70b": {
- "max_input_tokens": 131072,
+ "llama-guard-3-8b": {
+ "max_input_tokens": 8192,
"max_output_tokens": 8192,
"text_inputs": True,
"image_inputs": False,
@@ -83,10 +83,10 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": True,
- "tool_calling": True,
+ "reasoning_output": False,
+ "tool_calling": False,
},
- "llama3-8b-8192": {
+ "llama3-70b-8192": {
"max_input_tokens": 8192,
"max_output_tokens": 8192,
"text_inputs": True,
@@ -100,9 +100,9 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": False,
"tool_calling": True,
},
- "mistral-saba-24b": {
- "max_input_tokens": 32768,
- "max_output_tokens": 32768,
+ "llama3-8b-8192": {
+ "max_input_tokens": 8192,
+ "max_output_tokens": 8192,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -114,11 +114,11 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": False,
"tool_calling": True,
},
- "llama-3.3-70b-versatile": {
+ "meta-llama/llama-4-maverick-17b-128e-instruct": {
"max_input_tokens": 131072,
- "max_output_tokens": 32768,
+ "max_output_tokens": 8192,
"text_inputs": True,
- "image_inputs": False,
+ "image_inputs": True,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
@@ -127,12 +127,13 @@ _PROFILES: dict[str, dict[str, Any]] = {
"video_outputs": False,
"reasoning_output": False,
"tool_calling": True,
+ "structured_output": True,
},
- "gemma2-9b-it": {
- "max_input_tokens": 8192,
+ "meta-llama/llama-4-scout-17b-16e-instruct": {
+ "max_input_tokens": 131072,
"max_output_tokens": 8192,
"text_inputs": True,
- "image_inputs": False,
+ "image_inputs": True,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
@@ -141,12 +142,13 @@ _PROFILES: dict[str, dict[str, Any]] = {
"video_outputs": False,
"reasoning_output": False,
"tool_calling": True,
+ "structured_output": True,
},
- "moonshotai/kimi-k2-instruct": {
+ "meta-llama/llama-guard-4-12b": {
"max_input_tokens": 131072,
- "max_output_tokens": 16384,
+ "max_output_tokens": 1024,
"text_inputs": True,
- "image_inputs": False,
+ "image_inputs": True,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
@@ -154,11 +156,11 @@ _PROFILES: dict[str, dict[str, Any]] = {
"audio_outputs": False,
"video_outputs": False,
"reasoning_output": False,
- "tool_calling": True,
+ "tool_calling": False,
},
- "moonshotai/kimi-k2-instruct-0905": {
- "max_input_tokens": 262144,
- "max_output_tokens": 16384,
+ "mistral-saba-24b": {
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -169,9 +171,8 @@ _PROFILES: dict[str, dict[str, Any]] = {
"video_outputs": False,
"reasoning_output": False,
"tool_calling": True,
- "structured_output": True,
},
- "qwen/qwen3-32b": {
+ "moonshotai/kimi-k2-instruct": {
"max_input_tokens": 131072,
"max_output_tokens": 16384,
"text_inputs": True,
@@ -182,14 +183,14 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": True,
+ "reasoning_output": False,
"tool_calling": True,
},
- "meta-llama/llama-4-scout-17b-16e-instruct": {
- "max_input_tokens": 131072,
- "max_output_tokens": 8192,
+ "moonshotai/kimi-k2-instruct-0905": {
+ "max_input_tokens": 262144,
+ "max_output_tokens": 16384,
"text_inputs": True,
- "image_inputs": True,
+ "image_inputs": False,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
@@ -200,38 +201,39 @@ _PROFILES: dict[str, dict[str, Any]] = {
"tool_calling": True,
"structured_output": True,
},
- "meta-llama/llama-guard-4-12b": {
+ "openai/gpt-oss-120b": {
"max_input_tokens": 131072,
- "max_output_tokens": 1024,
+ "max_output_tokens": 65536,
"text_inputs": True,
- "image_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": False,
+ "reasoning_output": True,
+ "tool_calling": True,
+ "structured_output": True,
},
- "meta-llama/llama-4-maverick-17b-128e-instruct": {
+ "openai/gpt-oss-20b": {
"max_input_tokens": 131072,
- "max_output_tokens": 8192,
+ "max_output_tokens": 65536,
"text_inputs": True,
- "image_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,
+ "reasoning_output": True,
"tool_calling": True,
"structured_output": True,
},
- "openai/gpt-oss-120b": {
+ "qwen-qwq-32b": {
"max_input_tokens": 131072,
- "max_output_tokens": 65536,
+ "max_output_tokens": 16384,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -242,11 +244,10 @@ _PROFILES: dict[str, dict[str, Any]] = {
"video_outputs": False,
"reasoning_output": True,
"tool_calling": True,
- "structured_output": True,
},
- "openai/gpt-oss-20b": {
+ "qwen/qwen3-32b": {
"max_input_tokens": 131072,
- "max_output_tokens": 65536,
+ "max_output_tokens": 16384,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -257,6 +258,5 @@ _PROFILES: dict[str, dict[str, Any]] = {
"video_outputs": False,
"reasoning_output": True,
"tool_calling": True,
- "structured_output": True,
},
}
diff --git a/libs/partners/huggingface/langchain_huggingface/data/_profiles.py b/libs/partners/huggingface/langchain_huggingface/data/_profiles.py
index 45323d6d46..79435997ac 100644
--- a/libs/partners/huggingface/langchain_huggingface/data/_profiles.py
+++ b/libs/partners/huggingface/langchain_huggingface/data/_profiles.py
@@ -16,9 +16,9 @@ https://docs.langchain.com/oss/python/langchain/models#updating-or-overwriting-p
from typing import Any
_PROFILES: dict[str, dict[str, Any]] = {
- "zai-org/GLM-4.7-Flash": {
- "max_input_tokens": 200000,
- "max_output_tokens": 128000,
+ "MiniMaxAI/MiniMax-M2.1": {
+ "max_input_tokens": 204800,
+ "max_output_tokens": 131072,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -30,7 +30,7 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": True,
"tool_calling": True,
},
- "zai-org/GLM-4.7": {
+ "MiniMaxAI/MiniMax-M2.5": {
"max_input_tokens": 204800,
"max_output_tokens": 131072,
"text_inputs": True,
@@ -44,8 +44,8 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": True,
"tool_calling": True,
},
- "zai-org/GLM-5": {
- "max_input_tokens": 202752,
+ "Qwen/Qwen3-235B-A22B-Thinking-2507": {
+ "max_input_tokens": 262144,
"max_output_tokens": 131072,
"text_inputs": True,
"image_inputs": False,
@@ -58,9 +58,9 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": True,
"tool_calling": True,
},
- "XiaomiMiMo/MiMo-V2-Flash": {
+ "Qwen/Qwen3-Coder-480B-A35B-Instruct": {
"max_input_tokens": 262144,
- "max_output_tokens": 4096,
+ "max_output_tokens": 66536,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -69,12 +69,12 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": True,
+ "reasoning_output": False,
"tool_calling": True,
},
- "MiniMaxAI/MiniMax-M2.5": {
- "max_input_tokens": 204800,
- "max_output_tokens": 131072,
+ "Qwen/Qwen3-Coder-Next": {
+ "max_input_tokens": 262144,
+ "max_output_tokens": 65536,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -83,12 +83,12 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": True,
+ "reasoning_output": False,
"tool_calling": True,
},
- "MiniMaxAI/MiniMax-M2.1": {
- "max_input_tokens": 204800,
- "max_output_tokens": 131072,
+ "Qwen/Qwen3-Embedding-4B": {
+ "max_input_tokens": 32000,
+ "max_output_tokens": 2048,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -97,12 +97,12 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": True,
- "tool_calling": True,
+ "reasoning_output": False,
+ "tool_calling": False,
},
- "deepseek-ai/DeepSeek-R1-0528": {
- "max_input_tokens": 163840,
- "max_output_tokens": 163840,
+ "Qwen/Qwen3-Embedding-8B": {
+ "max_input_tokens": 32000,
+ "max_output_tokens": 4096,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -111,12 +111,12 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": True,
- "tool_calling": True,
+ "reasoning_output": False,
+ "tool_calling": False,
},
- "deepseek-ai/DeepSeek-V3.2": {
- "max_input_tokens": 163840,
- "max_output_tokens": 65536,
+ "Qwen/Qwen3-Next-80B-A3B-Instruct": {
+ "max_input_tokens": 262144,
+ "max_output_tokens": 66536,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -125,12 +125,12 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": True,
+ "reasoning_output": False,
"tool_calling": True,
},
- "moonshotai/Kimi-K2-Instruct": {
- "max_input_tokens": 131072,
- "max_output_tokens": 16384,
+ "Qwen/Qwen3-Next-80B-A3B-Thinking": {
+ "max_input_tokens": 262144,
+ "max_output_tokens": 131072,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -142,27 +142,27 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": False,
"tool_calling": True,
},
- "moonshotai/Kimi-K2-Instruct-0905": {
+ "Qwen/Qwen3.5-397B-A17B": {
"max_input_tokens": 262144,
- "max_output_tokens": 16384,
+ "max_output_tokens": 32768,
"text_inputs": True,
- "image_inputs": False,
+ "image_inputs": True,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": False,
+ "reasoning_output": True,
"tool_calling": True,
},
- "moonshotai/Kimi-K2.5": {
+ "XiaomiMiMo/MiMo-V2-Flash": {
"max_input_tokens": 262144,
- "max_output_tokens": 262144,
+ "max_output_tokens": 4096,
"text_inputs": True,
- "image_inputs": True,
+ "image_inputs": False,
"audio_inputs": False,
- "video_inputs": True,
+ "video_inputs": False,
"text_outputs": True,
"image_outputs": False,
"audio_outputs": False,
@@ -170,9 +170,9 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": True,
"tool_calling": True,
},
- "moonshotai/Kimi-K2-Thinking": {
- "max_input_tokens": 262144,
- "max_output_tokens": 262144,
+ "deepseek-ai/DeepSeek-R1-0528": {
+ "max_input_tokens": 163840,
+ "max_output_tokens": 163840,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -184,9 +184,9 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": True,
"tool_calling": True,
},
- "Qwen/Qwen3-Next-80B-A3B-Instruct": {
- "max_input_tokens": 262144,
- "max_output_tokens": 66536,
+ "deepseek-ai/DeepSeek-V3.2": {
+ "max_input_tokens": 163840,
+ "max_output_tokens": 65536,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -195,26 +195,26 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": False,
+ "reasoning_output": True,
"tool_calling": True,
},
- "Qwen/Qwen3.5-397B-A17B": {
- "max_input_tokens": 262144,
- "max_output_tokens": 32768,
+ "moonshotai/Kimi-K2-Instruct": {
+ "max_input_tokens": 131072,
+ "max_output_tokens": 16384,
"text_inputs": True,
- "image_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,
+ "reasoning_output": False,
"tool_calling": True,
},
- "Qwen/Qwen3-235B-A22B-Thinking-2507": {
+ "moonshotai/Kimi-K2-Instruct-0905": {
"max_input_tokens": 262144,
- "max_output_tokens": 131072,
+ "max_output_tokens": 16384,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -223,12 +223,12 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": True,
+ "reasoning_output": False,
"tool_calling": True,
},
- "Qwen/Qwen3-Coder-Next": {
+ "moonshotai/Kimi-K2-Thinking": {
"max_input_tokens": 262144,
- "max_output_tokens": 65536,
+ "max_output_tokens": 262144,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -237,26 +237,26 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": False,
+ "reasoning_output": True,
"tool_calling": True,
},
- "Qwen/Qwen3-Coder-480B-A35B-Instruct": {
+ "moonshotai/Kimi-K2.5": {
"max_input_tokens": 262144,
- "max_output_tokens": 66536,
+ "max_output_tokens": 262144,
"text_inputs": True,
- "image_inputs": False,
+ "image_inputs": True,
"audio_inputs": False,
- "video_inputs": False,
+ "video_inputs": True,
"text_outputs": True,
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": False,
+ "reasoning_output": True,
"tool_calling": True,
},
- "Qwen/Qwen3-Embedding-4B": {
- "max_input_tokens": 32000,
- "max_output_tokens": 2048,
+ "zai-org/GLM-4.7": {
+ "max_input_tokens": 204800,
+ "max_output_tokens": 131072,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -265,12 +265,12 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": False,
- "tool_calling": False,
+ "reasoning_output": True,
+ "tool_calling": True,
},
- "Qwen/Qwen3-Embedding-8B": {
- "max_input_tokens": 32000,
- "max_output_tokens": 4096,
+ "zai-org/GLM-4.7-Flash": {
+ "max_input_tokens": 200000,
+ "max_output_tokens": 128000,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -279,11 +279,11 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": False,
- "tool_calling": False,
+ "reasoning_output": True,
+ "tool_calling": True,
},
- "Qwen/Qwen3-Next-80B-A3B-Thinking": {
- "max_input_tokens": 262144,
+ "zai-org/GLM-5": {
+ "max_input_tokens": 202752,
"max_output_tokens": 131072,
"text_inputs": True,
"image_inputs": False,
@@ -293,7 +293,7 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": False,
+ "reasoning_output": True,
"tool_calling": True,
},
}
diff --git a/libs/partners/mistralai/langchain_mistralai/data/_profiles.py b/libs/partners/mistralai/langchain_mistralai/data/_profiles.py
index 23b1101fbc..d0b68d2b7f 100644
--- a/libs/partners/mistralai/langchain_mistralai/data/_profiles.py
+++ b/libs/partners/mistralai/langchain_mistralai/data/_profiles.py
@@ -16,9 +16,9 @@ https://docs.langchain.com/oss/python/langchain/models#updating-or-overwriting-p
from typing import Any
_PROFILES: dict[str, dict[str, Any]] = {
- "devstral-medium-2507": {
- "max_input_tokens": 128000,
- "max_output_tokens": 128000,
+ "codestral-latest": {
+ "max_input_tokens": 256000,
+ "max_output_tokens": 4096,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -30,11 +30,11 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": False,
"tool_calling": True,
},
- "labs-devstral-small-2512": {
- "max_input_tokens": 256000,
- "max_output_tokens": 256000,
+ "devstral-2512": {
+ "max_input_tokens": 262144,
+ "max_output_tokens": 262144,
"text_inputs": True,
- "image_inputs": True,
+ "image_inputs": False,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
@@ -44,9 +44,9 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": False,
"tool_calling": True,
},
- "devstral-medium-latest": {
- "max_input_tokens": 262144,
- "max_output_tokens": 262144,
+ "devstral-medium-2507": {
+ "max_input_tokens": 128000,
+ "max_output_tokens": 128000,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -58,9 +58,9 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": False,
"tool_calling": True,
},
- "open-mistral-7b": {
- "max_input_tokens": 8000,
- "max_output_tokens": 8000,
+ "devstral-medium-latest": {
+ "max_input_tokens": 262144,
+ "max_output_tokens": 262144,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -72,11 +72,11 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": False,
"tool_calling": True,
},
- "mistral-small-2506": {
+ "devstral-small-2505": {
"max_input_tokens": 128000,
- "max_output_tokens": 16384,
+ "max_output_tokens": 128000,
"text_inputs": True,
- "image_inputs": True,
+ "image_inputs": False,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
@@ -86,11 +86,11 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": False,
"tool_calling": True,
},
- "mistral-medium-2505": {
- "max_input_tokens": 131072,
- "max_output_tokens": 131072,
+ "devstral-small-2507": {
+ "max_input_tokens": 128000,
+ "max_output_tokens": 128000,
"text_inputs": True,
- "image_inputs": True,
+ "image_inputs": False,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
@@ -100,11 +100,11 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": False,
"tool_calling": True,
},
- "codestral-latest": {
+ "labs-devstral-small-2512": {
"max_input_tokens": 256000,
- "max_output_tokens": 4096,
+ "max_output_tokens": 256000,
"text_inputs": True,
- "image_inputs": False,
+ "image_inputs": True,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
@@ -114,9 +114,9 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": False,
"tool_calling": True,
},
- "ministral-8b-latest": {
+ "magistral-medium-latest": {
"max_input_tokens": 128000,
- "max_output_tokens": 128000,
+ "max_output_tokens": 16384,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -125,7 +125,7 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": False,
+ "reasoning_output": True,
"tool_calling": True,
},
"magistral-small": {
@@ -142,11 +142,11 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": True,
"tool_calling": True,
},
- "mistral-large-2512": {
- "max_input_tokens": 262144,
- "max_output_tokens": 262144,
+ "ministral-3b-latest": {
+ "max_input_tokens": 128000,
+ "max_output_tokens": 128000,
"text_inputs": True,
- "image_inputs": True,
+ "image_inputs": False,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
@@ -156,7 +156,7 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": False,
"tool_calling": True,
},
- "ministral-3b-latest": {
+ "ministral-8b-latest": {
"max_input_tokens": 128000,
"max_output_tokens": 128000,
"text_inputs": True,
@@ -184,9 +184,9 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": False,
"tool_calling": False,
},
- "devstral-small-2505": {
- "max_input_tokens": 128000,
- "max_output_tokens": 128000,
+ "mistral-large-2411": {
+ "max_input_tokens": 131072,
+ "max_output_tokens": 16384,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -198,9 +198,9 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": False,
"tool_calling": True,
},
- "pixtral-12b": {
- "max_input_tokens": 128000,
- "max_output_tokens": 128000,
+ "mistral-large-2512": {
+ "max_input_tokens": 262144,
+ "max_output_tokens": 262144,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
@@ -212,11 +212,11 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": False,
"tool_calling": True,
},
- "open-mixtral-8x7b": {
- "max_input_tokens": 32000,
- "max_output_tokens": 32000,
+ "mistral-large-latest": {
+ "max_input_tokens": 262144,
+ "max_output_tokens": 262144,
"text_inputs": True,
- "image_inputs": False,
+ "image_inputs": True,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
@@ -226,9 +226,9 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": False,
"tool_calling": True,
},
- "pixtral-large-latest": {
- "max_input_tokens": 128000,
- "max_output_tokens": 128000,
+ "mistral-medium-2505": {
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
@@ -240,11 +240,11 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": False,
"tool_calling": True,
},
- "mistral-nemo": {
- "max_input_tokens": 128000,
- "max_output_tokens": 128000,
+ "mistral-medium-2508": {
+ "max_input_tokens": 262144,
+ "max_output_tokens": 262144,
"text_inputs": True,
- "image_inputs": False,
+ "image_inputs": True,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
@@ -254,11 +254,11 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": False,
"tool_calling": True,
},
- "devstral-2512": {
- "max_input_tokens": 262144,
- "max_output_tokens": 262144,
+ "mistral-medium-latest": {
+ "max_input_tokens": 128000,
+ "max_output_tokens": 16384,
"text_inputs": True,
- "image_inputs": False,
+ "image_inputs": True,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
@@ -268,11 +268,11 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": False,
"tool_calling": True,
},
- "mistral-large-latest": {
- "max_input_tokens": 262144,
- "max_output_tokens": 262144,
+ "mistral-nemo": {
+ "max_input_tokens": 128000,
+ "max_output_tokens": 128000,
"text_inputs": True,
- "image_inputs": True,
+ "image_inputs": False,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
@@ -282,9 +282,9 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": False,
"tool_calling": True,
},
- "mistral-medium-2508": {
- "max_input_tokens": 262144,
- "max_output_tokens": 262144,
+ "mistral-small-2506": {
+ "max_input_tokens": 128000,
+ "max_output_tokens": 16384,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
@@ -296,11 +296,11 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": False,
"tool_calling": True,
},
- "mistral-large-2411": {
- "max_input_tokens": 131072,
+ "mistral-small-latest": {
+ "max_input_tokens": 128000,
"max_output_tokens": 16384,
"text_inputs": True,
- "image_inputs": False,
+ "image_inputs": True,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
@@ -310,11 +310,11 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": False,
"tool_calling": True,
},
- "mistral-small-latest": {
- "max_input_tokens": 128000,
- "max_output_tokens": 16384,
+ "open-mistral-7b": {
+ "max_input_tokens": 8000,
+ "max_output_tokens": 8000,
"text_inputs": True,
- "image_inputs": True,
+ "image_inputs": False,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
@@ -338,11 +338,11 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": False,
"tool_calling": True,
},
- "mistral-medium-latest": {
- "max_input_tokens": 128000,
- "max_output_tokens": 16384,
+ "open-mixtral-8x7b": {
+ "max_input_tokens": 32000,
+ "max_output_tokens": 32000,
"text_inputs": True,
- "image_inputs": True,
+ "image_inputs": False,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
@@ -352,11 +352,11 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": False,
"tool_calling": True,
},
- "devstral-small-2507": {
+ "pixtral-12b": {
"max_input_tokens": 128000,
"max_output_tokens": 128000,
"text_inputs": True,
- "image_inputs": False,
+ "image_inputs": True,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
@@ -366,18 +366,18 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": False,
"tool_calling": True,
},
- "magistral-medium-latest": {
+ "pixtral-large-latest": {
"max_input_tokens": 128000,
- "max_output_tokens": 16384,
+ "max_output_tokens": 128000,
"text_inputs": True,
- "image_inputs": False,
+ "image_inputs": True,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": True,
+ "reasoning_output": False,
"tool_calling": True,
},
}
diff --git a/libs/partners/openai/langchain_openai/data/_profiles.py b/libs/partners/openai/langchain_openai/data/_profiles.py
index ecf2542937..78e5611f24 100644
--- a/libs/partners/openai/langchain_openai/data/_profiles.py
+++ b/libs/partners/openai/langchain_openai/data/_profiles.py
@@ -16,69 +16,68 @@ https://docs.langchain.com/oss/python/langchain/models#updating-or-overwriting-p
from typing import Any
_PROFILES: dict[str, dict[str, Any]] = {
- "gpt-4o-2024-11-20": {
- "max_input_tokens": 128000,
- "max_output_tokens": 16384,
+ "codex-mini-latest": {
+ "max_input_tokens": 200000,
+ "max_output_tokens": 100000,
"text_inputs": True,
- "image_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,
+ "reasoning_output": True,
"tool_calling": True,
- "structured_output": True,
"image_url_inputs": True,
"pdf_inputs": True,
"pdf_tool_message": True,
"image_tool_message": True,
"tool_choice": True,
},
- "gpt-5.3-codex": {
- "max_input_tokens": 400000,
- "max_output_tokens": 128000,
+ "gpt-3.5-turbo": {
+ "max_input_tokens": 16385,
+ "max_output_tokens": 4096,
"text_inputs": True,
- "image_inputs": True,
+ "image_inputs": False,
"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,
- "image_url_inputs": True,
- "pdf_tool_message": True,
- "image_tool_message": True,
+ "reasoning_output": False,
+ "tool_calling": False,
+ "structured_output": False,
+ "image_url_inputs": False,
+ "pdf_inputs": False,
+ "pdf_tool_message": False,
+ "image_tool_message": False,
"tool_choice": True,
},
- "gpt-5-codex": {
- "max_input_tokens": 272000,
- "max_output_tokens": 128000,
+ "gpt-4": {
+ "max_input_tokens": 8192,
+ "max_output_tokens": 8192,
"text_inputs": True,
- "image_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,
+ "reasoning_output": False,
"tool_calling": True,
- "structured_output": True,
+ "structured_output": False,
"image_url_inputs": True,
"pdf_inputs": True,
"pdf_tool_message": True,
"image_tool_message": True,
"tool_choice": True,
},
- "gpt-5-pro": {
- "max_input_tokens": 272000,
- "max_output_tokens": 272000,
+ "gpt-4-turbo": {
+ "max_input_tokens": 128000,
+ "max_output_tokens": 4096,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
@@ -87,18 +86,18 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": True,
+ "reasoning_output": False,
"tool_calling": True,
- "structured_output": True,
+ "structured_output": False,
"image_url_inputs": True,
"pdf_inputs": True,
"pdf_tool_message": True,
"image_tool_message": True,
"tool_choice": True,
},
- "gpt-4o-mini": {
- "max_input_tokens": 128000,
- "max_output_tokens": 16384,
+ "gpt-4.1": {
+ "max_input_tokens": 1047576,
+ "max_output_tokens": 32768,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
@@ -116,11 +115,11 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_tool_message": True,
"tool_choice": True,
},
- "text-embedding-ada-002": {
- "max_input_tokens": 8192,
- "max_output_tokens": 1536,
+ "gpt-4.1-mini": {
+ "max_input_tokens": 1047576,
+ "max_output_tokens": 32768,
"text_inputs": True,
- "image_inputs": False,
+ "image_inputs": True,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
@@ -128,16 +127,17 @@ _PROFILES: dict[str, dict[str, Any]] = {
"audio_outputs": False,
"video_outputs": False,
"reasoning_output": False,
- "tool_calling": False,
+ "tool_calling": True,
+ "structured_output": True,
"image_url_inputs": True,
"pdf_inputs": True,
"pdf_tool_message": True,
"image_tool_message": True,
"tool_choice": True,
},
- "gpt-5-chat-latest": {
- "max_input_tokens": 272000,
- "max_output_tokens": 128000,
+ "gpt-4.1-nano": {
+ "max_input_tokens": 1047576,
+ "max_output_tokens": 32768,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
@@ -146,8 +146,8 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": True,
- "tool_calling": False,
+ "reasoning_output": False,
+ "tool_calling": True,
"structured_output": True,
"image_url_inputs": True,
"pdf_inputs": True,
@@ -155,28 +155,29 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_tool_message": True,
"tool_choice": True,
},
- "codex-mini-latest": {
- "max_input_tokens": 200000,
- "max_output_tokens": 100000,
+ "gpt-4o": {
+ "max_input_tokens": 128000,
+ "max_output_tokens": 16384,
"text_inputs": True,
- "image_inputs": False,
+ "image_inputs": True,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": True,
+ "reasoning_output": False,
"tool_calling": True,
+ "structured_output": True,
"image_url_inputs": True,
"pdf_inputs": True,
"pdf_tool_message": True,
"image_tool_message": True,
"tool_choice": True,
},
- "gpt-5.1-codex-max": {
- "max_input_tokens": 272000,
- "max_output_tokens": 128000,
+ "gpt-4o-2024-05-13": {
+ "max_input_tokens": 128000,
+ "max_output_tokens": 4096,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
@@ -185,7 +186,7 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": True,
+ "reasoning_output": False,
"tool_calling": True,
"structured_output": True,
"image_url_inputs": True,
@@ -194,9 +195,9 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_tool_message": True,
"tool_choice": True,
},
- "gpt-4o-2024-05-13": {
+ "gpt-4o-2024-08-06": {
"max_input_tokens": 128000,
- "max_output_tokens": 4096,
+ "max_output_tokens": 16384,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
@@ -214,8 +215,8 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_tool_message": True,
"tool_choice": True,
},
- "gpt-5.2-chat-latest": {
- "max_input_tokens": 272000,
+ "gpt-4o-2024-11-20": {
+ "max_input_tokens": 128000,
"max_output_tokens": 16384,
"text_inputs": True,
"image_inputs": True,
@@ -225,7 +226,7 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": True,
+ "reasoning_output": False,
"tool_calling": True,
"structured_output": True,
"image_url_inputs": True,
@@ -234,29 +235,29 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_tool_message": True,
"tool_choice": True,
},
- "gpt-5.2-codex": {
- "max_input_tokens": 400000,
- "max_output_tokens": 128000,
+ "gpt-4o-mini": {
+ "max_input_tokens": 128000,
+ "max_output_tokens": 16384,
"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,
+ "reasoning_output": False,
"tool_calling": True,
"structured_output": True,
"image_url_inputs": True,
+ "pdf_inputs": True,
"pdf_tool_message": True,
"image_tool_message": True,
"tool_choice": True,
},
- "o3-deep-research": {
- "max_input_tokens": 200000,
- "max_output_tokens": 100000,
+ "gpt-5": {
+ "max_input_tokens": 272000,
+ "max_output_tokens": 128000,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
@@ -267,15 +268,16 @@ _PROFILES: dict[str, dict[str, Any]] = {
"video_outputs": False,
"reasoning_output": True,
"tool_calling": True,
+ "structured_output": True,
"image_url_inputs": True,
"pdf_inputs": True,
"pdf_tool_message": True,
"image_tool_message": True,
"tool_choice": True,
},
- "o1": {
- "max_input_tokens": 200000,
- "max_output_tokens": 100000,
+ "gpt-5-chat-latest": {
+ "max_input_tokens": 272000,
+ "max_output_tokens": 128000,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
@@ -285,7 +287,7 @@ _PROFILES: dict[str, dict[str, Any]] = {
"audio_outputs": False,
"video_outputs": False,
"reasoning_output": True,
- "tool_calling": True,
+ "tool_calling": False,
"structured_output": True,
"image_url_inputs": True,
"pdf_inputs": True,
@@ -293,7 +295,7 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_tool_message": True,
"tool_choice": True,
},
- "gpt-5.1": {
+ "gpt-5-codex": {
"max_input_tokens": 272000,
"max_output_tokens": 128000,
"text_inputs": True,
@@ -313,9 +315,9 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_tool_message": True,
"tool_choice": True,
},
- "o4-mini-deep-research": {
- "max_input_tokens": 200000,
- "max_output_tokens": 100000,
+ "gpt-5-mini": {
+ "max_input_tokens": 272000,
+ "max_output_tokens": 128000,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
@@ -326,19 +328,19 @@ _PROFILES: dict[str, dict[str, Any]] = {
"video_outputs": False,
"reasoning_output": True,
"tool_calling": True,
+ "structured_output": True,
"image_url_inputs": True,
"pdf_inputs": True,
"pdf_tool_message": True,
"image_tool_message": True,
"tool_choice": True,
},
- "gpt-5.3-codex-spark": {
- "max_input_tokens": 128000,
- "max_output_tokens": 32000,
+ "gpt-5-nano": {
+ "max_input_tokens": 272000,
+ "max_output_tokens": 128000,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
- "pdf_inputs": True,
"video_inputs": False,
"text_outputs": True,
"image_outputs": False,
@@ -348,13 +350,14 @@ _PROFILES: dict[str, dict[str, Any]] = {
"tool_calling": True,
"structured_output": True,
"image_url_inputs": True,
+ "pdf_inputs": True,
"pdf_tool_message": True,
"image_tool_message": True,
"tool_choice": True,
},
- "o3": {
- "max_input_tokens": 200000,
- "max_output_tokens": 100000,
+ "gpt-5-pro": {
+ "max_input_tokens": 272000,
+ "max_output_tokens": 272000,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
@@ -372,28 +375,29 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_tool_message": True,
"tool_choice": True,
},
- "text-embedding-3-small": {
- "max_input_tokens": 8191,
- "max_output_tokens": 1536,
+ "gpt-5.1": {
+ "max_input_tokens": 272000,
+ "max_output_tokens": 128000,
"text_inputs": True,
- "image_inputs": False,
+ "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": False,
+ "reasoning_output": True,
+ "tool_calling": True,
+ "structured_output": True,
"image_url_inputs": True,
"pdf_inputs": True,
"pdf_tool_message": True,
"image_tool_message": True,
"tool_choice": True,
},
- "gpt-4.1-nano": {
- "max_input_tokens": 1047576,
- "max_output_tokens": 32768,
+ "gpt-5.1-chat-latest": {
+ "max_input_tokens": 272000,
+ "max_output_tokens": 16384,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
@@ -402,7 +406,7 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": False,
+ "reasoning_output": True,
"tool_calling": True,
"structured_output": True,
"image_url_inputs": True,
@@ -411,43 +415,44 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_tool_message": True,
"tool_choice": True,
},
- "text-embedding-3-large": {
- "max_input_tokens": 8191,
- "max_output_tokens": 3072,
+ "gpt-5.1-codex": {
+ "max_input_tokens": 272000,
+ "max_output_tokens": 128000,
"text_inputs": True,
- "image_inputs": False,
+ "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": False,
+ "reasoning_output": True,
+ "tool_calling": True,
+ "structured_output": True,
"image_url_inputs": True,
"pdf_inputs": True,
"pdf_tool_message": True,
"image_tool_message": True,
"tool_choice": True,
},
- "gpt-3.5-turbo": {
- "max_input_tokens": 16385,
- "max_output_tokens": 4096,
+ "gpt-5.1-codex-max": {
+ "max_input_tokens": 272000,
+ "max_output_tokens": 128000,
"text_inputs": True,
- "image_inputs": False,
+ "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": False,
- "structured_output": False,
- "image_url_inputs": False,
- "pdf_inputs": False,
- "pdf_tool_message": False,
- "image_tool_message": False,
+ "reasoning_output": True,
+ "tool_calling": True,
+ "structured_output": True,
+ "image_url_inputs": True,
+ "pdf_inputs": True,
+ "pdf_tool_message": True,
+ "image_tool_message": True,
"tool_choice": True,
},
"gpt-5.1-codex-mini": {
@@ -490,9 +495,9 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_tool_message": True,
"tool_choice": True,
},
- "gpt-4.1": {
- "max_input_tokens": 1047576,
- "max_output_tokens": 32768,
+ "gpt-5.2-chat-latest": {
+ "max_input_tokens": 272000,
+ "max_output_tokens": 16384,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
@@ -501,7 +506,7 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": False,
+ "reasoning_output": True,
"tool_calling": True,
"structured_output": True,
"image_url_inputs": True,
@@ -510,12 +515,13 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_tool_message": True,
"tool_choice": True,
},
- "o3-pro": {
- "max_input_tokens": 200000,
- "max_output_tokens": 100000,
+ "gpt-5.2-codex": {
+ "max_input_tokens": 400000,
+ "max_output_tokens": 128000,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
+ "pdf_inputs": True,
"video_inputs": False,
"text_outputs": True,
"image_outputs": False,
@@ -525,14 +531,13 @@ _PROFILES: dict[str, dict[str, Any]] = {
"tool_calling": True,
"structured_output": True,
"image_url_inputs": True,
- "pdf_inputs": True,
"pdf_tool_message": True,
"image_tool_message": True,
"tool_choice": True,
},
- "gpt-4-turbo": {
- "max_input_tokens": 128000,
- "max_output_tokens": 4096,
+ "gpt-5.2-pro": {
+ "max_input_tokens": 272000,
+ "max_output_tokens": 128000,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
@@ -541,7 +546,7 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": False,
+ "reasoning_output": True,
"tool_calling": True,
"structured_output": False,
"image_url_inputs": True,
@@ -550,12 +555,13 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_tool_message": True,
"tool_choice": True,
},
- "gpt-5": {
- "max_input_tokens": 272000,
+ "gpt-5.3-codex": {
+ "max_input_tokens": 400000,
"max_output_tokens": 128000,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
+ "pdf_inputs": True,
"video_inputs": False,
"text_outputs": True,
"image_outputs": False,
@@ -565,12 +571,31 @@ _PROFILES: dict[str, dict[str, Any]] = {
"tool_calling": True,
"structured_output": True,
"image_url_inputs": True,
+ "pdf_tool_message": True,
+ "image_tool_message": True,
+ "tool_choice": True,
+ },
+ "gpt-5.3-codex-spark": {
+ "max_input_tokens": 128000,
+ "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": True,
+ "image_url_inputs": True,
"pdf_tool_message": True,
"image_tool_message": True,
"tool_choice": True,
},
- "o4-mini": {
+ "o1": {
"max_input_tokens": 200000,
"max_output_tokens": 100000,
"text_inputs": True,
@@ -590,19 +615,19 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_tool_message": True,
"tool_choice": True,
},
- "gpt-4.1-mini": {
- "max_input_tokens": 1047576,
- "max_output_tokens": 32768,
+ "o1-mini": {
+ "max_input_tokens": 128000,
+ "max_output_tokens": 65536,
"text_inputs": True,
- "image_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,
+ "reasoning_output": True,
+ "tool_calling": False,
"structured_output": True,
"image_url_inputs": True,
"pdf_inputs": True,
@@ -649,9 +674,9 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_tool_message": True,
"tool_choice": True,
},
- "gpt-5.1-codex": {
- "max_input_tokens": 272000,
- "max_output_tokens": 128000,
+ "o3": {
+ "max_input_tokens": 200000,
+ "max_output_tokens": 100000,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
@@ -669,9 +694,9 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_tool_message": True,
"tool_choice": True,
},
- "gpt-5.2-pro": {
- "max_input_tokens": 272000,
- "max_output_tokens": 128000,
+ "o3-deep-research": {
+ "max_input_tokens": 200000,
+ "max_output_tokens": 100000,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
@@ -682,7 +707,6 @@ _PROFILES: dict[str, dict[str, Any]] = {
"video_outputs": False,
"reasoning_output": True,
"tool_calling": True,
- "structured_output": False,
"image_url_inputs": True,
"pdf_inputs": True,
"pdf_tool_message": True,
@@ -709,9 +733,9 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_tool_message": True,
"tool_choice": True,
},
- "gpt-4o-2024-08-06": {
- "max_input_tokens": 128000,
- "max_output_tokens": 16384,
+ "o3-pro": {
+ "max_input_tokens": 200000,
+ "max_output_tokens": 100000,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
@@ -720,7 +744,7 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": False,
+ "reasoning_output": True,
"tool_calling": True,
"structured_output": True,
"image_url_inputs": True,
@@ -729,9 +753,9 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_tool_message": True,
"tool_choice": True,
},
- "gpt-5-mini": {
- "max_input_tokens": 272000,
- "max_output_tokens": 128000,
+ "o4-mini": {
+ "max_input_tokens": 200000,
+ "max_output_tokens": 100000,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
@@ -749,9 +773,9 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_tool_message": True,
"tool_choice": True,
},
- "gpt-5.1-chat-latest": {
- "max_input_tokens": 272000,
- "max_output_tokens": 16384,
+ "o4-mini-deep-research": {
+ "max_input_tokens": 200000,
+ "max_output_tokens": 100000,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
@@ -762,16 +786,15 @@ _PROFILES: dict[str, dict[str, Any]] = {
"video_outputs": False,
"reasoning_output": True,
"tool_calling": True,
- "structured_output": True,
"image_url_inputs": True,
"pdf_inputs": True,
"pdf_tool_message": True,
"image_tool_message": True,
"tool_choice": True,
},
- "gpt-4": {
- "max_input_tokens": 8192,
- "max_output_tokens": 8192,
+ "text-embedding-3-large": {
+ "max_input_tokens": 8191,
+ "max_output_tokens": 3072,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -781,37 +804,16 @@ _PROFILES: dict[str, dict[str, Any]] = {
"audio_outputs": False,
"video_outputs": False,
"reasoning_output": False,
- "tool_calling": True,
- "structured_output": False,
- "image_url_inputs": True,
- "pdf_inputs": True,
- "pdf_tool_message": True,
- "image_tool_message": True,
- "tool_choice": True,
- },
- "gpt-5-nano": {
- "max_input_tokens": 272000,
- "max_output_tokens": 128000,
- "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,
+ "tool_calling": False,
"image_url_inputs": True,
"pdf_inputs": True,
"pdf_tool_message": True,
"image_tool_message": True,
"tool_choice": True,
},
- "o1-mini": {
- "max_input_tokens": 128000,
- "max_output_tokens": 65536,
+ "text-embedding-3-small": {
+ "max_input_tokens": 8191,
+ "max_output_tokens": 1536,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -820,20 +822,19 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": True,
+ "reasoning_output": False,
"tool_calling": False,
- "structured_output": True,
"image_url_inputs": True,
"pdf_inputs": True,
"pdf_tool_message": True,
"image_tool_message": True,
"tool_choice": True,
},
- "gpt-4o": {
- "max_input_tokens": 128000,
- "max_output_tokens": 16384,
+ "text-embedding-ada-002": {
+ "max_input_tokens": 8192,
+ "max_output_tokens": 1536,
"text_inputs": True,
- "image_inputs": True,
+ "image_inputs": False,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
@@ -841,8 +842,7 @@ _PROFILES: dict[str, dict[str, Any]] = {
"audio_outputs": False,
"video_outputs": False,
"reasoning_output": False,
- "tool_calling": True,
- "structured_output": True,
+ "tool_calling": False,
"image_url_inputs": True,
"pdf_inputs": True,
"pdf_tool_message": True,
diff --git a/libs/partners/openrouter/langchain_openrouter/data/_profiles.py b/libs/partners/openrouter/langchain_openrouter/data/_profiles.py
index 2bb4f1506e..fd0c9d296c 100644
--- a/libs/partners/openrouter/langchain_openrouter/data/_profiles.py
+++ b/libs/partners/openrouter/langchain_openrouter/data/_profiles.py
@@ -16,35 +16,6 @@ https://docs.langchain.com/oss/python/langchain/models#updating-or-overwriting-p
from typing import Any
_PROFILES: dict[str, dict[str, Any]] = {
- "prime-intellect/intellect-3": {
- "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": True,
- "tool_calling": True,
- "structured_output": True,
- },
- "featherless/qwerky-72b": {
- "max_input_tokens": 32768,
- "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": False,
- },
"allenai/molmo-2-8b:free": {
"max_input_tokens": 36864,
"max_output_tokens": 36864,
@@ -59,27 +30,28 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": True,
"tool_calling": False,
},
- "nvidia/nemotron-nano-9b-v2:free": {
- "max_input_tokens": 128000,
- "max_output_tokens": 128000,
+ "anthropic/claude-3.5-haiku": {
+ "max_input_tokens": 200000,
+ "max_output_tokens": 8192,
"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": True,
+ "reasoning_output": False,
"tool_calling": True,
- "structured_output": True,
},
- "nvidia/nemotron-nano-12b-v2-vl:free": {
- "max_input_tokens": 128000,
+ "anthropic/claude-3.7-sonnet": {
+ "max_input_tokens": 200000,
"max_output_tokens": 128000,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
+ "pdf_inputs": True,
"video_inputs": False,
"text_outputs": True,
"image_outputs": False,
@@ -88,12 +60,13 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": True,
"tool_calling": True,
},
- "nvidia/nemotron-3-nano-30b-a3b:free": {
- "max_input_tokens": 256000,
- "max_output_tokens": 256000,
+ "anthropic/claude-haiku-4.5": {
+ "max_input_tokens": 200000,
+ "max_output_tokens": 64000,
"text_inputs": True,
- "image_inputs": False,
+ "image_inputs": True,
"audio_inputs": False,
+ "pdf_inputs": True,
"video_inputs": False,
"text_outputs": True,
"image_outputs": False,
@@ -103,12 +76,13 @@ _PROFILES: dict[str, dict[str, Any]] = {
"tool_calling": True,
"structured_output": True,
},
- "nvidia/nemotron-nano-9b-v2": {
- "max_input_tokens": 131072,
- "max_output_tokens": 131072,
+ "anthropic/claude-opus-4": {
+ "max_input_tokens": 200000,
+ "max_output_tokens": 32000,
"text_inputs": True,
- "image_inputs": False,
+ "image_inputs": True,
"audio_inputs": False,
+ "pdf_inputs": True,
"video_inputs": False,
"text_outputs": True,
"image_outputs": False,
@@ -117,42 +91,45 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": True,
"tool_calling": True,
},
- "arcee-ai/trinity-large-preview:free": {
- "max_input_tokens": 131072,
- "max_output_tokens": 131072,
+ "anthropic/claude-opus-4.1": {
+ "max_input_tokens": 200000,
+ "max_output_tokens": 32000,
"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,
"structured_output": True,
},
- "arcee-ai/trinity-mini:free": {
- "max_input_tokens": 131072,
- "max_output_tokens": 131072,
+ "anthropic/claude-opus-4.5": {
+ "max_input_tokens": 200000,
+ "max_output_tokens": 32000,
"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,
"structured_output": True,
},
- "xiaomi/mimo-v2-flash": {
- "max_input_tokens": 262144,
- "max_output_tokens": 65536,
+ "anthropic/claude-opus-4.6": {
+ "max_input_tokens": 1000000,
+ "max_output_tokens": 128000,
"text_inputs": True,
- "image_inputs": False,
+ "image_inputs": True,
"audio_inputs": False,
+ "pdf_inputs": True,
"video_inputs": False,
"text_outputs": True,
"image_outputs": False,
@@ -162,12 +139,13 @@ _PROFILES: dict[str, dict[str, Any]] = {
"tool_calling": True,
"structured_output": True,
},
- "microsoft/mai-ds-r1:free": {
- "max_input_tokens": 163840,
- "max_output_tokens": 163840,
+ "anthropic/claude-sonnet-4": {
+ "max_input_tokens": 200000,
+ "max_output_tokens": 64000,
"text_inputs": True,
- "image_inputs": False,
+ "image_inputs": True,
"audio_inputs": False,
+ "pdf_inputs": True,
"video_inputs": False,
"text_outputs": True,
"image_outputs": False,
@@ -176,12 +154,13 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": True,
"tool_calling": True,
},
- "sarvamai/sarvam-m:free": {
- "max_input_tokens": 32768,
- "max_output_tokens": 32768,
+ "anthropic/claude-sonnet-4.5": {
+ "max_input_tokens": 1000000,
+ "max_output_tokens": 64000,
"text_inputs": True,
- "image_inputs": False,
+ "image_inputs": True,
"audio_inputs": False,
+ "pdf_inputs": True,
"video_inputs": False,
"text_outputs": True,
"image_outputs": False,
@@ -189,12 +168,13 @@ _PROFILES: dict[str, dict[str, Any]] = {
"video_outputs": False,
"reasoning_output": True,
"tool_calling": True,
+ "structured_output": True,
},
- "liquid/lfm-2.5-1.2b-thinking:free": {
- "max_input_tokens": 131072,
- "max_output_tokens": 32768,
+ "anthropic/claude-sonnet-4.6": {
+ "max_input_tokens": 1000000,
+ "max_output_tokens": 128000,
"text_inputs": True,
- "image_inputs": False,
+ "image_inputs": True,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
@@ -202,11 +182,12 @@ _PROFILES: dict[str, dict[str, Any]] = {
"audio_outputs": False,
"video_outputs": False,
"reasoning_output": True,
- "tool_calling": False,
+ "tool_calling": True,
+ "structured_output": True,
},
- "liquid/lfm-2.5-1.2b-instruct:free": {
+ "arcee-ai/trinity-large-preview:free": {
"max_input_tokens": 131072,
- "max_output_tokens": 32768,
+ "max_output_tokens": 131072,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -216,11 +197,12 @@ _PROFILES: dict[str, dict[str, Any]] = {
"audio_outputs": False,
"video_outputs": False,
"reasoning_output": False,
- "tool_calling": False,
+ "tool_calling": True,
+ "structured_output": True,
},
- "thudm/glm-z1-32b:free": {
- "max_input_tokens": 32768,
- "max_output_tokens": 32768,
+ "arcee-ai/trinity-mini:free": {
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -229,12 +211,13 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": True,
+ "reasoning_output": False,
"tool_calling": True,
+ "structured_output": True,
},
- "sourceful/riverflow-v2-fast-preview": {
- "max_input_tokens": 8192,
- "max_output_tokens": 8192,
+ "black-forest-labs/flux.2-flex": {
+ "max_input_tokens": 67344,
+ "max_output_tokens": 67344,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
@@ -246,9 +229,9 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": False,
"tool_calling": False,
},
- "sourceful/riverflow-v2-max-preview": {
- "max_input_tokens": 8192,
- "max_output_tokens": 8192,
+ "black-forest-labs/flux.2-klein-4b": {
+ "max_input_tokens": 40960,
+ "max_output_tokens": 40960,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
@@ -260,9 +243,9 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": False,
"tool_calling": False,
},
- "sourceful/riverflow-v2-standard-preview": {
- "max_input_tokens": 8192,
- "max_output_tokens": 8192,
+ "black-forest-labs/flux.2-max": {
+ "max_input_tokens": 46864,
+ "max_output_tokens": 46864,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
@@ -274,37 +257,37 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": False,
"tool_calling": False,
},
- "rekaai/reka-flash-3": {
- "max_input_tokens": 32768,
- "max_output_tokens": 8192,
+ "black-forest-labs/flux.2-pro": {
+ "max_input_tokens": 46864,
+ "max_output_tokens": 46864,
"text_inputs": True,
- "image_inputs": False,
+ "image_inputs": True,
"audio_inputs": False,
"video_inputs": False,
- "text_outputs": True,
- "image_outputs": False,
+ "text_outputs": False,
+ "image_outputs": True,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": True,
- "tool_calling": True,
+ "reasoning_output": False,
+ "tool_calling": False,
},
- "stepfun/step-3.5-flash:free": {
- "max_input_tokens": 256000,
- "max_output_tokens": 256000,
+ "bytedance-seed/seedream-4.5": {
+ "max_input_tokens": 4096,
+ "max_output_tokens": 4096,
"text_inputs": True,
- "image_inputs": False,
+ "image_inputs": True,
"audio_inputs": False,
"video_inputs": False,
- "text_outputs": True,
- "image_outputs": False,
+ "text_outputs": False,
+ "image_outputs": True,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": True,
- "tool_calling": True,
+ "reasoning_output": False,
+ "tool_calling": False,
},
- "stepfun/step-3.5-flash": {
- "max_input_tokens": 256000,
- "max_output_tokens": 256000,
+ "cognitivecomputations/dolphin-mistral-24b-venice-edition:free": {
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -313,10 +296,11 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": True,
- "tool_calling": True,
+ "reasoning_output": False,
+ "tool_calling": False,
+ "structured_output": True,
},
- "cognitivecomputations/dolphin3.0-r1-mistral-24b": {
+ "cognitivecomputations/dolphin3.0-mistral-24b": {
"max_input_tokens": 32768,
"max_output_tokens": 8192,
"text_inputs": True,
@@ -327,10 +311,10 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": True,
+ "reasoning_output": False,
"tool_calling": True,
},
- "cognitivecomputations/dolphin3.0-mistral-24b": {
+ "cognitivecomputations/dolphin3.0-r1-mistral-24b": {
"max_input_tokens": 32768,
"max_output_tokens": 8192,
"text_inputs": True,
@@ -341,12 +325,12 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": False,
+ "reasoning_output": True,
"tool_calling": True,
},
- "cognitivecomputations/dolphin-mistral-24b-venice-edition:free": {
- "max_input_tokens": 32768,
- "max_output_tokens": 32768,
+ "deepseek/deepseek-chat-v3-0324": {
+ "max_input_tokens": 16384,
+ "max_output_tokens": 8192,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -359,9 +343,9 @@ _PROFILES: dict[str, dict[str, Any]] = {
"tool_calling": False,
"structured_output": True,
},
- "kwaipilot/kat-coder-pro:free": {
- "max_input_tokens": 256000,
- "max_output_tokens": 65536,
+ "deepseek/deepseek-chat-v3.1": {
+ "max_input_tokens": 163840,
+ "max_output_tokens": 163840,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -370,13 +354,13 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": False,
+ "reasoning_output": True,
"tool_calling": True,
"structured_output": True,
},
- "deepseek/deepseek-v3.1-terminus:exacto": {
+ "deepseek/deepseek-r1-0528-qwen3-8b:free": {
"max_input_tokens": 131072,
- "max_output_tokens": 65536,
+ "max_output_tokens": 131072,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -387,7 +371,6 @@ _PROFILES: dict[str, dict[str, Any]] = {
"video_outputs": False,
"reasoning_output": True,
"tool_calling": True,
- "structured_output": True,
},
"deepseek/deepseek-r1-0528:free": {
"max_input_tokens": 163840,
@@ -404,8 +387,8 @@ _PROFILES: dict[str, dict[str, Any]] = {
"tool_calling": False,
"structured_output": True,
},
- "deepseek/deepseek-r1-distill-qwen-14b": {
- "max_input_tokens": 64000,
+ "deepseek/deepseek-r1-distill-llama-70b": {
+ "max_input_tokens": 8192,
"max_output_tokens": 8192,
"text_inputs": True,
"image_inputs": False,
@@ -417,10 +400,11 @@ _PROFILES: dict[str, dict[str, Any]] = {
"video_outputs": False,
"reasoning_output": True,
"tool_calling": False,
+ "structured_output": True,
},
- "deepseek/deepseek-r1:free": {
- "max_input_tokens": 163840,
- "max_output_tokens": 163840,
+ "deepseek/deepseek-r1-distill-qwen-14b": {
+ "max_input_tokens": 64000,
+ "max_output_tokens": 8192,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -430,11 +414,11 @@ _PROFILES: dict[str, dict[str, Any]] = {
"audio_outputs": False,
"video_outputs": False,
"reasoning_output": True,
- "tool_calling": True,
+ "tool_calling": False,
},
- "deepseek/deepseek-r1-0528-qwen3-8b:free": {
- "max_input_tokens": 131072,
- "max_output_tokens": 131072,
+ "deepseek/deepseek-r1:free": {
+ "max_input_tokens": 163840,
+ "max_output_tokens": 163840,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -446,9 +430,9 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": True,
"tool_calling": True,
},
- "deepseek/deepseek-v3.2-speciale": {
+ "deepseek/deepseek-v3-base:free": {
"max_input_tokens": 163840,
- "max_output_tokens": 65536,
+ "max_output_tokens": 163840,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -457,13 +441,12 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": True,
- "tool_calling": True,
- "structured_output": True,
+ "reasoning_output": False,
+ "tool_calling": False,
},
- "deepseek/deepseek-chat-v3.1": {
- "max_input_tokens": 163840,
- "max_output_tokens": 163840,
+ "deepseek/deepseek-v3.1-terminus": {
+ "max_input_tokens": 131072,
+ "max_output_tokens": 65536,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -476,37 +459,7 @@ _PROFILES: dict[str, dict[str, Any]] = {
"tool_calling": True,
"structured_output": True,
},
- "deepseek/deepseek-chat-v3-0324": {
- "max_input_tokens": 16384,
- "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": False,
- "structured_output": True,
- },
- "deepseek/deepseek-r1-distill-llama-70b": {
- "max_input_tokens": 8192,
- "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": True,
- "tool_calling": False,
- "structured_output": True,
- },
- "deepseek/deepseek-v3.1-terminus": {
+ "deepseek/deepseek-v3.1-terminus:exacto": {
"max_input_tokens": 131072,
"max_output_tokens": 65536,
"text_inputs": True,
@@ -536,51 +489,9 @@ _PROFILES: dict[str, dict[str, Any]] = {
"tool_calling": True,
"structured_output": True,
},
- "deepseek/deepseek-v3-base:free": {
+ "deepseek/deepseek-v3.2-speciale": {
"max_input_tokens": 163840,
- "max_output_tokens": 163840,
- "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": False,
- },
- "openrouter/sherlock-think-alpha": {
- "max_input_tokens": 1840000,
- "max_output_tokens": 0,
- "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,
- },
- "openrouter/sherlock-dash-alpha": {
- "max_input_tokens": 1840000,
- "max_output_tokens": 0,
- "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,
- },
- "openrouter/aurora-alpha": {
- "max_input_tokens": 128000,
- "max_output_tokens": 50000,
+ "max_output_tokens": 65536,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -593,23 +504,9 @@ _PROFILES: dict[str, dict[str, Any]] = {
"tool_calling": True,
"structured_output": True,
},
- "moonshotai/kimi-dev-72b:free": {
- "max_input_tokens": 131072,
- "max_output_tokens": 131072,
- "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,
- },
- "moonshotai/kimi-k2": {
- "max_input_tokens": 131072,
- "max_output_tokens": 32768,
+ "featherless/qwerky-72b": {
+ "max_input_tokens": 32768,
+ "max_output_tokens": 8192,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -619,15 +516,16 @@ _PROFILES: dict[str, dict[str, Any]] = {
"audio_outputs": False,
"video_outputs": False,
"reasoning_output": False,
- "tool_calling": True,
+ "tool_calling": False,
},
- "moonshotai/kimi-k2-0905": {
- "max_input_tokens": 262144,
- "max_output_tokens": 16384,
+ "google/gemini-2.0-flash-001": {
+ "max_input_tokens": 1048576,
+ "max_output_tokens": 8192,
"text_inputs": True,
- "image_inputs": False,
- "audio_inputs": False,
- "video_inputs": False,
+ "image_inputs": True,
+ "audio_inputs": True,
+ "pdf_inputs": True,
+ "video_inputs": True,
"text_outputs": True,
"image_outputs": False,
"audio_outputs": False,
@@ -636,11 +534,11 @@ _PROFILES: dict[str, dict[str, Any]] = {
"tool_calling": True,
"structured_output": True,
},
- "moonshotai/kimi-k2-0905:exacto": {
- "max_input_tokens": 262144,
- "max_output_tokens": 16384,
+ "google/gemini-2.0-flash-exp:free": {
+ "max_input_tokens": 1048576,
+ "max_output_tokens": 1048576,
"text_inputs": True,
- "image_inputs": False,
+ "image_inputs": True,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
@@ -649,14 +547,14 @@ _PROFILES: dict[str, dict[str, Any]] = {
"video_outputs": False,
"reasoning_output": False,
"tool_calling": True,
- "structured_output": True,
},
- "moonshotai/kimi-k2.5": {
- "max_input_tokens": 262144,
- "max_output_tokens": 262144,
+ "google/gemini-2.5-flash": {
+ "max_input_tokens": 1048576,
+ "max_output_tokens": 65536,
"text_inputs": True,
"image_inputs": True,
- "audio_inputs": False,
+ "audio_inputs": True,
+ "pdf_inputs": True,
"video_inputs": True,
"text_outputs": True,
"image_outputs": False,
@@ -666,36 +564,7 @@ _PROFILES: dict[str, dict[str, Any]] = {
"tool_calling": True,
"structured_output": True,
},
- "moonshotai/kimi-k2-thinking": {
- "max_input_tokens": 262144,
- "max_output_tokens": 262144,
- "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,
- },
- "moonshotai/kimi-k2:free": {
- "max_input_tokens": 32800,
- "max_output_tokens": 32800,
- "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,
- },
- "google/gemini-2.5-flash-lite-preview-09-2025": {
+ "google/gemini-2.5-flash-lite": {
"max_input_tokens": 1048576,
"max_output_tokens": 65536,
"text_inputs": True,
@@ -711,7 +580,7 @@ _PROFILES: dict[str, dict[str, Any]] = {
"tool_calling": True,
"structured_output": True,
},
- "google/gemini-2.5-pro-preview-06-05": {
+ "google/gemini-2.5-flash-lite-preview-09-2025": {
"max_input_tokens": 1048576,
"max_output_tokens": 65536,
"text_inputs": True,
@@ -727,20 +596,6 @@ _PROFILES: dict[str, dict[str, Any]] = {
"tool_calling": True,
"structured_output": True,
},
- "google/gemma-3n-e4b-it:free": {
- "max_input_tokens": 8192,
- "max_output_tokens": 2000,
- "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": False,
- },
"google/gemini-2.5-flash-preview-09-2025": {
"max_input_tokens": 1048576,
"max_output_tokens": 65536,
@@ -757,7 +612,7 @@ _PROFILES: dict[str, dict[str, Any]] = {
"tool_calling": True,
"structured_output": True,
},
- "google/gemini-2.5-pro-preview-05-06": {
+ "google/gemini-2.5-pro": {
"max_input_tokens": 1048576,
"max_output_tokens": 65536,
"text_inputs": True,
@@ -773,21 +628,7 @@ _PROFILES: dict[str, dict[str, Any]] = {
"tool_calling": True,
"structured_output": True,
},
- "google/gemma-3n-e2b-it:free": {
- "max_input_tokens": 8192,
- "max_output_tokens": 2000,
- "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": False,
- },
- "google/gemini-2.5-flash": {
+ "google/gemini-2.5-pro-preview-05-06": {
"max_input_tokens": 1048576,
"max_output_tokens": 65536,
"text_inputs": True,
@@ -803,9 +644,9 @@ _PROFILES: dict[str, dict[str, Any]] = {
"tool_calling": True,
"structured_output": True,
},
- "google/gemini-2.0-flash-001": {
+ "google/gemini-2.5-pro-preview-06-05": {
"max_input_tokens": 1048576,
- "max_output_tokens": 8192,
+ "max_output_tokens": 65536,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": True,
@@ -815,7 +656,7 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": False,
+ "reasoning_output": True,
"tool_calling": True,
"structured_output": True,
},
@@ -835,21 +676,23 @@ _PROFILES: dict[str, dict[str, Any]] = {
"tool_calling": True,
"structured_output": True,
},
- "google/gemma-3-12b-it:free": {
- "max_input_tokens": 32768,
- "max_output_tokens": 8192,
+ "google/gemini-3-pro-preview": {
+ "max_input_tokens": 1050000,
+ "max_output_tokens": 66000,
"text_inputs": True,
"image_inputs": True,
- "audio_inputs": False,
- "video_inputs": False,
+ "audio_inputs": True,
+ "pdf_inputs": True,
+ "video_inputs": True,
"text_outputs": True,
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": False,
- "tool_calling": False,
+ "reasoning_output": True,
+ "tool_calling": True,
+ "structured_output": True,
},
- "google/gemini-2.5-flash-lite": {
+ "google/gemini-3.1-pro-preview": {
"max_input_tokens": 1048576,
"max_output_tokens": 65536,
"text_inputs": True,
@@ -865,11 +708,11 @@ _PROFILES: dict[str, dict[str, Any]] = {
"tool_calling": True,
"structured_output": True,
},
- "google/gemini-2.0-flash-exp:free": {
- "max_input_tokens": 1048576,
- "max_output_tokens": 1048576,
+ "google/gemma-2-9b-it": {
+ "max_input_tokens": 8192,
+ "max_output_tokens": 8192,
"text_inputs": True,
- "image_inputs": True,
+ "image_inputs": False,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
@@ -877,13 +720,13 @@ _PROFILES: dict[str, dict[str, Any]] = {
"audio_outputs": False,
"video_outputs": False,
"reasoning_output": False,
- "tool_calling": True,
+ "tool_calling": False,
},
- "google/gemma-2-9b-it": {
- "max_input_tokens": 8192,
- "max_output_tokens": 8192,
+ "google/gemma-3-12b-it": {
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
"text_inputs": True,
- "image_inputs": False,
+ "image_inputs": True,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
@@ -892,8 +735,9 @@ _PROFILES: dict[str, dict[str, Any]] = {
"video_outputs": False,
"reasoning_output": False,
"tool_calling": False,
+ "structured_output": True,
},
- "google/gemma-3-4b-it:free": {
+ "google/gemma-3-12b-it:free": {
"max_input_tokens": 32768,
"max_output_tokens": 8192,
"text_inputs": True,
@@ -907,11 +751,11 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": False,
"tool_calling": False,
},
- "google/gemma-3n-e4b-it": {
- "max_input_tokens": 32768,
- "max_output_tokens": 32768,
+ "google/gemma-3-27b-it": {
+ "max_input_tokens": 96000,
+ "max_output_tokens": 96000,
"text_inputs": True,
- "image_inputs": False,
+ "image_inputs": True,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
@@ -919,27 +763,12 @@ _PROFILES: dict[str, dict[str, Any]] = {
"audio_outputs": False,
"video_outputs": False,
"reasoning_output": False,
- "tool_calling": False,
- },
- "google/gemini-3-pro-preview": {
- "max_input_tokens": 1050000,
- "max_output_tokens": 66000,
- "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,
},
- "google/gemma-3-12b-it": {
+ "google/gemma-3-27b-it:free": {
"max_input_tokens": 131072,
- "max_output_tokens": 131072,
+ "max_output_tokens": 8192,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
@@ -949,8 +778,7 @@ _PROFILES: dict[str, dict[str, Any]] = {
"audio_outputs": False,
"video_outputs": False,
"reasoning_output": False,
- "tool_calling": False,
- "structured_output": True,
+ "tool_calling": True,
},
"google/gemma-3-4b-it": {
"max_input_tokens": 96000,
@@ -966,9 +794,9 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": False,
"tool_calling": False,
},
- "google/gemma-3-27b-it": {
- "max_input_tokens": 96000,
- "max_output_tokens": 96000,
+ "google/gemma-3-4b-it:free": {
+ "max_input_tokens": 32768,
+ "max_output_tokens": 8192,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
@@ -978,30 +806,27 @@ _PROFILES: dict[str, dict[str, Any]] = {
"audio_outputs": False,
"video_outputs": False,
"reasoning_output": False,
- "tool_calling": True,
- "structured_output": True,
+ "tool_calling": False,
},
- "google/gemini-2.5-pro": {
- "max_input_tokens": 1048576,
- "max_output_tokens": 65536,
+ "google/gemma-3n-e2b-it:free": {
+ "max_input_tokens": 8192,
+ "max_output_tokens": 2000,
"text_inputs": True,
- "image_inputs": True,
- "audio_inputs": True,
- "pdf_inputs": True,
- "video_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,
+ "reasoning_output": False,
+ "tool_calling": False,
},
- "google/gemma-3-27b-it:free": {
- "max_input_tokens": 131072,
- "max_output_tokens": 8192,
+ "google/gemma-3n-e4b-it": {
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
"text_inputs": True,
- "image_inputs": True,
+ "image_inputs": False,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
@@ -1009,11 +834,11 @@ _PROFILES: dict[str, dict[str, Any]] = {
"audio_outputs": False,
"video_outputs": False,
"reasoning_output": False,
- "tool_calling": True,
+ "tool_calling": False,
},
- "z-ai/glm-5": {
- "max_input_tokens": 202752,
- "max_output_tokens": 131000,
+ "google/gemma-3n-e4b-it:free": {
+ "max_input_tokens": 8192,
+ "max_output_tokens": 2000,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -1022,13 +847,12 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": True,
- "tool_calling": True,
- "structured_output": True,
+ "reasoning_output": False,
+ "tool_calling": False,
},
- "z-ai/glm-4.5-air": {
- "max_input_tokens": 128000,
- "max_output_tokens": 96000,
+ "kwaipilot/kat-coder-pro:free": {
+ "max_input_tokens": 256000,
+ "max_output_tokens": 65536,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -1037,13 +861,13 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": True,
+ "reasoning_output": False,
"tool_calling": True,
"structured_output": True,
},
- "z-ai/glm-4.5": {
- "max_input_tokens": 128000,
- "max_output_tokens": 96000,
+ "liquid/lfm-2.5-1.2b-instruct:free": {
+ "max_input_tokens": 131072,
+ "max_output_tokens": 32768,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -1052,13 +876,12 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": True,
- "tool_calling": True,
- "structured_output": True,
+ "reasoning_output": False,
+ "tool_calling": False,
},
- "z-ai/glm-4.6:exacto": {
- "max_input_tokens": 200000,
- "max_output_tokens": 128000,
+ "liquid/lfm-2.5-1.2b-thinking:free": {
+ "max_input_tokens": 131072,
+ "max_output_tokens": 32768,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -1068,12 +891,11 @@ _PROFILES: dict[str, dict[str, Any]] = {
"audio_outputs": False,
"video_outputs": False,
"reasoning_output": True,
- "tool_calling": True,
- "structured_output": True,
+ "tool_calling": False,
},
- "z-ai/glm-4.7-flash": {
- "max_input_tokens": 200000,
- "max_output_tokens": 65535,
+ "meta-llama/llama-3.1-405b-instruct:free": {
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -1082,41 +904,40 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": True,
- "tool_calling": True,
+ "reasoning_output": False,
+ "tool_calling": False,
"structured_output": True,
},
- "z-ai/glm-4.5-air:free": {
- "max_input_tokens": 128000,
- "max_output_tokens": 96000,
+ "meta-llama/llama-3.2-11b-vision-instruct": {
+ "max_input_tokens": 131072,
+ "max_output_tokens": 8192,
"text_inputs": True,
- "image_inputs": False,
+ "image_inputs": True,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": True,
+ "reasoning_output": False,
"tool_calling": False,
},
- "z-ai/glm-4.6": {
- "max_input_tokens": 200000,
- "max_output_tokens": 128000,
+ "meta-llama/llama-3.2-3b-instruct:free": {
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
"text_inputs": True,
- "image_inputs": False,
+ "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,
+ "reasoning_output": False,
+ "tool_calling": False,
},
- "z-ai/glm-4.7": {
- "max_input_tokens": 204800,
+ "meta-llama/llama-3.3-70b-instruct:free": {
+ "max_input_tokens": 131072,
"max_output_tokens": 131072,
"text_inputs": True,
"image_inputs": False,
@@ -1126,28 +947,28 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": True,
+ "reasoning_output": False,
"tool_calling": True,
"structured_output": True,
},
- "z-ai/glm-4.5v": {
+ "meta-llama/llama-4-scout:free": {
"max_input_tokens": 64000,
- "max_output_tokens": 16384,
+ "max_output_tokens": 64000,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
- "video_inputs": True,
+ "video_inputs": False,
"text_outputs": True,
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": True,
+ "reasoning_output": False,
"tool_calling": True,
"structured_output": True,
},
- "qwen/qwen3-next-80b-a3b-thinking": {
- "max_input_tokens": 262144,
- "max_output_tokens": 262144,
+ "microsoft/mai-ds-r1:free": {
+ "max_input_tokens": 163840,
+ "max_output_tokens": 163840,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -1158,11 +979,10 @@ _PROFILES: dict[str, dict[str, Any]] = {
"video_outputs": False,
"reasoning_output": True,
"tool_calling": True,
- "structured_output": True,
},
- "qwen/qwen-2.5-vl-7b-instruct:free": {
- "max_input_tokens": 32768,
- "max_output_tokens": 32768,
+ "minimax/minimax-01": {
+ "max_input_tokens": 1000000,
+ "max_output_tokens": 1000000,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
@@ -1171,12 +991,12 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": False,
+ "reasoning_output": True,
"tool_calling": True,
},
- "qwen/qwen3-32b:free": {
- "max_input_tokens": 40960,
- "max_output_tokens": 40960,
+ "minimax/minimax-m1": {
+ "max_input_tokens": 1000000,
+ "max_output_tokens": 40000,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -1187,11 +1007,10 @@ _PROFILES: dict[str, dict[str, Any]] = {
"video_outputs": False,
"reasoning_output": True,
"tool_calling": True,
- "structured_output": True,
},
- "qwen/qwen3-coder:free": {
- "max_input_tokens": 262144,
- "max_output_tokens": 66536,
+ "minimax/minimax-m2": {
+ "max_input_tokens": 196600,
+ "max_output_tokens": 118000,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -1200,12 +1019,13 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": False,
+ "reasoning_output": True,
"tool_calling": True,
+ "structured_output": True,
},
- "qwen/qwen3-coder-flash": {
- "max_input_tokens": 128000,
- "max_output_tokens": 66536,
+ "minimax/minimax-m2.1": {
+ "max_input_tokens": 204800,
+ "max_output_tokens": 131072,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -1214,13 +1034,13 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": False,
+ "reasoning_output": True,
"tool_calling": True,
- "structured_output": False,
+ "structured_output": True,
},
- "qwen/qwen3-30b-a3b:free": {
- "max_input_tokens": 40960,
- "max_output_tokens": 40960,
+ "minimax/minimax-m2.5": {
+ "max_input_tokens": 204800,
+ "max_output_tokens": 131072,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -1233,9 +1053,9 @@ _PROFILES: dict[str, dict[str, Any]] = {
"tool_calling": True,
"structured_output": True,
},
- "qwen/qwen3-235b-a22b-07-25:free": {
- "max_input_tokens": 262144,
- "max_output_tokens": 131072,
+ "mistralai/codestral-2508": {
+ "max_input_tokens": 256000,
+ "max_output_tokens": 256000,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -1246,10 +1066,11 @@ _PROFILES: dict[str, dict[str, Any]] = {
"video_outputs": False,
"reasoning_output": False,
"tool_calling": True,
+ "structured_output": True,
},
- "qwen/qwen3-14b:free": {
- "max_input_tokens": 40960,
- "max_output_tokens": 40960,
+ "mistralai/devstral-2512": {
+ "max_input_tokens": 262144,
+ "max_output_tokens": 262144,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -1258,13 +1079,13 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": True,
+ "reasoning_output": False,
"tool_calling": True,
"structured_output": True,
},
- "qwen/qwen3-coder": {
+ "mistralai/devstral-2512:free": {
"max_input_tokens": 262144,
- "max_output_tokens": 66536,
+ "max_output_tokens": 262144,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -1275,11 +1096,10 @@ _PROFILES: dict[str, dict[str, Any]] = {
"video_outputs": False,
"reasoning_output": False,
"tool_calling": True,
- "structured_output": True,
},
- "qwen/qwq-32b:free": {
- "max_input_tokens": 32768,
- "max_output_tokens": 32768,
+ "mistralai/devstral-medium-2507": {
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -1288,27 +1108,26 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": True,
+ "reasoning_output": False,
"tool_calling": True,
"structured_output": True,
},
- "qwen/qwen3.5-397b-a17b": {
- "max_input_tokens": 262144,
- "max_output_tokens": 65536,
+ "mistralai/devstral-small-2505": {
+ "max_input_tokens": 128000,
+ "max_output_tokens": 128000,
"text_inputs": True,
- "image_inputs": True,
+ "image_inputs": False,
"audio_inputs": False,
- "video_inputs": True,
+ "video_inputs": False,
"text_outputs": True,
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": True,
+ "reasoning_output": False,
"tool_calling": True,
- "structured_output": True,
},
- "qwen/qwen3-coder:exacto": {
- "max_input_tokens": 131072,
+ "mistralai/devstral-small-2505:free": {
+ "max_input_tokens": 32768,
"max_output_tokens": 32768,
"text_inputs": True,
"image_inputs": False,
@@ -1320,11 +1139,10 @@ _PROFILES: dict[str, dict[str, Any]] = {
"video_outputs": False,
"reasoning_output": False,
"tool_calling": True,
- "structured_output": True,
},
- "qwen/qwen-2.5-coder-32b-instruct": {
- "max_input_tokens": 32768,
- "max_output_tokens": 8192,
+ "mistralai/devstral-small-2507": {
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -1334,29 +1152,28 @@ _PROFILES: dict[str, dict[str, Any]] = {
"audio_outputs": False,
"video_outputs": False,
"reasoning_output": False,
- "tool_calling": False,
+ "tool_calling": True,
"structured_output": True,
},
- "qwen/qwen3.5-plus-02-15": {
- "max_input_tokens": 1000000,
- "max_output_tokens": 65536,
+ "mistralai/mistral-7b-instruct:free": {
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
"text_inputs": True,
- "image_inputs": True,
+ "image_inputs": False,
"audio_inputs": False,
- "video_inputs": True,
+ "video_inputs": False,
"text_outputs": True,
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": True,
+ "reasoning_output": False,
"tool_calling": True,
- "structured_output": True,
},
- "qwen/qwen3-30b-a3b-instruct-2507": {
- "max_input_tokens": 262000,
- "max_output_tokens": 262000,
+ "mistralai/mistral-medium-3": {
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
"text_inputs": True,
- "image_inputs": False,
+ "image_inputs": True,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
@@ -1367,9 +1184,9 @@ _PROFILES: dict[str, dict[str, Any]] = {
"tool_calling": True,
"structured_output": True,
},
- "qwen/qwen2.5-vl-72b-instruct": {
- "max_input_tokens": 32768,
- "max_output_tokens": 8192,
+ "mistralai/mistral-medium-3.1": {
+ "max_input_tokens": 262144,
+ "max_output_tokens": 262144,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
@@ -1379,12 +1196,12 @@ _PROFILES: dict[str, dict[str, Any]] = {
"audio_outputs": False,
"video_outputs": False,
"reasoning_output": False,
- "tool_calling": False,
+ "tool_calling": True,
"structured_output": True,
},
- "qwen/qwen3-coder-30b-a3b-instruct": {
- "max_input_tokens": 160000,
- "max_output_tokens": 65536,
+ "mistralai/mistral-nemo:free": {
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -1397,11 +1214,11 @@ _PROFILES: dict[str, dict[str, Any]] = {
"tool_calling": True,
"structured_output": True,
},
- "qwen/qwen3-235b-a22b-07-25": {
- "max_input_tokens": 262144,
- "max_output_tokens": 131072,
+ "mistralai/mistral-small-3.1-24b-instruct": {
+ "max_input_tokens": 128000,
+ "max_output_tokens": 8192,
"text_inputs": True,
- "image_inputs": False,
+ "image_inputs": True,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
@@ -1412,26 +1229,26 @@ _PROFILES: dict[str, dict[str, Any]] = {
"tool_calling": True,
"structured_output": True,
},
- "qwen/qwen3-235b-a22b:free": {
- "max_input_tokens": 131072,
- "max_output_tokens": 131072,
+ "mistralai/mistral-small-3.2-24b-instruct": {
+ "max_input_tokens": 96000,
+ "max_output_tokens": 8192,
"text_inputs": True,
- "image_inputs": False,
+ "image_inputs": True,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": True,
+ "reasoning_output": False,
"tool_calling": True,
"structured_output": True,
},
- "qwen/qwen3-next-80b-a3b-instruct:free": {
- "max_input_tokens": 262144,
- "max_output_tokens": 262144,
+ "mistralai/mistral-small-3.2-24b-instruct:free": {
+ "max_input_tokens": 96000,
+ "max_output_tokens": 96000,
"text_inputs": True,
- "image_inputs": False,
+ "image_inputs": True,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
@@ -1442,9 +1259,9 @@ _PROFILES: dict[str, dict[str, Any]] = {
"tool_calling": True,
"structured_output": True,
},
- "qwen/qwen3-4b:free": {
- "max_input_tokens": 40960,
- "max_output_tokens": 40960,
+ "moonshotai/kimi-dev-72b:free": {
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -1453,13 +1270,12 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": True,
+ "reasoning_output": False,
"tool_calling": True,
- "structured_output": True,
},
- "qwen/qwen3-8b:free": {
- "max_input_tokens": 40960,
- "max_output_tokens": 40960,
+ "moonshotai/kimi-k2": {
+ "max_input_tokens": 131072,
+ "max_output_tokens": 32768,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -1468,13 +1284,12 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": True,
+ "reasoning_output": False,
"tool_calling": True,
- "structured_output": True,
},
- "qwen/qwen3-30b-a3b-thinking-2507": {
- "max_input_tokens": 262000,
- "max_output_tokens": 262000,
+ "moonshotai/kimi-k2-0905": {
+ "max_input_tokens": 262144,
+ "max_output_tokens": 16384,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -1483,17 +1298,17 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": True,
+ "reasoning_output": False,
"tool_calling": True,
"structured_output": True,
},
- "qwen/qwen2.5-vl-32b-instruct:free": {
- "max_input_tokens": 8192,
- "max_output_tokens": 8192,
+ "moonshotai/kimi-k2-0905:exacto": {
+ "max_input_tokens": 262144,
+ "max_output_tokens": 16384,
"text_inputs": True,
- "image_inputs": True,
+ "image_inputs": False,
"audio_inputs": False,
- "video_inputs": True,
+ "video_inputs": False,
"text_outputs": True,
"image_outputs": False,
"audio_outputs": False,
@@ -1502,9 +1317,9 @@ _PROFILES: dict[str, dict[str, Any]] = {
"tool_calling": True,
"structured_output": True,
},
- "qwen/qwen3-235b-a22b-thinking-2507": {
+ "moonshotai/kimi-k2-thinking": {
"max_input_tokens": 262144,
- "max_output_tokens": 81920,
+ "max_output_tokens": 262144,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -1517,26 +1332,26 @@ _PROFILES: dict[str, dict[str, Any]] = {
"tool_calling": True,
"structured_output": True,
},
- "qwen/qwen3-next-80b-a3b-instruct": {
+ "moonshotai/kimi-k2.5": {
"max_input_tokens": 262144,
"max_output_tokens": 262144,
"text_inputs": True,
- "image_inputs": False,
+ "image_inputs": True,
"audio_inputs": False,
- "video_inputs": False,
+ "video_inputs": True,
"text_outputs": True,
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": False,
+ "reasoning_output": True,
"tool_calling": True,
"structured_output": True,
},
- "qwen/qwen2.5-vl-72b-instruct:free": {
- "max_input_tokens": 32768,
- "max_output_tokens": 32768,
+ "moonshotai/kimi-k2:free": {
+ "max_input_tokens": 32800,
+ "max_output_tokens": 32800,
"text_inputs": True,
- "image_inputs": True,
+ "image_inputs": False,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
@@ -1546,9 +1361,9 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": False,
"tool_calling": True,
},
- "qwen/qwen3-max": {
- "max_input_tokens": 262144,
- "max_output_tokens": 32768,
+ "nousresearch/deephermes-3-llama-3-8b-preview": {
+ "max_input_tokens": 131072,
+ "max_output_tokens": 8192,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -1560,9 +1375,9 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": True,
"tool_calling": True,
},
- "x-ai/grok-3": {
+ "nousresearch/hermes-3-llama-3.1-405b:free": {
"max_input_tokens": 131072,
- "max_output_tokens": 8192,
+ "max_output_tokens": 131072,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -1571,13 +1386,12 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": False,
- "tool_calling": True,
- "structured_output": True,
+ "reasoning_output": True,
+ "tool_calling": False,
},
- "x-ai/grok-code-fast-1": {
- "max_input_tokens": 256000,
- "max_output_tokens": 10000,
+ "nousresearch/hermes-4-405b": {
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -1588,13 +1402,12 @@ _PROFILES: dict[str, dict[str, Any]] = {
"video_outputs": False,
"reasoning_output": True,
"tool_calling": True,
- "structured_output": True,
},
- "x-ai/grok-4-fast": {
- "max_input_tokens": 2000000,
- "max_output_tokens": 30000,
+ "nousresearch/hermes-4-70b": {
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
"text_inputs": True,
- "image_inputs": True,
+ "image_inputs": False,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
@@ -1605,9 +1418,9 @@ _PROFILES: dict[str, dict[str, Any]] = {
"tool_calling": True,
"structured_output": True,
},
- "x-ai/grok-4": {
+ "nvidia/nemotron-3-nano-30b-a3b:free": {
"max_input_tokens": 256000,
- "max_output_tokens": 64000,
+ "max_output_tokens": 256000,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -1620,9 +1433,9 @@ _PROFILES: dict[str, dict[str, Any]] = {
"tool_calling": True,
"structured_output": True,
},
- "x-ai/grok-4.1-fast": {
- "max_input_tokens": 2000000,
- "max_output_tokens": 30000,
+ "nvidia/nemotron-nano-12b-v2-vl:free": {
+ "max_input_tokens": 128000,
+ "max_output_tokens": 128000,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
@@ -1633,11 +1446,10 @@ _PROFILES: dict[str, dict[str, Any]] = {
"video_outputs": False,
"reasoning_output": True,
"tool_calling": True,
- "structured_output": True,
},
- "x-ai/grok-3-mini-beta": {
+ "nvidia/nemotron-nano-9b-v2": {
"max_input_tokens": 131072,
- "max_output_tokens": 8192,
+ "max_output_tokens": 131072,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -1649,9 +1461,9 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": True,
"tool_calling": True,
},
- "x-ai/grok-3-mini": {
- "max_input_tokens": 131072,
- "max_output_tokens": 8192,
+ "nvidia/nemotron-nano-9b-v2:free": {
+ "max_input_tokens": 128000,
+ "max_output_tokens": 128000,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -1664,11 +1476,11 @@ _PROFILES: dict[str, dict[str, Any]] = {
"tool_calling": True,
"structured_output": True,
},
- "x-ai/grok-3-beta": {
- "max_input_tokens": 131072,
- "max_output_tokens": 8192,
+ "openai/gpt-4.1": {
+ "max_input_tokens": 1047576,
+ "max_output_tokens": 32768,
"text_inputs": True,
- "image_inputs": False,
+ "image_inputs": True,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
@@ -1677,12 +1489,13 @@ _PROFILES: dict[str, dict[str, Any]] = {
"video_outputs": False,
"reasoning_output": False,
"tool_calling": True,
+ "structured_output": True,
},
- "meta-llama/llama-3.3-70b-instruct:free": {
- "max_input_tokens": 131072,
- "max_output_tokens": 131072,
+ "openai/gpt-4.1-mini": {
+ "max_input_tokens": 1047576,
+ "max_output_tokens": 32768,
"text_inputs": True,
- "image_inputs": False,
+ "image_inputs": True,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
@@ -1693,9 +1506,9 @@ _PROFILES: dict[str, dict[str, Any]] = {
"tool_calling": True,
"structured_output": True,
},
- "meta-llama/llama-4-scout:free": {
- "max_input_tokens": 64000,
- "max_output_tokens": 64000,
+ "openai/gpt-4o-mini": {
+ "max_input_tokens": 128000,
+ "max_output_tokens": 16384,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
@@ -1708,9 +1521,9 @@ _PROFILES: dict[str, dict[str, Any]] = {
"tool_calling": True,
"structured_output": True,
},
- "meta-llama/llama-3.2-11b-vision-instruct": {
- "max_input_tokens": 131072,
- "max_output_tokens": 8192,
+ "openai/gpt-5": {
+ "max_input_tokens": 400000,
+ "max_output_tokens": 128000,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
@@ -1719,12 +1532,13 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": False,
- "tool_calling": False,
+ "reasoning_output": True,
+ "tool_calling": True,
+ "structured_output": True,
},
- "meta-llama/llama-3.2-3b-instruct:free": {
- "max_input_tokens": 131072,
- "max_output_tokens": 131072,
+ "openai/gpt-5-chat": {
+ "max_input_tokens": 400000,
+ "max_output_tokens": 128000,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
@@ -1733,44 +1547,46 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": False,
+ "reasoning_output": True,
"tool_calling": False,
+ "structured_output": True,
},
- "meta-llama/llama-3.1-405b-instruct:free": {
- "max_input_tokens": 131072,
- "max_output_tokens": 131072,
+ "openai/gpt-5-codex": {
+ "max_input_tokens": 400000,
+ "max_output_tokens": 128000,
"text_inputs": True,
- "image_inputs": False,
+ "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": False,
+ "reasoning_output": True,
+ "tool_calling": True,
"structured_output": True,
},
- "tngtech/tng-r1t-chimera:free": {
- "max_input_tokens": 163840,
- "max_output_tokens": 163840,
+ "openai/gpt-5-image": {
+ "max_input_tokens": 400000,
+ "max_output_tokens": 128000,
"text_inputs": True,
- "image_inputs": False,
+ "image_inputs": True,
"audio_inputs": False,
+ "pdf_inputs": True,
"video_inputs": False,
"text_outputs": True,
- "image_outputs": False,
+ "image_outputs": True,
"audio_outputs": False,
"video_outputs": False,
"reasoning_output": True,
"tool_calling": True,
"structured_output": True,
},
- "tngtech/deepseek-r1t2-chimera:free": {
- "max_input_tokens": 163840,
- "max_output_tokens": 163840,
+ "openai/gpt-5-mini": {
+ "max_input_tokens": 400000,
+ "max_output_tokens": 128000,
"text_inputs": True,
- "image_inputs": False,
+ "image_inputs": True,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
@@ -1778,41 +1594,42 @@ _PROFILES: dict[str, dict[str, Any]] = {
"audio_outputs": False,
"video_outputs": False,
"reasoning_output": True,
- "tool_calling": False,
+ "tool_calling": True,
"structured_output": True,
},
- "mistralai/devstral-medium-2507": {
- "max_input_tokens": 131072,
- "max_output_tokens": 131072,
+ "openai/gpt-5-nano": {
+ "max_input_tokens": 400000,
+ "max_output_tokens": 128000,
"text_inputs": True,
- "image_inputs": False,
+ "image_inputs": True,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": False,
+ "reasoning_output": True,
"tool_calling": True,
"structured_output": True,
},
- "mistralai/devstral-small-2505:free": {
- "max_input_tokens": 32768,
- "max_output_tokens": 32768,
+ "openai/gpt-5-pro": {
+ "max_input_tokens": 400000,
+ "max_output_tokens": 272000,
"text_inputs": True,
- "image_inputs": False,
+ "image_inputs": True,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": False,
+ "reasoning_output": True,
"tool_calling": True,
+ "structured_output": True,
},
- "mistralai/mistral-medium-3": {
- "max_input_tokens": 131072,
- "max_output_tokens": 131072,
+ "openai/gpt-5.1": {
+ "max_input_tokens": 400000,
+ "max_output_tokens": 128000,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
@@ -1821,42 +1638,43 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": False,
+ "reasoning_output": True,
"tool_calling": True,
"structured_output": True,
},
- "mistralai/codestral-2508": {
- "max_input_tokens": 256000,
- "max_output_tokens": 256000,
+ "openai/gpt-5.1-chat": {
+ "max_input_tokens": 128000,
+ "max_output_tokens": 16384,
"text_inputs": True,
- "image_inputs": False,
+ "image_inputs": True,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": False,
+ "reasoning_output": True,
"tool_calling": True,
"structured_output": True,
},
- "mistralai/devstral-2512:free": {
- "max_input_tokens": 262144,
- "max_output_tokens": 262144,
+ "openai/gpt-5.1-codex": {
+ "max_input_tokens": 400000,
+ "max_output_tokens": 128000,
"text_inputs": True,
- "image_inputs": False,
+ "image_inputs": True,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": False,
+ "reasoning_output": True,
"tool_calling": True,
+ "structured_output": True,
},
- "mistralai/mistral-small-3.1-24b-instruct": {
- "max_input_tokens": 128000,
- "max_output_tokens": 8192,
+ "openai/gpt-5.1-codex-max": {
+ "max_input_tokens": 400000,
+ "max_output_tokens": 128000,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
@@ -1865,56 +1683,58 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": False,
+ "reasoning_output": True,
"tool_calling": True,
"structured_output": True,
},
- "mistralai/devstral-small-2505": {
- "max_input_tokens": 128000,
- "max_output_tokens": 128000,
+ "openai/gpt-5.1-codex-mini": {
+ "max_input_tokens": 400000,
+ "max_output_tokens": 100000,
"text_inputs": True,
- "image_inputs": False,
+ "image_inputs": True,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": False,
+ "reasoning_output": True,
"tool_calling": True,
+ "structured_output": True,
},
- "mistralai/mistral-7b-instruct:free": {
- "max_input_tokens": 32768,
- "max_output_tokens": 32768,
+ "openai/gpt-5.2": {
+ "max_input_tokens": 400000,
+ "max_output_tokens": 128000,
"text_inputs": True,
- "image_inputs": False,
+ "image_inputs": True,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": False,
+ "reasoning_output": True,
"tool_calling": True,
+ "structured_output": True,
},
- "mistralai/devstral-2512": {
- "max_input_tokens": 262144,
- "max_output_tokens": 262144,
+ "openai/gpt-5.2-chat": {
+ "max_input_tokens": 128000,
+ "max_output_tokens": 16384,
"text_inputs": True,
- "image_inputs": False,
+ "image_inputs": True,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": False,
+ "reasoning_output": True,
"tool_calling": True,
"structured_output": True,
},
- "mistralai/mistral-small-3.2-24b-instruct": {
- "max_input_tokens": 96000,
- "max_output_tokens": 8192,
+ "openai/gpt-5.2-codex": {
+ "max_input_tokens": 400000,
+ "max_output_tokens": 128000,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
@@ -1923,13 +1743,13 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": False,
+ "reasoning_output": True,
"tool_calling": True,
"structured_output": True,
},
- "mistralai/mistral-small-3.2-24b-instruct:free": {
- "max_input_tokens": 96000,
- "max_output_tokens": 96000,
+ "openai/gpt-5.2-pro": {
+ "max_input_tokens": 400000,
+ "max_output_tokens": 128000,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
@@ -1938,13 +1758,13 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": False,
+ "reasoning_output": True,
"tool_calling": True,
"structured_output": True,
},
- "mistralai/devstral-small-2507": {
+ "openai/gpt-oss-120b": {
"max_input_tokens": 131072,
- "max_output_tokens": 131072,
+ "max_output_tokens": 32768,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -1953,13 +1773,13 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": False,
+ "reasoning_output": True,
"tool_calling": True,
"structured_output": True,
},
- "mistralai/mistral-nemo:free": {
+ "openai/gpt-oss-120b:exacto": {
"max_input_tokens": 131072,
- "max_output_tokens": 131072,
+ "max_output_tokens": 32768,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -1968,30 +1788,29 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": False,
+ "reasoning_output": True,
"tool_calling": True,
"structured_output": True,
},
- "mistralai/mistral-medium-3.1": {
- "max_input_tokens": 262144,
- "max_output_tokens": 262144,
+ "openai/gpt-oss-120b:free": {
+ "max_input_tokens": 131072,
+ "max_output_tokens": 32768,
"text_inputs": True,
- "image_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,
+ "reasoning_output": True,
"tool_calling": True,
- "structured_output": True,
},
- "openai/gpt-5-codex": {
- "max_input_tokens": 400000,
- "max_output_tokens": 128000,
+ "openai/gpt-oss-20b": {
+ "max_input_tokens": 131072,
+ "max_output_tokens": 32768,
"text_inputs": True,
- "image_inputs": True,
+ "image_inputs": False,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
@@ -2002,11 +1821,11 @@ _PROFILES: dict[str, dict[str, Any]] = {
"tool_calling": True,
"structured_output": True,
},
- "openai/gpt-5-pro": {
- "max_input_tokens": 400000,
- "max_output_tokens": 272000,
+ "openai/gpt-oss-20b:free": {
+ "max_input_tokens": 131072,
+ "max_output_tokens": 32768,
"text_inputs": True,
- "image_inputs": True,
+ "image_inputs": False,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
@@ -2015,26 +1834,24 @@ _PROFILES: dict[str, dict[str, Any]] = {
"video_outputs": False,
"reasoning_output": True,
"tool_calling": True,
- "structured_output": True,
},
- "openai/gpt-4o-mini": {
- "max_input_tokens": 128000,
- "max_output_tokens": 16384,
+ "openai/gpt-oss-safeguard-20b": {
+ "max_input_tokens": 131072,
+ "max_output_tokens": 65536,
"text_inputs": True,
- "image_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,
+ "reasoning_output": True,
"tool_calling": True,
- "structured_output": True,
},
- "openai/gpt-5.1-codex-max": {
- "max_input_tokens": 400000,
- "max_output_tokens": 128000,
+ "openai/o4-mini": {
+ "max_input_tokens": 200000,
+ "max_output_tokens": 100000,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
@@ -2047,11 +1864,11 @@ _PROFILES: dict[str, dict[str, Any]] = {
"tool_calling": True,
"structured_output": True,
},
- "openai/gpt-5.2-codex": {
- "max_input_tokens": 400000,
- "max_output_tokens": 128000,
+ "openrouter/aurora-alpha": {
+ "max_input_tokens": 128000,
+ "max_output_tokens": 50000,
"text_inputs": True,
- "image_inputs": True,
+ "image_inputs": False,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
@@ -2062,24 +1879,23 @@ _PROFILES: dict[str, dict[str, Any]] = {
"tool_calling": True,
"structured_output": True,
},
- "openai/gpt-oss-120b:exacto": {
- "max_input_tokens": 131072,
- "max_output_tokens": 32768,
+ "openrouter/sherlock-dash-alpha": {
+ "max_input_tokens": 1840000,
+ "max_output_tokens": 0,
"text_inputs": True,
- "image_inputs": False,
+ "image_inputs": True,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": True,
+ "reasoning_output": False,
"tool_calling": True,
- "structured_output": True,
},
- "openai/gpt-5.1": {
- "max_input_tokens": 400000,
- "max_output_tokens": 128000,
+ "openrouter/sherlock-think-alpha": {
+ "max_input_tokens": 1840000,
+ "max_output_tokens": 0,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
@@ -2090,13 +1906,12 @@ _PROFILES: dict[str, dict[str, Any]] = {
"video_outputs": False,
"reasoning_output": True,
"tool_calling": True,
- "structured_output": True,
},
- "openai/gpt-5.2-chat": {
- "max_input_tokens": 128000,
- "max_output_tokens": 16384,
+ "prime-intellect/intellect-3": {
+ "max_input_tokens": 131072,
+ "max_output_tokens": 8192,
"text_inputs": True,
- "image_inputs": True,
+ "image_inputs": False,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
@@ -2107,24 +1922,24 @@ _PROFILES: dict[str, dict[str, Any]] = {
"tool_calling": True,
"structured_output": True,
},
- "openai/gpt-5-chat": {
- "max_input_tokens": 400000,
- "max_output_tokens": 128000,
+ "qwen/qwen-2.5-coder-32b-instruct": {
+ "max_input_tokens": 32768,
+ "max_output_tokens": 8192,
"text_inputs": True,
- "image_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,
+ "reasoning_output": False,
"tool_calling": False,
"structured_output": True,
},
- "openai/gpt-5.1-chat": {
- "max_input_tokens": 128000,
- "max_output_tokens": 16384,
+ "qwen/qwen-2.5-vl-7b-instruct:free": {
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
@@ -2133,44 +1948,42 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": True,
+ "reasoning_output": False,
"tool_calling": True,
- "structured_output": True,
},
- "openai/gpt-5-image": {
- "max_input_tokens": 400000,
- "max_output_tokens": 128000,
+ "qwen/qwen2.5-vl-32b-instruct:free": {
+ "max_input_tokens": 8192,
+ "max_output_tokens": 8192,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
- "pdf_inputs": True,
- "video_inputs": False,
+ "video_inputs": True,
"text_outputs": True,
- "image_outputs": True,
+ "image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": True,
+ "reasoning_output": False,
"tool_calling": True,
"structured_output": True,
},
- "openai/gpt-oss-120b": {
- "max_input_tokens": 131072,
- "max_output_tokens": 32768,
+ "qwen/qwen2.5-vl-72b-instruct": {
+ "max_input_tokens": 32768,
+ "max_output_tokens": 8192,
"text_inputs": True,
- "image_inputs": False,
+ "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,
+ "reasoning_output": False,
+ "tool_calling": False,
"structured_output": True,
},
- "openai/gpt-5.1-codex-mini": {
- "max_input_tokens": 400000,
- "max_output_tokens": 100000,
+ "qwen/qwen2.5-vl-72b-instruct:free": {
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
@@ -2179,15 +1992,14 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": True,
+ "reasoning_output": False,
"tool_calling": True,
- "structured_output": True,
},
- "openai/gpt-5.2": {
- "max_input_tokens": 400000,
- "max_output_tokens": 128000,
+ "qwen/qwen3-14b:free": {
+ "max_input_tokens": 40960,
+ "max_output_tokens": 40960,
"text_inputs": True,
- "image_inputs": True,
+ "image_inputs": False,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
@@ -2198,9 +2010,9 @@ _PROFILES: dict[str, dict[str, Any]] = {
"tool_calling": True,
"structured_output": True,
},
- "openai/gpt-oss-20b:free": {
- "max_input_tokens": 131072,
- "max_output_tokens": 32768,
+ "qwen/qwen3-235b-a22b-07-25": {
+ "max_input_tokens": 262144,
+ "max_output_tokens": 131072,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -2209,14 +2021,15 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": True,
+ "reasoning_output": False,
"tool_calling": True,
+ "structured_output": True,
},
- "openai/gpt-4.1": {
- "max_input_tokens": 1047576,
- "max_output_tokens": 32768,
+ "qwen/qwen3-235b-a22b-07-25:free": {
+ "max_input_tokens": 262144,
+ "max_output_tokens": 131072,
"text_inputs": True,
- "image_inputs": True,
+ "image_inputs": False,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
@@ -2225,13 +2038,12 @@ _PROFILES: dict[str, dict[str, Any]] = {
"video_outputs": False,
"reasoning_output": False,
"tool_calling": True,
- "structured_output": True,
},
- "openai/gpt-5": {
- "max_input_tokens": 400000,
- "max_output_tokens": 128000,
- "text_inputs": True,
- "image_inputs": True,
+ "qwen/qwen3-235b-a22b-thinking-2507": {
+ "max_input_tokens": 262144,
+ "max_output_tokens": 81920,
+ "text_inputs": True,
+ "image_inputs": False,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
@@ -2242,11 +2054,11 @@ _PROFILES: dict[str, dict[str, Any]] = {
"tool_calling": True,
"structured_output": True,
},
- "openai/o4-mini": {
- "max_input_tokens": 200000,
- "max_output_tokens": 100000,
+ "qwen/qwen3-235b-a22b:free": {
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
"text_inputs": True,
- "image_inputs": True,
+ "image_inputs": False,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
@@ -2257,11 +2069,11 @@ _PROFILES: dict[str, dict[str, Any]] = {
"tool_calling": True,
"structured_output": True,
},
- "openai/gpt-4.1-mini": {
- "max_input_tokens": 1047576,
- "max_output_tokens": 32768,
+ "qwen/qwen3-30b-a3b-instruct-2507": {
+ "max_input_tokens": 262000,
+ "max_output_tokens": 262000,
"text_inputs": True,
- "image_inputs": True,
+ "image_inputs": False,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
@@ -2272,9 +2084,9 @@ _PROFILES: dict[str, dict[str, Any]] = {
"tool_calling": True,
"structured_output": True,
},
- "openai/gpt-oss-safeguard-20b": {
- "max_input_tokens": 131072,
- "max_output_tokens": 65536,
+ "qwen/qwen3-30b-a3b-thinking-2507": {
+ "max_input_tokens": 262000,
+ "max_output_tokens": 262000,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -2285,12 +2097,13 @@ _PROFILES: dict[str, dict[str, Any]] = {
"video_outputs": False,
"reasoning_output": True,
"tool_calling": True,
+ "structured_output": True,
},
- "openai/gpt-5.1-codex": {
- "max_input_tokens": 400000,
- "max_output_tokens": 128000,
+ "qwen/qwen3-30b-a3b:free": {
+ "max_input_tokens": 40960,
+ "max_output_tokens": 40960,
"text_inputs": True,
- "image_inputs": True,
+ "image_inputs": False,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
@@ -2301,11 +2114,11 @@ _PROFILES: dict[str, dict[str, Any]] = {
"tool_calling": True,
"structured_output": True,
},
- "openai/gpt-5.2-pro": {
- "max_input_tokens": 400000,
- "max_output_tokens": 128000,
+ "qwen/qwen3-32b:free": {
+ "max_input_tokens": 40960,
+ "max_output_tokens": 40960,
"text_inputs": True,
- "image_inputs": True,
+ "image_inputs": False,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
@@ -2316,11 +2129,11 @@ _PROFILES: dict[str, dict[str, Any]] = {
"tool_calling": True,
"structured_output": True,
},
- "openai/gpt-5-mini": {
- "max_input_tokens": 400000,
- "max_output_tokens": 128000,
+ "qwen/qwen3-4b:free": {
+ "max_input_tokens": 40960,
+ "max_output_tokens": 40960,
"text_inputs": True,
- "image_inputs": True,
+ "image_inputs": False,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
@@ -2331,9 +2144,9 @@ _PROFILES: dict[str, dict[str, Any]] = {
"tool_calling": True,
"structured_output": True,
},
- "openai/gpt-oss-20b": {
- "max_input_tokens": 131072,
- "max_output_tokens": 32768,
+ "qwen/qwen3-8b:free": {
+ "max_input_tokens": 40960,
+ "max_output_tokens": 40960,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -2346,7 +2159,52 @@ _PROFILES: dict[str, dict[str, Any]] = {
"tool_calling": True,
"structured_output": True,
},
- "openai/gpt-oss-120b:free": {
+ "qwen/qwen3-coder": {
+ "max_input_tokens": 262144,
+ "max_output_tokens": 66536,
+ "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,
+ },
+ "qwen/qwen3-coder-30b-a3b-instruct": {
+ "max_input_tokens": 160000,
+ "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": False,
+ "tool_calling": True,
+ "structured_output": True,
+ },
+ "qwen/qwen3-coder-flash": {
+ "max_input_tokens": 128000,
+ "max_output_tokens": 66536,
+ "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": False,
+ },
+ "qwen/qwen3-coder:exacto": {
"max_input_tokens": 131072,
"max_output_tokens": 32768,
"text_inputs": True,
@@ -2357,14 +2215,29 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": True,
+ "reasoning_output": False,
"tool_calling": True,
+ "structured_output": True,
},
- "openai/gpt-5-nano": {
- "max_input_tokens": 400000,
- "max_output_tokens": 128000,
+ "qwen/qwen3-coder:free": {
+ "max_input_tokens": 262144,
+ "max_output_tokens": 66536,
"text_inputs": True,
- "image_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,
+ },
+ "qwen/qwen3-max": {
+ "max_input_tokens": 262144,
+ "max_output_tokens": 32768,
+ "text_inputs": True,
+ "image_inputs": False,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
@@ -2373,11 +2246,40 @@ _PROFILES: dict[str, dict[str, Any]] = {
"video_outputs": False,
"reasoning_output": True,
"tool_calling": True,
+ },
+ "qwen/qwen3-next-80b-a3b-instruct": {
+ "max_input_tokens": 262144,
+ "max_output_tokens": 262144,
+ "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,
},
- "minimax/minimax-m1": {
- "max_input_tokens": 1000000,
- "max_output_tokens": 40000,
+ "qwen/qwen3-next-80b-a3b-instruct:free": {
+ "max_input_tokens": 262144,
+ "max_output_tokens": 262144,
+ "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,
+ },
+ "qwen/qwen3-next-80b-a3b-thinking": {
+ "max_input_tokens": 262144,
+ "max_output_tokens": 262144,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -2388,24 +2290,41 @@ _PROFILES: dict[str, dict[str, Any]] = {
"video_outputs": False,
"reasoning_output": True,
"tool_calling": True,
+ "structured_output": True,
},
- "minimax/minimax-01": {
+ "qwen/qwen3.5-397b-a17b": {
+ "max_input_tokens": 262144,
+ "max_output_tokens": 65536,
+ "text_inputs": True,
+ "image_inputs": True,
+ "audio_inputs": False,
+ "video_inputs": True,
+ "text_outputs": True,
+ "image_outputs": False,
+ "audio_outputs": False,
+ "video_outputs": False,
+ "reasoning_output": True,
+ "tool_calling": True,
+ "structured_output": True,
+ },
+ "qwen/qwen3.5-plus-02-15": {
"max_input_tokens": 1000000,
- "max_output_tokens": 1000000,
+ "max_output_tokens": 65536,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
- "video_inputs": False,
+ "video_inputs": True,
"text_outputs": True,
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
"reasoning_output": True,
"tool_calling": True,
+ "structured_output": True,
},
- "minimax/minimax-m2.1": {
- "max_input_tokens": 204800,
- "max_output_tokens": 131072,
+ "qwen/qwq-32b:free": {
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -2418,9 +2337,9 @@ _PROFILES: dict[str, dict[str, Any]] = {
"tool_calling": True,
"structured_output": True,
},
- "minimax/minimax-m2": {
- "max_input_tokens": 196600,
- "max_output_tokens": 118000,
+ "rekaai/reka-flash-3": {
+ "max_input_tokens": 32768,
+ "max_output_tokens": 8192,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -2431,11 +2350,10 @@ _PROFILES: dict[str, dict[str, Any]] = {
"video_outputs": False,
"reasoning_output": True,
"tool_calling": True,
- "structured_output": True,
},
- "minimax/minimax-m2.5": {
- "max_input_tokens": 204800,
- "max_output_tokens": 131072,
+ "sarvamai/sarvam-m:free": {
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -2446,29 +2364,55 @@ _PROFILES: dict[str, dict[str, Any]] = {
"video_outputs": False,
"reasoning_output": True,
"tool_calling": True,
- "structured_output": True,
},
- "bytedance-seed/seedream-4.5": {
- "max_input_tokens": 4096,
- "max_output_tokens": 4096,
+ "sourceful/riverflow-v2-fast-preview": {
+ "max_input_tokens": 8192,
+ "max_output_tokens": 8192,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
"video_inputs": False,
- "text_outputs": True,
+ "text_outputs": False,
"image_outputs": True,
"audio_outputs": False,
"video_outputs": False,
"reasoning_output": False,
"tool_calling": False,
},
- "anthropic/claude-3.7-sonnet": {
- "max_input_tokens": 200000,
- "max_output_tokens": 128000,
+ "sourceful/riverflow-v2-max-preview": {
+ "max_input_tokens": 8192,
+ "max_output_tokens": 8192,
+ "text_inputs": True,
+ "image_inputs": True,
+ "audio_inputs": False,
+ "video_inputs": False,
+ "text_outputs": False,
+ "image_outputs": True,
+ "audio_outputs": False,
+ "video_outputs": False,
+ "reasoning_output": False,
+ "tool_calling": False,
+ },
+ "sourceful/riverflow-v2-standard-preview": {
+ "max_input_tokens": 8192,
+ "max_output_tokens": 8192,
"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,
+ },
+ "stepfun/step-3.5-flash": {
+ "max_input_tokens": 256000,
+ "max_output_tokens": 256000,
+ "text_inputs": True,
+ "image_inputs": False,
+ "audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
"image_outputs": False,
@@ -2477,13 +2421,26 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": True,
"tool_calling": True,
},
- "anthropic/claude-opus-4.1": {
- "max_input_tokens": 200000,
- "max_output_tokens": 32000,
+ "stepfun/step-3.5-flash:free": {
+ "max_input_tokens": 256000,
+ "max_output_tokens": 256000,
"text_inputs": True,
- "image_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,
+ },
+ "thudm/glm-z1-32b:free": {
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
+ "text_inputs": True,
+ "image_inputs": False,
"audio_inputs": False,
- "pdf_inputs": True,
"video_inputs": False,
"text_outputs": True,
"image_outputs": False,
@@ -2491,15 +2448,28 @@ _PROFILES: dict[str, dict[str, Any]] = {
"video_outputs": False,
"reasoning_output": True,
"tool_calling": True,
+ },
+ "tngtech/deepseek-r1t2-chimera:free": {
+ "max_input_tokens": 163840,
+ "max_output_tokens": 163840,
+ "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": False,
"structured_output": True,
},
- "anthropic/claude-haiku-4.5": {
- "max_input_tokens": 200000,
- "max_output_tokens": 64000,
+ "tngtech/tng-r1t-chimera:free": {
+ "max_input_tokens": 163840,
+ "max_output_tokens": 163840,
"text_inputs": True,
- "image_inputs": True,
+ "image_inputs": False,
"audio_inputs": False,
- "pdf_inputs": True,
"video_inputs": False,
"text_outputs": True,
"image_outputs": False,
@@ -2509,13 +2479,12 @@ _PROFILES: dict[str, dict[str, Any]] = {
"tool_calling": True,
"structured_output": True,
},
- "anthropic/claude-3.5-haiku": {
- "max_input_tokens": 200000,
+ "x-ai/grok-3": {
+ "max_input_tokens": 131072,
"max_output_tokens": 8192,
"text_inputs": True,
- "image_inputs": True,
+ "image_inputs": False,
"audio_inputs": False,
- "pdf_inputs": True,
"video_inputs": False,
"text_outputs": True,
"image_outputs": False,
@@ -2523,14 +2492,28 @@ _PROFILES: dict[str, dict[str, Any]] = {
"video_outputs": False,
"reasoning_output": False,
"tool_calling": True,
+ "structured_output": True,
},
- "anthropic/claude-opus-4.5": {
- "max_input_tokens": 200000,
- "max_output_tokens": 32000,
+ "x-ai/grok-3-beta": {
+ "max_input_tokens": 131072,
+ "max_output_tokens": 8192,
"text_inputs": True,
- "image_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,
+ },
+ "x-ai/grok-3-mini": {
+ "max_input_tokens": 131072,
+ "max_output_tokens": 8192,
+ "text_inputs": True,
+ "image_inputs": False,
"audio_inputs": False,
- "pdf_inputs": True,
"video_inputs": False,
"text_outputs": True,
"image_outputs": False,
@@ -2540,13 +2523,12 @@ _PROFILES: dict[str, dict[str, Any]] = {
"tool_calling": True,
"structured_output": True,
},
- "anthropic/claude-opus-4": {
- "max_input_tokens": 200000,
- "max_output_tokens": 32000,
+ "x-ai/grok-3-mini-beta": {
+ "max_input_tokens": 131072,
+ "max_output_tokens": 8192,
"text_inputs": True,
- "image_inputs": True,
+ "image_inputs": False,
"audio_inputs": False,
- "pdf_inputs": True,
"video_inputs": False,
"text_outputs": True,
"image_outputs": False,
@@ -2555,13 +2537,12 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": True,
"tool_calling": True,
},
- "anthropic/claude-sonnet-4": {
- "max_input_tokens": 200000,
+ "x-ai/grok-4": {
+ "max_input_tokens": 256000,
"max_output_tokens": 64000,
"text_inputs": True,
- "image_inputs": True,
+ "image_inputs": False,
"audio_inputs": False,
- "pdf_inputs": True,
"video_inputs": False,
"text_outputs": True,
"image_outputs": False,
@@ -2569,14 +2550,14 @@ _PROFILES: dict[str, dict[str, Any]] = {
"video_outputs": False,
"reasoning_output": True,
"tool_calling": True,
+ "structured_output": True,
},
- "anthropic/claude-sonnet-4.5": {
- "max_input_tokens": 1000000,
- "max_output_tokens": 64000,
+ "x-ai/grok-4-fast": {
+ "max_input_tokens": 2000000,
+ "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,
@@ -2586,13 +2567,12 @@ _PROFILES: dict[str, dict[str, Any]] = {
"tool_calling": True,
"structured_output": True,
},
- "anthropic/claude-opus-4.6": {
- "max_input_tokens": 1000000,
- "max_output_tokens": 128000,
+ "x-ai/grok-4.1-fast": {
+ "max_input_tokens": 2000000,
+ "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,
@@ -2602,65 +2582,113 @@ _PROFILES: dict[str, dict[str, Any]] = {
"tool_calling": True,
"structured_output": True,
},
- "black-forest-labs/flux.2-pro": {
- "max_input_tokens": 46864,
- "max_output_tokens": 46864,
+ "x-ai/grok-code-fast-1": {
+ "max_input_tokens": 256000,
+ "max_output_tokens": 10000,
"text_inputs": True,
- "image_inputs": True,
+ "image_inputs": False,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
- "image_outputs": True,
+ "image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": False,
- "tool_calling": False,
+ "reasoning_output": True,
+ "tool_calling": True,
+ "structured_output": True,
},
- "black-forest-labs/flux.2-flex": {
- "max_input_tokens": 67344,
- "max_output_tokens": 67344,
+ "xiaomi/mimo-v2-flash": {
+ "max_input_tokens": 262144,
+ "max_output_tokens": 65536,
"text_inputs": True,
- "image_inputs": True,
+ "image_inputs": False,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
- "image_outputs": True,
+ "image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": False,
- "tool_calling": False,
+ "reasoning_output": True,
+ "tool_calling": True,
+ "structured_output": True,
},
- "black-forest-labs/flux.2-max": {
- "max_input_tokens": 46864,
- "max_output_tokens": 46864,
+ "z-ai/glm-4.5": {
+ "max_input_tokens": 128000,
+ "max_output_tokens": 96000,
"text_inputs": True,
- "image_inputs": True,
+ "image_inputs": False,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
- "image_outputs": True,
+ "image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": False,
+ "reasoning_output": True,
+ "tool_calling": True,
+ "structured_output": True,
+ },
+ "z-ai/glm-4.5-air": {
+ "max_input_tokens": 128000,
+ "max_output_tokens": 96000,
+ "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,
+ },
+ "z-ai/glm-4.5-air:free": {
+ "max_input_tokens": 128000,
+ "max_output_tokens": 96000,
+ "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": False,
},
- "black-forest-labs/flux.2-klein-4b": {
- "max_input_tokens": 40960,
- "max_output_tokens": 40960,
+ "z-ai/glm-4.5v": {
+ "max_input_tokens": 64000,
+ "max_output_tokens": 16384,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
+ "video_inputs": True,
+ "text_outputs": True,
+ "image_outputs": False,
+ "audio_outputs": False,
+ "video_outputs": False,
+ "reasoning_output": True,
+ "tool_calling": True,
+ "structured_output": True,
+ },
+ "z-ai/glm-4.6": {
+ "max_input_tokens": 200000,
+ "max_output_tokens": 128000,
+ "text_inputs": True,
+ "image_inputs": False,
+ "audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
- "image_outputs": True,
+ "image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": False,
- "tool_calling": False,
+ "reasoning_output": True,
+ "tool_calling": True,
+ "structured_output": True,
},
- "nousresearch/hermes-4-405b": {
- "max_input_tokens": 131072,
- "max_output_tokens": 131072,
+ "z-ai/glm-4.6:exacto": {
+ "max_input_tokens": 200000,
+ "max_output_tokens": 128000,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -2671,9 +2699,10 @@ _PROFILES: dict[str, dict[str, Any]] = {
"video_outputs": False,
"reasoning_output": True,
"tool_calling": True,
+ "structured_output": True,
},
- "nousresearch/hermes-4-70b": {
- "max_input_tokens": 131072,
+ "z-ai/glm-4.7": {
+ "max_input_tokens": 204800,
"max_output_tokens": 131072,
"text_inputs": True,
"image_inputs": False,
@@ -2687,9 +2716,9 @@ _PROFILES: dict[str, dict[str, Any]] = {
"tool_calling": True,
"structured_output": True,
},
- "nousresearch/deephermes-3-llama-3-8b-preview": {
- "max_input_tokens": 131072,
- "max_output_tokens": 8192,
+ "z-ai/glm-4.7-flash": {
+ "max_input_tokens": 200000,
+ "max_output_tokens": 65535,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -2700,10 +2729,11 @@ _PROFILES: dict[str, dict[str, Any]] = {
"video_outputs": False,
"reasoning_output": True,
"tool_calling": True,
+ "structured_output": True,
},
- "nousresearch/hermes-3-llama-3.1-405b:free": {
- "max_input_tokens": 131072,
- "max_output_tokens": 131072,
+ "z-ai/glm-5": {
+ "max_input_tokens": 202752,
+ "max_output_tokens": 131000,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -2713,6 +2743,7 @@ _PROFILES: dict[str, dict[str, Any]] = {
"audio_outputs": False,
"video_outputs": False,
"reasoning_output": True,
- "tool_calling": False,
+ "tool_calling": True,
+ "structured_output": True,
},
}
diff --git a/libs/partners/perplexity/langchain_perplexity/data/_profiles.py b/libs/partners/perplexity/langchain_perplexity/data/_profiles.py
index 277701ea2b..9a83c0a1dc 100644
--- a/libs/partners/perplexity/langchain_perplexity/data/_profiles.py
+++ b/libs/partners/perplexity/langchain_perplexity/data/_profiles.py
@@ -16,20 +16,6 @@ https://docs.langchain.com/oss/python/langchain/models#updating-or-overwriting-p
from typing import Any
_PROFILES: dict[str, dict[str, Any]] = {
- "sonar-reasoning-pro": {
- "max_input_tokens": 128000,
- "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": True,
- "tool_calling": False,
- },
"sonar": {
"max_input_tokens": 128000,
"max_output_tokens": 4096,
@@ -72,4 +58,18 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": False,
"tool_calling": False,
},
+ "sonar-reasoning-pro": {
+ "max_input_tokens": 128000,
+ "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": True,
+ "tool_calling": False,
+ },
}
diff --git a/libs/partners/xai/langchain_xai/data/_profiles.py b/libs/partners/xai/langchain_xai/data/_profiles.py
index 1f1bc07485..a497352119 100644
--- a/libs/partners/xai/langchain_xai/data/_profiles.py
+++ b/libs/partners/xai/langchain_xai/data/_profiles.py
@@ -16,7 +16,7 @@ https://docs.langchain.com/oss/python/langchain/models#updating-or-overwriting-p
from typing import Any
_PROFILES: dict[str, dict[str, Any]] = {
- "grok-2-1212": {
+ "grok-2": {
"max_input_tokens": 131072,
"max_output_tokens": 8192,
"text_inputs": True,
@@ -30,7 +30,7 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": False,
"tool_calling": True,
},
- "grok-2": {
+ "grok-2-1212": {
"max_input_tokens": 131072,
"max_output_tokens": 8192,
"text_inputs": True,
@@ -44,7 +44,7 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": False,
"tool_calling": True,
},
- "grok-3-fast-latest": {
+ "grok-2-latest": {
"max_input_tokens": 131072,
"max_output_tokens": 8192,
"text_inputs": True,
@@ -72,11 +72,11 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": False,
"tool_calling": True,
},
- "grok-3": {
- "max_input_tokens": 131072,
- "max_output_tokens": 8192,
+ "grok-2-vision-1212": {
+ "max_input_tokens": 8192,
+ "max_output_tokens": 4096,
"text_inputs": True,
- "image_inputs": False,
+ "image_inputs": True,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
@@ -86,21 +86,7 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": False,
"tool_calling": True,
},
- "grok-code-fast-1": {
- "max_input_tokens": 256000,
- "max_output_tokens": 10000,
- "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,
- },
- "grok-2-vision-1212": {
+ "grok-2-vision-latest": {
"max_input_tokens": 8192,
"max_output_tokens": 4096,
"text_inputs": True,
@@ -114,11 +100,11 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": False,
"tool_calling": True,
},
- "grok-4-1-fast-non-reasoning": {
- "max_input_tokens": 2000000,
- "max_output_tokens": 30000,
+ "grok-3": {
+ "max_input_tokens": 131072,
+ "max_output_tokens": 8192,
"text_inputs": True,
- "image_inputs": True,
+ "image_inputs": False,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
@@ -128,9 +114,9 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": False,
"tool_calling": True,
},
- "grok-beta": {
+ "grok-3-fast": {
"max_input_tokens": 131072,
- "max_output_tokens": 4096,
+ "max_output_tokens": 8192,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -142,7 +128,7 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": False,
"tool_calling": True,
},
- "grok-3-mini-fast": {
+ "grok-3-fast-latest": {
"max_input_tokens": 131072,
"max_output_tokens": 8192,
"text_inputs": True,
@@ -153,26 +139,26 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": True,
+ "reasoning_output": False,
"tool_calling": True,
},
- "grok-4-fast": {
- "max_input_tokens": 2000000,
- "max_output_tokens": 30000,
+ "grok-3-latest": {
+ "max_input_tokens": 131072,
+ "max_output_tokens": 8192,
"text_inputs": True,
- "image_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,
+ "reasoning_output": False,
"tool_calling": True,
},
- "grok-4": {
- "max_input_tokens": 256000,
- "max_output_tokens": 64000,
+ "grok-3-mini": {
+ "max_input_tokens": 131072,
+ "max_output_tokens": 8192,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -184,7 +170,7 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": True,
"tool_calling": True,
},
- "grok-3-latest": {
+ "grok-3-mini-fast": {
"max_input_tokens": 131072,
"max_output_tokens": 8192,
"text_inputs": True,
@@ -195,14 +181,14 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": False,
+ "reasoning_output": True,
"tool_calling": True,
},
- "grok-4-1-fast": {
- "max_input_tokens": 2000000,
- "max_output_tokens": 30000,
+ "grok-3-mini-fast-latest": {
+ "max_input_tokens": 131072,
+ "max_output_tokens": 8192,
"text_inputs": True,
- "image_inputs": True,
+ "image_inputs": False,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
@@ -212,23 +198,23 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": True,
"tool_calling": True,
},
- "grok-2-vision-latest": {
- "max_input_tokens": 8192,
- "max_output_tokens": 4096,
+ "grok-3-mini-latest": {
+ "max_input_tokens": 131072,
+ "max_output_tokens": 8192,
"text_inputs": True,
- "image_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,
+ "reasoning_output": True,
"tool_calling": True,
},
- "grok-3-mini-latest": {
- "max_input_tokens": 131072,
- "max_output_tokens": 8192,
+ "grok-4": {
+ "max_input_tokens": 256000,
+ "max_output_tokens": 64000,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -240,11 +226,11 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": True,
"tool_calling": True,
},
- "grok-3-mini": {
- "max_input_tokens": 131072,
- "max_output_tokens": 8192,
+ "grok-4-1-fast": {
+ "max_input_tokens": 2000000,
+ "max_output_tokens": 30000,
"text_inputs": True,
- "image_inputs": False,
+ "image_inputs": True,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
@@ -254,32 +240,32 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": True,
"tool_calling": True,
},
- "grok-3-mini-fast-latest": {
- "max_input_tokens": 131072,
- "max_output_tokens": 8192,
+ "grok-4-1-fast-non-reasoning": {
+ "max_input_tokens": 2000000,
+ "max_output_tokens": 30000,
"text_inputs": True,
- "image_inputs": False,
+ "image_inputs": True,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": True,
+ "reasoning_output": False,
"tool_calling": True,
},
- "grok-2-latest": {
- "max_input_tokens": 131072,
- "max_output_tokens": 8192,
+ "grok-4-fast": {
+ "max_input_tokens": 2000000,
+ "max_output_tokens": 30000,
"text_inputs": True,
- "image_inputs": False,
+ "image_inputs": True,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
- "reasoning_output": False,
+ "reasoning_output": True,
"tool_calling": True,
},
"grok-4-fast-non-reasoning": {
@@ -296,11 +282,11 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": False,
"tool_calling": True,
},
- "grok-vision-beta": {
- "max_input_tokens": 8192,
+ "grok-beta": {
+ "max_input_tokens": 131072,
"max_output_tokens": 4096,
"text_inputs": True,
- "image_inputs": True,
+ "image_inputs": False,
"audio_inputs": False,
"video_inputs": False,
"text_outputs": True,
@@ -310,9 +296,9 @@ _PROFILES: dict[str, dict[str, Any]] = {
"reasoning_output": False,
"tool_calling": True,
},
- "grok-3-fast": {
- "max_input_tokens": 131072,
- "max_output_tokens": 8192,
+ "grok-code-fast-1": {
+ "max_input_tokens": 256000,
+ "max_output_tokens": 10000,
"text_inputs": True,
"image_inputs": False,
"audio_inputs": False,
@@ -321,6 +307,20 @@ _PROFILES: dict[str, dict[str, Any]] = {
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
+ "reasoning_output": True,
+ "tool_calling": True,
+ },
+ "grok-vision-beta": {
+ "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,
},