Learning resourcesReviewed · Together AI

Together AI Reasoning guide

Together AI’s Reasoning guide teaches developers to use reasoning models in chat applications and agents, but extra output tokens and model-specific controls add cost and integration work. It covers streaming, reasoning fields, effort settings, tool calling and structured JSON through Python, TypeScript and cURL examples.

Researched 24 Nov 2026

In short.

Together AI’s Reasoning guide is an API tutorial for developers building chat applications and agents, with model-specific behavior and additional token costs to account for. It explains how to separate generated reasoning from final answers, enable or disable reasoning, adjust effort and preserve reasoning across tool calls. Its concrete request parameters and response-field examples make it useful for implementation. Prices, measured performance and comparative answer quality are not established, and no examples were executed.

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

Covers the complete page at [https://docs.together.ai/docs/inference/chat/reasoning.md], including its model table, examples, reasoning controls, thinking modes, parsing instructions, structured outputs, prompting advice, cost guidance and Mintlify hosting notice. The documentation index and every linked page are excluded. Model availability, API behavior, performance, prices and rights beyond the supplied text remain unverified. No code or API requests were executed.

The overview

What the guide covers

This is Together AI’s documentation for using reasoning-capable models through its chat completions API. The original page is [https://docs.together.ai/docs/inference/chat/reasoning.md]. It teaches a hosted API feature rather than providing a standalone application or downloadable model.

The page combines a supported-model table, request examples, response parsing instructions and advice on reasoning controls. It also links to separate model catalogues and feature guides.

Practical value

The guide is useful when an application needs to handle both generated reasoning text and final answers, or choose different reasoning settings for different tasks. Its most practical contribution is explaining that models differ in their controls and response formats.

The examples support an implementation-oriented assessment. They do not establish which model is most accurate, how reliably the examples work with a particular SDK version, or whether reasoning improves results enough to justify its overhead for a given workload.

Who it suits

The guide suits developers who can send authenticated HTTP requests or use a Python or TypeScript SDK. Beginners get complete request examples; experienced developers get details about streamed fields, conversation history, tool calls and schema-constrained responses.

Developers building coding agents or other multi-turn assistants may find the preserved-thinking instructions particularly relevant. Account onboarding, local model deployment and dedicated-endpoint provisioning are not explained on this page.

Models and features described

The serverless table lists MiniMax M3.1 Flash, DeepSeek V4 Pro 0813, GLM-5.2, Kimi K3, Qwen3.6 Plus and Qwen3.5 9B as hybrid models with reasoning enabled by default. It lists GPT-OSS 120B with adjustable effort. Documented context lengths are 1M tokens for the first five, 262K for Qwen3.5 9B and 128K for GPT-OSS 120B; these capacities were not evaluated.

The guide covers streaming, reasoning toggles, effort settings, reasoning between tool calls, preserving reasoning across turns and returning JSON that follows a schema. Additional models are named as available through dedicated inference, without provisioning details.

Using it

Access and integration requirements

The HTTP examples call [https://api.together.ai/v1/chat/completions] with a bearer API key represented by TOGETHER_API_KEY. Python examples import together, while TypeScript examples import together-ai. SDK versions, installation instructions and account eligibility requirements are not supplied.

The application needs to handle the chosen model’s reasoning format and budget output tokens for both reasoning and the final answer. Preserved-thinking workflows also need to retain earlier reasoning fields and return them in the required order.

How reasoning responses work

The guide describes models generating reasoning text before a final answer. DeepSeek V4 Pro 0813 and GPT-OSS use a reasoning field; GLM-5.2 and Kimi K3 use reasoning_content. DeepSeek-R1 instead embeds reasoning inside <think> tags within content, so its parser must separate those blocks from the answer.

Interleaved thinking means reasoning between tool interactions. Preserved thinking is illustrated with GLM-5.2 using chat_template_kwargs.clear_thinking set to false. Earlier reasoning must be returned unchanged, in its original sequence and under the same field name. The page claims continuity and caching benefits but provides no measurements.

Following the examples

The quickstart sends a messages array to deepseek-ai/DeepSeek-V4-Pro-0813 with streaming enabled. Its streaming loop checks that choices exist, then reads reasoning and content from each delta. Applications using reasoning_content need the corresponding field handling.

For a hybrid model, the guide shows explicitly setting reasoning.enabled to true or false. A Qwen3.5 9B example uses chat_template_kwargs with thinking or enable_thinking instead. GPT-OSS uses reasoning_effort values of low, medium or high; the guide recommends approximately 30,000 max_tokens when using high effort.

Structured math output

A Python example asks DeepSeek V4 Pro 0813 to solve 8x + 7 = -23. It defines Pydantic classes containing a list of steps and a final_answer, then supplies their JSON schema through response_format with type json_schema.

The example parses the returned content with json.loads and shows an illustrative answer of x = -15/4. This demonstrates the requested data structure. No execution, schema-compliance rate or error-handling behavior was assessed.

Assessment & evidence

Model-specific caveats

Effort settings are not interchangeable across models. For DeepSeek V4 Pro 0813, the page states that low and medium map to high, while high and xhigh map to max. GPT-OSS has its own low, medium and high controls. The response-field discussion also does not explicitly map every model in the serverless table.

The guide states that DeepSeek V3.1 function calling works only with reasoning disabled. Qwen3.5 9B appears both as a hybrid with reasoning enabled by default and as a suggested non-reasoning option, so its mode needs explicit attention. Compatibility and reliability across these combinations were not assessed.

Choosing appropriate controls

The guide offers concrete ways to manage the trade-off between additional reasoning output and response cost or delay. A hybrid toggle suits applications that sometimes need reasoning disabled; an effort parameter offers more graduated control where supported. The page provides no comparative measurements proving a quality benefit for either approach.

Prompt-based reasoning budgets are described as approximate, while max_tokens caps total output. Prompting advice is also model-specific: the page recommends temperature 0.6 and no system prompt for DeepSeek-R1, but temperature 1.0 and a developer-role message for GPT-OSS. These are documented recommendations, not assessed results.

Options for simpler workloads

For latency-sensitive applications, straightforward generation and high-volume simple requests, the page recommends non-reasoning use and names Llama 3.3 70B and Qwen3.5 9B. It also presents disabling reasoning on hybrid models as an option. Relative speed, quality and prices are not quantified.

The page names additional reasoning models for dedicated inference, including DeepSeek-R1 and its distillations. It does not compare dedicated and serverless deployment costs, other providers or local deployment.

Source and evidence limits

The source is the complete Together AI Reasoning page at [https://docs.together.ai/docs/inference/chat/reasoning.md], captured as selected-page.txt. Its recorded source revision is sha256:8a905212be2e42d239a0a6f94efe2d913be3fda3a23e0355d3db04b3fc0d2c51.

This is a single provider-authored document containing instructions and illustrative outputs. It supplies no independent evaluation or benchmark results. No code, API requests or application journeys were executed.

Access & freshness

Token costs and latency

The page states that reasoning output is billed as completion tokens and reported through usage.completion_tokens_details.reasoning_tokens, although the usage-object shape varies by model. It says reasoning can range from a few hundred tokens to tens of thousands. No token prices, subscription charges, free allowances or complete request costs are given; monetary cost is unknown.

Documented controls include disabling reasoning for simpler requests, reducing GPT-OSS effort and setting max_tokens. A token ceiling can truncate reasoning on complex tasks. Streaming exposes partial output as it arrives, but the page supplies no measured latency or savings figures.

Licensing and service terms

The supplied page contains no explicit licence or redistribution grant for its documentation or code examples. Commercial-use permissions for individual models, service terms, generated-output rights and data-retention terms are not established here.

The Mintlify hosting notice identifies the documentation platform. It does not establish permission to redistribute the page or determine the terms governing Together AI inference.

Capture date and currency

The document was captured on 2026-11-24 at 04:18:20.118 UTC. The supplied page does not state a publication or last-updated date.

Model names, availability, defaults and parameter behavior are documented as they appear in that capture. Their continued accuracy after capture is unknown, and linked model catalogues were not examined.

Before adopting the examples

Confirm access, pricing and applicable terms for the exact model you intend to use. Implement its documented reasoning-field parser, choose reasoning settings explicitly and budget max_tokens for both reasoning and final content.

Evaluate representative requests for answer quality, end-to-end latency, billed tokens and truncation before choosing production settings. For tool workflows, assess conversation-history handling; for structured outputs, validate the returned JSON. These evaluations remain outstanding.

Evidence for this report

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