Update workspace/OPTIMIZATION.md
This commit is contained in:
@@ -14,34 +14,16 @@
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## MODEL SELECTION - Three Tiers
|
## MODEL SELECTION RULE
|
||||||
|
Default: Haiku
|
||||||
|
|
||||||
### Basic → Ollama
|
Switch to Sonnet ONLY when:
|
||||||
- File checking and organization
|
|
||||||
- Simple templating/formatting
|
|
||||||
- Log review and cleanup
|
|
||||||
- Non-critical analysis
|
|
||||||
- Routine status checks
|
|
||||||
|
|
||||||
**Cost:** Free (local)
|
|
||||||
|
|
||||||
### Normal → Haiku (Default)
|
|
||||||
- Most tasks
|
|
||||||
- Code review (non-production)
|
|
||||||
- Documentation and writing
|
|
||||||
- General problem solving
|
|
||||||
- Straightforward reasoning
|
|
||||||
|
|
||||||
**Cost:** ~$0.30-1.50 per 1M tokens
|
|
||||||
|
|
||||||
### Complex → Sonnet
|
|
||||||
- Architecture decisions
|
- Architecture decisions
|
||||||
- Production code review
|
- Complex code review
|
||||||
- Security analysis
|
- Security Analysis
|
||||||
- Complex debugging/reasoning
|
- Complex debugging/reasoning
|
||||||
- Strategic multi-project decisions
|
|
||||||
|
|
||||||
**Cost:** ~$3-15 per 1M tokens
|
When in doubt: Try Haiku first
|
||||||
|
|
||||||
### Heartbeat: Ollama Only
|
### Heartbeat: Ollama Only
|
||||||
Heartbeats ALWAYS use Ollama. No escalation. If it fails, it fails.
|
Heartbeats ALWAYS use Ollama. No escalation. If it fails, it fails.
|
||||||
|
|||||||
Reference in New Issue
Block a user