O

LangMart: xAI: Grok 4

Openrouter
Vision
256K
Context
$3.00
Input /1M
$15.00
Output /1M
N/A
Max Output

LangMart: xAI: Grok 4

Model Overview

Property Value
Model ID openrouter/x-ai/grok-4
Name xAI: Grok 4
Provider x-ai
Released 2025-07-09

Description

Grok 4 is xAI's latest reasoning model with a 256k context window. It supports parallel tool calling, structured outputs, and both image and text inputs. Note that reasoning is not exposed, reasoning cannot be disabled, and the reasoning effort cannot be specified. Pricing increases once the total tokens in a given request is greater than 128k tokens. See more details on the xAI docs

Description

LangMart: xAI: Grok 4 is a language model provided by x-ai. This model offers advanced capabilities for natural language processing tasks.

Provider

x-ai

Specifications

Spec Value
Context Window 256,000 tokens
Modalities text+image->text
Input Modalities image, text
Output Modalities text

Pricing

Type Price
Input $3.00 per 1M tokens
Output $15.00 per 1M tokens

Capabilities

  • Include reasoning
  • Logprobs
  • Max tokens
  • Reasoning
  • Response format
  • Seed
  • Structured outputs
  • Temperature
  • Tool choice
  • Tools
  • Top logprobs
  • Top p

Detailed Analysis

xAI: Grok 4