Files
langchain/libs/partners/xai/langchain_xai/data/_profiles.py
langchain-model-profile-bot[bot] 06ab861ace chore(model-profiles): refresh model profile data (#37870)
Automated refresh of model profile data for all in-monorepo partner
integrations via `langchain-profiles refresh`.

🤖 Generated by the `refresh_model_profiles` workflow.

Co-authored-by: mdrxy <61371264+mdrxy@users.noreply.github.com>
2026-06-03 10:41:16 -04:00

189 lines
5.6 KiB
Python

"""Auto-generated model profiles.
DO NOT EDIT THIS FILE MANUALLY.
This file is generated by the langchain-profiles CLI tool.
It contains data derived from the models.dev project.
Source: https://github.com/sst/models.dev
License: MIT License
To update these data, refer to the instructions here:
https://docs.langchain.com/oss/python/langchain/models#updating-or-overwriting-profile-data
"""
from typing import Any
_PROFILES: dict[str, dict[str, Any]] = {
"grok-4.20-0309-non-reasoning": {
"name": "Grok 4.20 (Non-Reasoning)",
"release_date": "2026-03-09",
"last_updated": "2026-03-09",
"open_weights": False,
"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,
"audio_outputs": False,
"video_outputs": False,
"reasoning_output": False,
"tool_calling": True,
"attachment": True,
"temperature": True,
},
"grok-4.20-0309-reasoning": {
"name": "Grok 4.20 (Reasoning)",
"release_date": "2026-03-09",
"last_updated": "2026-03-09",
"open_weights": False,
"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,
"audio_outputs": False,
"video_outputs": False,
"reasoning_output": True,
"tool_calling": True,
"attachment": True,
"temperature": True,
},
"grok-4.20-multi-agent-0309": {
"name": "Grok 4.20 Multi-Agent",
"release_date": "2026-03-09",
"last_updated": "2026-03-09",
"open_weights": False,
"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,
"audio_outputs": False,
"video_outputs": False,
"reasoning_output": True,
"tool_calling": False,
"attachment": True,
"temperature": True,
},
"grok-4.3": {
"name": "Grok 4.3",
"release_date": "2026-04-17",
"last_updated": "2026-04-17",
"open_weights": False,
"max_input_tokens": 1000000,
"max_output_tokens": 30000,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
"pdf_inputs": True,
"video_inputs": False,
"text_outputs": True,
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
"reasoning_output": True,
"tool_calling": True,
"attachment": True,
"temperature": True,
},
"grok-build-0.1": {
"name": "Grok Build 0.1",
"release_date": "2026-04-16",
"last_updated": "2026-04-16",
"open_weights": False,
"max_input_tokens": 256000,
"max_output_tokens": 256000,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
"pdf_inputs": True,
"video_inputs": False,
"text_outputs": True,
"image_outputs": False,
"audio_outputs": False,
"video_outputs": False,
"reasoning_output": True,
"tool_calling": True,
"structured_output": True,
"attachment": True,
"temperature": True,
},
"grok-imagine-image": {
"name": "Grok Imagine Image",
"release_date": "2026-01-28",
"last_updated": "2026-01-28",
"open_weights": False,
"max_input_tokens": 8000,
"max_output_tokens": 0,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
"pdf_inputs": True,
"video_inputs": False,
"text_outputs": False,
"image_outputs": True,
"audio_outputs": False,
"video_outputs": False,
"reasoning_output": False,
"tool_calling": False,
"attachment": True,
"temperature": False,
},
"grok-imagine-image-quality": {
"name": "Grok Imagine Image Quality",
"release_date": "2026-04-03",
"last_updated": "2026-04-03",
"open_weights": False,
"max_input_tokens": 8000,
"max_output_tokens": 0,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
"pdf_inputs": True,
"video_inputs": False,
"text_outputs": False,
"image_outputs": True,
"audio_outputs": False,
"video_outputs": False,
"reasoning_output": False,
"tool_calling": False,
"attachment": True,
"temperature": False,
},
"grok-imagine-video": {
"name": "Grok Imagine Video",
"release_date": "2026-01-28",
"last_updated": "2026-01-28",
"open_weights": False,
"max_input_tokens": 1024,
"max_output_tokens": 0,
"text_inputs": True,
"image_inputs": True,
"audio_inputs": False,
"pdf_inputs": True,
"video_inputs": True,
"text_outputs": False,
"image_outputs": False,
"audio_outputs": False,
"video_outputs": True,
"reasoning_output": False,
"tool_calling": False,
"attachment": True,
"temperature": False,
},
}