> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nika.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# thinking

> Contract, placement, related fields and source examples for this Nika YAML field.

[Language reference](/reference/language/overview) / `thinking`

## Meaning and placement

### infer

Extended thinking · `&#123; enabled, budget_tokens &#125;` — reasoning the model may spend before it answers (spec/02-verbs.md §infer).

| Property             | Declaration                        |
| -------------------- | ---------------------------------- |
| Requirement          | Optional in this object            |
| Schema location      | `/$defs/infer/properties/thinking` |
| type                 | "object"                           |
| additionalProperties | false                              |

**In the same object:** [max\_tokens](/reference/language/words/max_tokens) · [model](/reference/language/words/model) · [prompt](/reference/language/words/prompt) · [schema](/reference/language/words/schema) · [system](/reference/language/words/system) · [temperature](/reference/language/words/temperature) · [vision](/reference/language/words/vision)

[Schema source (use the pointer above)](https://github.com/supernovae-st/nika-spec/blob/c5ebbb7b862b68bc6cf7235efba61173b844afc6/schemas/workflow.schema.json)

## Examples

No matching source-template occurrence is recorded in this projection. [Write a workflow](/guides/templates) or consult the schema declaration above.

## Contract and implementation

This page projects the named specification revision. Check [released engine status](/reference/status) and [the validation workflow](/guides/agent-authoring) before running a file. An optional field is not evidence that every engine supports every value.

Canonical identity: `language:word:thinking`. Spec revision: [`c5ebbb7b862b`](https://github.com/supernovae-st/nika-spec/tree/c5ebbb7b862b68bc6cf7235efba61173b844afc6).

[How documentation stays connected](/reference/knowledge-system).
