Sizing a sovereign, air-gapped AI stack for oil and gas health, safety and environment (HSE) in Pakistan
Description and use
A sovereign, air‑gapped AI stack design for a Pakistani oil and gas operator keeps all data and models on‑premises, delivering pre‑incident warnings and costing about USD 670,000 over three years versus cloud alternatives.
Problem
An oil and gas operator in Pakistan needs AI that warns before incidents, not reports after, while keeping all data and models within its own infrastructure and avoiding third‑party AI APIs.
Outcome
The design demonstrates that a sovereign, air‑gapped AI stack can be built on the operator’s own hardware, providing real‑time warnings while keeping data local, with a three‑year cost of about USD 670,000 versus USD 1.85–2.82 million for cloud equivalents.
Workflow
- 1. Select self‑hosted models based on licence to ensure internal ownership.
- 2. Size the central tier by calculating weight size, KV cache and activations to determine GPU nodes needed.
- 3. Deploy edge nodes for real‑time detection and forecasting, reusing existing NPU compute.
- 4. Set up read‑only adapters, Kafka on KRaft, and a unified clock with Chrony and GNSS.
- 5. Estimate costs and compare to cloud options.
- 6. Address export licence requirements for 141 GB HBM GPUs.
- 7. Publish the object model as JSON for reuse.
Evidence
An oil and gas operator in Pakistan wants one thing from AI in its health, safety and environment department: a warning before the next incident, not a report after it.
None of it may leave the operator's own infrastructure, and no third-party AI API may sit in the serving path.
GLM 5.3 open weights, 753B mixture-of-experts at FP8
Take the largest filed parameter count, multiply by bytes per parameter at the serving precision, then add a planning factor for the KV cache and activations so long incident histories fit
Three years, public prices, electricity at Pakistan's B3 industrial tariff: Own the hardware, with support and power about 670,000
- Record date: 2026-10-03T07:41:08.087Z