A large model can fit on a high-memory machine and still generate text too slowly to be pleasant. A faster GPU may have the opposite problem: plenty of compute and memory bandwidth, but nowhere to put the complete model. I am interested in how much useful work the unequal machines can do together.
An RTX 5090 has 32 GB of GDDR7 and 1,792 GB/s of memory bandwidth. A DGX Spark has 128 GB of coherent unified memory and 273 GB/s of memory bandwidth, shared by its CPU and GPU. Spark has room for models that the 5090 cannot hold, although its operating system and runtime also need some of that room. The 5090 can move data through its own memory much faster 1 2.
One could keep the bulk of a model on the larger machine and assign selected work to the faster GPU. Whether that helps depends on what crosses between them and how often they wait for each other. The same hardware can also serve different requests independently, including across on-premises and cloud sites. These are different ways to use a mixed fleet, and cooperation within one generation is the more demanding of the two.
A large model need not use all its weights at once
A mixture-of-experts model makes this especially interesting. In its expert layers, a learned gate selects a subset of expert networks for each token. Their outputs are combined inside the model before execution continues. The remaining experts do no work for that token, but later tokens may need them.
GLM-5.3-Flash has about 320 billion total parameters and 18 billion active parameters per token. The active count describes the work selected for a token, while the total count still has to be accommodated somewhere 3. Even hypothetical uniform four-bit packing would take about 160 GB for weights alone, before quantization metadata, runtime memory and attention state. A 128 GB Spark cannot hold that payload by itself. The chosen checkpoint needs further compression, offload to memory on another host or additional devices.
That creates room for a division of labour. A large memory pool can hold the expert bank while a smaller GPU retains frequently used components and selected experts. It need not have enough memory for everything if the executor can obtain the other experts' results when required.
There are two quite different ways to obtain them. One can copy the missing weights to the fast GPU and compute there. Or one can leave the weights beside another processor, send it the token's intermediate representation, and receive the computed result. The second arrangement can replace a large weight transfer with a much smaller exchange of activations. It also leaves the expert computation on the slower processor.
The choice can change with the workload. Computing beside CPU-resident weights can suit a small decode step, while a larger batch can justify copying those weights to the GPU and reusing them across many tokens. Fiddler studies this crossover between CPU expert execution and GPU weight staging 4. A sensible executor may therefore make different choices while reading a prompt and while generating its answer.
Moving weights or moving work
For a simplified transfer example, separate from GLM's layer layout, consider a model with 48 MoE layers, four selected experts per layer and 16 MiB of packed weights per expert. If a single decoding token needs all those weights copied to the fast device, with no useful experts already cached there, the traffic is:
weight traffic = 48 × 4 × 16 MiB = 3 GiB per step
At an assumed effective transfer rate of 12 GB/s, copying alone takes roughly 268 milliseconds. Reusing resident experts or amortizing the copies across a batch can reduce that cost.
Now suppose those experts stay on one other device. A token's hidden vector has 4,096 elements, each represented with two bytes, and the remote device combines the selected expert outputs before returning one vector. The exchange becomes:
activation traffic = 48 × 2 × 4096 × 2 bytes
= 768 KiB per step
The smaller payload makes remote computation worth considering. But each dependent layer still waits for its result. At 0.2 milliseconds of fixed round-trip and dispatch overhead per layer, those waits add 9.6 milliseconds before the remote expert computation is counted. Multiple destinations or a different result layout can increase traffic too.
This is why a fast network alone cannot settle the comparison. One path pays for copying weights and computing quickly. The other pays for smaller exchanges and computing elsewhere. A cached expert avoids the first path's copy, while a busy remote processor makes the second path wait.
Keeping attention on the fast GPU adds another constraint. Conventional full attention uses a key/value cache, or KV cache, whose stored state grows with the context 5. GLM-5.3-Flash combines sparse and linear attention, so its attention-state requirements differ from a full-attention model 3. The placement question remains: if attention runs on the GPU but frequently needed state lives across a slow connection, repeated reads can consume the saving from expert placement. State kept on the GPU competes with resident expert weights for memory.
An arrangement that works well for a short conversation can therefore change as the conversation grows. The expert cache has less room, or more attention state must move 5.
The experts in demand can change too. DALI studies workload-aware expert placement, prefetching and cache replacement in response to those changes 6.
A faster start and a faster answer
Prefill processes the input. Decode generates the continuation. Prefill can exploit parallel work across input tokens and is often compute-intensive. Decode depends on the preceding generated tokens and, especially at modest batch sizes, is often limited by moving weights and attention state through memory 7.
That suggests giving prefill to the 5090 and decode to the higher-memory machine. A long document might be processed faster without requiring the fast GPU to hold the growing conversation throughout generation. Separate prefill and decode pools can also prevent large incoming prompts from interrupting ongoing streams 8.
There is an important catch: prefill still executes the target model. It must access the weights through local residency, staging or a supported partition. Assigning only prefill to a 32 GB GPU does not make a larger target fit there. The resulting attention state must then reach a compatible decoder. For a hybrid model such as GLM-5.3-Flash, the handoff includes the linear-attention state as well as the KV cache, with compatible layouts on both sides 9. A long-context handoff can cost more than the faster prefill saved.
Even when the handoff pays, it primarily improves the wait before the answer starts. Decode can remain just as slow. Whole-layer partitioning offers another split, keeping each layer's weights and KV state together, but a single sequence still passes through the stages in order. Adding a fast stage helps only to the extent that it shortens the complete sequence of work.
Proposing several tokens at a time
Speculative decoding offers a different use for spare compute. A cheap drafter proposes several tokens, and the target model verifies them in a batched forward pass. Accepted candidates advance the answer. Rejected candidates require correction. The target can process several proposed positions more efficiently than separate one-token steps, especially when ordinary decode leaves compute idle while moving weights through memory 10.
A small draft model on the fast GPU could therefore help a larger model on the high-memory machine. The exchange carries proposals and verification information rather than repeatedly moving the target's weights. It still needs a coordinated draft/verify implementation: two ordinary chat servers cannot establish that loop by themselves.
Multi-token prediction, or MTP, is related but concerns the model as well as the serving engine. GLM-5.3-Flash includes an MTP draft layer, and its vLLM recipe shows speculative decoding with that layer on NVIDIA hardware 9. Such trained modules are not a capability one can switch on for an arbitrary checkpoint. Moving an integrated prediction module to another machine can also require access to target hidden states that an independent drafter does not need.
The useful measure is how many tokens the target commits per complete speculative round. A fast drafter contributes little if its proposals are usually rejected or verification takes too long. For MoE models, a verification batch may also touch more experts than a single decoding token, changing which weights should be resident and which work should run remotely. Larger batches can amortize transfers while simultaneously making the expert working set larger.
Correct speculative sampling can preserve the target distribution within numerical limits. Verification is a check against the target's token probabilities, not a fact-check of its answer. The target remains quite capable of approving nonsense faster. At higher concurrency, ordinary batching may already use the spare compute that made speculation attractive, so a gain for one quiet conversation need not survive a busy server 10.
What can actually run this
The hardware examples are plausible research targets, not interchangeable pieces. A 5090 needs its own suitable host when paired with Spark and cannot join Spark's internal coherent CPU/GPU memory system. NVIDIA lists discrete-GPU attachment to Spark as unsupported, so the two-box arrangement communicates over networking 11. Strix Halo offers a related CPU/GPU shared-memory option, with Ryzen AI Max+ 395 configurations supporting up to 128 GB, but sharing memory inside an APU does not automatically make a separate GPU part of that arrangement 12.
Some transfer paths require patched drivers as well as runtime changes. Direct PCIe peer-to-peer transfers on consumer RTX cards are one example: a community NVIDIA driver fork enables them, with an additional libcuda patch for mixed-generation pairs. Its documented IOMMU-passthrough requirement also reduces device isolation 13. These patches become part of the system one must maintain and retest after upgrades. This is a different path from Spark-to-PC networking, which still requires compatible execution backends and transports.
The engine has to implement the proposed division. llama.cpp exposes useful CPU/GPU placement and offloading controls. Its RPC backend participates in distributed execution, unlike a remote chat API, but the project calls it a fragile, insecure proof of concept suitable only for isolated, non-sensitive experiments 14 15. KTransformers is relevant for specialised CPU expert execution alongside GPU work. Its supported kernels and integrations do not amount to a generic remote expert service for arbitrary hardware 16.
Existing experiments also distinguish fitting from accelerating. One author-reported Spark-plus-5090 layer split over 10 GbE enabled larger contexts and more concurrency, while single-stream decode was slightly slower than Spark alone. That can be useful, but it does not demonstrate faster generation through remote expert execution 17.
My default for a serving pool is vLLM: its batching, cache management and execution controls suit the service I want to operate. llama.cpp and specialised runtimes are better starting points where they provide a placement mechanism vLLM does not. SGLang is a serious serving alternative. Ollama makes local model management convenient, but I prefer more explicit control over scheduling and memory for this work 7 18 19.
All of these within-model arrangements depend on how long the machines spend waiting for each other. Across a WAN, repeated expert exchanges, speculative rounds or a large attention-state handoff can put the connection directly into generation time. I would normally send the complete request to a site that can finish it, keeping tightly coupled work within that site.
Combining on-premises and cloud serving
A local pool need not run every model or carry peak demand. Existing GPUs can handle steady traffic, while cloud capacity supplies a larger model, a different accelerator or extra replicas for a busy period. That allows cloud use to grow with a particular workload rather than requiring the whole service to move at once.
GLM-5.3-Flash makes this choice concrete. One could assemble enough local memory and a suitable execution path to run it, or keep smaller models local and send GLM requests to a cloud deployment. A machine that cannot contribute efficiently to GLM's generation can still process another request while GLM runs elsewhere. Where the same model is available at both sites, cloud replicas can also take eligible overflow from the local pool.
Site selection comes before cache affinity or price. A request containing data that must remain on premises stays there, including when local capacity fails. Other requests may use either site. A separate policy layer makes that decision, then the chosen site's inference router selects a serving replica. llm-d provides inference-aware endpoint selection around engines such as vLLM, including cache-aware routing and supported prefill/decode arrangements. It does not supply that cross-site policy by itself 20.
Within a site, where the earlier computation lives can still change the best destination. Prefix caching reuses compatible KV state from the beginning of earlier inputs. If several requests share a long document or system prompt, sending each to a different cold replica repeats the same prefill work. A cache-aware router can favour the replica that already has it 21 22.
That preference competes with queueing. Waiting behind many requests on a warm replica can take longer than recomputing the prefix on an idle one. Different hardware makes equal queue lengths even less informative. The router needs to estimate the remaining work and wait, rather than spread request counts evenly.
Cloud bursting has a similar problem at a larger scale. A requested GPU still needs the model loaded before it can serve anything. Keeping a replica warm costs money while it is idle, but loading one only after the local queue grows may be too late for a short burst. Predictable busy periods can justify starting capacity in advance. Occasional jobs with no urgent response requirement can wait for it. The useful comparison includes idle capacity, storage and transfer costs as well as the quoted GPU-hour price.
Kubernetes places the serving processes, while Talos makes their hosts reproducible through declared configuration and controlled images. Keeping shared deployment definitions, with the hardware-specific settings recorded alongside them, makes it easier to reproduce the service at either site. Any custom driver becomes part of the image or extension we maintain and retest after upgrades. Reproducible packaging does not make the patch vendor-supported. I cover that host lifecycle separately in Leave the nodes alone 23.
I would start with one workload that is allowed to leave the site and benefits from hardware unavailable locally. The existing pool continues serving its usual requests. Cloud use can expand if that workload justifies its cost, or stop without making the local service dependent on it.
Sources
The worked transfer example is illustrative, not a benchmark or GLM-5.3-Flash's layer layout. The cited hardware-pair experiment was not reproduced here. Implementation sources were checked on 9–10 September 2026. Some describe experimental or main-branch features whose availability depends on the exact engine and hardware combination.