
What happened
LangChain fine-tuned GLM 5.3 Flash on Chat LangChain's production traces; the fine-tune scored 0.735 on a 128-question benchmark, up from 0.679 for the base model and close to GPT-6.1 Sol's 0.748, at 83% cheaper than GPT-6.1 Sol.
Why it matters
Training on a company's own traffic let an open model nearly match a frontier model on that company's task, and the fine-tune now runs as Chat LangChain's main model — suggesting narrow, trace-trained models can be a cost-efficient alternative to paying for frontier models on every question.
WHO IT HITSAI engineering teams running documentation or support agents now have a concrete case that fine-tuning an open model on their own production traces can approach frontier-model quality at a fraction of the cost, though the result is specific to Chat LangChain's task and traffic.
Ask the AI about this article. Questions and answers are published on this page
LangChain's starting problem was cost: frontier models answered its documentation questions well, but Sonnet 5.5 cost $192 and Opus 5.5 cost $330 per 1,000 questions, against $20 for the Gemini 3.5 Flash Lite model it was running. Base GLM 5.3 Flash was cheaper still at $9 per 1,000 questions, but scored well behind GPT-6.1 Sol on LangChain's benchmark. The experiment was designed to see whether training on Chat LangChain's own traffic could close that gap, and the answer was largely yes.
The benchmark itself was built from production traces: an internal agent grouped them into usage patterns and built tasks with answer keys, which automated verifiers scored. LangChain split the tasks into training and a held-out set of 128, and deliberately chose 78 of the 128 because the base model struggled with them, leaving room to see whether training moved the score. To keep scores comparable while tools and data changed, the agent built a mocked environment mirroring production configuration.
The three training methods differed mainly in how much extra research they taught the model. Teacher SFT raised the score by 0.052 but pushed median latency from 17 seconds to 75 in the offline setup, too slow for chat. GRPO raised it by 0.037 and made the model research more. Answer-only DPO gave the largest gain, 0.056, with a much smaller increase in research — and that is the version deployed. In production, online evals also caught a latency issue, with 18.7% of the fine-tune's runs taking longer than 30 seconds in the first days; an instruction to keep answers concise brought that down to 5.9% over the next six days.
Pick your industry and the AI tools you use, and get news related to your work every day.
By signing up you agree to the Terms of Service and Privacy Policy.
Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →
ArtFanders and Spice Factory signed a partnership on planning and deploying AI agents, and Spice Factory is la…

Uneri and Pineal will hold a free, in-person event in Tokyo on December 18, 2026, where Pineal CTO Ken Fujita…

Google said support for Gemini 4 Argon, which launched in general availability on October 13, ends after Decem…

Salesforce and OpenAI began offering an expanded beta of their ChatGPT plugin, adding Marketing Cloud and Reve…

The pipeline trained MiniCPM5-1B on 300 validated patches, then packed the SFT model into a 2GiB .r1m file (2…

Ai2 built DR-Anything, a simulated web-search training environment, and used it to train DR Tulu 2 from Qwen3.…
