Aider configuration with OpenRouter models and file watching enabled. Includes multiple model options (GPT-4o-mini active, Gemini/Claude/DeepSeek commented) for flexible AI-assisted coding workflows.
A flexible Aider configuration that enables file watching and provides quick access to multiple AI models through OpenRouter. Currently configured to use GPT-4o-mini with several high-performance alternatives commented out for easy switching.
This configuration sets up Aider with:
1. **Create the configuration file** in your project root or user config directory (typically `~/.aider.conf.yml`):
- Set `watch-files: true` to enable automatic file change detection
- Set `dark-mode: true` for dark theme
- Configure the active model using `model:` with OpenRouter format
2. **Choose your active model** by uncommenting one line and commenting others:
- Default: `openrouter/openai/gpt-4o-mini` (cost-effective, fast)
- Alternative options provided:
- `openrouter/google/gemini-2.5-pro-preview-03-25` (advanced reasoning)
- `openrouter/anthropic/claude-3.7-sonnet` (strong code understanding)
- `openrouter/deepseek/deepseek-r1` (specialized reasoning)
- `openrouter/google/gemini-2.0-flash-001` (fast, efficient)
- `openrouter/google/gemini-2.5-flash-preview` (balanced performance)
- `openrouter/deepseek/deepseek-chat-v3-0324:free` (free tier)
3. **Switching models**: Simply comment the current `model:` line with `#` and uncomment your desired model
4. **Required setup**:
- Install Aider: `pip install aider-chat`
- Set your OpenRouter API key: `export OPENROUTER_API_KEY=your_key_here`
- Obtain API key from https://openrouter.ai/
5. **Launch Aider** from your project directory:
```bash
aider
```
The configuration will be automatically loaded from `.aider.conf.yml`
```yaml
watch-files: true
model: openrouter/openai/gpt-4o-mini
dark-mode: true
```
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/aider-multi-model-configuration-32tqll/raw