xai-models
xAI Grok model selection and capabilities guide. Use when choosing the right Grok model for your task, comparing model features, or optimizing costs.
npx skills add majiayu000/claude-skill-registry --skill xai-models --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# xAI Grok Models Guide Complete guide to selecting the right Grok model for your use case, with pricing and capability comparisons. ## Model Quick Reference | Model | Best For | Input $/1M | Output $/1M | Context | |-------|----------|------------|-------------|---------| | `grok-4-1-fast` | Tool calling, agents | $0.20 | $0.50 | 2M | | `grok-4` | Complex reasoning | $3.00 | $15.00 | 256K | | `grok-3-fast` | General tasks | $0.20 | $0.50 | 131K | | `grok-3-mini` | Lightweight tasks | $0.30 | $0.50 | 131K | | `grok-2-vision` | Image analysis | $2.00 | $10.00 | 32K | ## Model Selection Decision Tree ``` What's your primary need? │ ├─► Tool calling / Agent workflows │ └─► grok-4-1-fast ($0.20/$0.50) │ ├─► Complex reasoning / Analysis │ └─► grok-4 ($3.00/$15.00) │ ├─► General chat / Simple tasks │ └─► grok-3-fast ($0.20/$0.50) │ ├─► High volume / Cost sensitive │ └─► grok-3-mini ($0.30/$0.50) │ └─► Image/Vision tasks └─► grok-2-vision ($2.00/$10.00) ``` ## Detailed Model Profiles ### grok-4-1-fast (Recommended for Most Uses) **Best for:** Tool calling, agentic workflows, real-time search ```python # Best choice for X search and sentiment analysis response = client.chat.completions.cre
- Model Quick Reference
- Model Selection Decision Tree
- Detailed Model Profiles
- grok-4-1-fast (Recommended for Most Uses)
- grok-4
- grok-3-fast
- grok-3-mini
- grok-2-vision
- Cost Optimization Strategies
- 1. Use the Right Model
- 2. Leverage Caching
- 3. Batch Similar Requests
- Tool Calling Costs
- Context Window Comparison
What does the xai-models skill do?
xAI Grok model selection and capabilities guide. Use when choosing the right Grok model for your task, comparing model features, or optimizing costs.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill xai-models --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
