grok-4.1-imageGrok 4.1 Image refers to the multimodal visual capabilities associated with xAI's Grok 4.1 model, enabling the system to process and generate content involving images alongside text. Grok 4.1 supports image understanding and image-based interaction through its API, allowing users to submit images (e.g., screenshots or photos) for analysis or multimodal question-answering. While the core Grok 4.1 LLM focuses on advanced reasoning and dialogue, its infrastructure includes visual processing features that extend the model's utility in multimodal tasks.
Select an endpoint and copy a working example for this model.
from openai import OpenAI client = OpenAI( api_key="YOUR_API_KEY", base_url="https://api.apertis.ai/v1") response = client.chat.completions.create( model="grok-4.1-image", messages=[ {"role": "user", "content": "Hello!"} ], max_tokens=1024, temperature=0.7) print(response.choices[0].message.content) # Optional: Enable context compression to reduce token usage# response = client.chat.completions.create(# model="grok-4.1-image",# messages=[{"role": "user", "content": "Hello!"}],# extra_body={"compression": {"enabled": True, "model": "gpt-4.1-mini"}}# )modelmessagesmax_tokenstemperaturetop_pstreamtoolsreasoning_effortstream_optionsthinkingextra_bodyUse these namespaced identifiers in Cursor IDE to avoid conflicts with built-in models.
See how this model compares to others from the same provider.
Grok 4.5 is SpaceXAI’s flagship frontier model, delivering top-tier performance across coding, knowledge work, and STEM reasoning. Designed for demanding professional and technical workloads, it combines strong reasoning, accurate instruction following, and robust problem-solving capabilities. Optimized for software engineering, scientific analysis, and complex knowledge tasks, Grok 4.5 is well suited for advanced coding, research, and agent-driven workflows that require high accuracy and reliable long-horizon reasoning.
Grok Build 0.1 is xAI's fast coding model designed specifically for agentic software engineering workflows. It supports text and image inputs with text output, and is optimized for interactive coding agents, tool use, and multi-step development tasks. Powering the Grok Build CLI, the model features a 256K token context window with effectively no text output limit, making it well suited for long-horizon coding, automation, and continuous development workflows. Currently available in early access.
Grok 4.3 is a reasoning-focused model from xAI designed for agentic workflows, instruction following, and high factual accuracy tasks. It supports text and image inputs with text output, with reasoning always active and not configurable by effort level. The model features a 1M-token context window with effectively no output token limit, making it well suited for long-document analysis, deep research, and multi-step agentic workflows. It uses tiered pricing, with higher rates applied to requests exceeding 200K total tokens.
Grok 4.20 Multi-Agent is a specialized variant of xAI's Grok 4.20 designed for collaborative, agent-based workflows. It enables multiple agents to operate in parallel, coordinating tool use and synthesizing information to handle complex, multi-step tasks. Optimized for deep research and large-scale problem solving, the model supports configurable reasoning effort: 4 agents for low/medium settings and up to 16 agents for high/xhigh settings, enabling scalable parallel reasoning and execution.
See how this model compares to others from the same provider.
Grok 4.1 Fast is xAI's top tool-calling model, designed for practical agent workflows like customer support and deep research. It features a massive 2M-token context window, and developers can toggle reasoning on or off via the API.
Grok 4.2 Image refers to the extended image understanding and generation capabilities associated with the Grok 4.2 model family from xAI. While Grok's primary focus remains advanced reasoning, multimodal support in the Grok ecosystem enables image interpretation and generation, allowing the model to process and respond to visual inputs alongside text. This includes understanding images such as screenshots and photos, and generating visual outputs when combined with associated image-generation tools in the Grok platform.
Grok Build 0.1 is xAI's fast coding model designed specifically for agentic software engineering workflows. It supports text and image inputs with text output, and is optimized for interactive coding agents, tool use, and multi-step development tasks. Powering the Grok Build CLI, the model features a 256K token context window with effectively no text output limit, making it well suited for long-horizon coding, automation, and continuous development workflows. Currently available in early access.
Grok 4.20 Multi-Agent Beta is a specialized variant of xAI's Grok 4.20 designed for collaborative, agent-based workflows. It enables multiple agents to operate in parallel, coordinating tool use and information synthesis to handle complex tasks. Optimized for deep research and multi-step problem solving, the model supports parallel reasoning, coordinated execution, and structured knowledge synthesis across large and complex workflows.
Initialized observational baseline with no recorded failures