Self-hosting Qwen3-VL on vLLM for documents and images
A team that wants document and image understanding on its own GPUs can run Qwen3-VL-235B-A22B on vLLM, but only with a planned accelerator layout, a deliberate precision choice and a controlled API exposure. The flagship is a large mixture-of-experts vision model, so the hardware, the checkpoint and the endpoints have to be settled together before procurement starts. vLLM is an open-source inference and serving engine for large language models, licensed under Apache-2.0 according to its GitHub repository, and it originated at UC Berkeley as a community project associated with the PyTorch Foundation. Its vllm serve command starts an OpenAI-compatible server exposing endpoints such as /v1/chat/completions, so applications written for the OpenAI API can be pointed at it. vLLM has no paid edition. The cost of running it comes from GPU or other accelerator capacity, the surrounding infrastructure, implementation work and the people who operate it.
A team should choose this path instead of a hosted API when documents or images cannot leave its controlled environment, when it needs to pin a model version for repeatable review, or when per-token pricing at its volume is harder to justify than owned or reserved accelerators. A hosted API is usually the faster route when those constraints do not apply. Before committing, confirm three things: how many accelerators of which generation your environment can actually provide, whether your workload needs the BF16 checkpoint or the FP8 checkpoint on Hopper GPUs, and which endpoints your users will reach. The vLLM Qwen3-VL recipe is the natural next read for the layout details that the rest of this page works through.
Which GPU layout fits the BF16 flagship and the FP8 checkpoint
The Qwen3-VL recipe ties the flagship's hardware needs to the precision you choose, so the GPU model comes first and the checkpoint follows from it. The cards below cover the BF16 baseline, the FP8 path on Hopper, the memory levers for smaller clusters and the AMD and Intel options you need to confirm before buying.
BF16 flagship baseline
The recipe states that the BF16 flagship needs at least 8 GPUs with 80 GB or more each. Treat this as the floor for the full-precision checkpoint, not a target, because the KV cache for your image and document workload needs memory on top of the weights. Ask your team to size a single node with 8 accelerators of the chosen model and confirm that the layout is available in your own cloud account or data center before design work begins.
Qwen3-VL recipeFP8 checkpoint on H100
The recipe directs H100 owners to the FP8 checkpoint rather than the BF16 weights. This choice changes the hardware plan, the checkpoint you mirror into your artifact store and the accuracy evidence you collect during acceptance testing. Confirm with your model owners that FP8 output quality meets the document and image tasks you care about, and record that decision with the checkpoint hash.
A100 and H100 in BF16
The recipe notes that A100 or H100 running BF16 may need a lower --max-model-len, or image-only inference, to fit in memory. Each reduction limits what users can send, such as long multi-page documents combined with several images in one request. Document the context ceiling you accept, enforce it at the gateway and test the largest realistic request before you go live.
- Context limit or image-only
- Lower
Memory levers for tighter clusters
When the BF16 layout does not fit, the practical levers are a shorter maximum model length, a cap on images per prompt, image-only serving and a smaller batch ceiling. Each one trades capacity for capability, so write the trade-off into the workload spec. Measure peak memory under your own traffic mix with the vLLM metrics endpoint before accepting any layout, because a steady-state test rarely reflects the largest document requests.
AMD ROCm option to confirm
vLLM documents support for AMD ROCm GPUs, so an AMD layout is a serious option for this model family. Do not assume that the recipe's checkpoints, flags and memory figures carry over. Confirm with the recipe and the installation documentation whether the Qwen3-VL configuration is listed for your GPU model and ROCm release, and ask your hardware vendor for the matching driver stack.
vLLM installation docsIntel XPU option to confirm
vLLM also lists Intel XPU GPUs among its supported targets. Whether a given XPU generation can hold the BF16 or FP8 layout for this model is a question for the recipe and your Intel hardware team, not something to infer from the general support list. Request a memory test on your actual accelerator with the exact image and flags before committing procurement to this path.
Configuration options and when each fits
This table compares the Qwen3-VL serving options a team can choose between, from the full BF16 flagship to FP8 on H100 and the image-only and text-only modes. Read each row against your GPU inventory and the workload you need to serve, then confirm the flags and limits in the vLLM Qwen3-VL recipe before you commit hardware.
| Option | Memory trade-off | When it fits | Verify in the recipe |
|---|---|---|---|
| BF16 on 8x 80 GB GPUs | Full-precision weights need at least 8 GPUs with 80 GB or more, leaving the least headroom for KV cache. | Maximum fidelity on the flagship model when you have a full 8-GPU node of 80 GB-class accelerators. | Minimum GPU count, memory class and the default tensor parallel layout for the BF16 checkpoint. |
| FP8 checkpoint on H100 | The FP8 checkpoint reduces weight memory, freeing room for longer contexts and more concurrent requests. | H100 fleets where the recipe directs you to the FP8 checkpoint instead of BF16. | The FP8 checkpoint name, the GPU generations it targets and any required quantization flags. |
| BF16 on A100 or H100 with lower --max-model-len | A shorter maximum context shrinks the KV cache reservation so the BF16 model fits with less margin. | Document workloads with bounded page counts where long contexts are not needed. | The recipe's suggested context limit for your GPU class and how it interacts with image token counts. |
| Image-only mode | Disabling text-only paths or limiting multimodal inputs can free memory for image processing. | Pipelines that send scanned pages or images and never send standalone text prompts. | The flag that limits modality or multimodal item counts, and whether the recipe documents it for this model. |
| Text-only mode | Skipping the vision encoder frees memory for text generation, but image inputs will be rejected. | Text tasks that share a cluster with vision work, such as summarizing extracted text. | The flag that disables image inputs and confirm the vision encoder is not loaded in that mode. |
| Chat template required | No memory cost, but chat completions fail without a template the model can use. | Every deployment that serves the chat completions API to applications. | Whether the checkpoint ships a template or you must pass one with --chat-template, and the tool and reasoning parser flags. |
| AMD ROCm hardware | Memory per accelerator and supported precisions differ from NVIDIA, so the BF16 and FP8 layouts above do not transfer directly. | Sites standardized on AMD Instinct accelerators or evaluating them as an alternative. | The ROCm-specific settings, supported accelerator models and the precision the recipe lists for them. |
How to set up Qwen3-VL on vLLM step by step
This sequence takes a team from a confirmed model recipe to a vLLM server that answers document and image requests on its own GPUs, with a load test that shows whether the setup holds up before production traffic arrives.
Confirm the model variant and recipe
Start by reading the vLLM Qwen3-VL recipe and choosing the checkpoint that matches your accelerators. The recipe says the BF16 flagship needs at least 8 GPUs with 80 GB or more, that H100 hosts should use the FP8 checkpoint, and that A100 or H100 in BF16 may need a lower --max-model-len or image-only inference. Record the chosen checkpoint, GPU count, memory per GPU and context length in a short sizing note. The step is done when the team can name one checkpoint and one hardware layout that the recipe supports.
Prepare GPU drivers and the vLLM install
The infrastructure or platform team installs the GPU driver stack for the target hardware, NVIDIA CUDA or AMD ROCm, and then installs vLLM in an isolated Python environment or container image that the team builds and pins. vLLM runs on NVIDIA CUDA, AMD ROCm and Intel XPU GPUs, so confirm the build matches your accelerator in the installation docs. The step is done when the GPUs are visible to the driver tools and the installed vLLM version reports successfully from the command line, with the version recorded in your change log.
Set tensor parallelism within one node
Set the tensor parallel size to the number of GPUs in a single node that will hold the model, so that the shards communicate over the fastest local links. Pipeline parallelism across nodes is a separate decision, and a single 8-GPU node is the layout the recipe describes for the BF16 flagship. Confirm that the node exposes all the GPUs you intend to use and that no other workload holds their memory. The step is done when the planned tensor parallel size equals the number of free GPUs on that node and the team has written it down next to the sizing note.
Start vllm serve with the chosen flags
Launch the server with vllm serve using the checkpoint, tensor parallel size, maximum model length and any image or text only settings from the recipe. Keep the server bound to an internal address and do not expose it directly to users, because the vLLM security docs say the --api-key option does not protect every endpoint. Watch the startup log until the weights finish loading and the server reports that it is listening. The step is done when the server starts without out-of-memory errors and a local request to the models listing returns the expected checkpoint name.
Verify chat completions with document and image requests
Send two requests to /v1/chat/completions from a client on the same internal network: one that includes a scanned document or PDF page rendered as an image, and one that includes a photograph or diagram. Check that each response is coherent and cites content that is actually in the input, and that the text-only request also returns a reply. If a request fails with a chat template error, confirm the model provides a chat template or pass one with --chat-template. The step is done when both multimodal requests return correct answers on a fixed test set saved with the sizing note.
Check the Prometheus metrics endpoint
Query /metrics on the API server and confirm it exposes request counts, token throughput, latency histograms and KV cache usage after the test requests. Restrict this endpoint at the reverse proxy, since the security docs list /metrics among the endpoints the --api-key option does not protect. Connect the metrics to your monitoring system and set a dashboard for latency and KV cache pressure. The step is done when the metrics appear in your monitoring tool and the team can see the test requests reflected in the counts and latency panels.
Load test before production traffic
Run a load test that mirrors the expected mix of image-heavy and text-only requests, with input sizes drawn from your real documents, and watch latency, throughput and KV cache use as concurrency rises. Compare results with the limits in the sizing note and adjust maximum model length or batch settings if memory pressure appears. Keep the test results, the flags used and the vLLM version together so a later upgrade can be compared. The step is done when the load test completes at the target concurrency without errors and the team has signed off the flags and limits for production.
How requests reach the Qwen3-VL server and where trust boundaries sit
Requests start with users and client applications outside the network, pass through a reverse proxy that allowlists only the /v1 endpoints meant for users, and then reach the vLLM API server on the GPU nodes. Prometheus scrapes /metrics from inside the internal network, never through the public path. For multi-node layouts, traffic between nodes crosses a separate isolated network, because vLLM's inter-node communication is insecure by default. Check that each boundary blocks the endpoints it should, and that /metrics, /health and /invocations are not reachable from users.
Request path, monitoring scrape and node traffic, with trust boundaries marked.
Protecting the endpoints a Qwen3-VL server exposes
A Qwen3-VL server exposes more than the chat endpoints that applications call. The cards below separate the built-in API key from the endpoints it leaves open, the proxy allowlist the vLLM docs recommend, and the network isolation that multi-node runs need before any traffic moves between nodes.
What the API key does not cover
The --api-key option protects the endpoints under /v1, /v2, /inference and /cohere. It does not protect /invocations, /pause, /resume, /abort_requests, /metrics or /health. A team that sets a key and assumes the whole server is locked down can leave pause and abort controls, metrics and health probes reachable by anyone who can reach the port. Check each path against the list in the vLLM security docs before the server is exposed beyond the host.
vLLM security docsAllowlist user-facing endpoints at a proxy
The vLLM docs warn against relying on the API key alone and recommend a reverse proxy that forwards only the endpoints meant for users. For Qwen3-VL, that usually means the chat completions path that carries image inputs and any document-processing paths the application calls. Everything else, including the control endpoints, should be denied at the proxy. Confirm the allowlist with a test that requests each denied path from a client outside the trusted network and expects a refusal.
Keep control and metrics paths internal
The /metrics endpoint exposes request counts, token throughput, latency histograms and KV cache use, which reveal workload patterns to anyone who can read them. Scrape it from the monitoring network only, and keep /pause, /resume and /abort_requests off any route that application users or external clients can reach. Decide who in operations owns these paths so that a change to the proxy rules is reviewed alongside the vLLM version in use.
Inter-node traffic is insecure by default
In a multi-node deployment, the vLLM security docs state that communication between nodes has no authorization or encryption by default. A Qwen3-VL layout that spans nodes for tensor or pipeline parallelism therefore needs its nodes on an isolated network segment. Ask the infrastructure team to confirm that only the serving nodes, and the Ray or multiprocessing traffic between them, can reach that segment, and that user traffic never crosses it.
Separate the serving network from user access
The isolated node network is only one layer. The client-facing listener should sit on a different network from the inter-node links, with the proxy as the only bridge. Document the firewall rules, the ports each node opens, and which hosts may connect to them. Review these rules whenever nodes are added or the parallelism layout changes, because a new node that joins the wrong segment reopens the insecure path.
Verify exposure before go-live
Before the server handles production image traffic, run an external scan and a manual check against the served port, the proxy and each node. Record which paths answer without credentials, which ports accept connections from user subnets, and whether the inter-node ports answer at all from outside the cluster. Repeat the check after each vLLM upgrade, since new endpoints and defaults can change what the server exposes.
Running Qwen3-VL on vLLM after go-live
Once Qwen3-VL is serving traffic, the team needs to watch the server through the Prometheus metrics that vLLM exposes at /metrics on its API server. Scrape that endpoint and track request counts, token throughput, latency histograms and KV cache use. For a vision model, KV cache pressure is the signal to watch first, because image inputs consume context and memory in ways text-only traffic does not. Set alert thresholds from your own baseline measured under realistic document and image loads, not from generic values. The bucket boundaries for latency histograms are configurable, so agree them with the team that owns dashboards before go-live rather than adjusting them later and losing comparability. Check the vLLM metrics documentation for the current metric names before you write alert rules.
Version tracking matters more for this deployment than for a text model, because vLLM ships new minor releases about every two weeks. The project's release history lists v0.28.0 on August 26, v0.29.0 on September 9, v0.30.0 on September 22 and v0.31.0 on October 5, 2026, so a server pinned in August could be several minor versions behind by October. Keep the engine version, the Qwen3-VL checkpoint revision, the CUDA or ROCm driver stack and the flags from the recipe in one versioned configuration record. Each upgrade should trigger a retest of the recipe settings for your chosen layout, including the image-only or text-only mode, --max-model-len and the FP8 or BF16 checkpoint, because a change in the engine can alter memory use or parser behavior without any visible error.
For the platform layer, the vLLM docs list several Kubernetes options, including native manifests, Helm, the vLLM production-stack, KServe, KubeRay and others. Choose one based on how your platform team already runs GPU workloads, and confirm that the choice supports your rollout method for new images. Whichever option you pick, the pods need the same network isolation, authentication and metrics scraping you planned for the bare-metal or VM setup. Confirm with your platform team how GPU node pools, rolling restarts and model weight volumes will behave during an engine upgrade, because a restart that reloads a large vision checkpoint can take long enough to affect users.
Questions buyers ask before self-hosting Qwen3-VL on vLLM
What drives the cost of self-hosting Qwen3-VL on vLLM?
The software itself has no license fee, because vLLM is Apache-2.0 licensed and has no paid edition. The cost comes from four places: GPU or other accelerator capacity, the surrounding infrastructure (storage, networking, load balancing, monitoring), implementation work to get the model running and integrated, and the people who operate it afterward. For the flagship BF16 layout, the vLLM Qwen3-VL recipe calls for at least 8 GPUs with 80 GB or more, so accelerator capacity is usually the largest line. Ask any quote to separate one-time implementation from recurring GPU, hosting and operations costs, and to state which GPU type and count it assumes.
How long does a Qwen3-VL on vLLM deployment take?
Duration depends on how much of the work is new to your environment. The main drivers are whether the GPU hosts, drivers and container runtime already exist, how many model layouts you need to test (for example BF16 on A100 or H100 and FP8 on H100), how many document and image workloads must be validated, and how much identity, logging and network work must be integrated before anyone uses the endpoint. Most engagements are fixed-scope, so the timeline is agreed in writing before work starts. Ask for the scope items and their dependencies, not a generic number.
What must our team provide before the work starts?
Plan to supply the accelerator hosts and their capacity, the network segment where the server runs, identity integration for user access, and a written data policy covering what images and documents may be sent to the model and how long logs are kept. Include storage for model weights, a place to run the vLLM container, and access to the model sources. Multi-node runs need an isolated network between nodes, because the vLLM security docs state that inter-node communication is insecure by default without authorization or encryption. Confirm these items with your platform and security teams early, since they often decide the schedule.
Can an internal team deploy Qwen3-VL on vLLM alone?
Often yes, if the team already runs GPU workloads on Linux and containers and has someone comfortable with inference engines. The harder parts are usually not the first launch of vllm serve. They are matching the model layout to the hardware, choosing a precision, setting context limits, putting the API behind a reverse proxy that allowlists only user-facing endpoints, wiring metrics into your monitoring stack, and producing the evidence your security reviewers ask for. Map your staff's skills against those tasks. Gaps in GPU operations or security review are the usual reasons teams bring in help.
When should we hire a partner instead of building in-house?
Consider a partner when the deployment has a fixed date, when the team lacks GPU or inference operations experience, or when a compliance or security review must be passed before launch. A partner is also useful when several model families share the same accelerator pool and need consistent controls. DeployOpen plans, implements, hardens, documents and supports self-hosted open-source platforms in your own cloud accounts, data centers or air-gapped networks, and prepares systems and evidence for compliance assessments. It does not issue audit reports or certifications. Ask for a written scope, deliverables and a handover plan before you decide.
Which Qwen3-VL layout should we pick for H100 hardware?
The vLLM Qwen3-VL recipe says H100 should use the FP8 checkpoint rather than BF16. A100 or H100 running BF16 may need a lower maximum model length or image-only inference to fit in memory. Choose the layout by testing it against your real document and image sizes, because memory use depends on image resolution and context length. The recipe is the starting reference, and your own measured results decide the final setting. Ask the implementation team to document the chosen checkpoint, parallelism and limits so the decision can be reviewed later.
How do we keep the Qwen3-VL endpoint from being exposed?
The --api-key option protects only some paths, namely those under /v1, /v2, /inference and /cohere. It does not protect /invocations, /pause, /resume, /abort_requests, /metrics or /health, and the vLLM security docs warn against relying on it alone. Put a reverse proxy in front of the server that allowlists only the endpoints meant for users, keep administrative and metrics paths on a private network, and restrict who can reach the nodes. Confirm these rules with your security team and test them from outside the network before go-live.
What evidence do compliance reviewers usually ask for?
Reviewers typically ask who can reach the endpoint, how access is authenticated and logged, what data is sent to the model and where it is stored, how the software is patched and which versions are running, and how the system is monitored. vLLM exposes Prometheus-format metrics at /metrics, which helps with monitoring evidence, and its release cadence means version tracking is a recurring task. Ask your auditor which controls they expect to see, then have the team document the configuration and retained logs. Independent auditors and certification bodies issue the actual assessment, so confirm their requirements before the build starts.
Security and operational controls for vision inputs
Vision inputs are often scanned documents, identity papers and screenshots, so the controls around the server matter as much as the model. The cards below cover what vLLM documents about endpoints, logging, node networking and releases, and what your team must still configure and verify.
Image and document data handling
Scanned pages and photographs travel to the server as request payloads, so they can persist in proxy logs, tracing, crash dumps or client caches. Decide which fields your application stores and for how long, and keep raw images out of anything that is retained by default. Confirm where the serving host writes temporary files when images are decoded, and whose storage policy covers them.
Logging without sensitive inputs
vLLM exposes Prometheus metrics at /metrics covering request counts, token throughput, latency and KV cache use, which are aggregate signals rather than prompt content. Keep the metrics pipeline and application logs separate from request bodies, and review which log levels and middleware your gateway enables. Test by sending a synthetic document and searching every log sink for it.
vLLM metrics docsAccess control on the proxy
The --api-key option protects the /v1 family of endpoints but not /metrics, /health, /pause, /resume or /abort_requests. The vLLM security docs recommend a reverse proxy that allowlists only the endpoints meant for users. Put that allowlist, the key handling and the rate limits in one place, and confirm that administrative routes are unreachable from user networks.
vLLM security docsNetwork isolation for multi-node runs
Communication between nodes in a multi-node deployment is insecure by default, with no authorization or encryption. Place all serving nodes on an isolated network segment, block that segment from user traffic, and confirm the Ray or multiprocessing backend ports are not reachable from outside it. Model parallel layouts for multi-node Qwen3-VL should be reviewed with this constraint in mind.
Patching tied to vLLM releases
vLLM ships new minor releases about every two weeks, so a pinned version can fall behind quickly. Set a patch window, read release notes for security and model-loading changes before upgrading, and retest image inputs on the new version against a fixed document set. Record which version and checkpoint hash served each period so you can explain past outputs.
- Typical minor release cadence
- Two weeks
When Qwen3-VL on vLLM is the right choice
Self-hosting Qwen3-VL-235B-A22B on vLLM makes sense when documents or images cannot leave infrastructure you control, and when the volume of work justifies owning GPU capacity and the people who run it. Start with data residency: if the contracts, regulators or internal policy forbid sending scanned records, identity documents or patient images to a third-party model API, the question shifts from whether to self-host to which model size your hardware can carry. Document volume is the second test. Steady, high-volume extraction tends to favor owned capacity, while occasional review work may cost less through a hosted API. Neither conclusion is fixed, so ask your team to measure real page counts and image sizes per day before comparing.
The third test is staff capacity. vLLM itself has no license fee, but the cost comes from accelerator capacity, the surrounding infrastructure, implementation and the engineers who operate it. The flagship model needs a multi-GPU node, so you will be planning for GPU procurement or cloud reservations, monitoring through the /metrics endpoint, upgrades roughly every two weeks as new minor releases ship, and a security layer in front of the API. If your team cannot staff that work, a smaller Qwen3-VL size or a hosted service may be the better fit even when residency rules point toward self-hosting. Confirm the sizes and checkpoints available for your target model with the vLLM Qwen3-VL recipe before deciding.
If your workload is mainly text, such as summarization or question answering over reports, the Self-hosting Qwen3 and Qwen3-235B-A22B on vLLM planning guidance is the better starting point, since it covers text-focused settings and parser choices. Use this page when the image or document input is central to the workload and you need to decide how much of the vision capability to keep loaded.
How DeployOpen scopes, delivers and supports this deployment
DeployOpen plans, builds, tests, documents and supports self-hosted vLLM serving for Qwen3-VL inside your own GPU infrastructure. The work starts with a written scope that fixes the hardware layout, checkpoint choice, input modes and access controls before any installation begins.
How we scope
- Confirm GPU models, counts and memory per node against the BF16 or FP8 checkpoint you intend to serve
- Agree in writing whether the service runs image-only, text-only or combined modes, and which document types it must handle
- Define API consumers, the endpoints they may reach and how access is granted, since engagements are fixed-scope
How we build
- Install vLLM from a pinned release in your environment, then set context length, parallelism and memory flags against measured fit
- Place the server behind a reverse proxy that allowlists only user-facing endpoints, because --api-key alone does not cover every route
- Test with representative documents and images, and check /metrics output and latency under the load your scope defines
How we hand over
- Provide configuration files, startup commands, the chosen checkpoint and flag set, and a record of the hardware tested
- Document the upgrade path across vLLM releases, the proxy rules, network isolation and the evidence your security team can review
- Walk your operations team through monitoring, restarts, model storage and troubleshooting before handover is closed
How we support
- Ongoing support, upgrades and continuous testing are available as a retainer after the initial handover
- Retesting after each vLLM minor release, which ships about every two weeks, so changes are checked before they reach production
- Support scoped to the endpoints, hardware and checkpoints named in the written agreement

