Prompt
Can you recommend a self-hosted model for air-gapped inference in a government contractor environment?
Latest observation
Yes — for an air-gapped, self-hosted government-contractor environment, I’d prioritize models that are:
- Deployable offline with no external dependencies
- Strong at instruction following and summarization
- Available under a commercial-friendly license
- Reasonable to run on on-prem GPUs
- Easy to fine-tune or adapt for internal policy/knowledge bases
Good model choices
1) Llama 3.1 Instruct (8B or 70B)
Best overall default if you can use Meta’s license and want strong general performance.
- 8B: good for lower-cost single-node deployments
- 70B: much better quality, but requires serious GPU memory and inference infrastructure
- Strong at:
- document Q&A
- summarization
- drafting
- code assistance
- structured extraction
Why it fits air-gapped use: widely supported by offline runtimes like vLLM, llama.cpp, TensorRT-LLM, and Hugging Face tooling that can be mirrored internally.
2) Mistral Small / Mixtral Instruct
A good option if you want strong performance with good throughput.
- Mixtral 8x7B Instruct can be very capable
- Mixture-of-Experts can give a strong quality/performance balance
- Often a good fit for internal assistant workloads
Caveat: check the exact license and deployment terms for your use case.
3) Qwen2.5 Instruct
A very strong open model family, especially for:
- multilingual use
- tool use / function calling
- structured outputs
- code and data tasks
Good picks: 7B, 14B, 32B depending on hardware.
Why consider it: it often performs very well relative to size, especially if your workflows involve structured enterprise tasks.
4) Phi-3.5 / Phi-3 family
Best if you need a small footprint model for constrained infrastructure.
- Easier to run on limited hardware
- Useful for classification, extraction, summarization, and lightweight assistants
Tradeoff: less capable than the larger 7B–70B class models.
5) DBRX Instruct
Worth considering if you have the hardware and want a strong enterprise-oriented open model.
- Large and capable
- Good quality for general assistant tasks
Tradeoff: heavier infrastructure requirements.
My practical recommendation by environment
If you want the safest “start here” choice:
- Llama 3.1 8B Instruct for most offline enterprise assistants
- Scale up to 70B only if your quality requirements justify the compute
If you need strong structured output and multilingual performance:
- Qwen2.5 14B or 32B Instruct
If hardware is limited:
- Phi-3.5 Mini/Small or Llama 3.1 8B
If you need maximum quality and have GPU budget:
- Llama 3.1 70B or Mixtral/DBRX-class models
Deployment stack for air-gapped environments
Common offline-serving options:
- vLLM — excellent for throughput and batching
- TGI (Text Generation Inference) — production-friendly serving
- llama.cpp — great for CPU or smaller GPU deployments, quantized models
- TensorRT-LLM — high-performance NVIDIA-focused deployments
- Ollama — convenient for smaller internal deployments, though less ideal for large-scale production
Government-contractor considerations
In your environment, I’d also check:
- License compatibility with customer terms and internal policy
- Whether the model weights can be stored and redistributed internally
- Whether any telemetry or update checks are disabled
- Whether your deployment stack supports offline artifact mirroring
- Whether you need FIPS-aligned crypto for surrounding infrastructure
- Whether you need audit logging and access controls around prompts/outputs
If you want a single recommendation
If you want one concrete recommendation without more context:
Start with Llama 3.1 8B Instruct for offline deployment, and evaluate Qwen2.5 14B Instruct if you need stronger structured output or multilingual performance.
If you tell me:
- your GPU/CPU hardware
- whether you need classification, chat, RAG, code, or extraction
- your latency/throughput target
- and any license constraints
…I can recommend a more precise model and serving setup.