A local LLM for business is a language model that runs on hardware your company controls, in your own data center or private cloud, instead of on a provider’s servers. When an AI assistant uses a local model, the questions people type, the records the assistant fetches and the answers it writes never leave your network. For companies whose data includes customer details, salaries, prices and bank information, as in human resources questions, that is often the deciding factor.
This guide covers what actually stays local, how local models are served through OpenAI-compatible endpoints, what to think about when sizing hardware, how local and cloud compare, how hybrid setups work and where KVKK comes in.
What stays local, and what that means
An AI assistant that works with business systems sends more to the model than the question. A typical request contains:
- The prompt: the user’s question, recent conversation and instructions.
- Tool descriptions: the list of tools the model may call.
- Tool results: the rows the assistant fetched from your ERP, CRM or an in-house service behind a custom API, often summarized, sometimes with names, amounts and identifiers.
With a cloud model, all of this travels to the provider. With a local model, it goes to a server on your own network and stops there. That is the core of on premise LLM use: the data path is yours end to end, and so is the log of what was sent.
Local does not mean less governance. The same permissions, row filters and field masking should apply before data reaches any model, local or not. A local model that sees everything is still a risk if the wrong person can ask it.
OpenAI-compatible endpoints: Ollama, vLLM, LM Studio
Most local model servers expose an API that follows the OpenAI request format, so applications written for that format can switch to a local model by changing the base address and model name. Three common options:
| Server | Typical use | OpenAI-compatible API |
|---|---|---|
| Ollama | Single server or workstation; pulls and runs open models with one command | Yes, a subset of the OpenAI API, including chat completions, under /v1 |
| vLLM | Dedicated GPU servers serving many users at once | Yes, an OpenAI-compatible HTTP server with chat completions and embeddings |
| LM Studio | Desktop app for trying models; can run a local server | Yes, OpenAI-compatible endpoints including chat completions |
The Ollama documentation and the vLLM serving documentation list the supported endpoints. When you evaluate Ollama for business use, one reasonable path is to start with a single server on the internal network and consider vLLM once many people use the assistant at the same time. A request to a local Ollama server looks like this:
POST http://localhost:11434/v1/chat/completions
Content-Type: application/json
{"model": "<model-name>", "messages": [{"role": "user", "content": "..."}]}
One point on Ollama data privacy: Ollama can also reach cloud-hosted models. If the goal is to keep data in-house, make sure the models you configure run on your own hardware.
Hardware: what to think about
There is no single right server, and published speed figures depend heavily on the model, settings and workload. The factors below are what drive the decision.
- Model size and memory. A model’s weights must fit in memory, ideally GPU memory. Memory need grows with the number of parameters and the precision of each one: at 16-bit precision each parameter takes about two bytes, so larger models quickly outgrow a single card.
- Quantization. Storing weights at lower precision, such as 8-bit or 4-bit, cuts memory roughly in proportion. It makes larger models fit on smaller hardware, usually at some cost in answer quality. Test the quantized model on your own questions before deciding.
- Context length. Long conversations and large tool results need extra memory on top of the weights. An assistant that reads many records per answer needs more headroom than a simple chat.
- Concurrency. Ten people asking at once is a different load from one. Servers built for batching, such as vLLM, are designed for this; a desktop tool is not.
- Tool calling quality. For an agent that calls business tools, the model must follow tool schemas reliably. Smaller models vary a lot here; evaluate with your real tools.
Local vs cloud: the trade-offs
| Aspect | Local model | Cloud model |
|---|---|---|
| Quality | Depends on the open model you can run; the strongest models may need more hardware than you have | Access to the providers’ largest models |
| Latency | No internet round trip; speed depends on your hardware and load | Network round trip; provider capacity absorbs load |
| Cost model | Up-front hardware plus power and operations; no per-token fee | Pay per use; no hardware to buy |
| Data residency | Prompts and tool results stay in your network | Data goes to the provider’s region under your contract terms |
| Operations | You patch, monitor, update models and plan capacity | The provider runs the service |
Neither column wins everywhere. A self hosted LLM gives you control over data and cost predictability; a cloud model gives you the strongest models without running GPUs.
Hybrid setups
Many companies end up with both. Common patterns:
- Local by default, cloud by exception. Everything runs on the local model; cloud models are allowed only for tasks that do not involve sensitive data, and only when an administrator turns cloud access on.
- Masking before the cloud. When a request goes to a cloud provider, personal identifiers and other sensitive values are replaced with placeholders before sending and restored in the answer.
- Cloud for development, local in production. Teams try new tools against a cloud model, then switch the production workspace to a local one.
Whatever the pattern, the rule for cloud egress should be a setting someone owns and can audit, not a default nobody remembers.
A note on KVKK
Turkey’s personal data protection law (KVKK, Law No. 6698) sets specific conditions for transferring personal data abroad. Sending prompts or tool results that contain personal data to a cloud model hosted outside Turkey may count as such a transfer. A local model avoids the question for the data it processes; a cloud model needs a legal review of the provider, its region and the safeguards in place. The KVKK authority’s website publishes the law and guidance. This is general information, not legal advice; check with your data protection officer or counsel. See also the KVKK entry in our glossary.
How ORQEN works with local or cloud models
ORQEN itself runs on your servers or private cloud, next to your systems, and its control plane does not see customer data. For the language model, a tenant administrator adds providers: OpenAI, Azure OpenAI, Anthropic, or any OpenAI-compatible endpoint such as Ollama, vLLM or LM Studio. With a local model, prompts and tool results stay inside your network. A local endpoint without an API key must resolve to a private network address.
The tenant administrator also controls cloud egress, that is, whether requests may go to cloud providers at all, and the masking rules applied before they do. The same roles, policies and row filters apply whichever model answers; the model only sees what the user is allowed to see. The security page describes these controls, the integrations page lists the supported model providers and API formats, and the guide on role-based access for AI explains masking in more detail.