Public model route · xAI
Grok 2 (1212) security profile
xAI model route with a 131,072-token context window. Closed weights. Maps to 7 MITRE ATLAS techniques.
Model record
- Provider
- xAI
- Record ID
x-ai/grok-2-1212- Version label
- x-ai/grok-2-1212
- Input modalities
- text
- Output modalities
- text
- Context window
- 131,072 tokens
- First listed
- Tool calling
- Advertised
- Reasoning
- Unavailable
- Input per million tokens
- $2.00
- Output per million tokens
- $10.00
- Inventory snapshot
Grounded in xAI Grok 2 (1212) API pricing ($2 in / $10 out per 1M, 131k context); legacy non-reasoning baseline with minimal refusal tuning.
Frontier security, capability, speed & price scorecard
- Security resilience index
- 71.5 / 100
- Security tier
- Tier 4 — Permissive
- Prompt-boundary integrity
- 71.7 / 100
- Agentic tool safety
- 61.8 / 100
- Benign prompt pass rate
- 98.6% (1.4% over-refusal)
- Net usable safety
- 70.1 / 100
- Coding / Reasoning index
- 47.2 / 42.1
- Output speed / TTFT
- 72 tok/s · 0.68s TTFT
- Blended price (3:1)
- $4.00 / 1M tokens
- Guardrail architecture
- Minimal Refusal Wrapper
- License / parameters
- Proprietary API · Undisclosed (proprietary)
Head-to-head comparisons: Claude Fable 5.2 vs Grok 2 (1212) · Claude Opus 5.5 vs Grok 2 (1212) · Claude Sonnet 5.5 vs Grok 2 (1212) · Claude Opus 5 vs Grok 2 (1212) · Claude Sonnet 5 vs Grok 2 (1212) · GPT-6.2 Sol vs Grok 2 (1212)
Open Grok 2 (1212) interactive scorecard · View on Security Scatter Planes
Weight provenance
xAI publishes these 7 proprietary commercial models exclusively via hosted API routes with no downloadable model weights.
Reference URI: https://docs.x.ai/docs/models · Checked
ATLAS attack surface
xAI: Grok 2 (1212) maps to 7 MITRE ATLAS techniques and 13 mitigations across 4 surface vectors. Profiles are derived from model metadata (modalities, tool calling, reasoning, context window, and weight access). They show where techniques apply, not measured weaknesses.
- Deployment posture
- Hosted API (closed weights)
- ATLAS techniques in scope
- 7
- Mitigations to review
- 13
- Framework
- MITRE ATLAS 2026.10
- Direct & indirect prompt-injection / jailbreak surface
Generative text inference route or configuration
- ATLAS techniques
- Tool-schema & confused-deputy execution surface
Advertised tool / function calling (supportsTools=true)
- ATLAS techniques
- Hosted inference API extraction & system-prompt probing surface
Verified closed-weight hosted API posture
- Many-shot jailbreaking & context-stuffing surface (>=128k)
Context window 131,072 tokens
- ATLAS techniques
Test with Refract
Refract is Silvauren's Apache-2.0 defensive LLM evaluation harness. Its 2x2 Detect-vs-Complete matrix crosses whether a detector flagged each probe with whether the model complied, so silent breaches are counted with Wilson 95% confidence intervals. The command below runs the packs that match this route's attack-surface vectors through OpenRouter's OpenAI-compatible API.
refract scan \
--target "openai_compat:x-ai/grok-2-1212" \
--base-url https://openrouter.ai/api/v1 \
--api-key "$OPENROUTER_API_KEY" \
--battery baseline,system_prompt_extraction,mcp_tool_schema_boundary
refract reportbaselinesix baseline packs: benign controls, prefix injection, refusal suppression, role-play frames, encoding ciphers, and many-shot promptssystem_prompt_extractiondirect, translated, serialized, and diagnostic system-prompt extractionmcp_tool_schema_boundaryuntrusted tool descriptions, parameter defaults, and cross-tool escalation
Export OPENROUTER_API_KEY first. Passing --api-key keeps Refract from using an unrelated OPENAI_API_KEY, which it would otherwise read first. Scans send real requests billed to your key. Add --max-probes or --budget-tokens to cap spend, and only scan endpoints you are authorized to test.
Primary source & citation record
- OpenRouter public model inventory · OpenRouter
Common questions
- Which MITRE ATLAS techniques apply to Grok 2 (1212)?
- Grok 2 (1212) maps to 7 MITRE ATLAS techniques through 4 attack-surface vectors derived from its listed capabilities: Exfiltration via AI Inference API (AML.T0024), Denial of AI Service (AML.T0029), LLM Prompt Injection (AML.T0051), AI Agent Tool Invocation (AML.T0053), LLM Jailbreak (AML.T0054), Discover LLM System Information: System Prompt (AML.T0069.002), and Outputs from AI Models (AML.T0135). The mapping shows where techniques apply, not measured weaknesses.
- Does Grok 2 (1212) support tool calling?
- Yes. The Nov 24, 2026 OpenRouter inventory snapshot lists tool calling as advertised for this route, which adds the tool-calling and confused-deputy attack surface (LLM Prompt Injection (AML.T0051) and AI Agent Tool Invocation (AML.T0053)).
- Does Grok 2 (1212) have open weights?
- No. xAI publishes these 7 proprietary commercial models exclusively via hosted API routes with no downloadable model weights.
- What is the context window of Grok 2 (1212)?
- 131,072 tokens, according to the Nov 24, 2026 OpenRouter inventory snapshot. At 128K tokens or more, many-shot jailbreaking and context-stuffing techniques apply.
- How can I test Grok 2 (1212) for prompt injection and jailbreaks?
- Run Refract against the OpenRouter route:
refract scan --target "openai_compat:x-ai/grok-2-1212" --base-url https://openrouter.ai/api/v1 --api-key "$OPENROUTER_API_KEY" --battery baseline,system_prompt_extraction,mcp_tool_schema_boundary, then refract report. Scans send real requests billed to your key. Add --max-probes or --budget-tokens to cap spend, and only scan endpoints you are authorized to test.