Skip to main content
Thinking mode enables the model to reason step by step before producing its final answer. This provides higher quality outputs for complex tasks like math, logic, code generation, and multi-step analysis.
Closed models usually hide their reasoning, returning only a summary or nothing at all. Because Subconscious serves open models, the model’s reasoning is completely visible. You get the full, unaltered chain of thought, giving you total transparency for debugging, auditing, and trust.

How It Works

When thinking mode is enabled, the model generates internal reasoning tokens (wrapped in <think> tags) before the final response. These reasoning tokens help the model work through complex problems but are included in your output token usage.

Enabling Thinking Mode

Each wire format controls thinking with its own syntax. With the OpenAI format, pass the Subconscious extension chat_template_kwargs with enable_thinking: true via the extra_body parameter. With the Anthropic format, use the native thinking parameter ({"type": "enabled", "budget_tokens": ...}):
Both controls enable the same underlying feature. The OpenAI format toggles it with the enable_thinking extension; the Anthropic format uses the native thinking config and also lets you cap reasoning with budget_tokens.

Response Format

With the OpenAI format, the model’s response includes reasoning wrapped in <think> tags followed by the final answer:
With the Anthropic format, the reasoning is returned as a separate thinking content block before the text block, rather than inline tags:

Streaming with Thinking

Thinking mode works with streaming. The reasoning tokens stream first, followed by the final answer:

When to Use Thinking Mode

Use thinking mode for:
  • Math and arithmetic problems
  • Logic puzzles and reasoning tasks
  • Complex code generation
  • Multi-step analysis
  • Tasks requiring planning or strategy
Skip thinking mode for:
  • Simple Q&A
  • Creative writing
  • Translation
  • Summarization
  • Tasks where speed matters more than accuracy
Thinking tokens count toward your output token usage. For simple tasks, leaving thinking mode off will be faster and more cost-effective.