Available Models
GitWhisper supports the following Grok model variants:Grok 4 Series
- grok-4 - Most intelligent Grok model with superior reasoning
- grok-4-heavy - Most powerful variant with extended capabilities
- grok-4-fast - Efficient reasoning with optimized performance
Specialized Models
- grok-code-fast-1 - Optimized for agentic coding tasks
- grok-3 - Advanced reasoning capabilities
- grok-3-mini - Faster responses with good performance
Production Models
- grok-2-latest ⭐ (default) - Stable production model
The default model grok-2-latest provides reliable performance for most use cases.
Setup
Usage Examples
Model Comparison
- Capabilities
- Use Cases
| Model | Best For | Reasoning | Speed |
|---|---|---|---|
| grok-4 | Complex code analysis | Excellent | Medium |
| grok-4-heavy | Demanding tasks | Superior | Slower |
| grok-4-fast | Quick commits | Good | Fast |
| grok-code-fast-1 | Coding tasks | Excellent | Fast |
| grok-2-latest | General use | Good | Fast |
Features
Advanced Reasoning
Grok models excel at understanding complex code changes and architectural decisions:Agentic Coding Support
Thegrok-code-fast-1 variant is optimized for agentic coding workflows:
Configuration
Set Default Variant
API Key Management
Using Environment Variables
Using Environment Variables
Add to your shell configuration:
Using Saved Configuration
Using Saved Configuration
Save permanently with GitWhisper:This stores the key in
~/.git_whisper.yamlPer-Command Key
Per-Command Key
Pass key directly to the command:
Best Practices
Troubleshooting
API Key Not Found
API Key Not Found
Ensure your Grok API key is properly configured:
Invalid Model Variant
Invalid Model Variant
Verify the variant name is correct:
Related Resources
All Variants
See complete list of Grok model variants
Model Overview
Compare all supported AI models
Configuration
Learn more about API key management
Code Analysis
Use Grok for advanced code analysis