Reasoning models
Use models that think before answering and control how much they reason
Reasoning models work through a problem step by step before they answer. They do better on multi-step math, planning, coding and analysis, but they take longer and use more output tokens.
Find a reasoning model
Reasoning models include the locally hosted gpt-oss-120b and the cloud models claude-sonnet-5, gemini-3.6-flash and gpt-5-mini. A model's description says when it is built for reasoning.
Use a reasoning model when accuracy on a hard problem matters more than speed. For simple drafting, summarizing or classification, a non-reasoning model is usually faster and cheaper.
Set the reasoning effort
Some cloud models accept reasoning_effort, which sets how much the model thinks before answering:
| Value | Use for |
|---|---|
low | Quick answers to simpler questions |
medium | A balance of speed and depth |
high | Hard problems where accuracy matters most |
Support and accepted values vary by model. If a model rejects the parameter, remove it.
These examples use the cloud model gpt-5-mini, which needs a key from a team with cloud models enabled and is approved for Open data only.
curl "$NAVIGATOR_API_BASE_URL/chat/completions" \
--header "Authorization: Bearer $NAVIGATOR_TOOLKIT_API_KEY" \
--header "Content-Type: application/json" \
--data '{
"model": "gpt-5-mini",
"reasoning_effort": "low",
"messages": [{"role": "user", "content": "A train leaves at 2:45 p.m. and the trip takes 3 hours 50 minutes. When does it arrive?"}]
}'Cost and time
- Reasoning happens in output tokens, which are billed at the model's output rate even when the reasoning itself is not returned.
usagein the response shows the total. - Higher effort means slower answers. Allow longer request timeouts; see Errors and retries.
- Set
max_completion_tokenshigh enough to leave room for reasoning and the answer. A limit that is too low can end the response before the answer appears.