XNews

LangChain's Open SWE agent cuts cost 64% with harness-level model routing

LangChain's Open SWE agent cuts cost 64% with harness-level model routing

LangChain added a model router to its Open SWE coding agent, assigning requests to three model tiers by task difficulty. In a 973-thread A/B test, median cost fell 64% ($2.61 to $0.94) with no significant quality gap.

Source posts