Selecting and Deploying a 770B Open-Source Multimodal Model: Key Guidelines

    This article outlines the key considerations for selecting and deploying a 770-billion-parameter open-source multimodal model locally. It covers the transition from cloud APIs to self-hosted infrastructure, explains the MoE architecture by distinguishing between total and active parameters, and explores expert routing alongside the roles of visual encoders and draft models. Additionally, it provides practical guidance on choosing the right weight versions, managing long contexts and multimodal inputs, estimating VRAM and hardware requirements, and adopting a phased deployment strategy for small to medium-sized teams.

    From API Calls to Local Deployment: To Build or Not to Build

    For a long time, the capabilities of large multimodal models were only accessible via cloud APIs or specific product interfaces. For teams requiring data privacy, custom behaviors, or continual pre-training, this approach lacks flexibility. Once model weights are openly available, teams can run the model in their own environments and perform domain adaptation.

    The primary benefits of local deployment include keeping data within the internal network, adjusting model behavior according to business needs, and shifting billing from per-call charges to hardware-based costs. However, the trade-offs are equally clear: you need to purchase or rent GPUs, maintain the inference services, and independently manage model updates and security patches. Before starting, teams should answer three questions: Must the data remain on the internal network? Is the call volume high enough to make self-hosting more cost-effective? Does the team have the capability to operate large model services? If the answer to any of these is no, continuing to use a cloud API is usually the more pragmatic choice.

    Total Parameters vs. Active Parameters: Don’t Confuse the Two

    When evaluating model scale, a common misconception is treating “active parameters” as the “total weights to be deployed.” The model’s language backbone described in the original text has 770 billion total parameters, but only activates about 49 billion parameters per token. These two numbers answer different questions.

    Total parameters determine the size of the weight files and the VRAM footprint. Active parameters determine the compute required per token, which affects the computational overhead of a single inference. The Mixture of Experts (MoE) architecture leverages this: the model contains multiple expert subnetworks, invoking only a subset during each inference. This allows it to maintain a large total capacity with a lower per-token compute cost.

    It is important to note that during inference, all weights typically need to reside in VRAM or fast storage, even if only a fraction is used per token. Therefore, while compute costs can be estimated based on active parameters, hardware costs must be estimated based on total parameters.

    How Expert Routing Works: Shared vs. Routed Experts

    The model’s language backbone consists of 78 Transformer layers, 77 of which utilize the MoE structure. Each layer contains 256 routed experts and 1 shared expert. The gating network calculates the matching score between each token and the routed experts, selecting the top 8 highest-scoring routed experts for computation. The shared expert bypasses routing and remains active for all tokens.

    The philosophy behind this division is that the shared expert handles general foundational features, while the routed experts handle more specific patterns or domain knowledge. Understanding this helps users gauge which tasks the model might perform more stably on.

    A crucial caveat: the number of experts and active parameters provided cannot be simply scaled proportionally by expert count. The parameter sizes of the shared expert, attention layers, and embedding layers are not necessarily the same as the routed experts, and the widths of different experts may vary. To verify specific numbers, refer to the official model card and configuration files for layer count, expert count, expert dimensions, and top-k settings, rather than drawing conclusions directly from ratios.

    Visual Encoder and Draft Model: Respective Responsibilities

    The model’s multimodal capabilities rely on the visual encoder. It converts images or video frames into vectors aligned with the text space, which are then fed into the Transformer backbone alongside text tokens.

    The draft model serves a different purpose. Speculative Decoding requires a small model to quickly generate candidate tokens, which are then batch-verified by the main model. The draft model accelerates decoding speed without altering the output quality of the main model. During deployment, teams can choose whether to pair it with a draft model and which one to use. It is not part of the main model architecture and should not be considered a component of it.

    Choosing Among Three Weight Versions

    Official releases typically provide different versions based on use cases. The original text mentions three categories:

    • Chat Instruction Version: Fine-tuned with supervised learning and aligned with human feedback, ready out-of-the-box for Q&A, multi-turn dialogue, content summarization, and CLI interactions. If the primary goal is rapid deployment, this version is the most straightforward.
    • FP8 Quantized Instruction Version: Weights are stored in 8-bit floating-point format, roughly halving VRAM usage compared to 16-bit formats like BF16. Its main value is lowering the deployment barrier. Quantization introduces some precision loss, so you should compare its performance against the full-precision version on your own evaluation sets before going live.
    • Pre-trained Base Version: Not instruction-tuned, retaining the raw capabilities from self-supervised pre-training. It is suited for research teams with large-scale domain data looking to continue training from the foundation. This version requires more comprehensive data pipelines and training resources.

    Selection can be guided by three questions: Does the team need an out-of-the-box solution? Is VRAM tight? Is domain training planned? Most business teams should start with the Chat Instruction or FP8 versions, only considering the Base version when domain training is explicitly required.

    Multimodal and Long Context Practical Boundaries

    The model supports unified understanding of text, images, and video, with a context window of up to approximately 1 million tokens. Image and video frames are converted into visual tokens that share the same context as text. This means cross-modal tasks, such as analyzing financial reports combining charts and text, can be completed in a single inference pass.

    However, context length is not free. Longer inputs mean higher KV Cache VRAM consumption and increased time-to-first-token latency. The VRAM requirement for a full-window input may far exceed that of the model weights themselves. In practice, teams should measure the typical input length of their business workflows before deciding on concurrency limits and truncation strategies. For ultra-long documents, chunked retrieval combined with summarization is often more controllable than inputting everything at once.

    Video and high-resolution images also rapidly increase token counts. Before launch, track the average and maximum token counts per request and incorporate this into capacity planning.

    What to Prepare for Local Deployment

    VRAM Estimation

    You can estimate using the following rough formula:

    VRAM requirement ≈ Parameters × Bytes per parameter + KV Cache + Framework/Runtime overhead

    Taking a 770-billion-parameter model as an example, BF16 weights require about 1.5TB, while FP8 weights require about 0.77TB. Additional space must be reserved for KV Cache and framework overhead, with the specific ratio depending on concurrency, context length, and the inference framework.

    Hardware Planning

    Calculating based on 8 GPUs per server, each with 80GB, the total VRAM per server is 640GB. Since FP8 weights alone exceed a single server’s capacity, you will need at least two such servers and must use tensor parallelism or pipeline parallelism to shard the model. The actual configuration also depends on interconnect bandwidth, concurrency targets, and budget. The numbers above are lower-bound estimates; refer to actual benchmark results from the inference framework before formal procurement.

    Inference Framework

    Official documentation usually provides deployment instructions for frameworks like vLLM and SGLang. Before going live, teams need to confirm the following parameters: the chunk size for Chunked Prefill, the KV Cache quantization method, whether speculative decoding and the draft model are enabled, and the maximum concurrency and maximum context length. These parameters directly impact throughput and latency, and should be tested under loads similar to production.

    Licensing and Compliance

    Open weights do not equate to unrestricted use. Before deployment, read the accompanying license to confirm commercial use scope, redistribution conditions, and usage limitations. When handling personal or sensitive data, you must also assess whether the data processing workflow complies with relevant regulations.

    Startup Path for SMEs

    For most small and medium-sized teams, directly deploying the full 770-billion-parameter model requires significant hardware investment. A more prudent approach involves three steps:

    Step 1: Use cloud compute leasing or on-demand instances to deploy the FP8 version and run through your business workflow.
    Step 2: Build an evaluation set using your own business data, comparing the model against existing solutions in terms of accuracy, latency, and cost.
    Step 3: Only invest in a self-hosted cluster if the evaluation results show stable benefits in key scenarios and the call volume is sufficient to cover fixed costs.

    The advantage of this path is that each step has verifiable metrics, and the cost of failure is relatively low.

    Conclusion

    Large-scale open-weight models allow teams to run and fine-tune cutting-edge capabilities locally, but hardware, operational, and compliance costs are equally real. When selecting a model, first verify the total and active parameters, version differences, and license terms, then estimate costs using VRAM formulas and your own evaluation data. Teams should continuously monitor three types of metrics: cost per request, throughput and latency, and changes in business evaluation scores. These metrics better indicate whether a local deployment solution is worth long-term investment than sheer scale numbers.