Skip to content
Docs menu

LLM models

Claude Opus 4.5

On this page

Claude Opus 4.5 — frontier reasoning and generation through one API.

modelIdclaude-opus-4-5
Modalitytext
PricingSee this model on the Pricing page for the current per-call price (with your markup).

Operations

OperationEndpointDescription
Text to completionPOST /api/v1/generateBase generation from a text prompt.
Poll taskGET /api/v1/task/{id}?model=claude-opus-4-5Retrieve state and result URLs.

Input parameters

FieldTypeRequiredValues / example
prompttextarearequiredSend a message
MODELtextoptional
memoryselectoptionalfalse, true
function_callingselectoptionalfalse, true
web_searchselectoptionalfalse, true
thinkingselectoptionalfalse, true
reasoning_effortselectoptionalLow, High
max_tokensnumberoptional4096
streamselectoptionalfalse, true

Example request

bash
curl -X POST https://you.bot/api/v1/generate \
  -H "Authorization: Bearer $YOUBOT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"modelId":"claude-opus-4-5","input":{"prompt":"Explain why ocean tides rise and fall, linking the moon's gravity to the sea's daily rhythm, in three clear and vivid sentences.","MODEL":"claude-opus-4-5","memory":"false","function_calling":"false","web_search":"true","thinking":"true","reasoning_effort":"High","max_tokens":8,"stream":"true"}}'