# vLLM and SGLang Pods

> How to choose the model a vLLM or SGLang Pod serves, what the chips under Model to serve mean, and how the GPU memory check works before you deploy.

Source: https://docs.meshive.ai/documentation/vllm-pods/

When you create a Pod from a template that serves a model — **vLLM** or **SGLang** — the **Configure** step has a **Model to serve** card. It shows the model in the Pod's start command as a field of its own, so you change the model without editing the command.

## Choose the model to serve

1. Create a Pod and choose **vLLM** (or **SGLang**) from the templates.
2. In **Model to serve**, type a Hugging Face model id, for example `Qwen/Qwen3-8B`.
3. Check the chips under the field, then **Continue to hardware**.

Changing the field rewrites only the model in the start command. Your other options — port, context length, GPU memory share and so on — stay as they are. You can see the whole command under **Advanced settings → Command**. The bar at the bottom of the wizard shows the model you're about to serve, for example **vLLM · Qwen/Qwen3-8B**.

| You see | It means | Do |
| --- | --- | --- |
| **Not a valid model id. Use org/model or a path without spaces.** | The field has text that can't go into the command. **Continue** is blocked until you fix it. | Type the id as `org/model`, or clear the field to go back to the previous model. |
| **The start command was changed and no longer names a model here. Edit it in Advanced settings.** | You changed the command in **Advanced settings**, and it no longer starts the model this way. The field is locked. | Edit the model in **Advanced settings → Command**, or remove your command to use the template's again. |

## What the chips tell you

After you type a Hugging Face id, Meshive looks the model up on Hugging Face and shows what it found:

| Chip | Meaning |
| --- | --- |
| Architecture, for example **Qwen3** | The model family the repository declares. |
| **15.27 GiB of files** | The size of all files in the repository — what the Pod downloads. |
| **Needs ~16.9 GiB GPU memory** | An estimate of the GPU memory the model needs on one GPU with the start command's settings, such as `--max-model-len` (vLLM only). |
| **Public — no token needed** | Anyone can download the model. |
| **Needs a Hugging Face token** | The model is gated or private. Add your token to the `HF_TOKEN` environment variable. |
| **Gated — uses your HF_TOKEN** | The model is gated, and the Pod will use the token you added. |

If the lookup doesn't finish, you see *Couldn't check this model on Hugging Face* instead of chips. You can still continue. The model is downloaded when the Pod starts, as before.

A repository that has only GGUF files gets a line saying the engine can't (or may not) load it by its id. If you only need an API endpoint for the model, the card points you to [Serving](/serverless/serving/), which runs it for you without SSH.

## Check GPU memory before you deploy

On the **Hardware** step, Meshive compares the model's estimate with each GPU:

| Mark on a GPU card | Meaning |
| --- | --- |
| **Won't fit on one GPU** | The model's weights alone are larger than one GPU's memory. |
| **Won't start as configured** | The weights fit, but not together with the context length in the start command. |
| **May not start** | It's close — the model may run out of GPU memory while it starts. |

When you pick a GPU, a line under it says how much memory the model needs and how much vLLM gets on that GPU — and, when it helps, a lower `--max-model-len` that fits. Pick two or more GPUs and the line tells you to add `--tensor-parallel-size` so vLLM uses all of them.

If the GPU you picked is marked **Won't fit on one GPU** or **Won't start as configured**, **Deploy** asks once more before it creates the Pod (*This pod won't start on this GPU*). Choose a larger GPU, or **Deploy anyway**. **May not start** doesn't ask.

The estimate covers ordinary 16-bit (FP16 or BF16) text-generation models stored as safetensors. Quantized, GGUF, 32-bit, embedding and other models get no estimate, and no GPU is marked for them. The estimates are tuned and may change.
