TRL, veRL, Tinker or Azure RFT? A Small Team's Guide to GRPO Post-Training, with Costs for 1,000 Steps
Which RL post-training route fits a three-person ML team depends on model size, rollout type and whether anyone wants to run GPUs. A decision table, a cost comparison for the same run, and what each option leaves you to build.
For a three-person ML team, running GRPO yourself with Hugging Face's TRL on one rented 8-GPU node is realistic for models up to about 30B with LoRA and a reward that can be checked automatically. veRL earns its extra setup only for multi-node, MoE or long multi-turn agentic training. If nobody wants to operate GPUs, Thinking Machines' Tinker runs the cluster while you keep the training loop and downloadable weights, for about $695 per 1,000 GRPO steps on Qwen3-8B in the example below. OpenAI's reinforcement fine-tuning is closed to new users, so for a new team every option now ends in open weights.
The first question: who will own the GPUs?
The frameworks differ less in what they can train than in what they ask of you. TRL's GRPO trainer, at v1.18.1, runs on one machine with a few lines of Python. It hands rollout generation to vLLM, either inside the trainer process (colocate mode, the default, which its docs warn "may lead to memory contention on the training GPUs") or on dedicated GPUs as a separate server. veRL adds Ray orchestration, a choice of FSDP, FSDP2 or Megatron-LM training and vLLM or SGLang rollouts, and its README says it scales "up to 671B models and hundreds of GPUs." Tinker and Microsoft Foundry take the cluster away entirely. You send training and sampling calls to their API. Tinker's product page says "your code controls the loop and chooses when to save," your code evaluates the responses and computes the rewards, and "Tinker manages the compute."
So the decision turns on four things: model size, whether rollouts are single-turn or multi-turn agentic, whether the team wants to run GPU operations, and where the model must be deployed.
Decision table
| Your situation | Model size and rollouts | Best fit |
|---|---|---|
| Willing to run one GPU node | 7B to 14B, single-turn, verifiable reward | TRL, colocate mode, LoRA |
| Willing to run one GPU node | 27B to 32B, or long context | TRL, server mode on one 8-GPU node |
| One engineer can own Ray and Megatron | Dense 70B, large MoE, multi-turn agentic | veRL, multi-node |
| No one wants GPU operations | 8B up to large MoE | Tinker |
| Already on Azure, Foundry hosting acceptable | Qwen3.8-27B, Qwen3.6-35B-A3B, gpt-oss-120b | Foundry RFT (preview) |
Option by option
TRL for 7B to 32B. This is the shortest path from nothing to a working run. TRL's defaults drop the KL term (beta=0.0), so no reference model is loaded; generate eight completions per prompt; and use DAPO's loss rather than the original GRPO loss, which the docs call "not recommended due to length bias." Multi-turn agent training is supported through Python tool functions and an experimental environment_factory. TRL's own figure: its quick start takes "approximately 1 day" across 8 GPUs. Older TRL guides recommended spreading smaller models across GPUs with data parallelism, but the current vLLM page says that no longer helps dense models since vLLM 0.14.0, and tells you to scale generation with tensor parallelism instead. The cost is maintenance. TRL's current docs support vLLM 0.23.0 to 0.33.x, where v0.25 supported only 0.10.2, and ten releases between September 10 and November 17 dropped old vLLM versions, fixed a server-mode weight-sync crash and deprecated the trl vllm-serve helper. Pin TRL, vLLM and transformers together and upgrade deliberately.
veRL for multi-node and agentic RL. veRL lists PPO, GRPO, GSPO, DAPO, Dr. GRPO, RLOO and more, plus multi-turn tool calling, on NVIDIA, AMD and Ascend hardware. Its install guide requires CUDA 12.8 or later and vLLM 0.18.0 or later, cites two different Megatron versions in two sections, and documents a workaround for a Ray 2.47 crash. A multi-node run means bringing up a Ray head and workers, opening the dashboard port, and on multi-NIC Slurm clusters naming an interface that "must exist on every allocated node." In November the project removed its V0 trainer and moved async training to a separate repo pinned to v0.9.1. Choose it when a single node is the limit, not as a starting point.
Tinker for no GPU operations. Tinker trains LoRA adapters at a default rank of 32, and its docs say LoRA "performs equivalently to FullFT for reinforcement learning even with small ranks," which is Thinking Machines' own finding. It handles scheduling and recovery from GPU failures and bills per million tokens of prefill, sampling and training, plus $0.10 per GB-month of checkpoint storage. Checkpoints download through its API and merge into a standard Hugging Face model you can serve with vLLM. Its catalogue runs from 4B to 2,800B total parameters, with no dense 70B. Its serverless inference covers only Thinking Machines' own Inkling models, so plan to serve elsewhere.
Microsoft Foundry for Azure shops. Foundry's Managed Training runs RFT from a grader you define. Its overview, updated November 13, lists o4-mini, an invitation-only gpt-5 and, in preview, open-weight Qwen and gpt-oss models served on managed compute. Billing is training hours times an hourly rate plus grader tokens, and jobs pause with a deployable checkpoint at a per-job spending limit. Azure's public pricing page shows the o4-mini RFT training rate as "$-/hour", a placeholder rather than a rate, and its docs don't mention downloading trained weights. Its Programmed Training preview is Tinker-like and needs access approval. Microsoft notes you still "maintain your driver, environments, tokenization, checkpoints, and recovery logic."
OpenAI RFT, for existing customers only. OpenAI's billing guide sets RFT at $100 per training hour for o4-mini, plus grader tokens. But o4-mini shut down on October 23, 2026, the pricing page says fine-tuning is "closed to new users," and eligible existing customers can create jobs only until January 6, 2027. The model never left OpenAI's API.
Parsec for continuous retraining from production traffic. Parsec, a small language model lab, runs a managed loop that traces production requests, builds datasets and evaluations the customer approves, retrains and serves, routing low-confidence requests to a closed frontier model. It fits a team that wants evals built from its own traffic more than control of an RL algorithm. Its inference page lists training as SFT and LoRA, not RL, and says "Weights: Yours. Download them." It claims a first model in "about 4 weeks," against "100+ ML engineer hours, plus procurement" for running your own GPUs, without a source for either. There is no published price, models run on a shared cluster, and VPC hosting isn't mentioned for this service.
What none of them do for you
Nobody has published measured peak memory and wall-clock per 1,000 GRPO steps for 7B, 14B and 32B across TRL's two modes and veRL with pinned versions, and nobody has published an engineer-time log for a small team's setup and breakage. Treat every hardware figure here as the framework's or vendor's own. Unsloth, for one, says its library trains models up to 17B in 15GB of VRAM.
The bigger gap is the reward. Liu and colleagues showed that GRPO's original formulation inflates response length, most of all on wrong answers, and any reward that pays for length or format will be exploited. Microsoft's guide warns that "rising reward doesn't establish better task performance if the model exploits the grader." Use verifiable rewards where you can: tests, exact matches, schema checks rather than LLM judges. Split them into several small rewards, as Unsloth recommends, and keep a held-out evaluation set the reward never sees. Expect at least 300 steps before the reward moves. Only Parsec's loop mentions building evals from production traffic; every other option expects you to bring them.
Worked example: the same run, priced four ways
The run: 1,000 GRPO steps, each with 64 prompts of 500 tokens and eight 1,000-token completions per prompt. That is 256 million prefill tokens, 512 million sampled tokens and 768 million training tokens. Tinker prices are its list rates as of October 19, 2026, before any prompt-cache discount. GPU prices are Lambda's on-demand list rates, and the GPU runtime is an assumption, because this run's wall-clock has not been measured.
| Route | Assumption | Cost |
|---|---|---|
| Tinker, Qwen3-8B | $0.195 prefill, $0.60 sample, $0.44 train per 1M | about $695 |
| Tinker, Qwen3.6-35B-A3B (MoE) | $0.45, $1.335, $1.177 per 1M | about $1,703 |
| Tinker, Qwen3.8-27B (dense) | $0.6975, $5.595, $4.103 per 1M | about $6,194 |
| Rented 8x H100 (Lambda) | $36.72/hour, 24 to 72 hours | about $881 to $2,644 |
| Rented 40x H100, 70B-class | TRL's five-node layout, 24 hours | about $4,406 |
The Tinker lines are simple arithmetic. For Qwen3-8B, 256 × $0.195 + 512 × $0.60 + 768 × $0.44 = $49.92 + $307.20 + $337.92. Checkpoint storage adds $0.10 per GB-month. The rented lines bill every hour, including failed runs and debugging, and exclude engineer time. OpenAI RFT at $100 an hour would have cost $1,000 for a ten-hour job before grader tokens, but new teams can no longer buy it. Azure can't be priced from its public page.
Serving is the same afterwards on every open-weight route. One H100 at Lambda's $4.89 an hour is about $3,521 for a 30-day month, and Foundry's managed compute, its docs say, bills GPU-hours "even when you aren't sending inference requests."
At 8B, renting and buying cost about the same per successful run. At 27B dense, Tinker's sampling rate makes a rented node cheaper if your run finishes within a few days. For MoE models, Tinker bills by active parameters rather than total size, which is why the 35B MoE line costs less than the 27B dense one.
Bottom line
A three-person team with a model of 30B or less, single-turn rollouts and a verifiable reward should run TRL on one rented 8-GPU node, pinned. Choose veRL only for multi-node, MoE or long agentic rollouts, with one engineer assigned to the cluster. Choose Tinker when no one wants to operate GPUs, or when the base model is a large MoE, and keep the downloadable adapter. Choose Foundry's RFT if you are already on Azure and can accept Foundry-hosted serving. In every case, build the reward and the held-out evaluation before the first training step.
Prices and versions last verified November 17, 2026.
Sources
- Hugging Face TRL, GRPO Trainer (v1.18.1): https://huggingface.co/docs/trl/grpo_trainer
- Hugging Face TRL, vLLM integration (current): https://huggingface.co/docs/trl/en/vllm_integration
- Hugging Face TRL, vLLM integration (v0.25.0): https://huggingface.co/docs/trl/v0.25.0/en/vllm_integration
- Hugging Face TRL, releases: https://github.com/huggingface/trl/releases
- verl, GitHub repository: https://github.com/volcengine/verl
- verl, Installation: https://verl.readthedocs.io/en/latest/start/install.html
- verl, Multinode training: https://verl.readthedocs.io/en/latest/start/multinode.html
- Unsloth, Reasoning: GRPO, RL, PPO: https://unsloth.ai/docs/basics/reasoning-grpo-rl-ppo
- Liu et al., Understanding R1-Zero-Like Training: A Critical Perspective: https://arxiv.org/abs/2503.20783
- Thinking Machines, Tinker: https://thinkingmachines.ai/tinker/
- Thinking Machines, Tinker pricing: https://thinkingmachines.ai/tinker/pricing/
- Tinker docs, LoRA primer: https://tinker-docs.thinkingmachines.ai/tinker/lora-primer/
- Tinker docs, Merge into a Hugging Face model: https://tinker-docs.thinkingmachines.ai/cookbook/deployment/export-hf/
- Microsoft Foundry, Training overview: https://learn.microsoft.com/en-us/azure/foundry/fine-tuning/overview
- Microsoft Foundry, Manage fine-tuning costs: https://learn.microsoft.com/en-us/azure/foundry/fine-tuning/cost-management
- Microsoft Foundry, Reinforcement fine-tuning: https://learn.microsoft.com/en-us/azure/foundry/openai/how-to/reinforcement-fine-tuning
- OpenAI, Billing guide for the Reinforcement Fine Tuning API: https://help.openai.com/en/articles/11323177-billing-guide-for-the-reinforcement-fine-tuning-api
- OpenAI, API pricing: https://developers.openai.com/api/docs/pricing
- OpenAI, Supervised fine-tuning guide: https://developers.openai.com/api/docs/guides/supervised-fine-tuning
- OpenAI, Deprecations: https://developers.openai.com/api/docs/deprecations
- Microsoft Azure, Azure OpenAI pricing: https://azure.microsoft.com/pricing/details/cognitive-services/openai-service/
- Lambda, Pricing: https://lambda.com/pricing
- Parsec, Inference: https://parseclab.ai/inference/
- Parsec vs your own GPUs: https://parseclab.ai/compare/own-gpus/