Planner and sizing
Enterprise module
Sizing with the Planner is part of the GPU Fleet module (gpu-fleet) of your Cognipeer package.
The Planner tells you whether models fit a machine's memory. It does not tell you how many people or requests that machine can serve. This page explains how to read what the Planner shows, and gives a method to size capacity for a load you can state, and to check the result against a measurement.
For the Planner screen itself (choosing a machine, adding models, the memory summary) see Capacity Planner.
When to use
- You are choosing a GPU or a Mac for a load you can describe in requests per second.
- The Planner or Run a model shows Tight, Won't fit or Incompatible and you want to know why.
- You plan several copies of a model, or several models on one machine.
- You need a number for a business owner and want to know how far to trust it.
What the screens show, and what they do not
| Shown | Not shown |
|---|---|
| Whether a model fits the memory of a GPU, a MIG slice or a Mac's GPU share | How many concurrent requests, or how many people, one GPU can serve. The UI shows no concurrent users and no users per GPU. |
| A speed for one request: decode tokens per second and time to first token (for a 1,024-token prompt) | Speed under load |
| Which runtime would start on the machine | Any guarantee. The numbers are estimates, not benchmarks. |
Cognipeer does not publish a benchmark table for GPUs or models yet. Do not read the tokens per second on screen as capacity for many users. Section Size for a load shows how to get a capacity figure from a measurement.
Decide
| Question | Consequence |
|---|---|
| Is the machine a Mac? | Only MLX uses its GPU, inside the GPU share of memory. Docker runtimes on a Mac run on the CPU. vLLM and TGI are offered only on NVIDIA machines. See Apple Silicon. |
| Do several people use the model at the same time? | Size by concurrent requests, not by tokens per second. See Size for a load. |
| Do you want two vLLM models on one GPU? | They do not share a GPU or MIG slice. A vLLM copy takes 85% of its GPU, so each vLLM model, and each copy, needs a GPU or MIG slice of its own. |
| Do you want more throughput from one Mac? | A second copy on the same Mac adds memory use and not tokens per second. Add machines instead. |
| Do you need an embedding model on a Mac? | Embedding catalog entries (TEI) list NVIDIA GPUs and CPUs only, so they show Incompatible on an Apple Silicon host. Run embeddings on an NVIDIA machine. |
| Do you need a figure you can promise? | Measure it on your hardware with your prompts. The speed on screen is a first-order estimate with an error of about 35%. |
Read the status
Every model gets one of four statuses for a GPU, a MIG slice or a Mac, and for the number of copies you chose.
| Status | Rule | What to do |
|---|---|---|
| Fits | Free memory is at least the model's recommended memory times the copies | Place it. |
| Tight | Free memory is at least the minimum but below the recommended memory. Also shown instead of Fits when a model of unknown size already runs there and no live reading exists. | Keep the context short, or pick a smaller or quantized model. |
| Won't fit | Free memory is below the minimum, or below what the copies must reserve to start | A smaller or 4-bit model, a bigger GPU or slice, or fewer copies. |
| Incompatible | The model has no runtime for this machine, or its platform list does not include the machine's accelerator | Another model or another machine. |
The model's row shows needs min–recommended GiB. Those two numbers are the thresholds above.
Free memory is the capacity, minus what is in use, minus what the plan already gave other models. In use is the live reading where the agent sends one (whole NVIDIA GPUs), otherwise the estimates of the models already there. A model already running whose size is not known shows as "+n of unknown size" and is not counted.
Copies. Every copy is its own process with its own weights, so the need is the copies times the per-copy need. A model with several copies is placed only if every copy fits; otherwise nothing of it is reserved.
vLLM. A vLLM copy pre-allocates 85% of its GPU or MIG slice and does not start unless that much is free. The Planner counts that share, never less than the model's minimum. On an 80 GiB card one vLLM copy holds about 68 GiB (85% of 80), or the model's minimum if that is larger, so a second vLLM model there shows Won't fit even when its weights are small. Every other runtime is counted at about what it loads, its minimum.
Apple Silicon
On a Mac the CPU and GPU share one pool of memory, and the GPU may use only a part of it.
- Catalog. In To buy, the GPU or chip list has Apple chips from M1 to M4. You pick the unified memory size.
- GPU working set. macOS lets the GPU use about 75% of RAM above 32 GiB and about two thirds at or below 32 GiB. This is the rule the Planner uses for a Mac that is not in the fleet. For a Mac in the fleet the agent reports the share it finds: the
iogpu.wired_limit_mbsetting when it is set, otherwise the value MLX reports, otherwise this estimate. - MLX runs on the GPU, inside that share. Every MLX model is its own process with its own weights. A copy is counted at the model's minimum. The console refuses an MLX copy that does not fit the estimates, and an idle server that measures below its estimate frees nothing.
- Docker on a Mac runs on the CPU inside the Docker VM, which has a memory setting of its own. Capacity for a Docker runtime is the smaller of the VM's memory and the GPU share. There is no speed estimate for it. A Mac in To buy has no Docker, so only MLX is offered there.
- Embeddings. TEI entries are incompatible with an Apple Silicon host (see Decide).
By the rule, the GPU working set of common memory sizes is:
| Unified memory | GPU working set (about) |
|---|---|
| 16 GiB | 10.7 GiB |
| 32 GiB | 21.3 GiB |
| 36 GiB | 27 GiB |
| 64 GiB | 48 GiB |
| 128 GiB | 96 GiB |
macOS and your other applications use the rest. Long prompts and many parallel requests need KV cache on top of the weights, and that memory is shared with macOS. See Mac (Apple Silicon) and MLX for runtimes, prerequisites and the agent service.
Size for a load
The method has four steps. Do the arithmetic with peak numbers, not averages.
- State the load. Write down the peak number of requests per second that reach the model, and how long one request takes from the call to the last token (seconds). Measure the time under load, because it grows as the machine gets busier. An agent run can call the model several times, so count model calls and not runs.
- Compute the concurrent requests. Concurrent requests are about requests per second times average response time in seconds. For example, 3 requests per second at 8 seconds each is about 24 requests in flight at the same moment.
- Compare with what one copy sustains. What matters is the speed each request gets when that many run at once: aggregate tokens per second at that concurrency, divided by the concurrency. Two sources give the curve:
- The server call
POST /api/gpu-fleet/planner/simulatereturns, for a model on a catalog GPU or a fleet host, the aggregate tokens per second and requests per minute at 1 to 256 concurrent requests, and themaxNumSeqsthe model would run with. Its error is about 30%. The Planner screen does not call it. - A measurement on your hardware. Run the model, send your real prompts at the concurrency from step 2, and read the endpoint on the Overview tab (requests, errors, throughput, load chart). A measurement is better than either estimate.
- The server call
- Choose the copies and where they go. If one copy gives each request enough speed at the concurrency from step 2, one copy is enough. If not, divide: copies needed is the concurrency divided by the concurrency one copy serves at the speed you need, rounded up. Each copy must fit (see Read the status). Put copies on separate GPUs or machines. On one Mac a second copy only uses more memory.
Illustrative numbers, not Cognipeer figures: suppose a measured curve shows 600 tokens per second in total at 8 concurrent requests and 1,400 at 32. At 32 each request gets about 44 tokens per second (1,400 divided by 32). If answers must stream at 30 tokens per second or more, one copy serves 32 requests. If they must stream at 50, 32 is too many: read the curve between 8 and 32 for the largest concurrency that still gives 50 to each request, and add copies for the rest.
More concurrency on one copy has a price: each request in flight holds KV cache memory, and each request goes slower. For an MLX model, the Concurrency group in Advanced: MLX server settings of Run a model includes a setting for how many requests are decoded in parallel, with that same trade-off.
To spread requests over several machines behind one address, use Several copies, one endpoint in Run a model, or pools.
Verify
Plan on paper first, then confirm on the machine.
| Do | You should see |
|---|---|
| Add the model and its copies in the Planner on the target machine | Fits (or Tight if you accept a short context), and "n of n fit" in the header |
| Run it, wait for Ready, then send load at the peak concurrency with your own prompts | No errors on the endpoint's Overview tab, and throughput that matches the curve within the error range |
| Look at the speed line in the Planner or Run a model after the inference monitor has requests | A measured value (the mean over its requests) instead of an estimate. Estimates carry a leading "≈". |
| Compare the speed per request at peak with the speed you need | Aggregate tokens per second divided by the concurrency is at or above your target |
Common problems
| Symptom | Cause | Fix |
|---|---|---|
| A second vLLM model shows Won't fit though its weights are small | A vLLM copy holds 85% of its GPU or slice | Use another GPU or a MIG slice, or reduce the copies. |
| Tight instead of Fits | The free memory is between the minimum and the recommended memory, or a model of unknown size runs there with no live reading | Keep the context short; read the live memory on an NVIDIA host. |
| A model fits but runs out of memory under load | KV cache grows with the number of requests in flight and the length of the prompts; on a Mac, memory is shared with macOS | Lower the parallel requests, shorten the context, or pick a smaller or 4-bit model. |
| "No speed estimate" | The hardware is not in the spec table, the model does not generate text, or its runtime runs on the CPU (Docker on a Mac) | Use MLX on a Mac, or rely on a measurement. |
| A second copy on a Mac did not make it faster | Copies on one Mac share one GPU | Add a machine and put the copies behind one endpoint. |
| An embedding model is Incompatible on a Mac | TEI entries list NVIDIA GPUs and CPUs only | Run the embedding model on an NVIDIA machine. |
| The estimate and your measurement differ | The estimate is first-order, within about 35% | Trust the measurement. It replaces the estimate once the inference monitor has samples. |
Next steps
- Capacity Planner: the Planner screen, step by step.
- Mac (Apple Silicon) and MLX: runtimes, memory and the agent service on a Mac.
- Deploying models: the Run a model flow.
- Pools and load balancing: one endpoint over several deployments.
- Limits and quotas: cap use per person, group or workspace.

