Executable programs and extensions
Last updated
vLLM Metal 0.30: turn one Mac into a multi-user local AI server
For a Mac server, consider throughput and each user’s wait time together
vLLM Metal1 0.30 connects Metal execution with the vLLM scheduler on Apple Silicon and manages multiple requests’ KV caches in pages. It suits environments where total server throughput2 and per-request time to first token3 matter more than one user’s peak tok/s.
When coding tools, document-search apps, and other users’ questions arrive at one Mac, a single request’s tok/s does not explain the server experience. This guide alternates requests from the three apps to show how per-user wait and overall server throughput change.
First prepare a supported Mac and Python environment, then verify the first response with a small model. Increase concurrent requests afterward and record both time to first token per request and total server throughput to see whether it fits team usage.
Distinguish total server throughput from one user’s wait
For a single generation request, memory bandwidth4 and kernel efficiency affect speed. When requests overlap, it also matters how well the scheduler fills compute intervals and divides KV cache5 space. vLLM Metal brings this concurrent request management to Mac servers.
In the site’s published measurements, Qwen3-0.6B BF166 on an M5 Pro with 64 GB delivered output throughput of 136.3, 445.7, and 497.2 tok/s at concurrency 1, 8, and 16, respectively. These are total server throughput figures for a small model, not directly comparable to the generation speed of another model running alone. For a real decision, measure per-request time to first token and total throughput at the target concurrency.

Understand the unified KV memory budget in 0.30
In vLLM Metal 0.30, the vLLM scheduler manages KV storage as one pool, and Metal accesses the same memory through MLX7 views. Hybrid models also share the overall budget rather than allocating a separate duplicate cache pool. PagedAttention is always enabled, so the old environment variable for disabling it no longer applies.
The old VLLM_METAL_MEMORY_FRACTION variable has been removed; set the memory budget with --gpu-memory-utilization. A value that is too high leaves less memory for the operating system and other apps, while one that is too low can leave too few KV blocks and make requests wait. Start with a lower value such as 0.70 and adjust while observing swap and memory pressure under concurrent requests.

Check the installation environment and supported dtypes
The official requirements are Apple Silicon, macOS 15 or later, and native arm64 Python 3.12. If an x86 Python running under Rosetta is mixed in, the Metal path may behave differently even if installation succeeds. Choose either the installer script or Homebrew and match the architecture and Python version first.
Version 0.30 does not accept fp88, int8, or nvfp49 KV-cache dtypes; use auto or the TurboQuant path. Copying options from another vLLM server can cause startup rejection. Check the release-note changes and select options for this version.
curl -fsSL https://raw.githubusercontent.com/vllm-project/vllm-metal/main/install.sh | bash -s -- --stablebrew tap vllm-project/vllm-metal https://github.com/vllm-project/vllm-metal
brew install vllm-project/vllm-metal/vllm-metalStart the local server and check the first answer
After installation, choose a supported small model such as Qwen3-0.6B and start the server. --gpu-memory-utilization sets the memory budget, while --max-num-seqs sets how many sequences may be processed at once. Begin with one sequence to verify model loading and the API10 response before increasing concurrency.
Check the model ID returned by /v1/models and send a short chat request with that same ID. A response sentence in JSON choices confirms that the model loaded and the API is connected. If a request fails, read the first error in the server terminal and distinguish model loading, memory, and request-format issues.
vllm serve Qwen/Qwen3-0.6B --host 127.0.0.1 --port 8000 --gpu-memory-utilization 0.70 --max-num-seqs 1curl http://127.0.0.1:8000/v1/models
curl http://127.0.0.1:8000/v1/chat/completions \
-H 'Content-Type: application/json' \
-d '{"model":"Qwen/Qwen3-0.6B","messages":[{"role":"user","content":"로컬 모델이 준비됐는지 한 문장으로 알려줘."}],"max_tokens":32}'For concurrency tests, track per-user latency and total throughput
After confirming a valid answer and memory use with one request, increase concurrency to 2, 4, and 8 in sequence. At each level record total tok/s, per-request time to first token, and inter-token latency. If throughput rises but individual requests become too slow, lower the batch limit or maximum sequence count and compare again.
A coding agent may send many short calls, while document summarization may send one long input. Mix the two in the proportions used by your real work to expose queueing and prefill11 contention. Do not use peak throughput from one short prompt12 as the expected capacity of a team server.
To test concurrency 2, stop the server with Ctrl+C and restart with --max-num-seqs 2 instead of --max-num-seqs 1. Once the API is ready, send two overlapping requests. Repeat for 4 and 8 after changing the server limit, recording both the limit in startup logs and the actual overlapping request count.
First distinguish memory shortages from startup errors
If installation fails, check that Python is arm64 3.12, macOS is version 15 or later, and the virtual environment13 does not mix other vLLM or MLX versions. If a KV dtype option is rejected at startup, remove fp8, int8, or nvfp4 settings unsupported in 0.30 and choose auto or the supported TurboQuant path.
If the model does not load or an error reports insufficient KV blocks, use a smaller model, shorten the context, and reduce --max-num-seqs before retrying with one request. Increase settings one at a time after model loading and a single request succeed. Close other apps and watch memory pressure and swap to distinguish queueing from a memory shortage.
With multiple Macs, consider independent server replicas first
vLLM Metal has been developing support for a Ray executor, pipeline parallelism14, and data-parallel replicas across Macs. Splitting a model across several Macs can put network synchronization on the token-generation path. If the model fits on one machine, running the same server on each Mac and distributing requests is easier to manage.
If one server stops, another can receive requests, and you can check updates one machine at a time. Consider pipeline15 splitting when the model does not fit on one Mac. Choose hardware based on time to first token at the target number of concurrent users and the recovery plan, rather than the peak for a single request.

Terminology notes
Metal — Apple’s low-level technology for graphics and parallel GPU computation.
Back to the textThroughput — The amount of work processed or generated over time. Comparisons need the unit, such as tokens per second or requests per second.
Back to the textTime to First Token — The time from sending a request until its first output token arrives.
Back to the textMemory bandwidth — The amount of data transferable between memory and a processor per unit time, usually expressed in bytes per second (B/s).
Back to the textKV cache — Memory that stores attention keys and values from earlier tokens for reuse during later token generation. Its size depends on context length and batch size.
Back to the textBF16 — A 16-bit floating-point format for model values. Its exponent has the same width as FP32, giving it a similarly wide value range.
Back to the textMLX — Apple’s machine-learning framework, which runs models using memory shared by the CPU and GPU on Apple Silicon.
Back to the textFP8 — A floating-point format that represents each value with 8 bits.
Back to the textNVFP4 — A 4-bit floating-point data format defined by NVIDIA. Support depends on GPU generation, model, and software implementation.
Back to the textAPI — A defined interface that lets other code call a program’s functions.
Back to the textPrefill — The stage where an LLM reads the input prompt and computes representations for its tokens. Longer prompts contain more tokens to process.
Back to the textPrompt — The input text sent to a model. For generative models it describes the desired result and strongly shapes the output.
Back to the textPython virtual environment — An isolated space for installing Python packages per project, helping reduce package-version conflicts.
Back to the textPipeline parallelism — A parallelization method that assigns groups of model layers to device stages and passes each stage’s output activations to the next device.
Back to the textPipeline — A sequence of processing stages from input to output. Different models or tools may be used at each stage.
Back to the text
Frequently asked questions
- What should you check first in this article?
- vLLM Metal 0.30 connects Metal execution with the vLLM scheduler on Apple Silicon and manages multiple requests’ KV caches in pages. It suits environments where total server throughput and per-request time to first token matter more than one user’s peak tok/s.
- How much memory does it need?
- After confirming a valid answer and memory use with one request, increase concurrency to 2, 4, and 8 in sequence. At each level record total tok/s, per-request time to first token, and inter-token latency. If throughput rises but individual requests become too slow, lower the batch limit or maximum sequence count and compare again.
Read next
Executable programs and extensions
Run local AI on a Mac with oMLX: prefill acceleration in 0.8.0rc1
Executable programs and extensions
Run local AI with MLX on Apple Silicon: frameworks and model tools explained
Executable programs and extensions
Continuous batching: throughput is not single-user speed
Executable programs and extensions
FlashAttention vs PagedAttention: what each one changes
