Carpathian
AI Chat
AI
Software
Cloud
Security
About
Pricing
Contact
Log InSign Up

Subscribe to publications

Research notes, engineering write-ups, and platform updates, sent when we publish.

Verification code: AAAAAA

Carpathian

Carpathian is a software development and cloud hosting company with a research focus on efficient AI. We design and build custom software: web applications, iOS and Android apps, APIs and backend systems, database and systems integration work, and the deployment pipelines that carry it all to production. On the infrastructure side, we run managed cloud VPS on our own US-based hardware and help clients architect, build, and host their workloads, whether that is an application, a database, or an AI model. Our AI engineers work alongside client teams to add AI to the products they ship. Our research goes toward making AI models lighter and cheaper to run, and the tools we build along the way are open source and free to use.

Services

  • AI Chat
  • LLM Harness
  • Carpathian AI
  • AI Image Generation
  • Managed VPS
  • Cloud Hosting
  • Object Storage
  • Security
  • Software Development
  • Carpathian Apps
  • Carpathian Maps
  • Carpathian Search

Company

  • About Us
  • Our Team
  • Our Work
  • Partnerships
  • Data Centers
  • Veritate
  • AI Research
  • Open Source
  • The Models We Train
  • Privacy Policy
  • Company Policies

Resources

  • Pricing
  • Store
  • Carpathian Status
  • Service Availability
  • Contact Us
  • Feedback
  • Documentation
  • Research
  • Publications
  • Threat Intelligence Feeds
  • Get Outside
  • The Graveyard
  • Sitemap
© 2026 Carpathian, LLC. All rights reserved.Infrastructure hosted in the United States
  1. Home
  2. Publications
  3. Making an LLM Efficient By Optimizing Thinking Time, Not Parameter Count

Making an LLM Efficient By Optimizing Thinking Time, Not Parameter Count

For a model that must fit on a small device, the parameter budget is fixed. The place to spend is inference-time compute.

ResearchBy Samuel Malkasian | FounderJuly 13, 20265 min read
Making an LLM Efficient By Optimizing Thinking Time, Not Parameter Count

Thesis

The instinct in language modeling is to buy quality with parameters. Veritate's working hypothesis is different: for a model that must fit on a consumer or embedded device, the parameter budget is fixed and small, so the place left to spend is inference-time compute. Generate several candidate answers and pick the best; run a short chain of reasoning; verify before committing. The theoretical and empirical literature says this axis is real, and our own small-scale measurements say it shows up even at 85M. This article lays out the argument and the evidence that, for a small model, thinking time is a more honest lever than parameter count.

Theoretical Frame

There is a clean complexity-theory result behind this. Merrill and Sabharwal (ICLR 2024), together with subsequent lower-bound work, show that a transformer allowed a polynomial number of chain-of-thought steps can decide every polynomial-time-solvable problem; with a linear number of steps it can recognize regular languages and simulate counter machines. The consequence is blunt: in the asymptotic sense, parameter count is not the bottleneck for what a model can compute. Thinking time is. A small model with enough serial reasoning steps and a verifier occupies the same complexity class as a large one with the same step budget. That does not make a small model equal to a large one in practice, but it removes the theoretical objection to the entire small-model-plus-inference-compute program.

Empirical Frame

The empirical literature backs the frame at practical scale. DeepSeek-R1-Distill at 1.5 billion parameters reaches AIME-2024 pass-at-one of 28.9 and MATH-500 of 83.9, and with 64-sample consensus voting its AIME pass rate roughly doubles to 52.7, beating much larger general-purpose models on math specifically. That is test-time compute, majority voting over many samples, converting a small model's single-shot weakness into competitive accuracy. The same paper's distilled family establishes that below roughly 1.5 billion parameters multi-step symbolic ability degrades sharply, which is exactly why our program targets the one-to-two-billion band for the base model and pushes the rest of the capability into the inference-time stack.

The Empirical Frame, Ours

We wanted to know whether the test-time-compute effect is merely a large-model phenomenon or whether it already appears at our scale. It appears. On the byte-level 85M, generating sixteen candidates per prompt and selecting the best by the model's own per-byte scoring yielded a 45.3 percent mean relative reduction in cross-entropy versus a single sample, across ten diverse prompts. That is self-grading only, the model judging its own outputs, which is the floor; a trained verifier would do better. The point is that test-time scaling is real even at 85M and even on bytes.

A second, related finding concerns spending compute adaptively rather than uniformly. A logit-lens early-exit study on the 85M found that about 61 percent of byte positions could commit their prediction by layer seven of twelve, with high-confidence bytes committing by layer six on average and low-confidence ones needing the full depth, projecting roughly 32 percent mean compute savings from a per-position adaptive-depth policy. Confidence is a usable gating signal. This dovetails with the entropy structure reported elsewhere in this series, where the top third of byte positions hold most of the uncertainty: if most bytes are easy, most bytes should get less compute, and the hard minority should get more.

An honest caution from the same line of work: the adaptive-depth saving comes from a trained or calibrated exit signal, not from a naive runtime gate. We tried a pure runtime entropy gate that committed early when the mid-layer prediction looked confident; it fired on under one percent of bytes within our quality budget, roughly thirty times short of target, because mid-layer byte distributions are too diffuse for a low-bar gate. The savings are available, but only through a small trained exit head, not a free runtime trick. This is the same recurring Veritate lesson that appears in our quantization and sparsity work: the win is a training-time investment, not a deployment-time shortcut.

Why This Matters for the Mission

If quality can be bought with serial thinking time and parallel sampling rather than with parameters, then a model that fits in a few hundred megabytes on a five-watt device is not disqualified from competitive behavior on bounded tasks. It is given a knob: spend more wall-clock when the task is hard, spend almost none when it is easy. For an energy-constrained, consumer-hardware target, that knob is worth more than another billion parameters that will not fit.

Limitations

Our best-of-N and adaptive-depth numbers are at 85M, on a pretrain-only byte model, and the best-of-N result uses self-grading, which is a floor rather than a ceiling; a process-reward verifier remains specified but unbuilt in our work, and we cite the public verifier results as the target rather than as our own. The complexity-theory result is asymptotic and says nothing about constants or about finite-precision practice. The R1 numbers are public results on a subword model, imported as evidence for the frame, not as Veritate measurements. The defensible claim is narrow but solid: test-time compute scaling is measurable at our smallest scale, adaptive per-position compute is available through a small trained signal, and the theory removes the asymptotic objection to trading parameters for thinking time. The same lever runs through related Veritate work, from speculative decoding to byte-level language modeling, where the budget we have is the budget we spend well at inference.

References

Merrill and Sabharwal, The Expressive Power of Transformers with Chain of Thought, ICLR 2024.

DeepSeek-AI, DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning, 2025.

Snell et al., Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameters, 2024.

Elbayad et al., Depth-Adaptive Transformer, 2020.

Related topics

#test-time compute#inference-time compute#small language models#chain of thought#best-of-N sampling#adaptive depth#byte-level models
Samuel Malkasian | Founder
Written by
Samuel Malkasian | Founder

Samuel Malkasian is the founder and lead cloud architect at Carpathian, where he designed the platform's core architecture along with a range of client enterprise systems and open-source tools for AI workflows and integration. He serves as a Cyber Warfare Officer in the U.S. Army and has a background in machine learning, data science, and LLM architecture. He is currently focused on building AI infrastructure that is secure, efficient, and sustainable.

ProfileLinkedInXInstagramThreads

Related publications

W

Why Data Quality Decides Small-Model Quality

On saturated consumer hardware, you do not buy small-model quality with a faster framework. You buy it with better data and a better training objective, with numbers to back it.

Jul 16, 2026
L

LLM Decoding Without Changing Output Bytes

Speculative decoding and multi-token prediction cut byte-level generation latency without touching output quality. Here is what we measured on Veritate's models

Jul 15, 2026
W

Why Low-Bit QAT Needs to Happen In Training

Below roughly four bits per weight, post-hoc QAT on byte-level models is catastrophic, and quantization-aware training recovers nearly all of the lost quality

Jul 14, 2026
Why Efficient Inference Beats Brute Force

Why Efficient Inference Beats Brute Force

I am convinced the future of useful AI is small, efficient, often task-specific models, not an endless race for the biggest one. Quality per watt beats brute force.

Jul 24, 2026
What Building Infrastructure Taught Us About Trust

What Building Infrastructure Taught Us About Trust

Years of building infrastructure taught me that trust is earned quietly, honesty about limits beats big promises, and locking people in is a slow death.

Aug 3, 2026
The Hidden Energy Cost of AI, and What Low-Power Inference Could Look Like

The Hidden Energy Cost of AI, and What Low-Power Inference Could Look Like

The AI energy cost is treated as an inconsequential while the power demand is at the size of some countries and why efficiency, not scale, is the future.

Jul 18, 2026
Browse all publicationsTalk to the team