Claude
Claude excels at complex reasoning, code generation, and nuanced analysis. ModelReins supports all Claude models through the Anthropic API.
export MODELREINS_PROVIDER=claudeexport ANTHROPIC_API_KEY=sk-ant-...Available models
Section titled “Available models”| Model | Cost | Best For |
|---|---|---|
haiku | $0.001/job | Fast tasks, classification, extraction |
sonnet | $0.02/job | Balanced quality and cost |
opus | $0.12/job | Complex reasoning, architecture |
Configuration
Section titled “Configuration”{ "provider": "claude", "claude": { "apiKey": "${ANTHROPIC_API_KEY}", "model": "haiku", "maxTokens": 4096 }}When to use Claude
Section titled “When to use Claude”- Code generation and review where correctness matters
- Multi-step reasoning tasks
- Analysis requiring nuance and context awareness
- Tasks where instruction-following precision is critical