In short.
This is a Together AI documentation page that explains multi-turn GRPO (group relative policy optimization), a way to train tool-use agents on whole episodes instead of single responses. It is for developers post-training models on Together's platform. Its main catch is that it is a conceptual overview: it links to implementation guides but gives no prices and no complete setup procedure. It also leaves out compatible model names, runnable recipes and truncation-penalty details. Pricing is unknown. Technically, the page describes a loop in which an environment supplies opening messages, the model replies with possible tool calls, and the environment runs those calls and returns the updated history, a reward and a done flag. Each episode gets one reward when it ends, advantages are computed across a group of episodes per task, and every assistant turn trains on its episode's advantage. Episodes are flattened into token sequences where context (prompt and tool results) has loss mask 0 and model actions have loss mask 1, using the generator's own sampled tokens and log-probabilities. Nothing was executed or tested, so how it behaves in practice is unverified.
Researched and written by an AI model and checked by a second AI model. How it works
This report describes the Together AI documentation page at [https://docs.together.ai/docs/post-training/multi-turn-environments.md]. It does not describe the pages that page links to, including the multi-turn recipes, single-turn GRPO, training-loop, supported-models, concepts and monitoring pages. The page itself carries no licence or pricing text and leaves out compatible model names, runnable recipes and truncation-penalty details. Nothing was executed or tested, so how it behaves in practice is unverified.
The overview
What this resource is
The resource is one documentation page, titled Multi-turn GRPO, in the post-training section of the Together AI docs at [https://docs.together.ai/docs/post-training/multi-turn-environments.md]. Its own description is: multi-turn GRPO trains tool-use agents on whole episodes, where an environment responds to each action and scores the outcome.
It is a guide to a training method on Together's platform, not a piece of software you install. The page says the documentation is built and hosted on Mintlify. The page does not name an author.
Overall assessment
As a conceptual explainer the page is clear and specific. It states the loop step by step, explains how episodes are turned into training data, and defines exactly when an episode counts as truncated. A reader who already knows basic reinforcement learning should come away with an accurate mental model of what the Together trainer and cookbook do.
It is not a how-to. The page gives a minimum generator-replica setting but no complete training configuration, runnable code, model names, benchmarks or prices. To run training you need a model with generator support (the page links to a supported-models catalogue for which models qualify). You then pick one of two separate routes the page describes. On the first route, you write an environment as a subclass of Env and let the cookbook run the loop, which the multi-turn recipes page covers. On the second, you write your own loop, which the training-loop page covers, and your code both runs the loop and acts as the environment. This page leaves out compatible model names, runnable recipes and truncation-penalty details. It supports no claim about training quality, speed or results.
Who it is for
The page targets developers and ML practitioners who want to post-train a model so it acts well across several steps, for example by calling tools and reacting to the results. It names three fits: tool-use agents, multi-step reasoning against an external system, and any task where the model must act more than once to earn a reward.
It assumes some familiarity with GRPO, advantages, importance ratios, log-probabilities, chat templates and loss masks. Complete beginners to reinforcement learning will find these terms used with little definition, though the page links to a single-turn GRPO page for background. For tasks the model finishes in one response, the page tells readers to use single-turn GRPO instead.
What the described method can do
According to the page, multi-turn GRPO trains a model on whole episodes. In each episode the model takes an action (an assistant message that may include tool calls), an environment responds, and this repeats until the episode ends. The environment scores the episode when it ends, and every assistant turn in the episode trains on that reward.
The loop runs a group of episodes for each task and computes advantages across the group, mirroring how single-turn GRPO handles the group of completions sampled per prompt. The page also says the reward design guidance for single-turn GRPO applies to episode rewards. It mentions two ways of using the method. You can write an environment as a subclass of Env and let the cookbook run the loop, or you can write your own loop, in which case your code both runs the loop and acts as the environment. How well either route works in practice is not assessed.
Using it
Requirements
The page states two requirements: a model with generator support, and a model resource with num_generator_replicas of one or more. The page does not name any compatible models. It links to a separate supported-models catalogue for that list, so which models qualify is unknown here.
Each episode starts from a task that carries the prompt, the target the reward checks against, and any metadata the environment needs. You must also supply an environment that can execute tool calls, update the conversation history and return a reward and an end-of-episode flag. Apart from mentioning an Env subclass in the cookbook, the page lists no software versions and no account, hardware or programming-language requirements.
How it works
The episode loop has four steps. First, the environment returns the task's opening messages, typically a system prompt and a user prompt. Second, the loop renders the messages and the environment's tool specs into a prompt with the model's chat template, samples a reply, and parses it into an assistant message with any tool calls. Third, the environment executes the tool calls, appends the results to the history, and returns the updated history, a reward and whether the episode is over. Fourth, steps two and three repeat until the environment marks the episode complete or the episode is truncated.
For training, the trainer sees flat token sequences, not alternating turns. The loop flattens each episode into context segments (the prompt and tool results) and action segments (the model's replies). Context segments get loss mask 0, so the model is not trained to predict them. Action segments get loss mask 1, and every action in the episode carries the same episode-level advantage. In other words, the page describes one outcome reward shared across all turns, not separate credit for each turn.
Each action segment stores the tokens the generator actually sampled and the log-probabilities it returned, not a re-rendering of the parsed reply. The page explains why: the trainer's importance ratio compares its own log-probabilities with the generator's token by token, so both must cover the same tokens. When a chat template strips earlier content from history, such as a reasoning model's think blocks, the loop starts a new training sequence at that point so the tokens stay aligned with the recorded log-probabilities.
Truncation means an episode ends without the environment marking it complete. The page lists four causes: the conversation fills the context budget, the episode hits its turn limit, the environment cuts the episode short, or a sampled message cannot be parsed. This page does not explain how the cookbook penalizes and masks truncated episodes. For those details it points to the Handle truncated episodes section of the multi-turn recipes page.
Setup
This page contains no installation or setup commands. It points to the multi-turn recipes page [https://docs.together.ai/docs/post-training/multi-turn-recipes.md] for writing an environment and training on it with the cookbook. It points to the training-loop page [https://docs.together.ai/docs/post-training/training-loop.md] for writing your own loop. It also points to the monitoring page for multi-turn metrics, such as how many turns episodes take and how they end.
The page leaves out runnable recipes, compatible model names and truncation-penalty details, so what a first run would involve beyond the two stated requirements is unknown.
Worked example
The page has no code sample and no concrete task such as a named tool-use benchmark. The nearest thing to an example is its generic episode walk-through, which a reader can picture as follows. A task supplies a prompt and a target answer. The environment opens with a system and user message. The model replies with a tool call. The environment runs the tool, appends the result and, at the end of the episode, returns a reward by checking the outcome against the target. Several such episodes are run for the same task, and each action in each episode is trained using that episode's advantage relative to the group.
This is an illustrative reading of the page's description, not an example the page provides, and nothing here was run.
Assessment & evidence
Limitations and gaps
The page is an overview. It does not show the Env interface, the reward function signature, hyperparameters, group size, turn-limit defaults, context budget values, or the cookbook's truncation penalties. It gives no results, so it cannot tell you whether multi-turn GRPO will improve a particular agent.
The described design applies one episode-level reward and advantage to every assistant turn. The page does not discuss how that affects long episodes or credit assignment, and it does not list failure modes beyond truncation. It also does not say which models have generator support, or whether other training methods are supported for multi-turn work. The page is tied to Together's platform and cookbook, and it does not address portability to other training stacks.
Behaviour was not tested. The descriptions of the episode loop, requirements, loss masking and truncation in this report are what the documentation claims and were not independently verified. The judgments about gaps, usefulness and audience, and the illustrative episode in the worked example, are this report's own and do not come from Together AI.
Reasoning behind the assessment
The page was judged useful because it explains the parts of multi-turn training that are easy to get wrong. It explains why context tokens are masked, why the generator's own tokens and log-probabilities must be used so the importance ratio lines up, and why a new training sequence starts when a template strips earlier content. These details come directly from the text and are specific rather than promotional.
Confidence is limited to what the single page says. Its claims are the vendor's own description of its product, with no independent verification, benchmarks or example outputs.
Alternatives and related options
The page itself names two alternatives. For tasks completed in one response, use single-turn GRPO [https://docs.together.ai/docs/post-training/grpo.md]. For more control over the loop, write your own training loop instead of using the cookbook, in which case your code runs the loop and acts as the environment.
This evidence does not show what alternatives exist outside Together AI, so no comparison is made here.
Evidence base
The primary source is Together AI's own documentation page, titled Multi-turn GRPO, at [https://docs.together.ai/docs/post-training/multi-turn-environments.md]. It includes a diagram whose alt text says context segments get loss mask 0, while action segments get loss mask 1 and share the episode's advantage. The page contains no benchmarks, training results or example outputs.
The episode loop, requirements, loss masking and truncation rules described in this report come from Together AI's page and were not independently verified. Some content is this report's own interpretation, not a statement from Together AI. That includes the judgments about the page's clarity, usefulness and audience, the notes on what the page leaves out, and the illustrative episode in the worked example.
Access & freshness
Costs
The page states no prices, quotas, credits or compute estimates. The cost of running multi-turn GRPO on Together's platform is therefore unknown from this evidence. The page says a model resource needs at least one generator replica and that each task runs as a group of episodes. It gives no figures on how either affects compute use or price, and it does not compare workload with single-turn GRPO, which also samples a group for each prompt. Check Together's pricing information before planning a run.
Rights and reuse
The captured page contains no licence or reuse statement beyond noting that it is built and hosted on Mintlify. The page establishes no reuse licence for the documentation text or its embedded diagram, so rights to copy, adapt or redistribute them are unknown. The page is best treated as a reference to read and link to, not as material to republish.
Freshness
The page shows no publication date, last-updated date or version number. The evidence was captured on 15 November 2026, so it reflects the page at that time; later changes to the documentation are not known. The page points to a documentation index at [https://docs.together.ai/llms.txt] for finding other pages. Whether the Env interface, the model catalogue or the truncation handling has changed since capture is unknown.
Suggested next steps
If you are considering multi-turn GRPO on Together, start with the supported-models catalogue the page links to and confirm that your chosen model has generator support. Plan for a model resource with num_generator_replicas of one or more. Then choose a route. To use the cookbook, read the multi-turn recipes page to see how an Env subclass is written, including its section on handling truncated episodes. To write your own loop, read the training-loop page instead. Before designing rewards, review the single-turn GRPO design guidance, since the page says it applies to episode rewards.
Before committing budget, check Together's current pricing, because this page gives no cost information. If your task finishes in one response, the page itself recommends single-turn GRPO instead.
