# Reasoning Effort

> The Reasoning Effort is a setting that controls how much a reasoning model thinks before answering.

## What is reasoning effort in AI models?

The setting of reasoning models, often called effort or thinking budget, that controls how many tokens the model spends on internal reasoning. Higher effort improves results on hard tasks but increases latency and cost.

- Topic: Generation Settings
- Type: concept

## Example

Wrong:

```js
const res = await llm.generate({
  prompt: classifyTicketPrompt,
  reasoning_effort: 'high',
});
```

Right:

```js
const effort = { classify: 'low', planMigration: 'high' };
const res = await llm.generate({
  prompt: classifyTicketPrompt,
  reasoning_effort: effort.classify,
});
```

Simple classification needs little thinking, so low effort cuts latency and tokens; high effort is kept for hard tasks.

## Common mistakes

- Setting maximum effort everywhere and paying in latency and tokens for no gain.

## Key points

- The effort level is set per request type in code or config, not hardcoded to the maximum for every call.
- The output token limit leaves enough room for reasoning at the chosen effort.
- Timeouts account for the longer response time of high effort.

## Interview questions

### Does higher reasoning effort always give better answers?

No. It helps on hard multi-step problems like math, planning or tricky code, but on simple tasks it mostly adds latency and cost.

### Are reasoning tokens billed?

On most APIs, yes. Thinking tokens count as output tokens even when they are hidden from the response.

### Reasoning effort vs chain-of-thought prompting?

Reasoning effort is an API setting for models trained to think before answering. Chain-of-thought is a prompt technique that asks any model to write out its steps.

## Related cards

- [Reasoning Model](https://wonderium.dev/ai/reasoning-model.md)
- [Max Tokens](https://wonderium.dev/ai/max-tokens.md)
- [Latency](https://wonderium.dev/ai/latency.md)
- [Token Cost](https://wonderium.dev/ai/token-cost.md)
- [Model Routing](https://wonderium.dev/ai/model-routing.md)

---

- Level: [Artificial Intelligence](https://wonderium.dev/ai.md)
- HTML version: https://wonderium.dev/ai/reasoning-effort
- Last updated: 2026-11-25
