1. Pods vs RunPod Serverless: When to Switch
| Dimension | RunPod GPU Pods | RunPod Serverless |
|---|---|---|
| Billing | Per second while Pod is running | Per active request second (scales to $0 idle) |
| Best Workload | Interactive Jupyter/SSH, fine-tuning, steady 1-user sessions | Production APIs, spiky traffic, background agent jobs |
| Auto-Scaling | Manual | Automatic 0 → N workers based on queue depth |
| Cold Start | None (always warm) | Mitigated via FlashBoot + cached model weights |
2. Reducing Cold Starts with FlashBoot & Cached Weights
The single biggest mistake teams make on Serverless LLMs is downloading a 40GB–70GB Hugging Face checkpoint from scratch every time a worker wakes up. Follow three rules to keep cold starts snappy:
- Enable FlashBoot: Keeps recently used worker containers warm on host memory/NVMe so subsequent wakeups happen in seconds instead of minutes.
- Use RunPod's Official vLLM Worker Template: Pre-configured for OpenAI-compatible
/v1/chat/completionsendpoints with continuous batching and AWQ/FP8 quantization support. - Match Active vs Flex Workers: Keep
Min Workers = 0for zero idle cost on dev/staging endpoints, or setMin Workers = 1(Active Worker discount) for latency-sensitive customer-facing apps.
3. Calling Your RunPod Serverless OpenAI Endpoint
Once deployed, you can point any OpenAI SDK, LangChain, or coding assistant directly at your RunPod Serverless URL—using the exact same client code you already use with local Strata OpenAI API endpoints:
curl https://api.runpod.ai/v2/<ENDPOINT_ID>/openai/v1/chat/completions \
-H "Authorization: Bearer $RUNPOD_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "Qwen/Qwen2.5-32B-Instruct-AWQ",
"messages": [{"role": "user", "content": "Explain MoE router load balancing."}]
}'