Self-hosted 14B hits 88% on contract review vs Claude's 90%, at 1/27 the cost

Broad_Breakfast_1172 · reddit · 2026-10-20

A developer built a private contract-review feature on a self-hosted Qwen 2.5 14B AWQ (one RTX 5090) and benchmarked it against Claude Sonnet 5.5 on lawyer-labelled test sets. Code is MIT-licensed.

Architecture: documents split into 10k-token overlapping parts → OpenAI-compatible endpoint returns strict JSON with an answer plus a quote per field → every quote is verified against the original text; unverified answers don't count — the single most useful design decision.

Numbers

Lessons

Original post →

More from coding & agent

coding & agent channel →