Count document passes, not tokens: batching questions cuts LLM scoring cost

petrusenko_max · x · 2026-10-31

The costly part of scoring content with many questions is re-reading the document repeatedly, not the model itself. Batching questions into a single pass cuts both cost and latency. Builders should count document passes, not just tokens per answer, when choosing a chat stack. The post references the author's open-source project spinfinc/spinf-serve, which does bulk classification and decision inference on one GPU by reading content once and scoring every question about it.

Original post →

More from coding & agent

coding & agent channel →