Skip to main content
Serve any open-source LLM behind an OpenAI-compatible endpoint on your own GPU. This guide uses vLLM, the production standard for LLM serving — the same engine Stripe uses to process 50M+ daily API calls.

What you’ll build

A self-hosted inference API that serves Llama 3.1 70B (or any model) on an A100/H100, accessible from anywhere via a public IP. You can point your existing OpenAI SDK code at it.

Why vLLM

vLLM uses PagedAttention to manage GPU memory efficiently — on an 80GB H100 running a 7B FP16 model, this means serving 100+ concurrent requests instead of ~30. The V1 engine (default since v0.6.0) added disaggregated prefill/decode, preventing long prompts from blocking in-flight requests.

Option A: CLI

1. Deploy the instance

Wait for it to deploy:

2. Install vLLM and start the server

3. Test it

4. Point your app at it


Option B: Python SDK


Option C: MCP (via Claude Code / Cursor)

“Deploy an A100 instance called llm-server. Once it’s ready, install vLLM and start serving Llama 3.1 70B on port 8000. Give me the IP when it’s up.”
Your AI assistant will:
  1. Call create_instance with name: "llm-server" and gpu: "A100"
  2. Poll instance_status until deployed
  3. Call ssh_execute to install vLLM and start the server
  4. Return the IP from get_instance

Multi-GPU serving

For larger models (70B+ at FP16, or 405B with quantization), use tensor parallelism across multiple GPUs:

Monitoring

Cleanup