xAI logo

Grok 4.1


Grok 4.1 is xAI logoxAI's language model, starting at $0.200 / 1M input and $0.500 / 1M output. xAI's Grok 4.1 LLM, a refined iteration of Grok 4 with improved agentic tool-calling and a large context window.
Spec
Canonical IDxai-grok-4-1
TypeLanguage
StatusActive
CreatorxAIxAI
Providers
Input ModalitiesText
Output ModalitiesText

Capabilities

Input1/5
Text
Image·
Audio·
Video·
PDF·
Output1/5
Text
Image·
Audio·
Video·
Embedding·
Capabilities0/13
Reasoning·
Adaptive Reasoning·
Function Calling·
Parallel Function Calling·
Structured Outputs·
Native JSON Schema·
Web Search·
URL Context·
Computer Use·
Code Execution·
File Search·
Prompt Caching·
Assistant Prefill·

Pricing by Provider

ProviderStandard
Input
$ / 1M
Output
$ / 1M
Azure AI Foundry logo
Azure AI Foundry
xai:grok41
$0.200$0.500

Regional pricing

Provider-specific pricing that varies by region.
Azure AI Foundry logo
Azure AI Foundry
23 regions
RegionStandard
Input
$ / 1M
Output
$ / 1M
Global
Global$0.200$0.500
Europe
France Central (Paris)/ francecentral$0.220$0.550
Germany North (Berlin)/ germanynorth$0.220$0.550
Germany West Central (Frankfurt)/ germanywestcentral$0.220$0.550
Italy North (Milan)/ italynorth$0.220$0.550
North Europe (Ireland)/ northeurope$0.220$0.550
Norway East (Norway)/ norwayeast$0.220$0.550
Poland Central (Warsaw)/ polandcentral$0.220$0.550
Spain Central (Madrid)/ spaincentral$0.220$0.550
Sweden Central (Gävle)/ swedencentral$0.220$0.550
Switzerland North (Zurich)/ switzerlandnorth$0.220$0.550
Switzerland West (Geneva)/ switzerlandwest$0.220$0.550
UK South (London)/ uksouth$0.220$0.550
West Europe (Netherlands)/ westeurope$0.220$0.550
US
Central US (Iowa)/ centralus$0.220$0.550
East US (Virginia)/ eastus$0.220$0.550
East US 2 (Virginia)/ eastus2$0.220$0.550
North Central US (Illinois)/ northcentralus$0.220$0.550
South Central US (Texas)/ southcentralus$0.220$0.550
West Central US (Wyoming)/ westcentralus$0.220$0.550
West US (California)/ westus$0.220$0.550
West US 2 (Washington)/ westus2$0.220$0.550
West US 3 (Phoenix)/ westus3$0.220$0.550

Cost Calculator

Preset:
Compares every provider & tier in USD

Versions

VersionReleasedContextInput / 1MOutput / 1MStatus
Grok 4.31.0M$1.25$2.50Available
Grok 4.202.0M$1.25$2.50Available
Grok 4.20 Multi-Agent2.0M$1.25$2.50Available
Grok 4.20 Multi-Agent Beta2.0M$1.25$2.50Available
Grok 4.20 Non-Reasoning2.0M$1.25$2.50Available
Grok 4.20 Reasoning2.0M$1.25$2.50Available
Grok 4.1 Fast2.0M$0.200$0.500Available
Grok 4 Fast2.0M$0.200$0.500Available
Grok 4 Fast Non-Reasoning2.0M$0.200$0.500Available
Grok 4256K$3.00$15.00Available
Grok 4.1$0.200$0.500Current

Model IDs