
Sizing Beam on AWS: 23B Active Does Not Mean a 23B Deployment
Beam activates about 23B parameters per token, but its complete 501B-parameter checkpoint still drives storage, memory, and sharding. This article turns that distinction into a practical AWS sizing and deployment framework for agentic workloads.
Beam is Reflection’s open-weight, text-only mixture-of-experts model for coding, reasoning, and long-horizon agentic workloads. It has approximately 501.3 billion total parameters, with about 23.4 billion active for each token.
Those two capacity figures lead to very different infrastructure decisions. The active number helps explain computation. The total number still shapes checkpoint storage, weight memory, loading time, sharding, and the number of accelerators required to host a replica.
Confusing those two capacity models is an expensive planning error. A model that computes like a smaller network does not necessarily deploy like one.
Reflection released BF16, FP8, and NVFP4 checkpoints, while AWS documents several serving paths through SageMaker JumpStart and HyperPod Inference. Builders must choose a representation, topology, and operating model for their workload.
All Beam architecture details, benchmark results, and deployment mappings in this article are source-reported. I have not independently deployed or benchmarked the model.

Figure 1: Size residency and compute separately, add runtime headroom, then choose the least complex supported serving path. Original diagram, CC BY 4.0.
Start with two different capacity numbers
Beam is a sparse Mixture-of-Experts model. Its model card lists 52 layers: three dense layers followed by 49 MoE layers. Hugging Face reports that each MoE layer contains 256 experts and routes each token to eight of them. That sparse path produces the approximately 23.4B active-parameter figure.
Sparse activation reduces how much of the expert network participates in one token. It does not remove the experts that were not selected. The serving system must keep the complete checkpoint available across accelerator memory or another memory tier, and the distributed runtime must know where each shard resides.
A first-pass weight calculation makes the difference visible:
Checkpoint representation | Idealized bytes per parameter | Theoretical raw-weight floor |
|---|---|---|
BF16 | 2 | About 1,003 GB, or 934 GiB |
FP8 | 1 | About 501 GB, or 467 GiB |
Four-bit floor | 0.5 | About 251 GB, or 233 GiB |
These are arithmetic lower bounds, not endpoint sizing recommendations. They exclude quantization scales, parameters retained at higher precision, alignment, runtime workspaces, communication buffers, framework overhead, and key-value cache. NVFP4 is therefore not a promise that the released checkpoint occupies exactly the four-bit floor. The Hugging Face technical overview notes that some parameters remain in BF16 for accuracy.
The calculation still gives builders a useful rule: total parameters size residency; active parameters explain much of the per-token expert computation. Both numbers matter, but they answer different questions.
Precision can change the topology, not only the bill
Selecting BF16, FP8, or NVFP4 is often described as a cost-quality trade-off. At this scale, it can change whether one replica is multi-node, which accelerator generation can host it, how much communication is required, and how quickly another replica can start.
The AWS deployment guide recommends a multi-node configuration for BF16. It maps FP8 to
ml.p5.48xlarge with H100 GPUs or the H200-based ml.p5e.48xlarge and ml.p5en.48xlarge . It maps NVFP4 to ml.p6-b200.48xlarge with B200 GPUs. These mappings remain conditional on the released checkpoint, serving runtime, GPU count, and supported parallel layout. Accelerator support for a numeric type by itself is not enough.Reflection’s model card reports relatively small differences among the released formats on several coding evaluations. For example, its SWE-bench Verified results are 81.6 percent for BF16, 80.2 percent for FP8, and 80.7 percent for NVFP4. Its Terminal Bench v2.1 results are 80.1, 78.9, and 78.4 percent respectively. These are vendor-run evaluations with published sampling settings, not a guarantee that one format preserves quality for a particular repository, tool harness, or task distribution.
The deployment decision should therefore join three measurements:
- Does the checkpoint fit the supported hardware and runtime topology with operating headroom?
- Does it meet latency and concurrency targets under the expected context distribution?
- Does it preserve task completion quality on representative software work?
Long context consumes a separate memory budget
Beam’s source-reported context limit is one million tokens. That number describes model capability, not the amount of context every production request should use.
The key-value cache grows with sequence length and concurrency. Hugging Face describes Beam’s hybrid attention as 43 sliding-window layers and nine global-attention layers. Its published calculation estimates roughly 36 GiB of BF16 dynamic key-value cache for one sequence at the full context length, compared with 208 GiB if all 52 layers retained the full sequence. I have not reproduced that calculation in a deployed runtime, and cache implementations, precision, batching, and serving frameworks can change the result.
The architectural implication is broader than the exact number. Weight memory is mostly a replica-level commitment, while key-value cache pressure changes with live traffic. A topology that barely accommodates weights may leave too little room for useful concurrency or long-running agent sessions.
Before selecting hardware, define a context distribution rather than one maximum:
- Typical repository and prompt size.
- Tool-result growth over a multi-step task.
- Number of concurrent sessions per replica.
- Expected output and retained reasoning length.
- Cache precision and eviction behavior.
- Headroom for runtime and communication workspaces.
A one-million-token limit belongs in load testing, not directly in a capacity spreadsheet as the default request size.
Choose a serving path by control boundary
AWS documents three practical ways to operate Beam. The right starting point depends on how much of the serving stack the team needs to own.
Serving path | Use it when | What the team still decides |
|---|---|---|
SageMaker JumpStart real-time endpoint | The priority is the shortest managed path to an HTTPS inference endpoint | Beam variant, supported instance, endpoint configuration, scaling, workload validation, and cleanup |
JumpStart on HyperPod Inference | The team wants an AWS-managed Beam container while retaining Kubernetes-native cluster control | Cluster capacity, namespace, caching, routing, scaling, observability, and release configuration |
SGLang or vLLM on HyperPod Inference | The workload requires custom runtime arguments, quantization, parsers, or distributed execution | Runtime image and digest, model revision, topology, serving flags, compatibility, and lifecycle operations |
Start with the managed JumpStart endpoint when it can answer the workload question. A custom runtime is justified by a measured requirement, not by the abstract value of control.
At launch, AWS lists JumpStart availability in US East (N. Virginia) and US East (Ohio). Region support, service quota, and actual accelerator capacity must be checked before treating an architecture diagram as a deployment plan. Large checkpoints also make image transfer, weight download, shard loading, and node-local caching part of startup behavior.
For reproducible evaluation, record the JumpStart model ID and version for managed paths. For SGLang or vLLM, pin the public Beam commit SHA and serving-image digest. Across all paths, record the instance type, checkpoint format, parallelism, runtime arguments, context distribution, cache state, and replica count. Without that deployment identity, two benchmark results may describe different systems even when both say “Beam.”
Evaluate the agent, not only the token stream
Time to first token, inter-token latency, aggregate throughput, and GPU utilization are necessary serving metrics. They do not establish whether an agentic coding system is effective.
Long-horizon software tasks introduce failures outside model inference: tool-call errors, malformed patches, unsuccessful tests, repeated exploration, context accumulation, and recovery after an intermediate mistake. A faster model can still consume more time and compute if it needs more attempts to finish a task.
A useful evaluation records both serving and task outcomes:
- Request success rate and p50/p95 time to first token.
- End-to-end latency and output-token throughput at expected concurrency.
- Peak accelerator memory and key-value-cache consumption.
- Tool-call validity, test execution success, and recovery behavior.
- Completed tasks, accepted patches, and human-review findings.
- Tokens, elapsed time, and infrastructure cost per completed task.
The final unit matters. Cost per million tokens is an input price. Cost per accepted software outcome includes model behavior, harness reliability, retries, human review, and the serving topology needed to sustain them.
The published Beam benchmarks are useful starting evidence for choosing candidate formats. A team should still build a repository-specific task set, preserve hidden acceptance checks, and compare formats under the same harness and deployment conditions.
Treat Trainium3 as a validation target
AWS has publicly announced that Beam was ported and optimized for AWS Trainium3. The announcement does not publish the Neuron runtime version, supported checkpoint precision, instance topology, parallelism layout, throughput, latency, or benchmark cost conditions.
That makes Trainium3 an important evaluation path, but not yet a source-backed performance conclusion for this article. A credible comparison would pin the software and checkpoint, use equivalent task traces and quality gates, record capacity and utilization, and report both serving metrics and completed-task economics.
Until those conditions are public or independently measured, phrases such as “high performance” and “cost efficient” should remain attributed announcement claims rather than architecture assumptions.
Limitations
This analysis uses public model and AWS deployment documentation rather than a live Beam endpoint. The memory table is a theoretical floor. It is useful for catching category errors, but it cannot replace the released checkpoint size or runtime memory profile.
Reflection’s benchmark and long-context results are source-reported. Benchmark versions and model artifacts can change. Instance availability and pricing vary by Region and time. A production decision also needs security, data governance, network design, failure recovery, observability, and cleanup ownership that a model card cannot provide.
Why this matters to AWS builders
Open weights increase control, but they also transfer decisions from an API provider to the team operating the model. Builders must choose the checkpoint, accelerator, runtime, sharding layout, scaling policy, cache strategy, deployment identity, evaluation method, and cleanup lifecycle.
Beam exposes why sparse-model planning needs two capacity models. The 23.4B active path helps reason about token computation. The 501.3B checkpoint defines a much larger residency and distribution problem. Precision can move that problem between nodes and accelerator generations, while long-running agent sessions introduce a traffic-dependent cache budget.
The practical workflow is straightforward: calculate the lower bound, verify a supported topology, start with the least operationally complex serving path, and test representative agent tasks under recorded conditions. Upgrade to a custom runtime or another accelerator path only when evidence identifies the constraint it solves.
A sparse model may compute selectively. Its deployment architecture cannot plan selectively.
References
- Reflection, Beam Model Card .
- Reflection, Beam 1.0 501B-A23B on Hugging Face .
- Hugging Face, Beam: a 501B open model you can own, customize, and scale .
- AWS Machine Learning Blog, Introducing Reflection Beam: an open-weight model for agentic coding on AWS .
- AWS Samples, Reflection Beam deployment worked example .
Enjoyed reading this content? Let the author know!
Your likes, comments, shares, and saves help creators reach more builders.
Loading recommendations
Loading article