LLM Pricing
← All models

grok-2-1212

xai · chat model

Input
$2.0000 / 1M tokens
Output
$10.0000 / 1M tokens
Cached input
N/A
Context
131.1K

Pricing

Item Raw value (per token) Normalized
Input 0.000002 $2.0000 / 1M tokens
Output 0.00001 $10.0000 / 1M tokens
Embedding 0.000002 $2.0000 / 1M tokens

Token limits

Context window
131.1K
Max input tokens
131.1K
Max output tokens
131.1K
Max tokens
131.1K

Capabilities

Capability Supported
Vision No
Function calling Yes
Parallel function calling No
Tool choice Yes
Prompt caching No
Reasoning No
Response schema No
System messages No
Audio input No
Audio output No
Web search Yes
PDF input No
Video input No

Similar models

Models with comparable pricing in the same mode (chat).

Model Provider Input Output Context Coding Features
grok-2 vercel_ai_gateway $2.0000 / 1M tokens $10.0000 / 1M tokens 4.0K N/A Tools
grok-2-vision vercel_ai_gateway $2.0000 / 1M tokens $10.0000 / 1M tokens 32.8K N/A Vision Tools
grok-2 xai $2.0000 / 1M tokens $10.0000 / 1M tokens 131.1K N/A Tools
grok-2-latest xai $2.0000 / 1M tokens $10.0000 / 1M tokens 131.1K N/A Tools
grok-2-vision xai $2.0000 / 1M tokens $10.0000 / 1M tokens 32.8K N/A Vision Tools
grok-2-vision-1212 xai $2.0000 / 1M tokens $10.0000 / 1M tokens 32.8K N/A Vision Tools

Sources

Pricing source LiteLLM model cost map
Synced at 2026-05-27
Manual review Not reviewed
Raw LiteLLM fields
{
  "input_cost_per_token": 0.000002,
  "litellm_provider": "xai",
  "max_input_tokens": 131072,
  "max_output_tokens": 131072,
  "max_tokens": 131072,
  "mode": "chat",
  "output_cost_per_token": 0.00001,
  "supports_function_calling": true,
  "supports_tool_choice": true,
  "supports_web_search": true
}