VocabX cuts SLM inference cost with a domain-specific vocabulary
Dharma AI says VocabX reduced measured inference cost by 77% in a production Qwen3‑4B-based grader by selecting tokens around domain-specific cost.

AT A GLANCE
Key points
- Only the tokenizer changed while the Qwen3‑4B base and training recipe stayed fixed
- Average output length fell from 350 to 101 tokens in the provider test
- Dharma AI reports a 77% measured cost reduction; the paper remains under review
What is changing?
Dharma AI introduced VocabX on October 21, a method that rebuilds a small language model’s vocabulary around task cost. In its production Portuguese essay grader, the Qwen3‑4B base, data, training recipe, and seed were held constant while only the tokenizer changed. The company says these results come from the current version of a paper still under review and may change before publication.
Instead of selecting only frequent pieces, VocabX accounts for the measured cost of input and output tokens. It rebuilds subwords while turning repeated long expressions and JSON structures into single “macro tokens.” In the test, vocabulary size fell from 151,669 to 64,767 and average output length dropped from 350 to 101 tokens.
Across the same 500 requests on an RTX 5090 with vLLM, Dharma AI reports a 77% reduction in measured inference cost and a task score increase from 0.703 to 0.810. This is a provider measurement from one production setup; other hardware, stacks, and tasks require independent validation.
Explore the original sources
Source date: 21 October 2026.
Published by AI Radar: 21 Oct 2026, 22:05 (Istanbul, UTC+3).
FOLLOW THE TOPIC
Topics and tags
Share your discovery.
Send this story to a friend.
Reader comments
What do you think about this development? Share your experience or question. Comments are published after editorial approval.
Your name/nickname and comment become public if approved. Read: Privacy notice.






Loading comments…