Your own inference box or someone else's cloud: a small-team view

A typical question from small teams and households goes like this: we want to run a model in the 30B to 40B range locally for up to four people, we need at least a usable reading speed per person, and we want the lowest possible power draw. Should we buy a high-memory Mac, build a GPU box or forget hardware and use an API? Each answer is right for someone, and the decision becomes much easier once you separate the questions of memory, speed, concurrency, privacy and maintenance.
This comparison is for teams of a few people, small offices and enthusiasts weighing a local inference machine against hosted services like Groq or the keyless free-ai endpoint on this site. We do not quote hardware prices, which change constantly, but we explain which factors decide the outcome and how to test your assumptions before spending money.
Frequently asked questions
How much memory does a 30B to 40B model need?
Roughly the parameter count times the bytes per parameter, plus room for the context cache. At 4-bit quantization, a model of this size needs on the order of 20 GB or more for weights alone, and extra memory for each user's context. More precision or longer contexts need more.
Is a high-memory Mac or a GPU box better for local inference?
Machines with large unified memory can hold big models quietly and with low power draw, and generate at reasonable speeds. Dedicated GPUs usually process prompts and serve parallel users faster but draw more power and may need several cards for larger models. Test both on your workload if you can.
What speed is acceptable per user?
For reading along with a chat answer, a stream in the range of the reader's speed or a little faster feels fine. Many people consider somewhere around ten tokens per second usable for chat. Coding agents and batch jobs benefit from much more.
Does serving four users need four times the hardware?
No. Inference servers batch requests, so serving several users shares the weight reads and raises total throughput. Each user still needs cache memory for their context, and per-user speed drops somewhat when everyone is active at once.
How does a hosted API compare on privacy?
With self-hosting, prompts never leave your network. With any hosted API, prompts travel to the provider and leave logs there. Some providers offer contractual guarantees; free services generally offer fewer. If data must stay inside, self-hosting wins.
Which is cheaper over time?
It depends on usage and electricity costs. Hardware is a large upfront cost that pays off with steady heavy use; an API costs nothing upfront and scales with use. Estimate your monthly tokens and compare against hardware cost spread over its useful life plus power.
Can a self-hosted 35B model match commercial assistants?
On many everyday tasks it is good enough, especially with clear prompts. On hard reasoning, long-form writing, vision and the newest capabilities, large commercial models usually remain clearly ahead.
The four questions that decide it
Most self-hosting debates mix several separate questions. Pulling them apart makes the decision clearer. First, does the model fit in memory at an acceptable quality level? Second, how fast does it generate and process prompts on the hardware? Third, how many people will use it at the same time? Fourth, who will maintain it when it breaks or needs updating?
A hosted API answers the first three questions for you, at a price and under the provider's terms. Self-hosting answers them with your money and your time. Privacy and control sit across all four: only self-hosting keeps data entirely on your premises.
Memory decides what is possible
If the model and its caches do not fit in fast memory, it either does not run or runs painfully slowly by spilling to system RAM or disk. Start every hardware plan with a memory budget.
Speed decides what is pleasant
Generation speed is bounded by memory bandwidth; prompt processing by compute. A machine can be fine for short chats and frustrating for long documents. Test both.
Hardware options for a few users
Three broad routes come up again and again. A desktop or mini computer with large unified memory, such as high-end Apple Silicon machines, holds big quantized models in one memory pool, runs quietly and draws relatively little power. A workstation with one or more consumer GPUs offers higher compute and faster prompt processing, at the cost of noise, heat and power. Used server or workstation cards offer more memory per card, with their own trade-offs in power and support.
Unified memory machines
Their strength is fitting large models at low power. Their usual weakness is slower prompt processing on long inputs compared with strong discrete GPUs. For chat with short prompts and a few users, they are often a comfortable choice.
Consumer GPU builds
Fast for prefill and good at batching, but limited by memory per card. A 30B to 40B model at 4-bit may need a large single card or two cards splitting the model, which adds complexity and power draw.
Power draw and noise
If the machine sits in a living space or small office, idle power, fan noise and heat matter. A box that draws a lot of power around the clock can cost more in electricity over a year than people expect.

Concurrency: four users are not four times the load
An inference server that supports continuous batching serves several users at once with far less than proportional slowdown, because the expensive weight reads are shared. Our explainer on continuous batching covers the mechanics. In practice, a household or small team rarely sends requests at exactly the same moment, so average contention is low.
What does scale with users is cache memory. Each active conversation holds its context in memory, so four users with long contexts need far more headroom than one. Cap the context length on the server if memory is tight.
- Pick a serving engine that supports batching rather than a single-user runner
- Limit maximum context per request to protect memory
- Expect per-user speed to drop at peak moments
- Measure with realistic simultaneous requests, not one at a time
What hosted APIs offer instead
A hosted provider runs large clusters with specialised hardware and handles batching, scaling and updates. Groq is known for very fast generation on its own chips and hosts a selection of open models, accessed with your own key; consult its current model list, limits and pricing rather than older numbers. This site is not affiliated with Groq.
People sometimes imagine their favourite frontier model running on the fastest specialised hardware and generating at enormous speed. Hosted providers are the only realistic way to approach that kind of experience; no home machine can. The trade-off is that you accept their model selection, limits and terms, and your data leaves your network.
The keyless option for testing
The endpoint on this site serves free-ai, an independent open-weight model of about 35B parameters, the same size class many teams consider self-hosting. Using it for a week shows whether a model of this size meets your needs before you buy hardware, at no cost and with no account.

Testing before buying
The most expensive mistake is buying hardware for a model size that turns out too weak for your tasks, or too slow on your prompts. Test quality first using a hosted model of the same size class, then test speed on the actual hardware if you can borrow or rent similar machines for a day.
Write down your target: for example, four users, typical prompts of a thousand tokens, answers of three hundred tokens, at least ten tokens per second per user. Then measure against it. Our guide to benchmarking providers on your own prompts includes a harness that works for local servers too, since most expose the OpenAI format.
Simulate simultaneous users
The script fires requests for several users at once and reports each user's effective speed, which includes waiting. That is the number your colleagues will feel, not the single-user figure from a review.
import time
from concurrent.futures import ThreadPoolExecutor
from openai import OpenAI
# Point at your local server, or at the keyless endpoint to test quality.
# The keyless endpoint allows 2 parallel requests per IP, so keep USERS at 2 there.
client = OpenAI(base_url="http://localhost:8000/v1", api_key="local")
MODEL = "your-local-model"
USERS = 4
PROMPT = "Summarize the pros and cons of remote work for a small design studio in 200 words."
def one_user(_):
start = time.perf_counter()
r = client.chat.completions.create(model=MODEL, max_tokens=300,
messages=[{"role": "user", "content": PROMPT}])
elapsed = time.perf_counter() - start
return r.usage.completion_tokens / elapsed
with ThreadPoolExecutor(max_workers=USERS) as pool:
rates = list(pool.map(one_user, range(USERS)))
print("tokens/s per user:", [round(x, 1) for x in rates])Maintenance: the cost nobody budgets
A self-hosted model is a small server. Someone must update the serving software, download new models, watch disk space, restart it after power cuts and handle the occasional driver problem. In a household, that someone is usually the enthusiast who suggested it. In a small company, it is often a developer whose time is expensive.
Hosted APIs move this work to the provider, which is a large part of what you pay for. The free keyless endpoint here moves it too, but without guarantees: it has no SLA and may return 503 at busy times.
Security of a home server
Do not expose a local inference server directly to the internet. Use a VPN or a private network for remote access, and add authentication if several people connect. An open endpoint will be found and used by strangers.

Hybrid setups often win
Many small teams end up with both. A modest local machine runs a mid-sized model for private documents, everyday chat and chores, while a hosted API handles heavy tasks, long documents or moments when the local box is busy. Since both speak the same format, a small router in your tools can choose per request; see our guide to LLM routing.
This also reduces the pressure on hardware choices. The local machine does not need to handle the hardest tasks or the busiest moments, so a quieter, lower-power option becomes viable.
Route by sensitivity
Send anything with client data, personal information or unreleased plans to the local model, and generic questions to the hosted one. Write the rule down so everyone on the team knows where their prompts go.
A side-by-side summary
Neither option is universally better. The table-style list below summarizes how they compare on the points small teams raise most often. Use it alongside your own measurements rather than instead of them.
When to choose self-hosting
When data must not leave your premises, usage is steady and heavy, someone enjoys or is paid to maintain it, and a mid-sized open model is good enough for your tasks.
When to choose a hosted API
When you need the best available quality, very high speed, low upfront cost or zero maintenance, and your data can be sent to a provider under acceptable terms.
- Privacy: self-hosting keeps data in-house; hosted sends it out
- Upfront cost: self-hosting needs hardware; hosted needs none
- Running cost: self-hosting pays power and time; hosted pays per use or plan
- Model quality ceiling: hosted offers far larger models
- Speed: hosted fast-inference providers are hard to match at home
- Control: self-hosting lets you pick and pin any open model
- Effort: hosted is near zero; self-hosting needs ongoing care

Send a request to the keyless free-ai endpoint from the home page and see how it fits your project, no sign-up needed.
Read also
- Flat AI Subscription or Pay-per-Token API: Which Costs You Less?
- What Is Time to First Token, and Why Can It Matter More Than Speed?
- Is Buying a Turnkey AI App Template Worth the Money?
- How to Benchmark LLM Providers Side by Side on Your Own Prompts
- How to Build a Devil's Advocate Generator With a Chat API