---
title: "Run a vLLM Server on HF Jobs in One Command"
description: "A single `hf jobs run` command using the official vllm/vllm-openai image, a GPU `--flavor` and `--expose 8000` launches a private, OpenAI-compatible LLM endpoint on Hugging Face infrastructure, billed per second and gated by HF token auth through the jobs proxy."
url: "https://swe.quest/articles/run-a-vllm-server-on-hf-jobs-in-one-command-72dfec0fae623561"
canonical: "https://huggingface.co/blog/vllm-jobs"
source: "Hugging Face"
published: "2026-06-26"
difficulty: "medium"
kind: "How-to"
reading_minutes: 7
tags: ["inference","llms","cloud"]
---

# Run a vLLM Server on HF Jobs in One Command

A post on [Hugging Face](https://swe.quest/sources/hugging-face.md), published 2026-06-26, 7 min read, How-to. Original: [https://huggingface.co/blog/vllm-jobs](https://huggingface.co/blog/vllm-jobs)

## Summary

A single \`hf jobs run\` command using the official vllm/vllm-openai image, a GPU \`--flavor\` and \`--expose 8000\` launches a private, OpenAI-compatible LLM endpoint on Hugging Face infrastructure, billed per second and gated by HF token auth through the jobs proxy. The guide covers querying via curl and the OpenAI Python client, and scaling to Qwen3.5-122B on 2×H200 with \`--tensor-parallel-size\`, using capped \`--max-model-len\` and \`--max-num-seqs\` to avoid out-of-memory errors. It also shows a Gradio chat UI, SSH debugging, and enabling tool-call parsing to back the Pi coding agent. HF Jobs suits experiments, evals and batch generation, while Inference Endpoints fit production workloads that need scale-to-zero and finer access control.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Inference & serving](https://swe.quest/tags/inference.md) (AI & ML)
- [LLMs](https://swe.quest/tags/llms.md) (AI & ML)
- [Cloud platforms](https://swe.quest/tags/cloud.md) (Infrastructure)

## Prerequisites

- OpenAI chat completions API
- Docker basics ([easy posts on Containers](https://swe.quest/tags/containers.md?difficulty=easy))
- GPU model serving ([easy posts on Hardware](https://swe.quest/tags/hardware.md?difficulty=easy))

## Keywords

vLLM, HF Jobs, Hugging Face, Qwen3, OpenAI API, Gradio, Inference Endpoints, Pi

## Related posts

- [Deploy LLMs with Hugging Face Inference Endpoints](https://swe.quest/articles/deploy-llms-with-hugging-face-inference-endpoints-3facefc244b0efa0.md): Hugging Face · 2023-07-04 · Medium · 6 min read · Inference & serving, LLMs, Python, JavaScript
  Falcon 40B Instruct can be deployed to Hugging Face Inference Endpoints through the web UI by choosing a repository, cloud, region and instance.
- [Inference for PROs](https://swe.quest/articles/inference-for-pros-8849074774f039ec.md): Hugging Face · 2023-09-22 · Medium · 10 min read · Inference & serving, LLMs, API design, Python
  Hugging Face PRO subscribers get curated, rate-limit-boosted HTTP inference endpoints served by text-generation-inference for models such as Llama 3, Mixtral 8x7B, Zephyr, Code Llama, Stable Diffusion XL and Bark, intended for prototyping rather than heavy production (Inference Endpoints is recommended for that).
- [Deploy Meta Llama 3.1 405B on Google Cloud Vertex AI](https://swe.quest/articles/deploy-meta-llama-3-1-405b-on-google-cloud-vertex-ai-013efe3f83445849.md): Hugging Face · 2024-08-19 · Medium · 12 min read · Inference & serving, LLMs, Cloud platforms
  Meta Llama 3.1 405B Instruct in FP8 can be served on a single Google Cloud A3 node (8x H100 80GB, ~640 GB VRAM) through Vertex AI, using Hugging Face's Text Generation Inference Deep Learning Container.
- [Introducing the Hugging Face LLM Inference Container for Amazon SageMaker](https://swe.quest/articles/introducing-the-hugging-face-llm-inference-container-for-amazon-sagemaker-49df0e101e3d8d72.md): Hugging Face · 2023-05-31 · Medium · 8 min read · Inference & serving, LLMs, Cloud platforms, Python
  Hugging Face's LLM Inference Deep Learning Container for Amazon SageMaker is built on Text Generation Inference (TGI), which provides tensor parallelism, continuous batching, flash-attention, bitsandbytes quantization, safetensors loading and SSE token streaming.
- [Local LLM Messenger: Chat with GenAI on Your iPhone](https://swe.quest/articles/local-llm-messenger-chat-with-genai-on-your-iphone-7541b86ddf4d704e.md): Docker · 2024-07-23 · Medium · 13 min read · LLMs, Python, Containers
  Local LLM Messenger (LoLLMM), an honorable-mention project from Docker's AI/ML Hackathon by Justin Garrison, lets you send iMessages to LLMs running on your own machine.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
