none and high effort. The response you get back is still the reply itself. It does not include a reasoning trace, a thinking block, or hidden reasoning text.
Leaving the field out is the same as asking for no extra effort. The examples use lume-3.5.
Before you start
Create an API key in the dashboard withchat:completions for Chat Completions or messages:create for Messages. If your key has a model allowlist, include lume-3.5. Keep the key on your server and set it in the shell where you run the examples:
Authorization: Bearer or x-api-key. Supplying both with values returns HTTP 401.
For SDK examples, install the client you use. cURL examples do not need an SDK.
.py file.
Messages accepts an optional anthropic-version header. If supplied, it must be one valid calendar date in YYYY-MM-DD form. It is a compatibility hint and does not change the supported features. The SDK supplies its version header automatically.
Chat Completions
POST /v1/chat/completions needs the scope chat:completions. Set reasoning_effort to none or high.
choices[0].message.content. tool_calls or function_call appear only when the model decided to call a tool. There is no reasoning field on the message.
Any other value for reasoning_effort is HTTP 400:
X-Request-Id.
Messages
POST /v1/messages needs messages:create. You can set effort in either of two places.
thinking.type maps like this:
output_config.effort accepts these values:
xhigh and max are compatibility values; they do not select additional Lume effort levels.
If you send both, output_config.effort wins. effort set to low means no extra effort even when thinking.type is enabled or adaptive. The two fields do not combine. If you send only one, that field is the one that counts.
thinking block, a redacted_thinking block, or reasoning text. Valid thinking blocks in earlier assistant turns are accepted for compatibility and do not expose or resume a hidden reasoning trace.
Output budgets and usage
Reasoning effort does not increase the context window or output limit. Lume 2 supports 200,000 context tokens and 16,384 output tokens; the other models support 400,000 context tokens and 32,768 output tokens. Messages requires a positivemax_tokens. Chat allows max_tokens or max_completion_tokens, but not both, and defaults to the model maximum when neither is supplied. Both APIs reduce the output budget to the model limit and remaining context space.
High effort can take longer. It does not guarantee a correct answer, an exact amount of reasoning work, or a reasoning trace. The thinking.budget_tokens compatibility field is validated but does not set a separately enforced reasoning-token allowance.
Read token usage from usage in the response. Requests reserve estimated usage before running, and unused reserved usage is released afterward. Pricing covers token rates and allowances.
If Chat returns finish_reason: "length" or Messages returns stop_reason: "max_tokens", the answer may be incomplete. Use enough output room for the requested task.
Common errors
Unsupported effort values return HTTP 400. Withthinking.type: "enabled", budget_tokens must be an integer of at least 1,024 and less than the effective max_tokens after the model maximum is applied. An explicit output_config.effort takes precedence over thinking effort, but the thinking object must still be valid.
HTTP 401 indicates an authentication problem; HTTP 403 indicates missing endpoint permission or, on Chat, model access. Messages uses HTTP 404 for unknown or disallowed models. HTTP 429 with Insufficient credits means available usage cannot cover the request’s reservation. Keep X-Request-Id for support; Messages also returns request-id.
Next
Generate text
The same reply with no extra effort.
Structured outputs
Ask the reply to be JSON.

