
A private LLM is a language model whose prompts and answers stay under your control. For many businesses that does not mean running your own model: a model API under business terms, or a model offered through Azure or AWS, can keep prompts out of training and offer a choice of processing regions, subject to the service and deployment settings. Run an open-weight model on your own servers when data must not leave your network, the system must work offline, you need a fixed model version, or steady high volume makes owned hardware cheaper than paying per request.
Key takeaways
- "Private" covers three set-ups: a public API under business terms, a model in your own cloud account, and an open-weight model you run yourself.
- As of 27 November 2026, OpenAI and Microsoft state that business API data is not used to train their models by default, and AWS states that model providers cannot see Bedrock prompts. Check retention for abuse monitoring, application state and where data is processed.
- Self-hosting gives you full control and all the operations work: GPUs, updates, monitoring and failures.
- Read the licence before you choose a model. Several popular open-weight models are Apache 2.0; Llama 4 has its own licence with conditions.
- Put one model layer between your application and the model, so you can start on an API and self-host later without a rewrite.
What is a private LLM?
A private LLM is a setup in which you, not a model vendor, decide where prompts and answers go, how long they are kept and who sees them. The term covers three different things:
| Option | Where the model runs | Who sees your prompts | What you operate |
|---|---|---|---|
| Public API under business terms | The vendor's cloud | The vendor, under its retention rules | Your application only |
| Model through your cloud account | Azure or AWS, in a supported deployment and region | The cloud provider, under its terms; not the model maker | Your application and the cloud setup |
| Self-hosted open-weight model | Your servers or your rented GPUs | Your team; a rented infrastructure provider may also have access | Everything, including the model server |
The real question is which of the three your data, contracts and budget actually need.
Is a model API already private enough?
Often, yes. Read what the vendor's documentation says, not what people assume:
- OpenAI API. As of 27 November 2026, OpenAI states that "data sent to the OpenAI API is not used to train or improve OpenAI models" unless you opt in. Abuse-monitoring logs are "retained for up to 30 days" by default. Zero Data Retention excludes customer content from those logs but requires prior approval, and some endpoints can still store application state. Regional storage and processing also depend on the endpoint and model; Canada and the UK offer storage but not regional processing (OpenAI, your data, data residency).
- Azure (Models sold by Azure, including Azure OpenAI). Microsoft states that prompts and completions are "NOT available to OpenAI" and are not used to improve the models. Processing stays in the geography you choose, unless you pick a "Global" or "DataZone" deployment type. With approved modified abuse monitoring, the stored copy for human review is not made, though automated review may continue. Microsoft says this option will stop being available for models introduced from 1 November 2026 on a date it has yet to announce (Microsoft Learn, data privacy).
- Amazon Bedrock. AWS states that model providers "don't have access to Amazon Bedrock logs or to customer prompts and completions". Bedrock has a per-Region retention setting; in "none" mode, "no request or response data is written to durable storage". AWS also notes that some models require retention for safety review and are unavailable in "none" mode (Bedrock data protection, Bedrock data retention).
So ask three specific questions: is short retention for abuse monitoring acceptable, which region processes the data, and does the model you want require retention. If the answers work, the API route gives you the vendors' current models with the least operations work.
When should you run your own model?
Self-hosting earns its cost when at least one of these is true:
- Data must not leave your network. A contract, regulator or security policy rules out any third-party processing, including a cloud provider's abuse monitoring. Ollama, for example, says: "We don't see your prompts or data when you run locally", and its cloud features can be turned off with a setting (Ollama FAQ).
- The system must work offline or on an isolated network, where calling an outside API is not possible.
- You need a fixed model version. A self-hosted model changes only when you change it, so you can control when to test and deploy upgrades.
- Your volume is high and steady. APIs charge per request; your own GPUs cost the same whether busy or idle. Steady load is where owned or reserved hardware can come out cheaper; small or spiky load rarely does.
- You want to fine-tune and keep the result. Open-weight models can be trained further on your data, subject to their licences, and you can run the result on your own infrastructure.
If none of these apply, a hosted API or a model in your cloud account is usually the better choice.
What have we built?
- For Saba, a supplement store, we built an ecommerce AI chatbot on Azure OpenAI. It answers from approved content and public site pages, using Azure OpenAI and Azure AI Search, so there are no model servers to operate and Microsoft's data terms apply.
- For Reactor, an AI assistant with Web3 tools, we built the Node.js back end, including language-model routes across several providers (OpenAI and Vertex AI) and a retrieval prototype with LangChain, Ollama and the Qdrant vector database. The same models serve consumers in the chat app and businesses through a keyed API with rate limits and usage accounting.
The Ollama work on Reactor was a retrieval prototype alongside the hosted providers; we do not present it as a self-hosted production system. What the build shows is the pattern we recommend: keep model calls behind one layer of your own, so a hosted model and a self-hosted one are interchangeable for the rest of the application. Ollama supports "a subset of the OpenAI API", including chat completions and embeddings, at a local base URL (Ollama OpenAI compatibility), and vLLM provides an "OpenAI-compatible API server" (vLLM documentation). A move then often comes down to a new base URL and model name, plus testing.
Which open-weight model can you legally use?
The licence decides what you may do with a model. Four common families, as of 27 November 2026, from their own pages:
| Model | Licence | Memory stated by the publisher |
|---|---|---|
| gpt-oss-20b (OpenAI) | Apache 2.0 | Runs "within 16GB of memory" (MXFP4 quantised) |
| gpt-oss-120b (OpenAI) | Apache 2.0 | Fits "into a single 80GB GPU (like NVIDIA H100 or AMD MI300X)" |
| Mistral Small 3.2 24B Instruct | Apache 2.0 | "~55 GB of GPU RAM in bf16 or fp16" |
| Qwen3-8B | Apache 2.0 | Not stated on the card |
| Llama 4 (licence) | Llama 4 Community License | See the model card for the size you choose |
Apache 2.0 is a standard permissive open-source licence. The Llama 4 Community License (effective 5 April 2025) is Meta's own and has conditions you must meet:
- If your products had more than 700 million monthly active users in the month before the Llama 4 version release date, you must request a licence from Meta before using the materials.
- If you distribute or make available Llama materials, derivatives or a product containing them, you must display "Built with Llama" on a related website, interface or documentation.
- You must "adhere to the Acceptable Use Policy for the Llama Materials", which the licence incorporates by reference.
This is not legal advice: have the full terms read for your use before launch, and keep a copy of the licence version you accepted.
What does running your own model involve?
More than downloading a model:
- Memory sizing. The model's weights must fit in GPU memory with room for every request in flight. Ollama's FAQ says parallel requests increase the context size and memory allocation. Its default context window is 4,096 tokens; parallel requests default to one on most backends, while MLX on Metal chooses a default based on available memory (Ollama FAQ). Size for your real load, not the defaults.
- The right server for the load. Ollama is simple and good for prototypes and small internal tools. vLLM is built for serving many users at once, with PagedAttention, "continuous batching of incoming requests" and options to split a model across several GPUs (vLLM documentation).
- Security and upkeep. A model server is an API like any other: put authentication, rate limits and logging in front of it, and plan who updates drivers and models and who is on call when it fails.
- Quality testing. Test candidate models on your own real questions; public benchmark tables do not show how a model handles your documents.
There is also a middle path. Managed services host open-weight models for you: as of 27 November 2026, Amazon Bedrock lists gpt-oss, Llama, Mistral and Qwen models among its supported models (Bedrock models at a glance). You get an open-weight model under your cloud account's data terms without running GPUs, and you keep the option to self-host the same model later, subject to its licence.
How do you decide?
Stop at the first step that meets your needs:
- List the data the model will see and the rules that apply to it. For Canada and India, see our guide to privacy for AI features under PIPEDA and DPDP.
- If a hosted API's terms, retention and regions are acceptable, start there.
- If not, try a model in your own Azure or AWS account, with retention as strict as the provider allows.
- If data still cannot leave your network, or one of the other reasons above applies, shortlist open-weight models, read their licences and test them on your own questions.
If the model will answer from your own documents, retrieval and evaluation matter as much as the model; our RAG buyer's guide covers them. Our private LLM development service covers the self-hosted route, from licence checks to GPU sizing and an OpenAI-compatible endpoint; AI consulting starts earlier, with whether a model is the right tool at all.
FAQ
Is a self-hosted model as good as GPT or Claude?
It depends on the task. A model you can run on your own hardware may not match the strongest hosted models for your work, or it may be good enough for a narrow job such as answering from your documents or extracting fields. The only reliable test is your own set of questions, run against each candidate.
Can we start with an API and move to our own model later?
Yes, if every model call goes through one layer in your code. Ollama and vLLM both offer OpenAI-compatible endpoints, so a move is often a change of base URL and model name, plus testing.
Does running a model ourselves make us compliant with privacy law?
Not on its own. Privacy laws care about what personal data you collect, why, for how long, who can access it and what you tell people. Self-hosting removes a third-party processor; you still need access controls, retention rules and a matching privacy policy. This is general information, not legal advice.
What hardware do we need?
It depends on model size, quantisation, context length and how many requests run at once. OpenAI says gpt-oss-20b runs within 16GB of memory and gpt-oss-120b fits on a single 80GB GPU. Test with your real load before you buy or reserve hardware.
Can we fine-tune a private model on our own data?
Yes, open-weight models can be fine-tuned, subject to their licences. OpenAI's model card says gpt-oss-20b "can be fine-tuned on consumer hardware". Try retrieval from your documents first, though: it is usually cheaper, easier to update and easier to check than retraining a model.
Sources (14 links)
- OpenAI, Data controls in the OpenAI platform (training, abuse-monitoring retention, Zero Data Retention), read 27 November 2026: https://developers.openai.com/api/docs/guides/your-data
- OpenAI, Data residency, read 27 November 2026: https://developers.openai.com/api/docs/guides/data-residency
- Microsoft Learn, Data, privacy and security for Foundry Models sold by Azure (change log updated 17 November 2026), read 27 November 2026: https://learn.microsoft.com/en-us/azure/ai-foundry/responsible-ai/openai/data-privacy
- AWS, Amazon Bedrock data protection, read 27 November 2026: https://docs.aws.amazon.com/bedrock/latest/userguide/data-protection.html
- AWS, Amazon Bedrock data retention, read 27 November 2026: https://docs.aws.amazon.com/bedrock/latest/userguide/data-retention.html
- AWS, Amazon Bedrock models at a glance, read 27 November 2026: https://docs.aws.amazon.com/bedrock/latest/userguide/model-cards.html
- Ollama, FAQ (local data, cloud features, parallel requests, context length), read 27 November 2026: https://docs.ollama.com/faq
- Ollama, OpenAI compatibility, read 27 November 2026: https://docs.ollama.com/api/openai-compatibility
- vLLM documentation, read 27 November 2026: https://docs.vllm.ai/en/latest/
- OpenAI, gpt-oss-20b model card (Hugging Face), read 27 November 2026: https://huggingface.co/openai/gpt-oss-20b
- OpenAI, gpt-oss-120b model card (Hugging Face), read 27 November 2026: https://huggingface.co/openai/gpt-oss-120b
- Mistral AI, Mistral-Small-3.2-24B-Instruct-2506 model card (Hugging Face), read 27 November 2026: https://huggingface.co/mistralai/Mistral-Small-3.2-24B-Instruct-2506
- Qwen, Qwen3-8B model card (Hugging Face), read 27 November 2026: https://huggingface.co/Qwen/Qwen3-8B
- Meta, Llama 4 Community License Agreement, read 27 November 2026: https://dev.meta.ai/llama/llama4/license/



