Skip to content

Claude

Claude excels at complex reasoning, code generation, and nuanced analysis. ModelReins supports all Claude models through the Anthropic API.

Terminal window
export MODELREINS_PROVIDER=claude
export ANTHROPIC_API_KEY=sk-ant-...
ModelCostBest For
haiku$0.001/jobFast tasks, classification, extraction
sonnet$0.02/jobBalanced quality and cost
opus$0.12/jobComplex reasoning, architecture
{
"provider": "claude",
"claude": {
"apiKey": "${ANTHROPIC_API_KEY}",
"model": "haiku",
"maxTokens": 4096
}
}
  • Code generation and review where correctness matters
  • Multi-step reasoning tasks
  • Analysis requiring nuance and context awareness
  • Tasks where instruction-following precision is critical