Short answer
- Both runtimes answered offline in our laptop test. Both misread the shipment record. See lab results.
- Try the offline test with a ready-made sample and two questions.
- Check your hardware and measure speed, memory use and answer quality.
We cut the internet. Both engines still got the shipment wrong.
Source record
As of 12:00 the courier has not accepted the package.
Both engines replied
Yes, a courier has accepted this package.
Both runtimes answered 30 of 30 requests without internet access. Both gave the same wrong answer on all 20 handoff requests. I’d use either runtime for a first offline trial. For a support workflow, I’d require the answer to quote the record and check that quote before it can change an order or send an update.
Time to first text
Time to full reply
- LM Studio headless. First text in 89 ms and full reply in 303 ms. It correctly said the refund timing was unspecified. It gave the right 21-day number but contradicted itself on when the clock starts.
- Ollama. First text in 56 ms and full reply in 344 ms. It started the return clock at the wrong event and invented a 21-day refund wait.
Those errors repeated across both runs. LM Studio fully answered one of three distinct questions correctly. Ollama fully answered none. Both gave the same wrong answer on the handoff. The repeated prompts tell us the mistakes were consistent in this setup.
I also requested a deliberately absent model. Ollama’s generate endpoint returned HTTP 404 on both tries. LM Studio’s legacy completions endpoint returned HTTP 200 and identified the already loaded model in the response. If your code needs a specific model, check the returned model identifier before using the answer.
Method, raw answers and replay files
Measured 9 November 2026 on one Intel Core i7-11850H laptop, in Ubuntu 24.04.5 under WSL 2. The two headless services started inside a Linux network namespace with loopback only and no external route. A connection to a public IP failed with “Network is unreachable.” The first LM Studio setup hit a missing Linux library. After adding the required libraries, the local model loaded and served requests in both isolated blocks.
Both engines read the same Qwen2.5-0.5B-Instruct Q4_K_M model file, verified by SHA-256, with the same raw prompts built from the same two fictional text files. Each engine used the CPU, the same eight allowed logical CPUs, a 2,048-token context, one request at a time and greedy decoding. We ran five repeats of each of three tasks in each of two blocks and reversed engine order in the second block. The medians omit each block’s warm-up. Reply lengths and cache behavior can affect these times. The experiment covers headless text inference on this laptop. It leaves desktop attachment handling, GPU speed and long documents for separate tests.
Download all replies and timings (JSON) · Download the scripts and sample files (ZIP) · Qwen model files · LM Studio headless documentation · Ollama’s model import guide
Jump to a section
My first check for a private workflow is simple. Can it still answer from a file after the internet is disconnected and the app restarts? A desktop app can run a model on your computer and still rely on online search, a plug-in or a separate service for part of the job.
Sources and update notes
Try one file offline
Download the fictional returns policy while you are connected. Download the model you will use and confirm it answers a simple prompt.
- Disconnect Wi-Fi and Ethernet. Start a fresh chat in LM Studio and attach the text file. If you are testing Ollama through another app or your own integration, use the document path you plan to deploy.
- Ask “How long do I have to request a return, and when does the clock start?” The policy says 21 calendar days from delivery. Ask the model to quote the line it used.
- Ask “How many days does a refund take to arrive?” The file gives no arrival time. The answer should say the timing is unspecified. Restart the app while offline and try both questions again in a fresh chat.
This exercise checks one short document and one missing fact. Before a team rollout, test a larger set of tasks and check any tools, backups or sync services separately.
Verify what stays local
LM Studio’s offline documentation says downloaded models, local document processing and its local server can operate without internet access. Model discovery, downloads, runtimes and updates need connectivity. Prepare those dependencies before an offline deployment rather than discovering that a required component is missing during a sensitive task.
Ollama’s FAQ distinguishes local inference from cloud-hosted models. It documents a local-only option using OLLAMA_NO_CLOUD=1 and a localhost default listener. Those are useful configuration facts, but a connected front end or external tool can create another network route. Inspect the application stack, not just the model process.
Define the data boundary: which files are loaded, where prompts and outputs are stored, what logs retain and whether backups synchronize elsewhere. A local document index may be included in a corporate cloud backup. A browser extension may send queries to another provider. “Nothing leaves” should refer to a tested configuration and workflow, not a slogan.
For sensitive use, disconnect networking in a safe test and run the complete task. Include document retrieval and any tool calls. Observe attempted outbound connections and failure behaviour. Record the app version, model file, embedding model and configuration. Offline success is different from a compliance determination; apply the relevant organizational requirements to the actual setup.
Fit the model to the hardware
LM Studio’s system requirements recommend at least 16 GB RAM and 4 GB dedicated VRAM on Windows, with AVX2 support for x64. Those recommendations do not promise that every model or context fits. Weights, context cache, runtime overhead and other applications all consume memory. Quantization can reduce memory while changing task quality.
Which setup fits your work?
- Desktop app. For chat, exploring documents or manual review. Test setup, model fit and the computer’s resources.
- Local service. For repeatable integrations or developer tools. Decide who runs it, who can access it and how to monitor it.
- Dedicated server. For shared workloads. Check capacity, access controls, backups and availability.
- Cloud fallback. For jobs the local setup cannot handle. Check which data goes to the provider and what the workflow depends on.
Start with a smaller model and modest context. Increase them only when a measured task requires it. A model loading successfully does not prove useful latency at peak memory. In Ollama, use its documented inspection commands to check CPU/GPU placement and observe real resource use.
Read the model licence separately from the app licence. Open weights do not automatically mean unrestricted commercial use. Preserve the exact model file and hash or version identifier so an update can be evaluated rather than silently changing accepted behaviour.
Build a document workflow with evidence
Begin with a small, well-defined document collection. Remove obsolete versions or label their validity periods. Keep source access permissions attached to the retrieval process. A local index that mixes departments can reveal information to users who were never authorized to read the original files.
Create questions with known answers and questions that should be refused because the evidence is absent. Require source references and inspect whether they support the answer. Test tables, scanned pages, conflicting policies and text in the languages your team actually uses. A large context window does not ensure correct extraction from all formats.
Separate retrieval failure from generation failure. If the correct passage never reaches the model, changing the chat model may not fix the result. If the passage is present but the answer changes a number or date, inspect the prompt and validation. Keep document identifiers and retrieved chunks available for investigation without exposing unnecessary content in logs.
Do not give a document chat unrestricted write access to operational systems. Start with reading and drafting. For a generated classification or extracted field, validate it against the business schema and route uncertain cases to review. See production RAG design for retrieval and access-control boundaries.
A practical local AI acceptance test
Choose twenty to fifty representative tasks as an initial diagnostic set, not a statistically definitive benchmark. Include ordinary questions, missing evidence, long inputs and difficult formats. Run the same tasks on each candidate configuration and record accepted quality, elapsed time, memory and reviewer effort. Keep all outputs so a future upgrade can be compared.
Test the disconnected workflow, application restart and model reload. For a shared server, test unauthorized access and simultaneous requests. Keep the listener local unless a deliberate network deployment includes authentication and access restrictions. Do not expose a development inference endpoint merely because another laptop needs access.
Budget operating work. A hypothetical workstation costing $1,800 spread over 36 months contributes $50 monthly to a management view. Add power, maintenance, backup and review. Compare that total with the actual alternative at the same quality boundary. Existing hardware can reduce incremental cash cost, but its capacity and opportunity cost still matter.
The next useful step is a fully disconnected trial on one harmless document set. Record exactly which operations stop working without the network. Then decide whether the local route meets the task’s privacy, latency and quality requirements. Use current model selection for broader tradeoffs, but do not substitute a cloud leaderboard for testing a quantized local model.
Plan maintenance for a disconnected environment
An offline deployment still needs an update process. Prepare approved model files, runtimes and application installers in a connected staging environment. Record their provenance and integrity before moving them to the target device under the organization’s process.
Retain the previous accepted configuration so a failed update can be reversed. Re-run the saved task set after changing the model, runtime, quantization or context setting. A new file with a similar name can behave differently or consume more memory.
Consider physical access and shared accounts. Local inference protects against some network transfers but does not prevent another authorized device user from reading chat history or document indexes. Apply operating-system access controls and retention rules to those artifacts.
Finally, test backups and restore. If an index can be rebuilt from protected source documents, record the procedure. If prompts or accepted outputs are needed for work, include them in a deliberate retention plan. Offline operation is a supported workflow that needs ownership, not a device that can be forgotten after installation.
Frequently asked questions
Is a desktop AI app automatically offline?
No. It may use cloud models, search or connected tools. Test the complete configured workflow with networking disconnected.
Does 16 GB RAM guarantee a useful local model?
No. Model weights, context, runtime overhead and other applications determine fit. Measure the intended configuration.
Can local document retrieval leak information?
Yes, if source permissions, index access, logs or backups are misconfigured. Local processing does not remove authorization requirements.
What should be recorded for an upgrade?
App/runtime version, exact model file, configuration and retained acceptance tasks with outputs and resource measurements.