# Modelplane Documentation > Modelplane is the open source control plane for AI model serving. It extends Crossplane to manage AI inference across a fleet of GPU clusters. --- # All recipes Source: /recipes/all/ Every validated recipe in one table: model, size, architecture, precision, and the verified hardware. Select a row for the full recipe. Model Size Arch Precision Verified on Notes Qwen3-8B qwen 8B Dense BF16 EKS L4 An 8.2B dense chat model on a single NVIDIA L4. Qwen2.5-7B qwen 7B Dense AWQ INT4 Vultr A16 A 7B dense chat model (AWQ INT4) on a single NVIDIA A16 on Vultr. Qwen3-Coder-480B qwen 480B A35B MoE BF16 / FP8 EKS H200 A 480B code MoE, multi-node BF16 over EFA or single-node FP8 on SGLang. Qwen2.5-72B qwen 72B Dense AWQ INT4 AKSNebius A100H100 A 72B dense chat model (AWQ INT4) on a single 80 GB GPU, on AKS and Nebius. Kimi-K2 moonshotai 1T A32B MoE INT4 EKS H200 A 1T MoE served prefill/decode disaggregated across two H200 nodes. Llama-3.1-8B meta-llama 8B Dense BF16 EKSGKE L4 An 8B dense chat model on a single NVIDIA L4. GLM-4.5-Air zai-org 106B A12B MoE GGUF IQ4_XS GKE A100 A 106B MoE served from a GGUF checkpoint via llama.cpp on a single A100. Nemotron-3.5-Lightning nvidia 30B A3B MoE NVFP4 Nebius H100 An open 30B MoE with 3B active parameters served NVFP4 on a single H100 on Nebius. Laguna-S-2.1 poolside 118B A8B MoE FP8 Nebius H100 A 118B code MoE served FP8 on a single 8x H100 node on Nebius. --- # Overview Source: /overview/ Modelplane is the open source control plane for AI inference. It's software you install and run in your own environment, and it orchestrates the models, serving stack, and infrastructure across cloud, neocloud, and on-premise. Modelplane supports running any model and any engine on any infrastructure, with the frontier-level serving topologies and performance the largest models demand, from a single GPU to disaggregated, multi-node deployments. Modelplane operates across the whole fleet: provisioning inference clusters, scheduling model deployments on compatible clusters, autoscaling model replicas across clusters, caching model weights across clusters, and routing across clusters. It's an active system that is always reconciling the fleet toward the state you declare. You install Modelplane on a Kubernetes cluster, which becomes the control cluster for your inference fleet. It's built on [Crossplane](https://crossplane.io) and fully integrates with your existing platform systems. Warning Modelplane is under active development. We have opted to build the project in the open, collaborating with the broad AI inference community on integrations and capabilities. ## Deploy a model Modelplane's API is declarative, designed for platform teams responsible for the inference infrastructure and developers deploying models on that infrastructure. Once a platform team has provisioned inference clusters and declared the available GPUs and networking fabric, an ML development team deploys a model with a declarative manifest: model-deployment.yaml apiVersion: modelplane.ai/v1alpha1 kind: ModelDeployment metadata: name: qwen-demo namespace: ml-team spec: replicas: 1 template: spec: engines: - name: qwen members: - role: Standalone nodeSelector: devices: - name: gpu count: 1 selectors: - cel: device.capacity["gpu.nvidia.com"].memory.compareTo(quantity("20Gi")) >= 0 template: spec: containers: - name: engine image: vllm/vllm-openai:v0.23.0 args: ["--model=Qwen/Qwen2.5-0.5B-Instruct"] Modelplane schedules a model replica onto an inference cluster with free, compatible GPUs and memory, and deploys the serving engine. Exposing an OpenAI-compatible endpoint can be done by declaring a model service: model-service.yaml apiVersion: modelplane.ai/v1alpha1 kind: ModelService metadata: name: qwen namespace: ml-team spec: endpoints: - selector: matchLabels: modelplane.ai/deployment: qwen-demo ## A universal control plane for AI inference Modelplane is designed to be a universal control plane for inference. It runs inference clusters on any cloud, neocloud, or on-premise environment, or any combination of them. Modelplane can provision the clusters for you, or you can bring your own. It supports any serving engine that runs as a container, and can serve frontier-quality models using advanced topologies including tensor parallel, pipeline parallel, data and expert parallel, and prefill/decode disaggregation. Modelplane works across different accelerators and networking fabrics, and schedules each model's replicas by matching the model's hardware requirements to the hardware available across your clusters. ## What Modelplane is not Modelplane is not a serving engine like vLLM, SGLang, or TensorRT-LLM. Modelplane composes serving engines and orchestrates them fleet-wide across cloud, neocloud, and on-premise. Modelplane is not a managed inference service like Baseten, Together, or Fireworks. These offer cloud services, while Modelplane is self-hosted software. ## Next steps Get started Go from nothing to a live OpenAI-compatible endpoint in about 45 minutes. Deploy on a real fleet → Why Modelplane Learn more about Modelplane’s capabilities and how it works. Learn more → --- # Anthropic Messages API Source: /guides/anthropic-messages-api/ A vLLM server registers the Anthropic Messages API at `/v1/messages` alongside its OpenAI routes, with no extra flag. Modelplane's route matches the `///` prefix and preserves the path below it, so the same service URL answers both `/v1/chat/completions` and `/v1/messages`. A client that speaks the Messages API, including Claude Code via `ANTHROPIC_BASE_URL`, talks to the deployment directly. See [Alternate APIs](/models/model-service/) for the routing detail. This recipe serves Qwen3-8B on a single NVIDIA H100 on Nebius, with tool calling on: `--enable-auto-tool-choice` and `--tool-call-parser=hermes` are what let Claude Code's tool use work. An 8B model needs a fraction of an H100, so the GPU has ample headroom. Apply the platform side first, then the ML side. ## Platform inference-class.yaml # InferenceClass for a single-H100 Nebius shape, serving Qwen3-8B. # # Nebius sizes nodes by platform + preset rather than an instance type; the # preset determines the GPU, vCPU, and memory shape of each node. The devices # block describes what a node of this class has, DRA-style - used by the # scheduler to match models to clusters, and to form DRA ResourceClaims for # claim: DRA devices. An 8B model needs a fraction of an H100, so this shape has # ample headroom; a single L40S (gpu-l40s-a) is the economical alternative. apiVersion: modelplane.ai/v1alpha1 kind: InferenceClass metadata: name: h100-1x spec: description: "Nebius gpu-h100-sxm, 1x NVIDIA H100 80GB" provisioning: provider: Nebius nebius: platform: gpu-h100-sxm preset: 1gpu-16vcpu-200gb diskSizeGb: 200 driversPreset: cuda13.0 accelerator: type: nvidia-h100 count: 1 devices: - name: gpu claim: DRA driver: gpu.nvidia.com deviceClassName: gpu.nvidia.com count: 1 attributes: architecture: { string: Hopper } cudaComputeCapability: { version: "9.0.0" } capacity: # The H100 80GB's real usable VRAM, what the NVIDIA DRA driver reports, # not its nominal 80GB. A nodeSelector asking for >= 80Gi would never bind. memory: { value: "81559Mi" } inference-cluster.yaml # An InferenceCluster backed by a Nebius mk8s cluster. Modelplane provisions the # full mk8s cluster and installs the inference stack; only the GPU node pool - # referencing the InferenceClass above - is declared here. It authenticates to # the cluster with the credentials of the Nebius ClusterProviderConfig named # default, the same identity that provisions it. # # Delete with foreground cascading deletion for a clean teardown, so the # inference stack uninstalls before the cluster's API server goes away: # kubectl delete inferencecluster nebius-eu-north --cascade=foreground apiVersion: modelplane.ai/v1alpha1 kind: InferenceCluster metadata: name: nebius-eu-north labels: modelplane.ai/region: eu-north spec: cluster: source: Nebius nebius: {} nodePools: - name: gpu-h100 className: h100-1x nodeCount: 1 minNodeCount: 1 maxNodeCount: 1 ## Deployment model-deployment.yaml # Qwen3-8B served on a single NVIDIA H100 (Nebius) by vLLM, exposed on the # Anthropic Messages API. vLLM's server registers /v1/messages (and # /v1/messages/count_tokens) alongside its OpenAI routes with no extra flag, so # this is an ordinary serve: the Anthropic surface comes for free, and # Modelplane preserves the path below the service prefix to reach it. # # The tool-calling flags are what make it usable from Claude Code, not decoration: # # --enable-auto-tool-choice with # --tool-call-parser=hermes parse the model's tool calls so Claude Code's # tool use works (qwen3_xml is for Qwen3-Coder, # not this dense model). Qwen3's tool-use # template ships in the tokenizer, so no # --chat-template is needed. # --reasoning-parser=qwen3 with # --default-chat-template-kwargs turns thinking off. Qwen3 thinks by default, # burying a one-line answer under a # block and forbidding greedy decode. # --max-model-len=40960 Qwen3-8B's native context (past it needs YaRN). # Claude Code reserves 32000 output tokens, so a # smaller window 500s ("max_completion_tokens # cannot be greater than max_model_len", then # input+output overflow). The client must also # cap output with CLAUDE_CODE_MAX_OUTPUT_TOKENS # so input+output fit here. H100 has KV room. # --gpu-memory-utilization headroom, not correctness. # # The v0.23.0 image is >0.17.1, so vLLM handles Claude Code's attribution header # without breaking prefix caching. No --port or --host: Modelplane's routing # expects the engine on its default :8000 with a /health probe, and passes args # through verbatim. apiVersion: modelplane.ai/v1alpha1 kind: ModelDeployment metadata: name: qwen3-8b namespace: ml-team spec: replicas: 1 template: spec: # No clusterSelector: the single Nebius cluster is matched on device # capacity alone. engines: - name: qwen3-8b members: - role: Standalone nodeSelector: devices: - name: gpu count: 1 selectors: - cel: | device.capacity["gpu.nvidia.com"].memory.compareTo(quantity("20Gi")) >= 0 template: spec: containers: - name: engine image: vllm/vllm-openai:v0.23.0 args: - "--model=Qwen/Qwen3-8B" - "--served-model-name=qwen" - "--max-model-len=40960" - "--gpu-memory-utilization=0.92" - "--reasoning-parser=qwen3" - "--default-chat-template-kwargs={\"enable_thinking\": false}" - "--enable-auto-tool-choice" - "--tool-call-parser=hermes" model-service.yaml # Exposes the qwen3-8b deployment as a single URL. The route matches the # /// prefix and preserves the path below it, so the engine's # Anthropic Messages API at .../v1/messages rides the same address as its # OpenAI-compatible .../v1/chat/completions. Read the public address from # status.address: # kubectl get ms qwen3-8b -n ml-team -o jsonpath='{.status.address}' apiVersion: modelplane.ai/v1alpha1 kind: ModelService metadata: name: qwen3-8b namespace: ml-team spec: endpoints: - selector: matchLabels: modelplane.ai/deployment: qwen3-8b ## Send a request Read the endpoint's public address from the `ModelService` status: ```bash ADDRESS=$(kubectl get ms qwen3-8b -n ml-team -o jsonpath='{.status.address}') ``` Post to `/v1/messages` in the Messages API shape. The `model` field is the engine's `--served-model-name` (`qwen`); `max_tokens` is required: ```bash curl "$ADDRESS/v1/messages" \ -H "Content-Type: application/json" \ -H "anthropic-version: 2023-06-01" \ -d '{ "model": "qwen", "max_tokens": 1024, "messages": [{"role": "user", "content": "Hello!"}] }' ``` `status.address` is the in-cluster gateway address, so run the request from inside the cluster if your shell can't reach it directly: ```bash kubectl run -i --rm curl-test \ --image=curlimages/curl \ --restart=Never \ --env="ADDRESS=$ADDRESS" \ -- sh -c 'curl -s "$ADDRESS/v1/messages" \ -H "Content-Type: application/json" \ -H "anthropic-version: 2023-06-01" \ -d "{\"model\":\"qwen\",\"max_tokens\":1024,\"messages\":[{\"role\":\"user\",\"content\":\"Hello!\"}]}"' ``` ## Point Claude Code at it Claude Code appends `/v1/messages` to `ANTHROPIC_BASE_URL`, so point it at the service address and map its model tiers onto the served name. vLLM doesn't check the auth token, so any non-empty value works. Claude Code reserves 32000 output tokens by default, which alone leaves little context room on a small model; cap it with `CLAUDE_CODE_MAX_OUTPUT_TOKENS` so the input and output fit under the engine's `--max-model-len` (40960 here): ```bash export ANTHROPIC_BASE_URL="$ADDRESS" export ANTHROPIC_AUTH_TOKEN=dummy export ANTHROPIC_DEFAULT_OPUS_MODEL=qwen export ANTHROPIC_DEFAULT_SONNET_MODEL=qwen export ANTHROPIC_DEFAULT_HAIKU_MODEL=qwen export CLAUDE_CODE_MAX_OUTPUT_TOKENS=8192 claude ``` The gateway must be reachable from wherever `claude` runs. If `$ADDRESS` is in-cluster only, forward the Traefik gateway service to a local port: ```bash kubectl -n traefik-system port-forward svc/traefik 8080:80 ``` Then point `ANTHROPIC_BASE_URL` at the local port, keeping the service's `//` path prefix so Claude Code's `/v1/messages` still routes: ```bash export ANTHROPIC_BASE_URL="http://localhost:8080/ml-team/qwen3-8b" ``` --- # Deploy a Model Source: /models/model-deployment/ **API:** [`modelplane.ai/v1alpha1` · ModelDeployment](/reference/modeldeployments/) A `ModelDeployment` is the ML team's primary interface. You describe the model you want served, the hardware it needs, and how many copies to run; Modelplane schedules it onto matching clusters and keeps it running. You never name a cluster. Modelplane is unopinionated about the engine itself. You bring the container and its flags, and Modelplane shapes a serving topology around it. The engine flags you write carry parallelism, quantization, and KV transfer, never injected by Modelplane. A deployment's replica shape lives under `spec.template` (mirroring a Kubernetes Deployment): the replica count is `spec.replicas`, labels for the composed ModelReplicas and ModelEndpoints go on `spec.template.metadata.labels`, and everything else lives in `spec.template.spec`. Its `spec.template.spec.engines` array describes the topology through two choices: - **One pod or a gang**: whether an engine is a single `Standalone` pod or a `Leader` with one or more `Worker` pods coordinating across nodes. - **Unified or disaggregated**: whether `spec.template.spec.serving.mode` keeps prefill and decode together (`Unified`, the default) or splits them across two engines (`PrefillDecode`). How many of each to run is a separate question, covered in [Sizing a deployment](#sizing-a-deployment). ## Single-node The default, and what the [getting started tour](/getting-started/) deploys. One `Standalone` member is one pod on one node, claiming that node's GPUs through its `nodeSelector`. It's usually the right choice when a model fits on a single node. Within a node, tensor parallelism is an engine flag (`--tensor-parallel-size`), not a Modelplane concept. ```yaml {nocopy=true} engines: - name: qwen members: - role: Standalone # one pod, one node ``` ## Multi-node When a model is too large for one node's GPUs, make the engine a gang: a `Leader` and a `Worker` whose `worker.nodes` expands to that many worker pods, one per node. The pods serve the model together; how the model splits across them (tensor, pipeline, data, or expert parallelism) is up to your engine flags. A gang should use a [`ModelCache`](/models/model-cache/) via `spec.template.spec.modelCacheRef`, so every pod mounts the same weights instead of each pulling its own. ```yaml {nocopy=true} modelCacheRef: name: qwen3-coder # recommended for gangs engines: - name: qwen3-coder members: - role: Leader - role: Worker worker: nodes: 1 # one worker pod per node ``` A member's `env` can read pod fields through `valueFrom.fieldRef`, like setting vLLM's `VLLM_HOST_IP` from `status.podIP`, which multi-NIC RDMA nodes need so the engine binds the right interface instead of guessing it. ## Disaggregated serving The prefill and decode phases have opposite hardware profiles, and on one engine a prefill burst stalls the decodes already running. Set `spec.template.spec.serving.mode: PrefillDecode` to run them as two engines, one marking `phase: Prefill` and the other `phase: Decode`. Modelplane fronts the pair with inference-aware routing that sequences prefill then decode, moving the KV cache between them. Each phase can sit on the GPU class that suits it. ```yaml {nocopy=true} serving: mode: PrefillDecode # the two engines below are one P/D pair engines: - name: prefill phase: Prefill - name: decode phase: Decode ``` Disaggregation pays off for large models under load with strict latency targets and long context. For small models or low traffic, the KV-transfer overhead outweighs the benefit, so unified serving is the default. It requires an engine image that includes the **NIXL** KV-transfer runtime. vLLM's `NixlConnector` (and SGLang's prefill/decode transfer) import the `nixl` package, so disaggregated engines crash at startup with `NIXL is not available` on an image that lacks it. Recent vanilla `vllm/vllm-openai` images include NIXL, so pin a current tag rather than an old one. The engine image is yours to choose, so this is a prerequisite Modelplane does not bundle for you. ## Requesting GPUs You don't name a cluster or a GPU model. Instead each member's `nodeSelector` lists the hardware its pods need, and Modelplane finds a node pool that has it. The platform team publishes node pools as `InferenceClass` resources, each describing the devices its nodes carry. Your request is matched against them. A request names a device (`gpu`), how many of it each pod needs (`count`), and one or more `selectors` the device must match: ```yaml {nocopy=true} nodeSelector: devices: - name: gpu count: 1 # one GPU per pod selectors: - cel: | device.capacity["gpu.nvidia.com"].memory.compareTo(quantity("40Gi")) >= 0 ``` Each selector is a single line of [CEL](https://cel.dev/), a small expression language, that returns true or false for one device. The part in brackets, `"gpu.nvidia.com"`, is the GPU vendor's driver. The fields after it, like `memory` or `architecture`, are what the platform team published for that device. This one says "match a GPU whose memory is at least 40Gi." A device has to match every selector in the request. Give two selectors to mean "Hopper, with at least 80Gi." ### Requesting more than one device `devices` is a list, so a member can ask for distinct kinds of hardware at once, each its own entry with its own `count` and `selectors`. A node pool matches the member only when it satisfies every entry. This is how you ask for both a GPU and a fast NIC on the same node: ```yaml {nocopy=true} nodeSelector: devices: - name: gpu count: 8 selectors: - cel: device.attributes["gpu.nvidia.com"].architecture == "Hopper" - name: nic count: 1 selectors: - cel: device.attributes["nic.nvidia.com"].linkType == "infiniband" ``` ### What you can match on Each selector is evaluated against one device and must return a boolean. The device exposes three things: - `device.driver`: the device's driver, a string. - `device.attributes[""].`: a typed attribute (string, bool, int, or version), such as `architecture` or `cudaComputeCapability`. - `device.capacity[""].`: a capacity quantity, such as `memory`. Two helpers build comparable values: `quantity()` parses Kubernetes quantities like `"40Gi"`, and `semver()` parses versions like `"9.0.0"`. Both support `compareTo` (which orders two values), `isGreaterThan`, and `isLessThan`. Combine selectors with the usual CEL operators (`==`, `!=`, `>=`, `&&`, `||`). ```yaml {nocopy=true} selectors: # Capacity: at least 40Gi of GPU memory. >= 0 reads as "left is at least right". - cel: device.capacity["gpu.nvidia.com"].memory.compareTo(quantity("40Gi")) >= 0 # Attribute equality: a specific architecture. - cel: device.attributes["gpu.nvidia.com"].architecture == "Hopper" # Version attribute: a minimum CUDA compute capability. - cel: device.attributes["gpu.nvidia.com"].cudaComputeCapability.isGreaterThan(semver("8.9.0")) # Driver: match any device from a given driver. - cel: device.driver == "gpu.nvidia.com" # Presence: only match a device that publishes a given domain. - cel: '"gpu.nvidia.com" in device.attributes' # Two conditions in one selector. - cel: | device.attributes["gpu.nvidia.com"].architecture == "Hopper" && device.capacity["gpu.nvidia.com"].memory.compareTo(quantity("80Gi")) >= 0 ``` This is the Kubernetes DRA device selector expression surface. The Kubernetes-specific CEL extension libraries (such as regular expressions and IP address helpers) aren't available. Selectors in practice are attribute and capacity comparisons like those above. ### Seeing what's available To see what you can match against, list the classes the platform team has published and look at the devices each one declares: ```bash kubectl get inferenceclass kubectl describe inferenceclass gke-l4-1x-g2 ``` The `describe` output shows each device's driver, attributes (like `architecture`), and capacity (like `memory`), which are exactly the keys your selectors read. If a selector asks for something no published class offers, the deployment won't schedule. ## Sizing a deployment Three independent numbers control how many pods a deployment runs: - **`spec.replicas`** stamps out whole copies of the entire topology. Each replica is a complete serving instance, and replicas usually land on different clusters. This is the scaling axis (see [Scaling](#scaling)). - **`engines[].copies`** runs several identical copies of one engine within a replica, on the same cluster. It's a fixed number, sized once, never autoscaled. Copies make a replica more resilient within its cluster: a node failure drops one copy instead of taking the whole replica out of service. In disaggregated serving they also set the prefill-to-decode ratio. - **`worker.nodes`** sets how many nodes one gang spans: a `Leader` plus that many `Worker` pods. It's how big a single multi-node engine is. ## Scaling `spec.replicas` is the only scaling axis. Each replica is a complete, fixed-shape serving instance, so scaling adds or removes whole instances across the fleet. Because the deployment exposes the Kubernetes scale subresource, `kubectl scale` and KEDA work without anything extra. There's no in-cluster pod autoscaling. ## Choosing a topology | Topology | Use when | How you set it | |----------|----------|----------------| | Single-node | The model fits on one node's GPUs | One `Standalone` member (the default) | | Multi-node | The model is too large for one node | A `Leader` and one or more `Worker` members, ideally with a `modelCacheRef` | | Disaggregated serving | Large model, heavy load, strict latency, long context | `serving.mode: PrefillDecode` with two phase engines | ## Examples Single-node Multi-node model-deployment.yaml # A ModelDeployment deploys a model to one or more inference clusters. # The scheduler picks clusters by clusterSelector labels and nodeSelector # device requests, gated on available nodes. Each matched cluster gets one # ModelReplica. # # The control plane creates a unified OpenAI-compatible endpoint: # http://///v1/chat/completions apiVersion: modelplane.ai/v1alpha1 kind: ModelDeployment metadata: name: qwen3-8b namespace: ml-team spec: # Number of ModelReplicas to fan out to. Each replica is a complete # serving instance scheduled to one InferenceCluster. replicas: 1 # Optional: restrict the scheduler to clusters with specific labels. # clusterSelector: # matchLabels: # modelplane.ai/region: us-central # Engines are an array of inference engines. This model is one engine, one # Standalone member, one pod - the simplest shape. The engine composes to a # Deployment fronted by a Service. template: spec: engines: - name: qwen3-8b members: # A Standalone member is a single self-contained engine pod. Its template # carries the container named "engine" - the inference engine; its image, # command, and args pass through verbatim. - role: Standalone # The member's per-node device request: a list of DRA device requests # describing what each of the member's pods needs from its node. The # scheduler matches each against a candidate pool's InferenceClass # devices and pins the member to a pool that satisfies them. Each # request's CEL is real DRA CEL over a single device; quantity() and # semver() are helpers. claim: DRA devices also become requests in the # DRA ResourceClaim the serving pods claim GPUs through, so an engine # must declare the GPUs it needs. nodeSelector: devices: - name: gpu count: 1 selectors: # Qwen3-8B fits comfortably on an L4; 20Gi selects one without # over-constraining. A larger model would ask for more memory or a # specific architecture here. This CEL is real DRA CEL: the scheduler # matches it against the pool's declared device, and DRA matches it # again against the GPU's ResourceSlice when it binds the claim. - cel: | device.capacity["gpu.nvidia.com"].memory.compareTo(quantity("20Gi")) >= 0 template: spec: containers: - name: engine image: vllm/vllm-openai:v0.23.0 args: - "--model=Qwen/Qwen3-8B" - "--served-model-name=qwen" - "--reasoning-parser=qwen3" - "--default-chat-template-kwargs={\"enable_thinking\": false}" - "--enable-auto-tool-choice" - "--tool-call-parser=hermes" model-deployment-multinode.yaml # A ModelDeployment serving one model across two nodes. # # When a model is too large to fit on one node's GPUs, make an engine a gang: # give it a Leader and a Worker member, whose worker.nodes expands to that many # worker pods, one per node. The scheduler picks a cluster with a pool that has # enough GPUs per node and enough nodes for the whole gang, and Modelplane # composes a LeaderWorkerSet-backed serving instance on it. A member joins the # leader through $(MODELPLANE_LEADER_ADDRESS) and takes its rank from # $(MODELPLANE_RANK) (0 on the Leader, 1..worker.nodes on the followers), both # injected by Modelplane - so the same Worker template fans out to any number # of nodes. # # Multi-node engines require a ModelCache: every pod in the gang mounts it at # /mnt/models. When a member brings its own command, Modelplane does not inject # --model, so the leader points the engine at the mount explicitly. # # This shape (vLLM's native multiprocessing backend, TP within a node and PP # across nodes) is the one validated serving Qwen3-Coder-480B; see # examples/qwen3-coder/ for the full platform side. apiVersion: modelplane.ai/v1alpha1 kind: ModelDeployment metadata: name: qwen3-coder namespace: ml-team spec: replicas: 1 template: spec: modelCacheRef: name: qwen3-coder engines: - name: qwen3-coder members: - role: Leader nodeSelector: devices: - name: gpu count: 8 selectors: - cel: | device.capacity["gpu.nvidia.com"].memory.compareTo(quantity("120Gi")) >= 0 template: spec: containers: - name: engine image: vllm/vllm-openai:v0.23.0 command: - /bin/sh - -c - >- exec vllm serve /mnt/models --served-model-name=qwen3-coder --tensor-parallel-size=8 --pipeline-parallel-size=2 --distributed-executor-backend=mp --nnodes=2 --node-rank=$(MODELPLANE_RANK) --master-addr=$(MODELPLANE_LEADER_ADDRESS) --max-model-len=32768 --port=8000 - role: Worker worker: nodes: 1 nodeSelector: devices: - name: gpu count: 8 selectors: - cel: | device.capacity["gpu.nvidia.com"].memory.compareTo(quantity("120Gi")) >= 0 template: spec: containers: - name: engine image: vllm/vllm-openai:v0.23.0 command: - /bin/sh - -c - >- exec vllm serve /mnt/models --served-model-name=qwen3-coder --tensor-parallel-size=8 --pipeline-parallel-size=2 --distributed-executor-backend=mp --nnodes=2 --node-rank=$(MODELPLANE_RANK) --master-addr=$(MODELPLANE_LEADER_ADDRESS) --headless --max-model-len=32768 --- # Get started Source: /getting-started/ Modelplane is an open source control plane for AI inference. It separates two concerns: a platform team managing GPU capacity, and ML teams deploying models against it. Without it, every change on one side creates work for the other. When the platform team updates infrastructure, ML teams have to react. When model requirements change, the platform team gets a request. With Modelplane, the platform team publishes hardware without knowing what models will run on it. The ML team declares what a model needs without knowing what clusters exist. The control plane resolves it and keeps it current as both sides change. In this tour, you'll switch between provisioning infrastructure and declaring a model to see how they interact. By the end you'll have a GPU fleet across three regions and one OpenAI-compatible endpoint routing to a model served across two of them. This is not a production setup and takes around 45 minutes to run. ## What you'll build The platform team provisions a starter cluster and grows it to two larger-GPU regions; the ML team serves a model on the L4, then scales it onto a bigger GPU, all behind one endpoint.