Questions · Deployment

Can I self-host an LLM?

Yes. Open-weight models can run on hardware you control. The harder question is whether the quality, utilisation and operating cost fit your workload.

Short answer. You can self-host an open-weight LLM on your own GPUs, in your own cloud account or air-gapped. Viability depends on model size, quantisation, context length and traffic. Budget for GPU memory, serving software, evaluation and 24/7 operations, not just the download.

What self-hosting actually means

Self-hosting means the model weights run on infrastructure you control. That can be a GPU server in your data centre, a reserved instance in your cloud account, or an air-gapped machine with no outbound network. You choose the model, the version and the patch schedule, and you own the availability target.

It is different from a private deployment of a managed API. In a private deployment the provider still operates the serving stack inside your network boundary. In self-hosting your team runs it.

The memory arithmetic

Model weights dominate GPU memory. A rough estimate is parameters multiplied by bytes per weight: FP16 uses about 2 bytes per parameter, 8-bit about 1 byte, and 4-bit about 0.5 bytes. A 7B model is therefore roughly 14GB at FP16 and 3.5–4GB at 4-bit. A 70B model is roughly 140GB at FP16 and 35–40GB at 4-bit, before any cache.

The KV cache grows with context length, batch size and layer count, and it is often the reason a model that fits at 4K context fails at 128K. Concurrency multiplies it again. Leave headroom for the framework, fragmentation and bursts; a card that is 95% full at idle will fall over under load.

Throughput is a separate constraint. Memory decides whether the model fits; compute and memory bandwidth decide how many tokens per second you can serve. Measure both on your own prompt lengths rather than trusting a benchmark on short prompts.

Serving software you will run

vLLM is a common choice for GPU serving, with paged attention and continuous batching. TensorRT-LLM targets NVIDIA hardware with compiled engines and strong throughput at the cost of a more involved build. Text Generation Inference is a comparable server with broad model support. llama.cpp and Ollama prioritise simplicity and CPU or mixed execution, which suits workstations and small deployments more than high-concurrency production.

Whatever you choose, you also need an OpenAI-compatible front end, authentication, rate limiting, usage metering, logging and a model registry. Those are the parts teams underestimate.

The operating burden

A self-hosted model is a production service. It needs monitoring, alerting, on-call, security patching, driver and CUDA upgrades, capacity planning, backup and disaster recovery, and an evaluation suite that catches regressions when you change a version or a quantisation setting.

Cost per token is driven by utilisation. A GPU that is busy most of the day can be cheaper than per-token pricing at high volume. A GPU that is idle outside business hours is expensive, because you pay for the reservation whether or not a request arrives. Model the duty cycle before comparing.

Quality and licensing

Open weights are not automatically equivalent to a frontier hosted model. Smaller models can be excellent at classification, extraction and summarisation within a narrow domain, and weaker at multi-step reasoning, long-document synthesis and unfamiliar tasks. Evaluate on your own data, with your own rubric, before committing.

Check the licence for commercial use, redistribution, acceptable-use restrictions and attribution. Some open-weight licences add conditions that matter to a product or a regulated deployment. Record the licence version you rely on.

When self-hosting wins, and when it loses

Self-hosting wins when data cannot leave a boundary, when volume is high and steady enough to keep GPUs busy, when a smaller domain-specific model meets the quality bar, or when a regulator or customer requires physical control.

It loses when traffic is spiky or low, when you need frontier reasoning, when your team has no GPU operations experience, or when time-to-market matters more than unit cost. In those cases a managed or private-deployment API is usually cheaper once engineering time is counted.

Deployment options compared. Self-hosting is the option with the largest operating surface, not automatically the safest one.
Option You control You operate Fits when
Public managed API Prompts and keys Application only Speed and frontier quality matter most
Private VPC deployment Network boundary and data path Integration and access policy Data must stay in your network
On-premises deployment Hardware and network Integration, capacity, patching Physical control is required
Air-gapped deployment Everything in the enclave Updates by transfer, full operations No outbound connectivity is permitted
Self-hosted open weights Model, hardware and stack Serving, evals, on-call, DR Volume is high and the boundary is hard

A middle path

Many teams do not need to choose between a public API and owning a fleet. A private deployment keeps the data path inside your VPC, on-premises or air-gapped while the provider operates the serving stack. That preserves the boundary without transferring all operational risk.

Plugsky is an OpenAI-compatible AI API operated by Plugsky Inc. of Newark, Delaware. The endpoint is POST https://api.plugsky.com/v1/chat/completions, the catalogue lists 39 public model IDs, and the live inference regions are Virginia (us-east-1), Frankfurt (eu-central-1), the UAE (me-central-1) and Singapore (ap-southeast-1). Riyadh is Enterprise-only.

Plugsky offers authentication, role-based access control, SAML SSO, audit export, spend controls and bring-your-own-key. Private deployment options include VPC, on-premises and air-gapped environments. Security controls are aligned with SOC 2 and ISO 27001 practices; Plugsky does not claim SOC 2, ISO 27001 or FedRAMP certification, and suitability is determined by your own review.

Sizing checklist

Before you buy hardware, write down: the quality bar and evaluation set; the model and quantisation you will run; median and p95 prompt and output lengths; peak concurrent requests; the latency target; the context you must support; the licence terms; the patch and upgrade owner; the DR plan; and the fully loaded monthly cost including people. If any line is blank, the comparison is not ready.

Related pages

Sources and dated checks

Checked 1 December 2026. Primary sources: Plugsky facts, the live pricing page, the API docs and the public model catalogue. Third-party provider terms and prices change; confirm them in the provider console and the signed contract before capacity planning.

Author: Plugsky Editorial Team. This page is product documentation and procurement guidance, not legal advice. Compliance suitability, residency scope and contract terms are determined by your own review.