1. Picking the Right RunPod Pod for Strata + Qwen3.8-Flash-Next
A Q4_K_M quantization of Qwen3.8-Flash-Next 125B occupies roughly 70 GB on disk. When deploying Strata on RunPod, pay close attention to both GPU VRAM and Host System RAM allocated to your container—because hybrid MoE offloading relies on fast host RAM when VRAM is under 80 GB.
| RunPod GPU | VRAM | Host RAM Requirement | Strata Mode |
|---|---|---|---|
| RTX PRO 4000 / A4000 | 20 – 24 GB | 64 GB+ Host RAM required | Hybrid MoE Offload (lowest hourly cost) |
| RTX 4090 | 24 GB | 64 GB+ Host RAM required | Fastest hybrid prefill + 32K KV cache |
| A100 80GB SXM / PCIe | 80 GB HBM2e | 32 GB+ Host RAM sufficient | 100% Full-VRAM Resident (zero offload) |
2. Pod Template Settings (Avoid Disk & Port Errors)
- Container Image: Select the official
RunPod PyTorch 2.4+ (CUDA 12.4)template. - Volume Disk Size: Set
Volume Disk = 120 GB(mounted at/workspace) andContainer Disk = 30 GB. Keeping weights inside/workspaceprevents re-downloading 70 GB if you stop and restart the Pod. - Expose HTTP Port: Add port
8080under Expose HTTP Ports so RunPod generates an instant HTTPS proxy URL (https://<pod-id>-8080.proxy.runpod.net) for the Strata Web UI and OpenAI API.
3. Exact Linux Setup & Launch Commands inside RunPod Terminal
# 1. Work inside persistent /workspace so model downloads survive Pod stops
cd /workspace
export HF_HOME=/workspace/hf-cache
export HF_HUB_ENABLE_HF_TRANSFER=1
pip install -q hf_transfer
# 2. Clone Strata and run Linux setup
git clone https://github.com/Niko1221/Strata.git
cd Strata
chmod +x setup.sh
./setup.sh --model qwen3.8-125b-q4
# 3. Bind to 0.0.0.0:8080 so RunPod's HTTPS proxy can reach the server
strata serve --host 0.0.0.0 --port 8080 --kv-cache-type q8_0 --ctx-size 32768 4. Fixing the 3 Most Common RunPod + Strata Setup Errors
Error 1: No space left on device during HuggingFace download
By default, HuggingFace caches weights under /root/.cache (the small Container Disk). Exporting HF_HOME=/workspace/hf-cache redirects the 70GB checkpoint onto your 120GB Volume Disk.
Error 2: 502 Bad Gateway on RunPod Proxy URL
Strata defaults to 127.0.0.1:8080 for local desktop security. On a cloud Pod, you must pass --host 0.0.0.0 so RunPod’s reverse proxy can forward external HTTPS traffic into the container.
Error 3: Container OOM-Killed on 20–24GB GPUs
Check free -h inside your Pod before loading a 125B checkpoint. Some budget RTX PRO 4000 / 4090 instances ship with only 32 GB container RAM—filter for Pods offering at least 64 GB+ system RAM, or step up to an A100 80GB Pod where the full Q4 model stays inside VRAM.