grok-2-1212
x AI's Our previous generation chat model.
π§Tool calling
Specifications
Context window131K tokens
Max outputβ
API typechat
AddedOct 16, 2025
Model IDxai/grok-2-1212
Data retentionYes (30 days)
Used for trainingUnknown
Provider locationπΊπΈ US
Privacy policyxAI Privacy Policy β
Benchmarks
Benchmarks haven't been published yet for this exact variant.
Some variants (region-specific deployments, highspeed tiers) share benchmarks with their base model β check the base model page or the xAI Corp. models overview.
Pricing
Input / 1M
$2.00
Output / 1M
$10.00
Cache write
β
Cache read
β
Estimated cost
100K input + 10K output$0.30
1M input + 100K output$3.00
10M input + 1M output$30.00
Requesty charges exactly what the upstream provider charges β no markup, no per-request fees. Prompt caching and smart routing can reduce effective cost by 30-80%.
Quickstart
Drop-in compatible with the OpenAI SDK. Change the base URL, swap in your Requesty API key, and set the model to xai/grok-2-1212.
123456789101112131415from openai import OpenAI client = OpenAI( api_key="YOUR_REQUESTY_API_KEY", base_url="https://router.requesty.ai/v1", ) response = client.chat.completions.create( model="xai/grok-2-1212", messages=[ {"role": "user", "content": "Explain quantum computing in one paragraph."}, ], ) print(response.choices[0].message.content)
Other xAI Corp. models
Frequently asked questions
How much does grok-2-1212 cost?
grok-2-1212 is priced at $2.00 per million input tokens and $10.00 per million output tokens when accessed via Requesty. Requesty charges exactly what the upstream provider charges β we don't add markup.
What is the context window of grok-2-1212?
grok-2-1212 has a context window of 131K tokens. That's roughly 175 words of input you can fit in a single prompt.
What can grok-2-1212 do?
grok-2-1212 supports tool calling. You can call it through any OpenAI-compatible client by pointing base_url to Requesty.
How do I use grok-2-1212 with the OpenAI SDK?
Install the OpenAI SDK, set base_url to "https://router.requesty.ai/v1", set your API key to your Requesty key, and set the model to "xai/grok-2-1212". The Quickstart above shows Python, JavaScript and cURL snippets.
Access grok-2-1212 through Requesty
One API key, 400+ models, OpenAI-compatible. No markup on provider prices, automatic failover, and smart caching built-in.
