Skip to content
Pricing
Anthropic

Claude Opus 4.6 API

Access Claude Opus 4.6 by Anthropic through its native API for conversations, content generation and application development. Explore token pricing, context limits and ready-to-use integration examples.

MODALITIES
TextText
Temporarily unavailable
INPUT / OUTPUT90% OFF
$0.5/ 1M
/
$2.5/ 1M
USD per million tokens
CACHED INPUT
$0.05/ 1M
Platform price · USD
CONTEXT WINDOW
1,000,000tokens
Max output: 128,000 tokens

API Usage Examples

API documentation ↗
POSTGet API Key ↗
curl 'https://newrouters.com/v1/messages' \
  -H "Content-Type: application/json" \
  -H "x-api-key: $MODEL_API_KEY" \
  -H "anthropic-version: 2023-06-01" \
  --data '{
  "model": "claude-opus-4-6",
  "max_tokens": 1024,
  "messages": [
    {
      "role": "user",
      "content": "Explain how an HTTP request works in three concise steps."
    }
  ],
  "stream": false
}'

Set MODEL_API_KEY in your server environment. Requests use this model’s native API and your account pricing.

Docs: authentication and keys · Error handling

Claude Opus 4.6 pricing

Estimate one request, then choose a budget for your workflow.

UsageQuantityRateCost
tokens$0.5/ 1M$0.0005
tokens$0.05/ 1M$0
tokens$0.625/ 1M$0
tokens$1/ 1M$0
tokens$2.5/ 1M$0.00125
tokens$2.5/ 1M$0
Cost per request$0.00175

Public USD estimate. Your account rate and final recorded usage determine the actual charge.

Model pricing details
SpecificationOur priceOfficial reference
Input$0.5 / 1M tokens$5 About 90% less than official
Cached input$0.05 / 1M tokens$0.5 About 90% less than official
Cache write · 5m$0.625 / 1M tokens$6.25 About 90% less than official
Cache write · 1h$1 / 1M tokens$10 About 90% less than official
Output$2.5 / 1M tokens$25 About 90% less than official
Reasoning$2.5 / 1M tokens$25 About 90% less than official

Claude Opus 4.6 API · Examples

Start with a clear task. Copy these example prompts into your own API requests.

EXPLAIN & ANSWER

Explain HTTP requests and responses to a programming beginner, using three steps and one simple example.

USER MESSAGE
01

Make complex ideas clear

Define the reader, response length and structure to keep an answer focused on the question.

CODE & BUILD

Write a TypeScript async retry function with exponential backoff. Explain which errors should be retried and include a usage example.

USER MESSAGE
02

Turn a brief into code

Specify the language, inputs, outputs and constraints, then request code and an explanation together.

ORGANIZE & PLAN

Create a two-week product prototype plan for a team of three. List goals, deliverables and open questions for each day.

USER MESSAGE
03

Give information a structure

Provide context and practical constraints to organize material into a structure you can work with.

What Is Claude Opus 4.6?

Access Claude Opus 4.6 by Anthropic through its native API for conversations, content generation and application development. Explore token pricing, context limits and ready-to-use integration examples.

Use the model ID below with the supported native endpoint. System instructions define the task and response style; messages provide the context for each request. Check the available capabilities and token limits when integrating the model into your application.

Claude Opus 4.6 Specifications

SpecificationClaude Opus 4.6
Model IDclaude-opus-4-6
ProviderAnthropic
API/v1/messages
Context window1,000,000 tokens
Maximum output128,000 tokens
Declared capabilitiesTools · Streaming · Reasoning · Structured output
Protocol & capability details

Protocol & capabilities

claude · claude-opus-4-6

Context limit
1000000
Maximum output
128000

tools · stream · reasoning · structured_output

Compare Claude Opus 4.6 with related models

SpecificationClaude Opus 4.6gpt-5.4GPT-5.5
ProviderAnthropicOpenAIOpenAI
Input → outputTextTextTextTextTextText
Selection basisCurrent modelSame billing unitsSame billing units
Context / max output1,000,000 / 128,0001,050,000 / 128,0001,050,000 / 128,000
Starting price$0.5 / 1M tokens$0.5 / 1M tokens$1 / 1M tokens

Choose by the input types, output settings and billing unit your workflow needs. Try the same prompt across models to compare results for your own use case.

Integrate Claude Opus 4.6 into your app

Keep the native request format and point your application to the platform API. Prepare a key with model access, then review status and charges in your usage records.

View API examples

Claude Opus 4.6 API · Common Questions

Everything you need to know about API access, pricing and model capabilities.

How is Claude Opus 4.6 billed?

Charges depend on the recorded token usage and your account rates. Input, output and supported cache or reasoning categories are listed separately in the pricing table. The calculator uses public USD prices; the final usage receipt determines the charge.

How do I get an API key?

Choose “Get API access” to open the integration guide. Sign in to your NewRouters account, prepare a key with access to this model and copy an API example.

Which API endpoints can I use?

Supported endpoints: /v1/messages、/v1/messages/count_tokens. Choose an endpoint in the API examples to see its native request format.

Does the model support streaming?

The current model route declares streaming support. Use the native endpoint’s streaming option and consume its events. Usage already completed may still be billed if the connection is interrupted.

Can I use tools or structured output?

Tools: supported. Structured output: supported. Request fields follow the selected native endpoint.

Where can I check usage and charges?

Keep the request ID and open your account’s LLM usage records to inspect request status, token counts and charges. Prompt and answer content are not a conversation history in this view.

Explore LLM Use Cases

All LLM models ↗

Integration topics / Documentation

All documentation ↗