AIToday
Large Language ModelsOpen-Source AILangChain BlogPublished: Dec 3, 2026, 04:00 JST

LangChain deploys GLM 5.3 Flash fine-tune, 0.735 vs GPT-6.1 Sol

Send on LINE
LangChain deploys GLM 5.3 Flash fine-tune, 0.735 vs GPT-6.1 Sol

3 Key Points

  1. 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.

  2. 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 AI

Ask the AI about this article. Questions and answers are published on this page

Context & Analysis

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.

FAQ
How much does the fine-tune cost to run compared with other models?
The fine-tune costs $12 per 1,000 questions in production, against $20 for Gemini 3.5 Flash Lite, $192 for Sonnet 5.5 and $330 for Opus 5.5 per 1,000 questions. It is also 83% cheaper than GPT-6.1 Sol.
Which training method did LangChain use, and why?
LangChain deployed an answer-only DPO fine-tune, which raised the benchmark score by 0.056 over the base model — the largest gain of the three methods tried. It added far less extra research than teacher SFT or GRPO, with 33% more tool calls and 25% more turns.
How did the fine-tune perform with real users?
In a production split against base GLM 5.3 Flash and Gemini 3.5 Flash Lite, the fine-tune led on groundedness every day of the test. Users came back with a follow-up question in 36% of threads versus 41% with Gemini, though the fine-tune answers about twice as slowly as Gemini.
LangChain BlogRead Original Article
Send on LINE

AI news that matters for your work, delivered every morning.

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? →

Related Articles

Next articleNine of 10 top nudify sites still live in EU despite ban: Shultz