Production-ready Aider setup with OpenRouter integration, reasoning models, and optimized chat settings for enterprise development workflows.
A production-optimized Aider configuration that leverages OpenRouter's advanced models with reasoning capabilities, architect mode, and fine-tuned performance settings for enterprise development.
This configuration transforms Aider into a high-performance AI coding assistant by:
Ensure you have Aider installed and an OpenRouter API key:
```bash
pip install aider-chat
export OPENROUTER_API_KEY="your-key-here"
```
Create `.aider.conf.yml` in your project root (or `~/.aider.conf.yml` for global config):
```yaml
model: openrouter/openai/o4-mini-high
editor-model: openai/gpt-4.1
weak-model: openai/gpt-3.5-turbo
reasoning-effort: high
edit-format: diff
architect: true
timeout: 60
verify-ssl: true
max-chat-history-tokens: 32000
auto-commits: false
dark-mode: false
cache-prompts: true
no-stream: true
map-tokens: 8192
alias: [fast:gpt-4o-mini, coder:deepseek/deepseek-coder]
```
**Model Configuration:**
**Performance Optimization:**
**Development Workflow:**
**Model Aliases:**
**Start Aider with this config:**
```bash
aider
```
**Switch to fast mode mid-session:**
```
/fast
```
**Use specialized coder model:**
```
/coder
```
**Architect mode workflow:**
1. Describe your feature requirement
2. Aider plans the architecture first
3. Review the plan
4. Proceed with implementation
**For faster responses (development):**
```yaml
reasoning-effort: medium
timeout: 30
no-stream: false
```
**For maximum quality (production):**
```yaml
reasoning-effort: high
architect: true
verify-ssl: true
```
**For budget-conscious usage:**
```yaml
model: openrouter/openai/gpt-4o-mini
editor-model: openai/gpt-4o-mini
```
| Setting | Value | Purpose |
|---------|-------|---------|
| `reasoning-effort` | high | Deep analysis for complex problems |
| `architect` | true | Plan before coding |
| `edit-format` | diff | Precise, reviewable changes |
| `max-chat-history-tokens` | 32000 | Large context retention |
| `cache-prompts` | true | Performance optimization |
| `auto-commits` | false | Manual commit control |
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/high-performance-aider-configuration/raw