Skip to main content
Core.Today
|
AnthropicMediumUltra

Claude Opus 5

Anthropic's latest flagship Opus model, with a 1M-token context window by default and 128K max output tokens. Same pricing as Opus 4.5โ€“4.8 ($5/$25 per M tokens) with prompt caching (read $0.50/M, write $6.25/M) and web search. Compatible with the Anthropic Messages and OpenAI Chat Completions formats.

9,290/46,450credits
input / output ยท per 1M tokens
Most capable Anthropic model
1M token context window (default)
128K max output tokens
Prompt caching (read 10% / write 125% of input price)
Web search tool support
High-resolution vision (up to 2,576px long edge)
Streaming support

Run it right now

Test this model instantly in the Console Playground โ€” no code required

Sign in to try

Use with AI Assistant

Copy usage instructions for Claude, ChatGPT, or other AI

Model Specifications

Context Window
1M
tokens
Max Output
128K
tokens
Training Cutoff
2026-01
Compatible SDK
Anthropic, OpenAI

Capabilities

Vision
Function Calling
Streaming
JSON Mode
System Prompt

Token Pricing (per 1M tokens)

Token TypeCreditsUSD Equivalent
Input Tokens9,290$6.19
Output Tokens46,450$30.97
Cached Tokens929$0.62

* 1,500 credits โ‰ˆ $1 (actual charges may vary based on usage)

Quick Start

curl -X POST "https://api.core.today/llm/anthropic/v1/messages" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer cdt_your_api_key" \
  -d '{
  "model": "claude-opus-5",
  "messages": [
    {
      "role": "system",
      "content": "You are a principal research analyst. Provide rigorous, source-aware analysis."
    },
    {
      "role": "user",
      "content": "Given this corpus of quarterly reports, identify the three biggest emerging risks and quantify their exposure."
    }
  ],
  "max_tokens": 8000
}'

Parameters

ParameterTypeRequiredDefaultDescription
messagesarrayYes-Array of message objects (OpenAI format)
max_tokensintegerNo4096Maximum tokens in response (up to 128000)
streambooleanNofalseEnable Server-Sent Events streaming

Examples

Long-context Analysis

Deep multi-step analysis over large documents with Claude Opus 5

curl -X POST "https://api.core.today/llm/anthropic/v1/messages" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer cdt_your_api_key" \
  -d '{
  "model": "claude-opus-5",
  "messages": [
    {
      "role": "system",
      "content": "You are a principal research analyst. Provide rigorous, source-aware analysis."
    },
    {
      "role": "user",
      "content": "Given this corpus of quarterly reports, identify the three biggest emerging risks and quantify their exposure."
    }
  ],
  "max_tokens": 8000
}'

Production Code Generation

Generate production-ready code with full reasoning

curl -X POST "https://api.core.today/llm/anthropic/v1/messages" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer cdt_your_api_key" \
  -d '{
  "model": "claude-opus-5",
  "messages": [
    {
      "role": "system",
      "content": "You are a senior software engineer. Write clean, well-tested, production code."
    },
    {
      "role": "user",
      "content": "Implement an idempotent payment reconciliation worker in Python with retries and unit tests."
    }
  ],
  "max_tokens": 6000
}'

Tips & Best Practices

1Latest flagship Opus โ€” same price as Opus 4.5โ€“4.8, so prefer it for new workloads
21M context window handles very large codebases and document sets in a single request
3Prompt caching: read $0.50/M (10%), write $6.25/M โ€” cache large repeated contexts
4Web search costs 20 credits per request on top of token usage
5Sampling params (`temperature`, `top_p`, `top_k`) follow the latest Opus convention โ€” omit them if requests return 400
6Streaming recommended for long responses
7Compatible with both Anthropic Messages and OpenAI SDK formats

Use Cases

Frontier research and analysis
Long-context document understanding (up to 1M tokens)
Advanced code generation and refactoring
Multi-step agentic workflows
Web-grounded question answering