Skip to contentOceanToken

Glossary term

What is Reasoning tokens?

Tokens a model writes while thinking before its answer, billed as output.

Definition

Reasoning tokens are the tokens a reasoning model generates while it works through a problem before writing its final answer. Some models return this reasoning and some keep it hidden, but either way the tokens are produced by the model, take time and are counted as output.

Why it matters

Reasoning makes hard tasks like math, code and planning more accurate, but it can multiply the tokens, cost and wait of a request. Setting the reasoning effort lets you trade accuracy for speed and price.

How it works on OceanToken

On OceanToken, reasoning tokens are billed as output tokens. On chat completions, reasoning_effort sets how much a model thinks; models that return their reasoning put it in reasoning_content. Leave room in max_tokens.