> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fireworks.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Choose Serverless or Dedicated Training

> Choose the Training API infrastructure that fits your model, method, workload, and cost profile.

The Training API uses the same Tinker-compatible primitives on two infrastructure paths. Choose the path before adapting a cookbook recipe.

<CardGroup cols={2}>
  <Card title="Serverless Training" icon="bolt" href="/fine-tuning/training-api/serverless">
    Attach to a shared pooled trainer. There is no trainer or rollout deployment to provision.
  </Card>

  <Card title="Dedicated Training" icon="server" href="/fine-tuning/training-api/dedicated">
    Provision trainer and deployment resources for your run, with broader model and method support.
  </Card>
</CardGroup>

## Quick decision

<div
  role="img"
  aria-label="Decision guide comparing serverless and dedicated Training API infrastructure"
  style={{
display: "grid",
gridTemplateColumns: "repeat(auto-fit, minmax(240px, 1fr))",
gap: "1rem",
margin: "1.5rem 0",
}}
>
  <div style={{ border: "1px solid rgba(146, 73, 231, 0.4)", borderRadius: "0.75rem", padding: "1rem" }}>
    <strong>Start with Serverless Training</strong>

    <div style={{ fontSize: "0.875rem", marginTop: "0.5rem" }}>
      The model is supported, LoRA SFT or RL covers the task, and you want pooled compute with per-token billing.
    </div>
  </div>

  <div style={{ border: "1px solid rgba(146, 73, 231, 0.4)", borderRadius: "0.75rem", padding: "1rem" }}>
    <strong>Choose Dedicated Training</strong>

    <div style={{ fontSize: "0.875rem", marginTop: "0.5rem" }}>
      You need full-parameter training, DPO, explicit resume or deployment control, or sustained provisioned compute.
    </div>
  </div>
</div>

## Comparison

| Dimension         | Serverless                                                       | Dedicated                                                                                     |
| ----------------- | ---------------------------------------------------------------- | --------------------------------------------------------------------------------------------- |
| Provisioning      | Shared pooled trainer; no trainer or sampler deployment creation | SDK provisions trainer and deployment resources                                               |
| Billing           | Per token; no idle GPU charge                                    | Time-based trainer and deployment billing                                                     |
| Parameter mode    | LoRA only                                                        | LoRA and full-parameter                                                                       |
| Methods           | SFT and RL on the supported serverless surface                   | SFT, DPO, ORPO, RL, distillation, and custom loops supported by the selected shape and recipe |
| Models            | Current serverless model list                                    | Models with an enabled dedicated training shape                                               |
| Capacity          | Shared pool and per-account limits                               | Resources allocated to the run, subject to account quota and platform availability            |
| Checkpoint resume | In-run snapshots; cross-run resume is limited                    | Explicit checkpoint, reconnect, promotion, and deployment lifecycle                           |
| Sampling          | In-session sampler, no deployment to create                      | SDK-managed rollout or evaluation deployment                                                  |
| Teardown          | Session lifecycle is managed by the service                      | You must close trainers and delete or scale down deployments                                  |
| Best fit          | Fast LoRA experiments and first RL iterations                    | Full-parameter work, DPO, sustained RL, larger workloads, explicit lifecycle control          |

Always verify current models, limits, prices, and feature status in the [Serverless Training](/fine-tuning/training-api/serverless) and [Dedicated Training](/fine-tuning/training-api/dedicated) pages before launch.

## Choose serverless when

* The base model appears in the current serverless model list.
* LoRA SFT or RL covers the task.
* You want to start without provisioning trainer or inference resources.
* Per-token billing fits a small or bursty experiment.
* In-session sampling is sufficient.

## Choose dedicated when

* You need full-parameter training, DPO, ORPO, distillation, or a model not on the serverless list.
* You need explicit trainer, rollout deployment, checkpoint, reconnect, or promotion control.
* You need sustained throughput or long-running rollouts.
* A highly utilized time-based deployment is more economical for the workload.
* You need to serve or evaluate through a dedicated deployment during training.

## The interface is a separate choice

Serverless and dedicated describe **how training compute is provided**. They are not separate coding-agent modes.

You can ask the [Fireworks training skill](/fine-tuning/agent/use-with-coding-agents) to choose and run either path. You can also run a Cookbook recipe with the Python SDK. Managed fine-tuning is a separate workflow for standard jobs where Fireworks owns the training loop.

## Next steps

* [Run Serverless Training](/fine-tuning/training-api/serverless)
* [Run Dedicated Training](/fine-tuning/training-api/dedicated)
* [Training API introduction](/fine-tuning/training-api/introduction)
* [Cookbook recipes](/fine-tuning/training-api/cookbook/overview)
* [Compare multi-turn costs](/fine-tuning/multi-turn-cost-comparison)
