Guide

# Migrate from Fireworks

Fireworks has paused managed fine-tuning. Your training files already use the chat format Gridline reads: check them, upload them, and train the same open model with one call.

## Overview

Fireworks' own documentation says managed training is paused: managed SFT and DPO no longer accept new jobs, and models you already trained stay deployable there ([Fireworks docs](https://docs.fireworks.ai/fine-tuning/fine-tuning-models), checked 25 November 2026).

On Gridline, fine-tuning is managed: you send your examples and pick an open base model, and Gridline picks the GPU, trains, scores the model before and after, and stops. Every fine-tune is quoted before it runs. The model is yours: run batches on it here, or download the weights.

## Your training data

A Fireworks SFT dataset is JSONL in the OpenAI chat format: one object per line with a `messages` array. Gridline reads the same format, so most files upload unchanged.

Gridline reads `role`, `content` and `weight` on each message, where `weight` is 0 or 1 and only on assistant messages. Fireworks also accepts tool definitions and tool calls, thinking fields, images and other weight values. Check a file offline before you upload; nothing is sent:

```
gridline migrate openai train.jsonl --model qwen3.5-9b
```

It lists every line Gridline's upload would refuse and exits 0 when the file would be accepted. The API's answer at upload decides.

## Train on Gridline

Use the OpenAI Python client with Gridline's base URL and your Gridline token. Model names are Gridline's short names, such as `qwen3.5-9b`; see [Models](https://gridlinegpu.com/docs/models) for the bases you can fine-tune.

```
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.gridlinegpu.com/openai/v1",
    api_key=os.environ["GRIDLINE_TOKEN"],
)

training = client.files.create(file=open("train.jsonl", "rb"), purpose="fine-tune")
job = client.fine_tuning.jobs.create(model="qwen3.5-9b", training_file=training.id)
print(job.gridline["quote"])  # the most it can cost, before it runs
```

## Run the model you trained

A succeeded job gives you an `ft:` model. Send batches to it by name, at its base model's batch rates, with no deployment to create or keep running. You can also download its adapter, or a merged copy of the full weights, and serve it yourself.

## More detail

The [OpenAI migration guide](https://gridlinegpu.com/docs/openai-migration) covers every route, job field and limit, since Gridline's Files, fine-tuning and Batch APIs follow OpenAI's. Prices are on [Pricing](https://gridlinegpu.com/pricing).

---

Source: https://gridlinegpu.com/docs/fireworks-migration
