Executable programs and extensions

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.

Requirements and key details
  • The official requirements are Apple Silicon, macOS 15 or later, and native arm64 Python 3.12.
  • Version 0.30 uses the vLLM 0.30 core, unified KV storage, and zero-copy Metal views of MLX memory.
  • Across multiple Macs, consider replicating request handling and data parallelism before splitting the model.
  • Verify a successful single request before tuning concurrency and the memory budget.

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.

Requests from several users arriving at one Mac and being handled from a queue
For a concurrent-request server, check total throughput and per-request wait time together.

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.

A Mac server diagram showing shared KV-cache memory and pages assigned to requests
Multiple requests share cache space within the unified KV budget.

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.

Install the official stable version
curl -fsSL https://raw.githubusercontent.com/vllm-project/vllm-metal/main/install.sh | bash -s -- --stable
The installer prepares prebuilt wheels. Review the script before running it and use a separate Python environment.
Install with Homebrew
brew tap vllm-project/vllm-metal https://github.com/vllm-project/vllm-metal
brew install vllm-project/vllm-metal/vllm-metal
Use the same installation method across team Macs to reduce version differences.

Start 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.

Start the local API server
vllm serve Qwen/Qwen3-0.6B --host 127.0.0.1 --port 8000 --gpu-memory-utilization 0.70 --max-num-seqs 1
Check the first run with one sequence and a local connection. If the model files have not been downloaded yet, a Hub connection is required.
Check the model list and first chat request
curl 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}'
Check that the first request returns an answer in JSON `choices`. If the model ID differs from the list, use the listed value.

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.

Two Macs each running an independent server and receiving a share of requests
If the model fits on one Mac, replicate the independent server to distribute requests.

Terminology notes

  1. Metal — Apple’s low-level technology for graphics and parallel GPU computation.

    Back to the text
  2. Throughput — 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 text
  3. Time to First Token — The time from sending a request until its first output token arrives.

    Back to the text
  4. Memory 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 text
  5. KV 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 text
  6. BF16 — 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 text
  7. MLX — Apple’s machine-learning framework, which runs models using memory shared by the CPU and GPU on Apple Silicon.

    Back to the text
  8. FP8 — A floating-point format that represents each value with 8 bits.

    Back to the text
  9. NVFP4 — A 4-bit floating-point data format defined by NVIDIA. Support depends on GPU generation, model, and software implementation.

    Back to the text
  10. API — A defined interface that lets other code call a program’s functions.

    Back to the text
  11. Prefill — 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 text
  12. Prompt — The input text sent to a model. For generative models it describes the desired result and strongly shapes the output.

    Back to the text
  13. Python virtual environment — An isolated space for installing Python packages per project, helping reduce package-version conflicts.

    Back to the text
  14. Pipeline 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 text
  15. Pipeline — 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.