n4nAI
← Models
A

Claude Opus 4.8

anthropicReleased May 2026

anthropic/claude-opus-4.8

About

Claude Opus 4.8 is Anthropic's most capable generally available model in the Opus family. It supports text, image, and file inputs with text output, with reasoning support and a 1M-token...

Context
1M
Max output
128K
Tokenizer
Claude
Knowledge cutoff
Input
text · image · file
Output
text

Pricing

per 1M tokens
Input
$5.00
Output
$25.00

Use this model

curl https://api.n4n.ai/v1/chat/completions \
  -H "Authorization: Bearer $N4N_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "anthropic/claude-opus-4.8",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Authenticate with an API key from your console; prices above are per 1M tokens.

Providers

max context 1M
ProviderInput $/1MOutput $/1M
Claude Router claude-router$5.00$25.00
Yuwu yuwu$5.00$25.00

Supported parameters

include_reasoningmax_completion_tokensmax_tokensreasoningreasoning_effortresponse_formatstopstructured_outputstemperaturetool_choicetoolsverbosity