← Back to live feed

Tuesday, Oct 13, 2026

1

LangChain Cuts Coding Agent Costs 64% via Open SWE Model Router

topics 🤖 AI tags AIAI ProductsAI AgentsAI InfraAI Inference keywords

The Open SWE open-source coding agent now uses a router to send each thread to the cheapest model likely to finish the job. In a test of 973 threads, this adaptive routing reduced the median cost per thread to $0.94, compared to $2.61 when using only GPT-6 Astra. Despite the cost reduction, performance remained stable, with the routed threads achieving a 29.2% rate of merged pull requests versus 27.3% for the Astra control group. The router directed 56% of threads to a balanced model, 34% to a fast model, and 10% to a performance model.

LangChain stated the router is currently a proof of concept and noted that a trial using exclusively the fast model was halted within one day due to low output quality. The logic is integrated directly into the harness rather than a gateway to maintain task awareness. Other AI agents are adopting similar strategies; Max routes 67% of code sessions to the less expensive Astra (Medium) model while splitting chat and work sessions between Astra (Max) and Fable 5.1 (Max).

Image via @neil_xbt on X
@neil_xbt
@hwchase17
@arena
See all 3 tweets →