Introduction
The SpicyAPI Opus 5 endpoint accepts 1,000,000 input tokens and allows 128,000 output tokens; these limits do not guarantee that every detail will be recalled correctly. Opus 5 can request tools to inspect supporting material; your application executes the calls and must validate the returned arguments.
| Field | Value |
|---|---|
| Input | Text |
| Output | Text |
| Required | messages |
| Optional |
|
| Input context | 1,000,000 tokens |
| Maximum output | 128,000 tokens (default 4,096) |
| Response | Synchronous chat.completion / SSE |
| Settlement | Metered input / cached input / output |
Key features & highlights
Claude Opus 5 — Work profile
Claude Opus 5 API suits engineering investigations that need a proposed change, supporting evidence and a check of the consequences.
Claude Opus 5 — Context and output
The SpicyAPI Opus 5 endpoint accepts 1,000,000 input tokens and allows 128,000 output tokens; these limits do not guarantee that every detail will be recalled correctly.
Claude Opus 5 — Tool integration
Opus 5 can request tools to inspect supporting material; your application executes the calls and must validate the returned arguments.
Claude Opus 5 — Generation controls
Choose low, medium or high reasoning effort for Opus 5, with medium selected here unless you override it.
Request parameters
| Parameter | Required | Description |
|---|---|---|
messages | Yes | Give Claude Opus 5 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 Opus 5, |
reasoning_effort | No | Select low, medium, high for Claude Opus 5; 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 Opus 5 response at an application delimiter, supply one string or up to 4 sequences; none is preset, the matching sequence is omitted, and actual generated token… at least 1 characters · at least 1 items · at most 4 items |
tools | No | Describe up to 128 functions for Claude Opus 5, using names, descriptions and JSON-schema parameters that your application can actually execute. at most 128 items |
parallel_tool_calls | No | When Claude Opus 5 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 rates. Default: |
tool_choice | No | For Claude Opus 5, choose auto, none, required or a named-function object to control tool selection; validate the resulting call before execution. |
Pricing
Input $4.50 / Output $22.50 per 1 million tokens
Use cases
Claude Opus 5 — Source material
For an Opus 5 review, supply the specification alongside the implementation so conclusions can be checked against the actual requirements.
Claude Opus 5 — Workflow
Use Opus 5 to draft a refactor plan with dependencies and verification steps before asking your application to execute anything.
Claude Opus 5 — Tool integration
Opus 5 can request tools to inspect supporting material; your application executes the calls and must validate the returned arguments.
Claude Opus 5 — Work profile
Claude Opus 5 API suits engineering investigations that need a proposed change, supporting evidence and a check of the consequences.
Prompt guide & pro tips
Claude Opus 5 — Source material
For an Opus 5 review, supply the specification alongside the implementation so conclusions can be checked against the actual requirements.
Claude Opus 5 — Response budget
For a long Opus 5 deliverable, raise
max_tokensabove its 4,096 default and reserve room for thinking as well as the visible text.Claude Opus 5 — Tool integration
Opus 5 can request tools to inspect supporting material; your application executes the calls and must validate the returned arguments.
Claude Opus 5 — Generation controls
Choose low, medium or high reasoning effort for Opus 5, with medium selected here unless you override it.
Claude Opus 5 — Work profile
Claude Opus 5 API suits engineering investigations that need a proposed change, supporting evidence and a check of the consequences.
Claude Opus 5 — Source material
For an Opus 5 review, supply the specification alongside the implementation so conclusions can be checked against the actual requirements.
Claude Opus 5 — Context and output
The SpicyAPI Opus 5 endpoint accepts 1,000,000 input tokens and allows 128,000 output tokens; these limits do not guarantee that every detail will be recalled correctly.
Claude Opus 5 — Workflow
Use Opus 5 to draft a refactor plan with dependencies and verification steps before asking your application to execute anything.
Claude Opus 5 — Generation controls
Choose low, medium or high reasoning effort for Opus 5, with medium selected here unless you override it.
Claude Opus 5 — Response budget
For a long Opus 5 deliverable, raise max_tokens above its 4,096 default and reserve room for thinking as well as the visible text.
Claude Opus 5 — Tool integration
Opus 5 can request tools to inspect supporting material; your application executes the calls and must validate the returned arguments.
Claude Opus 5 — Content policy
SpicyAPI tests of Opus 5 found variable acceptance of adult fiction and direct refusals; no extra platform filter means neither guaranteed acceptance nor permission to bypass model safeguards.
An Opus 5 review can include a diagram through image_url alongside the specification; it returns text, and this endpoint rejects audio and video parts.
Use Claude Opus 5 only for lawful, consensual adult material; content involving minors is prohibited.
/v1/chat/completions
For work produced with Claude Opus 5, 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-opus-5/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.

















