> For clean Markdown of any page, append `.md` to the page URL.
> Documentation index: https://you.com/docs/llms.txt (section indexes: append `/llms.txt` to any section URL).
> Search these docs: Docs MCP at https://you.com/docs/_mcp/server (`searchDocs`, no API key).
> Call live You.com APIs: Product MCP at https://api.you.com/mcp (keyless `?profile=free` exposes `you-search` and `you-discover`. Research and finance use `/mcp/research`, `/mcp/finance`, or `?tools=` on `/mcp`). To pick an API or integration path, call `you-discover` on that server instead of guessing.
> OpenAPI: https://you.com/docs/openapi.json—auth header `X-API-Key`, env `YDC_API_KEY`.

# Inference Router Reasoning

## How Reasoning Appears

A reasoning model spends output tokens thinking before it answers. The tokens show in `usage.completion_tokens_details.reasoning_tokens`, and any reasoning text is in `reasoning_content` on the message, or on the `delta` when you stream.

---

## Reasoning Effort

Send `reasoning_effort` on `/v1/chat/completions` and the router passes it to models that support it. When a request omits it, the router sets the model vendor's reference value for the models that declare one.

---

## Reasoning Counts Against the Output Limit

Reasoning tokens count toward the output limit. With a small `max_completion_tokens`, a reasoning model can spend all of it on reasoning and return an empty reply with `finish_reason: "length"`. Raise the limit when a reply is empty.