Hosting & Domaining Forum + AI

AI => Artificial Intelligence => Llama => Topic started by: Sevad on Sep 27, 2026, 05:27 AM

Title: Testing the new /v1/decision endpoint in llama-server
Post by: Sevad on Sep 27, 2026, 05:27 AM
Codacus dropped a killer guide for hosting providers and self-hosters looking to slash compute costs. Instead of slow token-by-token JSON generation, he replicated Jev's architecture directly in llama.cpp using a new /v1/decision server endpoint.

By forcing the model to choose from pre-defined schemas rather than write text, response times plummeted from 3415ms to just 306ms (17.3ms per decision in bulk!) using a tiny 2GB model in 2.4GB of VRAM. A massive win for lightweight, high-throughput API endpoints.


Title: Re: Testing the new /v1/decision endpoint in llama-server
Post by: usmasia on Oct 04, 2026, 12:53 PM
Making a model pick from pre-defined schemas instead of generating tokens is a classifier with extra steps. Sure, 306ms beats 3415ms, but if you ever needed free-form output, this fails hard.

It's a neat hаck for routing, not a revolution. Stop hyping and ship benchmarks with real workloads, not cherry-picked bulk numbers.