Pre-configured Aider setup optimized for Groq's fast inference models with convenient model aliases for quick switching between different Groq-hosted LLMs.
A streamlined Aider configuration that leverages Groq's ultra-fast inference infrastructure with intelligent model aliases for efficient AI-assisted coding workflows.
This Aider setup provides:
The configuration includes four convenient aliases:
1. **Install Aider** if not already installed:
```bash
pip install aider-chat
```
2. **Create the configuration file** at `~/.aider.conf.yml`:
```yaml
model: groq/openai/gpt-oss-120b
analytics-disable: true
auto-lint: false
gitignore: false
alias:
- "i:groq/llama-3.1-8b-instant"
- "g:groq/openai/gpt-oss-120b"
- "f:groq/openai/gpt-oss-20b"
- "k:groq/moonshotai/kimi-k2-instruct-0905"
```
3. **Set your Groq API key**:
```bash
export GROQ_API_KEY="your-api-key-here"
```
Get your API key from [Groq Console](https://console.groq.com/)
4. **Launch Aider** in your project directory:
```bash
aider
```
Within an Aider session, change models using the aliases:
```
/model i # Switch to Llama 3.1 8B for quick responses
/model g # Switch to GPT-OSS 120B for balanced work
/model f # Switch to GPT-OSS 20B for faster iteration
/model k # Switch to Kimi K2 for instruction-following tasks
```
To add your own model aliases, extend the `alias` section:
```yaml
alias:
- "short-name:provider/model-identifier"
```
Example for adding Claude via Anthropic:
```yaml
alias:
- "c:anthropic/claude-3-5-sonnet-20241022"
```
Then use `/model c` within Aider to switch to Claude.
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/groq-optimized-aider-configuration/raw