Browser inference vs a hosted API: an honest comparison
Free, no key, nothing uploaded
A hosted API gives you frontier-quality models with no download and no hardware requirement, billed per token. Browser inference gives you zero marginal cost, no rate limits, no key management, no data egress and offline operation — at the price of a one-time download and a hard ceiling on model size somewhere around 3–4 billion parameters. This page maps out which workloads fall on which side of that line, including the cases where the browser is not merely cheaper but the only compliant option.
At a glance
- Cost of each request
- Browser: nothing once the model is cached · API: billed per token, minute or image
- Largest usable model
- Browser: a few billion parameters (4B is the most that loads here) · API: frontier models
- Does your data leave the device
- Browser: no · API: yes, on every request
- Before the first result
- Browser: one download, from tens of MB to a few GB, cached afterwards · API: an account and a key
- Rate limits
- Browser: none beyond your own hardware · API: per-key quotas
- Works offline
- Browser: yes, once the model is cached · API: no
- Low-end phones
- Browser: poorly or not at all · API: yes, the phone only sends text
- Speed
- Browser: no network round trip, limited by your GPU · API: datacentre GPUs plus a network round trip
Where the hosted API is better: quality at the top end, and reach. A frontier model answers open-ended questions, writes code and follows long instructions far better than anything that fits in a browser tab, and it does so on any device, because the device only sends text. If your users are on cheap phones, or the task needs real reasoning over a long document, pay for the API.
Where the browser is better: volume, privacy and price per run. Embeddings, transcription, background removal, classification and translation are well served by small open models, and those are the workloads that get called thousands of times. In a tab each extra call costs nothing and sends nothing anywhere, which also settles the compliance question for data you are not allowed to transmit — patient notes, client files, anything under an NDA.
The quickest way to decide is to try your own input. Every tool linked on this page runs the model on your GPU after a one-time download, with no account and no key, so you can check whether the small model is good enough for your case before you weigh it against an API bill.
Free, no key, nothing uploaded
Frequently asked questions
When is a hosted API clearly the right choice?
Long-context reasoning, code generation, anything needing a frontier model, and any workload where your users are on low-end phones. A 1.7B model in a browser will not replace a frontier model.
When is the browser clearly better?
High-volume, low-complexity work — embeddings, classification, transcription, background removal — and anything involving data you are not allowed to transmit. Those are exactly the tasks where API bills accumulate fastest.