Introduction
Give Opus 4.5 the failing test, relevant implementation and acceptance criteria, then ask for a minimal change and an explanation of its effect before applying the patch.
| Field | Value |
|---|---|
| Input | Text |
| Output | Text |
| Required | messages |
| Optional | Opus 4.5: |
| Input context | 198,000 tokens |
| Maximum output | 32,768 tokens (default 4,096) |
| Response | Opus 4.5 · chat.completion / SSE |
| Settlement | An Opus 4.5 review is billed on measured input, cache-read, cache-write and output usage; repeatedly attaching the same code still creates input usage unless a cache read is reported. |
Key features & highlights
Opus 4.5 · Source context
The 198,000-token allowance for Opus 4.5 covers instructions, source files, conversation and tool results together; cite file names when asking it to compare a specification with an implementation.
Opus 4.5 · Reasoning effort
Opus 4.5 exposes low, medium and high reasoning_effort, with medium selected here; use a harder review case to decide whether extra thinking justifies the wait.
Opus 4.5 · Output budget
For Opus 4.5, max_tokens defaults to 4,096 and cannot exceed 32,768 here; reserve room for reasoning as well as the review or draft you expect to read.
Opus 4.5 · Functions
Opus 4.5 accepts up to 128 function definitions and auto, none, required or a named tool; without response_format, a selected function can carry your desired JSON schema.
Request parameters
| Parameter | Required | Description |
|---|---|---|
messages | Yes | The 198,000-token allowance for Opus 4.5 covers instructions, source files, conversation and tool results together; cite file names when asking it to compare a specification wit… at least 1 items |
max_tokens | No | For Opus 4.5, |
reasoning_effort | No | Opus 4.5 exposes low, medium and high |
stop | No | Opus 4.5 accepts up to 4 stop sequences as a string or array; matching text ends generation and is omitted from the answer, while usage reflects the tokens generated. at least 1 characters · at least 1 items · at most 4 items |
temperature | No | Opus 4.5 exposes temperature from 0 to 1, default 1, and |
top_p | No | Opus 4.5 exposes temperature from 0 to 1, default 1, and |
tools | No | Opus 4.5 accepts up to 128 function definitions and auto, none, required or a named tool; without |
parallel_tool_calls | No | With Opus 4.5, |
tool_choice | No | Opus 4.5 accepts up to 128 function definitions and auto, none, required or a named tool; without |
Pricing
Input $4.50 / Output $22.50 per 1 million tokens
Use cases
Opus 4.5 · Refactoring
For an Opus 4.5 refactor, identify the interfaces that must remain stable and request a file-by-file patch plan tied to the supplied tests.
Opus 4.5 · Dialogue review
For Opus 4.5 character dialogue, supply the character sheet and relevant earlier lines, then check the continuation against them; available context does not guarantee perfect recall.
Opus 4.5 · Specification audit
In an Opus 4.5 specification audit, ask for each discrepancy’s source location and expected behavior rather than an unsupported verdict that everything matches.
Opus 4.5 · Review steps
Give Opus 4.5 the failing test, relevant implementation and acceptance criteria, then ask for a minimal change and an explanation of its effect before applying the patch.
Prompt guide & pro tips
Opus 4.5 · Review steps
Give Opus 4.5 the failing test, relevant implementation and acceptance criteria, then ask for a minimal change and an explanation of its effect before applying the patch.
Opus 4.5 · Tool sequence
With Opus 4.5,
parallel_tool_callsdefaults to true; choose false when a second file operation must wait for the first tool result, and execute approved calls in your application.Opus 4.5 · Output budget
For Opus 4.5,
max_tokensdefaults to 4,096 and cannot exceed 32,768 here; reserve room for reasoning as well as the review or draft you expect to read.Opus 4.5 · Sampling
Opus 4.5 exposes temperature from 0 to 1, default 1, and
top_pfrom 0.01 to 1; compare one sampling change at a time and validate tool arguments regardless of the setting.
Opus 4.5 · Review steps
Claude Opus 4.5 API brings Anthropic’s software-engineering and agent capabilities to a chat endpoint with 198,000 input tokens and a 32,768-token reply limit on SpicyAPI.
Source context
The 198,000-token allowance for Opus 4.5 covers instructions, source files, conversation and tool results together; cite file names when asking it to compare a specification with an implementation.
Review steps
Give Opus 4.5 the failing test, relevant implementation and acceptance criteria, then ask for a minimal change and an explanation of its effect before applying the patch.
Reasoning effort
Opus 4.5 exposes low, medium and high reasoning_effort, with medium selected here; use a harder review case to decide whether extra thinking justifies the wait.
Functions
Opus 4.5 accepts up to 128 function definitions and auto, none, required or a named tool; without response_format, a selected function can carry your desired JSON schema.
Image input
Opus 4.5 reads image_url content alongside text but returns text, not generated images; screenshot review is possible, while audio and video parts are outside this endpoint’s schema.
Output budget
For Opus 4.5, max_tokens defaults to 4,096 and cannot exceed 32,768 here; reserve room for reasoning as well as the review or draft you expect to read.
Sampling
Opus 4.5 exposes temperature from 0 to 1, default 1, and top_p from 0.01 to 1; compare one sampling change at a time and validate tool arguments regardless of the setting.
Usage billing
An Opus 4.5 review is billed on measured input, cache-read, cache-write and output usage; repeatedly attaching the same code still creates input usage unless a cache read is reported.
NSFW policy
SpicyAPI adds no separate filter to Opus 4.5, but model safeguards remain: our recorded tests included refusals and variable NSFW responses, so unrestricted output is not guaranteed; any adult material must be lawful and consensual.
For material submitted to Opus 4.5, check your rights to the source and review the output before publishing it or executing proposed changes.
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-4.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.

















