Learning resourcesReviewed · Together AI

Together AI: Prepare for FP4 inference

This Together AI guide helps developers deploy customized language models, but it covers only supported adapters from Together post-training and preparation can take hours and incur charges. It explains how to merge a LoRA adapter, a compact set of trained model changes, and usually convert the merged model to FP4, a 4-bit weight format, for dedicated inference.

Researched 24 Nov 2026

In short.

This Together AI guide is for developers preparing customized models for dedicated inference, but it requires a supported post-training adapter and each creation request starts a separate job that can incur charges. The usual process merges the adapter into BF16 weights before calibration and FP4 quantization; MiniMax-M3.1-Flash follows a merge-only path. The page covers estimation, optional calibration data, monitoring, cancellation and deployment. Its main operational catches are actual-runtime billing, automatic job creation without a confirmation prompt in noninteractive environments, incomplete calibration checks during estimation, and a required project setting for deploying private models correctly. Performance, quality retention, actual costs and deployment outcomes were not assessed.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage is the complete selected documentation page at [https://docs.together.ai/docs/post-training/prepare-for-fp4-inference.md], including its index reference and Mintlify hosting attribution. All linked destinations are excluded, including the documentation index, supported-model matrix, checkpoint guidance, multi-LoRA documentation and deployment references. Nothing was executed. Live eligibility, calibration acceptance, actual charges, performance, model quality and deployment outcomes remain unassessed.

The overview

Identity

Prepare for FP4 inference is a guide in Together AI's post-training documentation at [https://docs.together.ai/docs/post-training/prepare-for-fp4-inference.md]. It describes a hosted preparation job that turns an eligible trained LoRA adapter into a model suitable for Together's dedicated inference service.

The resource includes command-line, Python SDK and HTTP examples. It teaches a deployment preparation step rather than providing model weights or a training dataset.

Assessment

The guide is useful when a developer has selected a trained adapter and needs to prepare it for a supported dedicated deployment. It connects adapter identification, cost estimation, calibration, job handling and deployment, including several mistakes that could otherwise produce extra charges or deploy the wrong model.

Together presents merging and FP4 preparation as a way to remove per-request adapter overhead while retaining the adapter's changes. The page provides no measured throughput, memory savings, serving-cost comparison or quality evaluation. Those benefits remain provider claims without quantified results in this evidence.

Users

The guide best fits application developers, machine-learning engineers and deployment teams already using Together post-training and dedicated inference. It is especially relevant when the chosen base model requires merged deployments in FP4.

Beginners receive concrete commands and explanations, but must already have an eligible adapter, authenticated project access and enough familiarity with model IDs and deployment profiles to use the examples. Training an adapter from scratch is outside this page.

Capabilities

The documented operations include estimating price and duration, creating preparation jobs, supplying calibration data, retrieving and listing jobs, reading events and requesting cancellation. Successful jobs return a prepared model ID and revision ID for deployment.

The CLI can watch status changes and events until a terminal state. Failed jobs produce a nonzero watch exit code; stopping the watch command leaves the remote job running. Cancellation is asynchronous: cancel_requested precedes cancelled, so the final state needs checking.

Deployment guidance covers listing compatible profiles and creating an endpoint that routes traffic to the prepared model. The output is described as a private model within the project.

Using it

Requirements

Input must be a LoRA adapter registered by a Together post-training checkpoint, with a base model that supports preparation. Full-weight models are not accepted. The page delegates the complete support matrix and model-specific durations to a linked page, so those details are unknown here.

The request needs an adapter registry ID beginning ml_..., authenticated access to its project and sufficient credit for the estimate. A revision ID beginning rv_... is optional. Depending on the interface chosen, the examples require the tg CLI, Together Python package or an HTTP client; required software versions and installation instructions are not supplied.

Optional calibration data must be a conversation JSONL file with messages and optional tools, belong to the adapter's project, remain within 64 MiB and contain at least 598,016 tokens after the model's chat template is applied.

Mechanism

A LoRA adapter stores trained changes separately from the base model. The usual preparation job incorporates those changes into the base model's BF16 weights, then calibrates and quantizes the merged result to FP4. Together's rationale is that merging before quantization avoids applying the adapter to weights that already contain quantization error.

Default calibration uses general text. Supplying a calibration file replaces half of that corpus with the developer's conversations; general text still supplies the other half. Together fixes the merge and quantization parameters, which users cannot change.

MiniMax-M3.1-Flash is a documented exception: it already uses its serving format, so preparation only merges and ignores calibration files. A prepared model may also be registered against a serving base model different from the base model recorded by the adapter.

Setup

Find the adapter and revision under registration.adapter on an inference checkpoint, or inference_registration.adapter after the session ends. Only checkpoints that register an adapter need this process; checkpoints that register a merged model deploy directly.

API requests use inputs.model_object_id and optionally inputs.model_revision_id. Omitting the revision selects the latest adapter revision. The older adapter_object_id and adapter_revision_id names remain accepted but are deprecated; mixing the old and new naming pairs produces a 400 error even when their values match.

Estimate before creating a job. The Python estimate exposes price_usd, time_hours and allowed_to_proceed. Optional calibration data can also be supplied to estimation. The CLI accepts a local calibration path and uploads it with purpose calibration, or accepts an existing file ID; the API uses calibration_file_id.

Example

Using the page's placeholder adapter and revision, the estimate command is tg training fp4 estimate ml_abc123 --model-revision-id rv_abc123. The corresponding creation command is tg training fp4 create ml_abc123 --model-revision-id rv_abc123. These are documentation examples; neither was executed.

After creation, retain the returned shp-quant-... job ID and watch it with tg training fp4 get followed by that ID and --watch. On completion, Python exposes the prepared model through job.results.api_model_object_id and job.results.api_model_revision_id.

For the page's placeholder prepared model ml_def456, tg models configs ml_def456 lists deployment profiles. Deployment then uses the prepared model ID, a compatible configuration and --project your_project_id. The actual model IDs, profile availability and result of this sequence are unknown.

Assessment & evidence

Limitations

Preparation is limited to supported adapters, produces one model per job and can take hours. Merge and quantization settings are fixed. The selected page does not enumerate every supported base model or its compatible deployment profiles.

An estimate checks calibration-file existence and validation but does not count tokens. A file below the minimum can pass estimation and then fail the job with user_error. Passing estimation therefore does not establish that a calibration dataset is large enough.

CLI creation skips its confirmation prompt in noninteractive terminals, with redirected input or output, or when it detects an AI agent. It then starts the job immediately. For private-model deployment, omitting both --project and TOGETHER_PROJECT_ID makes the CLI resolve the private ID to its base model and deploy that instead.

The completed status is documented as meaning the prepared model has been validated for deployment. It does not provide evidence of acceptable quality or performance on a particular application's workload.

Reasoning

The strongest fit is a developer who has already chosen an adapter and needs the format required by dedicated serving. Choosing the adapter first matters because preparation can consume hours and repeated creation requests start additional jobs.

Workload-specific calibration offers a documented way to influence quantization without changing Together's fixed conversion settings. Whether it preserves enough quality or improves serving economics for a particular application requires workload evaluation; the page supplies no results that settle that decision.

Alternatives

If the base model supports multi-LoRA deployment, the page recommends serving several candidate adapters on one deployment before preparing the winner. That provides a comparison stage before committing to preparation, but compatibility and operating details reside on an excluded linked page.

A checkpoint that already registers a merged model can deploy directly. For an adapter already prepared, the page recommends reusing the existing prepared model: repeating preparation uploads another result to the same model while starting a new job.

The page does not compare external quantization tools, other providers or self-hosted deployment approaches.

Evidence

The source is Together AI’s Prepare for FP4 inference documentation at [https://docs.together.ai/docs/post-training/prepare-for-fp4-inference.md].

The page supplies interface examples, field names, lifecycle states, billing rules and troubleshooting guidance. It supplies no observed execution receipts, benchmark results or quality comparisons. No commands, SDK calls or API requests were executed, and no model or endpoint was evaluated.

Access & freshness

Costs

Each preparation job runs on one B200 GPU. Together charges when the job ends, based on actual time from running until termination, rounded up to the next whole minute. Pending and queued time is excluded. The estimate is not a runtime limit.

The page illustrates an estimate of $43.14 for about 6.0 hours, excluding queue time. This is example output, not a universal price or a quote for a particular adapter. A current hourly rate, actual preparation cost and dedicated-endpoint serving prices are not established.

Jobs ending in error or user_error are not billed. Cancelled jobs are billed only if they reached running. Insufficient credit can make allowed_to_proceed false or cause creation to fail with a 402 error. Every creation request starts a new job, including repeat requests for an already prepared adapter.

Rights

The prepared model is described as private within its Together project. That access designation does not establish ownership, commercial-use permission or redistribution rights.

The supplied page does not state a redistribution licence for its documentation or prepared weights. Applicable base-model and adapter licences, rights to calibration data, and data-retention terms are unknown from this evidence.

Freshness

The supplied page was captured on 24 November 2026 at 04:07:58.540 UTC. Its publication date, last-update date and required CLI or Python SDK versions are not stated.

The explicit deprecation concerns the older adapter_* request-field names, which remain accepted in the documented interface. The page does not state that FP4 preparation itself is deprecated. Live compatibility, pricing and behavior beyond the captured text are unknown.

Actions

Confirm that the checkpoint registers an adapter and that its actual base model supports preparation. Select the adapter before starting, retain its revision ID for a reproducible request and obtain an estimate for that revision.

If using calibration data, verify its project, conversation format, size and token count after chat templating; estimation alone does not check the token minimum. Run estimation explicitly before creation in automation because the CLI may skip confirmation.

Save the job ID, monitor its events and use the returned result model IDs after completion. To stop processing, request cancellation and confirm cancelled status; stopping a watch command is insufficient.

List the prepared model's deployment profiles and set the project explicitly when deploying. Evaluate the resulting endpoint on representative workload examples before relying on the page's quality or efficiency claims, and reuse an existing prepared model when another preparation run is unnecessary.

Evidence for this report

selected-page.txtselected · checked 2026-11-24