Models/xAI

xAI

xAI models, pricing, and protocols

20 currently available models with pricing synced from the MoleAPI console.

20 models

Compare
X
grok-4.7-70%

grok-4.7 is a xAI model available through MoleAPI with openai access. It fits OpenAI compatible, Prompt cache workflows, with pricing synced from the MoleAPI console.

View model
defaultx1
base
Input$2 / 1M tokens
Output$6 / 1M tokens
Cache read$0.5 / 1M tokens
discountx0.8
base
Input$1.6 / 1M tokens
Output$4.8 / 1M tokens
Cache read$0.4 / 1M tokens
relayx0.3
base
Input$0.6 / 1M tokens
Output$1.8 / 1M tokens
Cache read$0.15 / 1M tokens
openaiOpenAI compatiblePrompt cacheCompare
X
grok-4.6-70%

grok-4.6 · Language model for conversation, writing and summarization.

View model
defaultx1
base
Input$2 / 1M tokens
Output$6 / 1M tokens
Cache read$0.5 / 1M tokens
discountx0.8
base
Input$1.6 / 1M tokens
Output$4.8 / 1M tokens
Cache read$0.4 / 1M tokens
relayx0.3
base
Input$0.6 / 1M tokens
Output$1.8 / 1M tokens
Cache read$0.15 / 1M tokens
openaiOpenAI compatiblePrompt cacheCompare
X
grok-4.5-70%Official profile verified

Grok 4.5 is xAI's flagship model for code and general tasks, with agentic tool calling and configurable reasoning.

View model
defaultx1
base
Input$2 / 1M tokens
Output$6 / 1M tokens
Cache read$0.5 / 1M tokens
discountx0.8
base
Input$1.6 / 1M tokens
Output$4.8 / 1M tokens
Cache read$0.4 / 1M tokens
relayx0.3
base
Input$0.6 / 1M tokens
Output$1.8 / 1M tokens
Cache read$0.15 / 1M tokens
AA index 54openaiOpenAI compatiblePrompt cacheCompare
X

Grok model by xAI for general chat, writing, coding assistance, and tool-assisted workflows.

View model
defaultx1
base
Input$1.25 / 1M tokens
Output$2.5 / 1M tokens
Cache read$0.2 / 1M tokens
openaiOpenAI compatiblePrompt cacheCompare
X

Grok reasoning model by xAI for complex problem solving, analysis, coding, and agent workflows.

View model
defaultx1
base
Input$2 / 1M tokens
Output$6 / 1M tokens
Cache read$0.2 / 1M tokens
openaiOpenAI compatibleReasoningPrompt cacheCompare
X

Grok reasoning model by xAI for complex problem solving, analysis, coding, and agent workflows.

View model
defaultx1
base
Input$2 / 1M tokens
Output$6 / 1M tokens
Cache read$0.2 / 1M tokens
openaiOpenAI compatibleReasoningPrompt cacheCompare
X

Grok reasoning model by xAI for complex problem solving, analysis, coding, and agent workflows.

View model
defaultx1
base
Input$2 / 1M tokens
Output$6 / 1M tokens
Cache read$0.2 / 1M tokens
openaiOpenAI compatibleReasoningPrompt cacheCompare
X

Grok reasoning model by xAI for complex problem solving, analysis, coding, and agent workflows.

View model
defaultx1
base
Input$2 / 1M tokens
Output$6 / 1M tokens
Cache read$0.2 / 1M tokens
openaiOpenAI compatibleReasoningPrompt cacheCompare
X
grok-4

Grok model by xAI for general chat, writing, coding assistance, and tool-assisted workflows.

View model
defaultx1
base
Input$3 / 1M tokens
Output$15 / 1M tokens
Cache read$0.75 / 1M tokens
openaiOpenAI compatiblePrompt cacheCompare
X

Grok model by xAI for general chat, writing, coding assistance, and tool-assisted workflows.

View model
defaultx1
base
Input$3 / 1M tokens
Output$15 / 1M tokens
Cache read$0.75 / 1M tokens
openaiOpenAI compatiblePrompt cacheCompare
X

Grok reasoning model by xAI for complex problem solving, analysis, coding, and agent workflows.

View model
defaultx1
base
Input$0.2 / 1M tokens
Output$0.5 / 1M tokens
Cache read$0.05 / 1M tokens
openaiOpenAI compatibleReasoningPrompt cacheCompare
X

Grok reasoning model by xAI for complex problem solving, analysis, coding, and agent workflows.

View model
defaultx1
base
Input$0.2 / 1M tokens
Output$0.5 / 1M tokens
Cache read$0.05 / 1M tokens
openaiOpenAI compatibleReasoningPrompt cacheCompare
X

grok-4-20-non-reasoning · Language model for conversation, writing and summarization.

defaultx1
Input$75 / 1M tokens
Output$75 / 1M tokens
openaiOpenAI compatibleReasoningCompare
X

grok-4-20-reasoning · Language model for conversation, writing and summarization.

defaultx1
Input$75 / 1M tokens
Output$75 / 1M tokens
openaiOpenAI compatibleReasoningCompare
X

Grok reasoning model by xAI for complex problem solving, analysis, coding, and agent workflows.

View model
defaultx1
base
Input$0.2 / 1M tokens
Output$0.5 / 1M tokens
Cache read$0.05 / 1M tokens
openaiOpenAI compatibleReasoningPrompt cacheCompare
X

Grok reasoning model by xAI for complex problem solving, analysis, coding, and agent workflows.

View model
defaultx1
base
Input$0.2 / 1M tokens
Output$0.5 / 1M tokens
Cache read$0.05 / 1M tokens
openaiOpenAI compatibleReasoningPrompt cacheCompare
X
grok-3

Grok model by xAI for general chat, writing, coding assistance, and tool-assisted workflows.

View model
defaultx1
base
Input$3 / 1M tokens
Output$15 / 1M tokens
Cache read$0.75 / 1M tokens
openaiOpenAI compatiblePrompt cacheCompare
X

Grok model by xAI for general chat, writing, coding assistance, and tool-assisted workflows.

View model
defaultx1
base
Input$0.3 / 1M tokens
Output$0.5001 / 1M tokens
Cache read$0.075 / 1M tokens
openaiOpenAI compatiblePrompt cacheCompare
X

Grok model by xAI for general chat, writing, coding assistance, and tool-assisted workflows.

View model
defaultx1
base
Input$1 / 1M tokens
Output$2 / 1M tokens
Cache read$0.2 / 1M tokens
openaiOpenAI compatiblePrompt cacheCompare
X

Grok coding model by xAI for code generation, repository understanding, debugging, and agentic development.

View model
defaultx1
base
Input$0.2 / 1M tokens
Output$1.5 / 1M tokens
Cache read$0.02 / 1M tokens
openaiOpenAI compatibleCodingPrompt cacheCompare