KevinIsInCoding Claude Sonnet 4.6 commited on
Commit
a3080f5
·
unverified ·
1 Parent(s): 3d5e588

perf: switch research agent from Opus to Haiku (#21)

Browse files

RESEARCH_MODEL was claude-opus-4-7 (~$15/MTok input). Switching to
claude-haiku-4-5-20251001 (~$0.80/MTok input) cuts the per-session
research cost by ~19x. The research task (call search tool, synthesize
trial results) does not require Opus-level reasoning.

Estimated saving: ~$0.22/session (~70% of total session cost).

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>

Files changed (1) hide show
  1. config.py +1 -1
config.py CHANGED
@@ -1,4 +1,4 @@
1
  CTGOV_BASE = "https://clinicaltrials.gov/api/v2/studies"
2
  INTAKE_MODEL = "claude-sonnet-4-6"
3
- RESEARCH_MODEL = "claude-opus-4-7"
4
  ELIGIBILITY_MODEL = "claude-sonnet-4-6"
 
1
  CTGOV_BASE = "https://clinicaltrials.gov/api/v2/studies"
2
  INTAKE_MODEL = "claude-sonnet-4-6"
3
+ RESEARCH_MODEL = "claude-haiku-4-5-20251001"
4
  ELIGIBILITY_MODEL = "claude-sonnet-4-6"