How to Choose a Private AI Deployment Architecture? Hardware Sizing & 3 Approaches

When data cannot leave your network, don't buy GPUs first — separate "it runs" from "it runs under load", and the hardware budget can differ by half

2026-09-14 · Leo · Private Deployment · 10 min read
TL;DR — Private deployment starts with three questions: can data leave your network (decides fully on-prem vs hybrid), what is your peak concurrency (decides GPU count, not model size), and does the assistant need to touch internal systems (decides whether you need an internal API gateway). On hardware: a 7B-class quantized model runs on a single consumer GPU, 14B–32B class generally needs 24GB VRAM to start, and 70B class usually needs two or more professional cards after quantization. Every step up in concurrency means re-doing the VRAM and throughput math. This guide covers the boundaries of three architectures, a hardware sizing table, 6 common pitfalls, and a pre-launch checklist.
⚠️ This is a general architecture reference. Hardware figures are ranges compiled from public sources — your actual numbers depend on model version, quantization, context length and load-test results. No specific customer cases are referenced.

The short answer: three architectures at a glance

DimensionArchitecture A: Fully on-premArchitecture B: HybridArchitecture C: Internal API gateway
Data boundaryEverything stays inside: model and inference on your own serversSensitive data local, general Q&A via external APIData stays internal; models can be self-hosted or external
Hardware costHigh: GPU servers, rack space, opsMedium: small GPU or CPU fallbackLow to medium: gateway host plus on-demand compute
Quality ceilingLimited by the local model's capabilitySensitive tasks limited locally, general tasks notDepends on the models behind it
Time to launch2–6 weeks including procurement1–2 weeks1–3 weeks
Best forFinance, healthcare, legal — strict complianceMost internal enterprise assistantsA single entry point for many departments, with audit and quotas

In one line: strict compliance → A, most companies → B, many departments with one entry point → C. The most common mistake is a blanket "everything on-prem" policy — pushing non-sensitive general Q&A onto a small local model, which ends up both expensive and unused.

Hardware math: count concurrency first, VRAM second

People usually ask "how many GPUs for a 70B model?" But what actually drives hardware is peak concurrency. One GPU handles a single conversation smoothly; put ten people on it and they queue, because VRAM must hold both the weights and the KV cache of every active session.

Step 1: Pick a model tier (about 10 minutes)

Translate business needs into a model tier before jumping to "bigger is better":

TierTypical useQuantized VRAM referenceHardware reference
7B–9BClassification, extraction, summarization, simple Q&A~5–8 GBA single 16GB consumer GPU
14B–32BEnterprise assistant, support Q&A, document Q&A~10–24 GBA single 24GB GPU to start
70B classComplex reasoning, long-document analysis~40–48 GBTwo professional cards or one 80GB card

Note: these are single-stream weight footprints. As concurrency rises, the KV cache takes additional VRAM — especially with long contexts.

Step 2: Estimate concurrency (about 20 minutes)

Concurrency is not "how many employees you have" — it is how many people are waiting for a reply in the same minute. A practical approach:

Example: a 200-person department with 20 peak online users yields roughly 3–4 concurrent requests; with a 1.5x buffer you size for 6 concurrent streams — not 200.

Step 3: Size RAM, storage and network (about 15 minutes)

Architecture A: Fully on-prem (strict compliance)

Model weights, inference service, vector store and logs all live inside the network, so there is physically no outbound data path. This is the common choice for finance, healthcare and legal scenarios.

Key points:

The trade-off is explicit: the quality ceiling is locked to the local model, procurement takes time, and someone must own operations.

Architecture B: Hybrid (the value pick for most companies)

Route requests by sensitivity: customer data, contracts and financial records go to the local model, while general knowledge Q&A and copy polishing go to an external API. You hold the compliance line without buying the most expensive GPUs for general capability.

How to define routing rules (about 30 minutes)

Risk: one routing mistake means data leaving the network. Before launch, run a "sensitive data mis-release" test with synthetic samples.

Architecture C: Internal API gateway (one entry point for many teams)

Whether the backend is a local model or an external API, every request passes through an internal gateway. The gateway owns four jobs: authentication, quotas, audit, routing.

The gateway only pays off at scale: overhead for a single team, essential once three to five departments are on board.

Six common pitfalls and how to fix them

Pitfall 1: The model fits in VRAM, but OOMs under concurrency

Symptom: single-stream tests pass, then the service crashes minutes after users arrive via IM.

✅ Fix: budget VRAM for the KV cache separately, load-test at target concurrency before choosing card count, and cap the maximum context length per request so one long conversation cannot exhaust VRAM.

Pitfall 2: Buying GPUs by model size without counting concurrency

Symptom: procurement sized for "70B needs two cards", then 20 simultaneous users queue for tens of seconds.

✅ Fix: estimate peak concurrency first, then total VRAM = weights + concurrency × per-stream KV cache. For high concurrency, several smaller cards are often more cost-effective than one large card.

Pitfall 3: Model updates with no rollback path

Symptom: a new model version performs worse, but the old weights were overwritten and only a backup file remains.

✅ Fix: store model files in versioned directories and reference the version in config rather than a path; keep the previous weights so rollback is a one-line change; run a fixed regression question set before every switch.

Pitfall 4: The vector store and inference service fight over RAM

Symptom: as the knowledge base grows, inference slows down and is eventually killed by the OS.

✅ Fix: deploy the vector store separately, cap the inference service's memory with headroom, and run index rebuilds during off-peak hours.

Pitfall 5: No audit trail, so incidents are untraceable

Symptom: you suspect someone asked about sensitive content, but logs only show request counts, not attribution.

✅ Fix: log user identity, timestamp, model, latency and a redacted request summary at the gateway; store audit logs separately with a retention policy so they are not rotated away with application logs.

Pitfall 6: Treating on-prem deployment as a one-off project

Symptom: it works well at launch, then nobody maintains it and both the model and the knowledge base go stale within six months.

✅ Fix: write "quarterly model evaluation, monthly knowledge-base refresh, monthly log spot-check" into the operations plan at launch, with a named owner. On-prem deployments without operations are usually abandoned within six months.

Pre-launch checklist (8 items)

#ItemPass criteria
1Data classificationTiers defined, and every tier has an approved model path
2Concurrency load testPasses at peak concurrency × 1.5 with no OOM and no timeout pile-up
3Context capMaximum request length enforced, with a truncation strategy for long conversations
4Model versioningVersions traceable; rollback requires only a config change
5Auth and quotasPer-person or per-department keys, quota caps, instant revocation on offboarding
6Audit logsCan answer "who, when, which model, what was asked (redacted)"
7Sensitive-data mis-release testSynthetic sample run shows no sensitive content reaching external channels
8Operations planFrequency and owner defined for model evaluation, knowledge-base refresh and log spot-checks

Final thoughts

The hard part of private deployment is not "getting the model to run" — it is getting concurrency, compliance and operations right at the same time. Buy too much hardware and you waste budget; buy too little and the business stops using it. Get the data boundary wrong and it becomes a compliance incident. Skip the operations plan and you end up with idle machines within six months.

If you are evaluating a private deployment, start with two artifacts: a data classification table and a peak-concurrency estimate. Once those two exist, the architecture choice and hardware budget are mostly determined.

📮 Have a specific private deployment scenario to discuss? Email 278946228@qq.com with your concurrency scale and data tiers, and we can look at which architecture fits better.
Running these problems at work?
One console for Feishu / WeCom / DingTalk / Weixin / QQ
Free consultation →