LangChain Fine-Tunes GLM 5.3 Flash on Production Agent Traces
Brief
LangChain used Chat LangChain’s production traces to fine-tune GLM 5.3 Flash, then tested it offline and with live traffic before making it the docs agent’s main model.
Benchmark and training
- The fine-tune scored 0.735 on a held-out benchmark of 128 real user questions, compared with 0.679 for the base model and 0.748 for GPT-6.1 Sol.
- Answer-only DPO produced the largest score gain over the base model, 0.056, and was the method used for the deployed version.
Production results
- The fine-tune led the tested models on groundedness; users asked a follow-up in 36% of threads, compared with 41% for Gemini 3.5 Flash Lite.
- It cost $12 per 1,000 questions versus Gemini’s $20, but answered about twice as slowly. After an instruction to keep answers concise, runs taking over 30 seconds fell from 18.7% to 5.9%.
Generated by AI from the original article. Check the source for full details.