Introduction
SpicyAPI limits Sonnet 4.6 replies to 64,000 tokens, with 4,096 as the default, independently of the original model's output ceiling. With Sonnet 4.6 tools, return lookup results into the conversation and check the source before relying on a generated conclusion.
| Field | Value |
|---|---|
| Input | Text |
| Output | Text |
| Required | messages |
| Optional |
|
| Input context | 1,000,000 tokens |
| Maximum output | 64,000 tokens (default 4,096) |
| Response | Synchronous chat.completion / SSE |
| Settlement | Metered input / cached input / output |
Key features & highlights
Claude Sonnet 4.6 — Work profile
Claude Sonnet 4.6 API brings long-context chat to workflows that compare a large reference set with a current question.
Claude Sonnet 4.6 — Context and output
SpicyAPI limits Sonnet 4.6 replies to 64,000 tokens, with 4,096 as the default, independently of the original model's output ceiling.
Claude Sonnet 4.6 — Tool integration
With Sonnet 4.6 tools, return lookup results into the conversation and check the source before relying on a generated conclusion.
Request parameters
| Parameter | Required | Description |
|---|---|---|
messages | Yes | Give Claude Sonnet 4.6 the ordered conversation as text strings or text/image_url parts; system and developer carry instructions, and tool replies must reference their |
max_tokens | No | For Claude Sonnet 4.6, |
reasoning_effort | No | Select low, medium, high, max for Claude Sonnet 4.6; the default here is medium, and additional thinking can consume more output tokens without changing the per-token rate. |
stop | No | To end a Claude Sonnet 4.6 response at an application delimiter, supply one string or up to 4 sequences; none is preset, the matching sequence is omitted, and actual generated t… at least 1 characters · at least 1 items · at most 4 items |
temperature | No | For Claude Sonnet 4.6 drafts or classifications, temperature accepts 0 to 1 and defaults to 1; compare changes on the same material, without assuming identical replies at low se… |
top_k | No | For Claude Sonnet 4.6, |
top_p | No | For Claude Sonnet 4.6, |
tools | No | Describe up to 128 functions for Claude Sonnet 4.6, using names, descriptions and JSON-schema parameters that your application can actually execute. at most 128 items |
parallel_tool_calls | No | When Claude Sonnet 4.6 requests independent lookups, true permits multiple calls in one turn; false limits the turn to one call, with true as the default and no change to token… Default: |
tool_choice | No | For Claude Sonnet 4.6, choose auto, none, required or a named-function object to control tool selection; validate the resulting call before execution. |
Pricing
Input $3 / Output $15 per 1 million tokens
Use cases
Claude Sonnet 4.6 — Source material
For Sonnet 4.6, a 1,000,000-token input allowance can hold source documents alongside a conversation; relevant evidence still needs checking.
Claude Sonnet 4.6 — Workflow
Use Sonnet 4.6 for a recurring story or research thread by resending the facts that the next answer actually needs.
Claude Sonnet 4.6 — Tool integration
With Sonnet 4.6 tools, return lookup results into the conversation and check the source before relying on a generated conclusion.
Claude Sonnet 4.6 — Work profile
Claude Sonnet 4.6 API brings long-context chat to workflows that compare a large reference set with a current question.
Prompt guide & pro tips
Claude Sonnet 4.6 — Source material
For Sonnet 4.6, a 1,000,000-token input allowance can hold source documents alongside a conversation; relevant evidence still needs checking.
Claude Sonnet 4.6 — Response budget
Sonnet 4.6 also exposes sampling controls, so compare one setting at a time against the same source material.
Claude Sonnet 4.6 — Tool integration
With Sonnet 4.6 tools, return lookup results into the conversation and check the source before relying on a generated conclusion.
Claude Sonnet 4.6 — Generation controls
This Sonnet 4.6 endpoint offers
reasoning_effortlow, medium, high and max, defaulting to medium.
Claude Sonnet 4.6 — Work profile
Claude Sonnet 4.6 API brings long-context chat to workflows that compare a large reference set with a current question.
Claude Sonnet 4.6 — Source material
For Sonnet 4.6, a 1,000,000-token input allowance can hold source documents alongside a conversation; relevant evidence still needs checking.
Claude Sonnet 4.6 — Context and output
SpicyAPI limits Sonnet 4.6 replies to 64,000 tokens, with 4,096 as the default, independently of the original model's output ceiling.
Claude Sonnet 4.6 — Workflow
Use Sonnet 4.6 for a recurring story or research thread by resending the facts that the next answer actually needs.
Claude Sonnet 4.6 — Generation controls
This Sonnet 4.6 endpoint offers reasoning_effort low, medium, high and max, defaulting to medium.
Claude Sonnet 4.6 — Response budget
Sonnet 4.6 also exposes sampling controls, so compare one setting at a time against the same source material.
Claude Sonnet 4.6 — Tool integration
With Sonnet 4.6 tools, return lookup results into the conversation and check the source before relying on a generated conclusion.
Claude Sonnet 4.6 — Content policy
SpicyAPI tests found both completed adult-fiction responses and refusals from Sonnet 4.6; model behaviour varies despite the absence of an additional platform filter.
Give Sonnet 4.6 a chart image and the accompanying source text when checking a research claim; image_url is accepted, while audio and video message parts are not.
Use Claude Sonnet 4.6 only for lawful, consensual adult material; content involving minors is prohibited.
/v1/chat/completions
SpicyAPI tests found both completed adult-fiction responses and refusals from Sonnet 4.6; model behaviour varies despite the absence of an additional platform filter. Use Claude Sonnet 4.6 only for lawful, consensual adult material; content involving minors is prohibited.
For work produced with Claude Sonnet 4.6, check your rights to the source material and review the result before publishing or acting on it.
API quick start
curl --fail-with-body -sN https://api.spicyapi.ai/v1/chat/completions \
-H "Authorization: Bearer $SPICY_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"model": "anthropic/claude-sonnet-4.6/chat",
"messages": [
{
"role": "user",
"content": "Summarise the following release notes into three bullet points."
}
],
"stream": true
}' \
| jq --unbuffered -Rrj 'select(startswith("data: ")) | .[6:] | select(. != "[DONE]") | fromjson | if .error then "\n[error] \(.error.message)\n" else (.choices[0].delta.content? // empty) end'
See the API reference for authentication, the complete schema, polling, and error handling.

















