anthropic/claude-opus-4.8/chatAnthropic's Claude Opus 4.8 chat API provides a 1,000,000-token context, 128,000-token output ceiling, vision input, and four reasoning levels for sustained engineering.
Input $4.3322Output $21.661per 1 million tokensCached input $0.4332Cache write $5.4152
Workbench
These examples were written for this endpoint. Replace the prompt and sample media URLs with your own accessible inputs, then check the current quote and model availability before submitting.
- Input types
- Text
- Output types
- Text
- Input
- $4.3322 / 1 million tokens
- Cached input
- $0.4332 / 1 million tokens
- Output
- $21.661 / 1 million tokens
- Context
- 1M
- Max output
- 128K
$4.33/21.66per 1 million tokens · input / output
migration-audit Use this exampleProvide database migrations and service handlers to Claude Opus 4.8 so it traces breaking assumptions before proposing rollback-safe changes.
- 4096
- medium
This example starts at Input $4.3322 / Output $21.661 per 1 million tokens. The Playground updates the estimate when you change the settings.
