Matchev-4b: a 4B LoRA model matches invoices at 95% accuracy, 124x cheaper than Sonnet
Educational-Care7867 · reddit · 2026-12-01
A former SAP/Dynamics consultant open-sourced Matchev-4b (Qwen3.5-4B + LoRA) for finance record matching — payments, invoices, bank lines — handling one-to-many/many-to-many cases, tax deductions and parent-company payments.
Architecture: deterministic code handles candidates, combination search, tax/fee limits and balance checks; the small model only makes judgment calls like entity relationships and ambiguous references.
Results on 600 messy cases:
- Accuracy tie: Matchev 0.950 vs Sonnet 5.5 0.948 vs Haiku 5.5 0.947
- At a 95% confidence bar, Matchev auto-answers 92% (98% correct) vs Sonnet 19%, Haiku 12%
- Cost per 1,000 questions: $0.09 self-hosted vs $0.41 Haiku vs $11.18 Sonnet
Trained in one run on 2×H100 (125k cases, $250, 2 weeks). Apache-2.0, runs on Apple silicon or GPU.
More from coding & agent
- How multi-agent orchestrators like T3 Code and Orca work, in four layers — dotey · 2026-12-01
- TAE-Bench: 191 Long-Horizon Tasks Grade Tool Agents on Efficiency, Not Just Success — xiaomi-research · 2026-12-01
- Prompt to Graph: The 5 Levels of AI Engineering, from chat to systems — Pytlicek · 2026-12-01
- LLM Engineer Toolkit repo curates 120+ LLM libraries by category, tops 11k stars — thisdudelikesAI · 2026-12-01
- Author seeks beta readers for 20-chapter book on designing and operating production AI systems — petburiraja · 2026-12-01
- DoorDash cut search costs 98% to $0.11/1k calls with an MCP search gateway — bibryam · 2026-12-01