WiseOne AI logo
WiseOneAI

anthropic

Claude Opus API Pricing (October 2026)

anthropic/claude-opus-5

Compare Claude Opus API pricing, explore each model’s capabilities, and start building with one NanoGPT API key.

ReasoningVisionNative PDF inputTool CallingStructured Output
Input / 1M tokens
$5.00
Output / 1M tokens
$25.00
Cache read / 1M tokens
$0.50
Cache creation / 1M tokens
$6.25
1-hour cache creation / 1M tokens
$10.00
Average output tokens
1,430
Context
1,000,000

Get 3% extra credit when you top up with crypto. Top up with crypto

Build with Claude Opus 5

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

Set NANOGPT_API_KEY in your environment. Keep your API key on the server.

Compare model intelligence and coding benchmarks

Compare models using published benchmark scores. Higher scores are better. Each chart uses one benchmark and source version; these are current comparisons, not scores recorded at launch. Ranking pairs each model’s standard and thinking evaluations on one row, Value plots score against the output token rate, and Generations tracks each family release by release. Thinking evaluations are labeled with their published settings, and evaluation effort can affect scores.

Artificial Analysis Intelligence Index

Source version not published · 23 models scored

Using cached Artificial Analysis scores. Recent models and evaluations may be missing.

Which model scores highest, and what does thinking add?

Artificial Analysis Intelligence Index, highest score firstEach row is one model. The hollow marker is its standard evaluation, the filled marker its thinking evaluation, and the bar between them is what thinking adds.0102030405060Index score$ / 1M outputClaude Opus 5.5Claude Opus 5.5: 57.6 · thinking57.6thinking only$20Claude Fable 5.1Claude Fable 5.1: 53.4 · thinking53.4thinking only$50Claude Sonnet 5Claude Sonnet 5: 23.2 · standardClaude Sonnet 5 Thinking: 38.2 · thinking38.2+15 thinking$10Claude Haiku 4.5Claude Haiku 4.5: 15.4 · standardClaude Haiku 4.5 Thinking: 16.9 · thinking16.9+1.5 thinking$5
StandardThinkingWhat thinking adds
Hover, tap, or focus a marker for its evaluation settings and rate.

Source: Artificial Analysis. Missing scores mean no verified matching result is available here for this version; they do not mean the model was never evaluated. Token rates are NanoGPT standard catalogue rates.

View all benchmark scores and evaluation details
Artificial Analysis Intelligence Index (unversioned) by model · index points
ModelScoreOutput / 1M
Claude Fable 5
49.6
$50
Claude Fable 5.1
53.4
$50
Claude Haiku 4.5
15.4
$5
Claude Haiku 4.5 Thinking
16.9
$5
Claude 4 Opus
16.6
$75
Claude 4 Opus Thinking
20.6
$75
Claude 4.1 Opus
18.6
$75
Claude 4.1 Opus Thinking
22.8
$75
Claude 4.5 Opus
23.7
$25
Claude 4.5 Opus Thinking
29.1
$25
Claude 4.6 Opus
26.4
$25
Claude 4.6 Opus Thinking
Score unavailable
$25
Claude 4.6 Opus Thinking Low
Score unavailable
$25
Claude 4.6 Opus Thinking Max
Score unavailable
$25
Claude 4.6 Opus Thinking Medium
Score unavailable
$25
Claude 4.7 Opus
30.9
$25
Claude 4.7 Opus Thinking
40.7
$25
Claude Opus 4.8
Score unavailable
$25
Claude Opus 4.8 Thinking
41.8
$25
Claude Opus 5
50.8
$25
Claude Opus 5.5
57.6
$20
Claude 4 Sonnet
16.6
$15
Claude 4 Sonnet Thinking
Score unavailable
$15
Claude Sonnet 4.5
19.3
$15
Claude Sonnet 4.5 Thinking
20.7
$15
Claude Sonnet 4.6
24.7
$15
Claude Sonnet 4.6 Thinking
30.1
$15
Claude Sonnet 5
23.2
$10
Claude Sonnet 5 Thinking
38.2
$10
Artificial Analysis Coding Index (unversioned) by model · index points
ModelScoreOutput / 1M
Claude Fable 5
76.5
$50
Claude Fable 5.1
81.6
$50
Claude Haiku 4.5
Score unavailable
$5
Claude Haiku 4.5 Thinking
43.9
$5
Claude 4 Opus
Score unavailable
$75
Claude 4 Opus Thinking
Score unavailable
$75
Claude 4.1 Opus
Score unavailable
$75
Claude 4.1 Opus Thinking
Score unavailable
$75
Claude 4.5 Opus
Score unavailable
$25
Claude 4.5 Opus Thinking
Score unavailable
$25
Claude 4.6 Opus
Score unavailable
$25
Claude 4.6 Opus Thinking
Score unavailable
$25
Claude 4.6 Opus Thinking Low
Score unavailable
$25
Claude 4.6 Opus Thinking Max
Score unavailable
$25
Claude 4.6 Opus Thinking Medium
Score unavailable
$25
Claude 4.7 Opus
Score unavailable
$25
Claude 4.7 Opus Thinking
73.6
$25
Claude Opus 4.8
Score unavailable
$25
Claude Opus 4.8 Thinking
74.3
$25
Claude Opus 5
78
$25
Claude Opus 5.5
Score unavailable
$20
Claude 4 Sonnet
Score unavailable
$15
Claude 4 Sonnet Thinking
Score unavailable
$15
Claude Sonnet 4.5
Score unavailable
$15
Claude Sonnet 4.5 Thinking
52.1
$15
Claude Sonnet 4.6
Score unavailable
$15
Claude Sonnet 4.6 Thinking
63
$15
Claude Sonnet 5
66.4
$10
Claude Sonnet 5 Thinking
71.5
$10
LiveBench Overall (2026-06-25) by model · percent
ModelScoreOutput / 1M
Claude Fable 5Evaluation: claude-fable-5-max-effort
83.4%
$50
Claude Fable 5.1Evaluation: claude-fable-5-1-max-effort
83.8%
$50
Claude Haiku 4.5
Score unavailable
$5
Claude Haiku 4.5 Thinking
Score unavailable
$5
Claude 4 Opus
Score unavailable
$75
Claude 4 Opus Thinking
Score unavailable
$75
Claude 4.1 Opus
Score unavailable
$75
Claude 4.1 Opus Thinking
Score unavailable
$75
Claude 4.5 Opus
Score unavailable
$25
Claude 4.5 Opus ThinkingEvaluation: claude-opus-4-5-20251101-thinking-64k-high-effort
72.9%
$25
Claude 4.6 Opus
Score unavailable
$25
Claude 4.6 Opus ThinkingEvaluation: claude-opus-4-6-thinking-auto-high-effort
75.1%
$25
Claude 4.6 Opus Thinking Low
Score unavailable
$25
Claude 4.6 Opus Thinking Max
Score unavailable
$25
Claude 4.6 Opus Thinking Medium
Score unavailable
$25
Claude 4.7 Opus
Score unavailable
$25
Claude 4.7 Opus ThinkingEvaluation: claude-opus-4-7-xhigh-effort
77%
$25
Claude Opus 4.8
Score unavailable
$25
Claude Opus 4.8 ThinkingEvaluation: claude-opus-4-8-max-effort
77.1%
$25
Claude Opus 5Evaluation: claude-opus-5-max-effort
80.5%
$25
Claude Opus 5.5
Score unavailable
$20
Claude 4 Sonnet
Score unavailable
$15
Claude 4 Sonnet Thinking
Score unavailable
$15
Claude Sonnet 4.5
Score unavailable
$15
Claude Sonnet 4.5 Thinking
Score unavailable
$15
Claude Sonnet 4.6
Score unavailable
$15
Claude Sonnet 4.6 ThinkingEvaluation: claude-sonnet-4-6-thinking-auto-medium-effort
73.4%
$15
Claude Sonnet 5
Score unavailable
$10
Claude Sonnet 5 ThinkingEvaluation: claude-sonnet-5-xhigh-effort
76.6%
$10
LiveBench Coding (2026-06-25) by model · percent
ModelScoreOutput / 1M
Claude Fable 5Evaluation: claude-fable-5-max-effort
86%
$50
Claude Fable 5.1Evaluation: claude-fable-5-1-max-effort
86.4%
$50
Claude Haiku 4.5
Score unavailable
$5
Claude Haiku 4.5 Thinking
Score unavailable
$5
Claude 4 Opus
Score unavailable
$75
Claude 4 Opus Thinking
Score unavailable
$75
Claude 4.1 Opus
Score unavailable
$75
Claude 4.1 Opus Thinking
Score unavailable
$75
Claude 4.5 Opus
Score unavailable
$25
Claude 4.5 Opus ThinkingEvaluation: claude-opus-4-5-20251101-thinking-64k-high-effort
79.7%
$25
Claude 4.6 Opus
Score unavailable
$25
Claude 4.6 Opus ThinkingEvaluation: claude-opus-4-6-thinking-auto-high-effort
78.2%
$25
Claude 4.6 Opus Thinking Low
Score unavailable
$25
Claude 4.6 Opus Thinking Max
Score unavailable
$25
Claude 4.6 Opus Thinking Medium
Score unavailable
$25
Claude 4.7 Opus
Score unavailable
$25
Claude 4.7 Opus ThinkingEvaluation: claude-opus-4-7-xhigh-effort
82.1%
$25
Claude Opus 4.8
Score unavailable
$25
Claude Opus 4.8 ThinkingEvaluation: claude-opus-4-8-max-effort
81.8%
$25
Claude Opus 5Evaluation: claude-opus-5-max-effort
81.4%
$25
Claude Opus 5.5
Score unavailable
$20
Claude 4 Sonnet
Score unavailable
$15
Claude 4 Sonnet Thinking
Score unavailable
$15
Claude Sonnet 4.5
Score unavailable
$15
Claude Sonnet 4.5 Thinking
Score unavailable
$15
Claude Sonnet 4.6
Score unavailable
$15
Claude Sonnet 4.6 ThinkingEvaluation: claude-sonnet-4-6-thinking-auto-medium-effort
79.3%
$15
Claude Sonnet 5
Score unavailable
$10
Claude Sonnet 5 ThinkingEvaluation: claude-sonnet-5-xhigh-effort
80.7%
$10

Opus model pricing per 1M tokens

USD per 1 million tokens · NanoGPT standard catalogue rates
Model / API IDInputCache readCache creationOutputContextAverage output tokensEstimated query cost
Claude 4 Opusclaude-opus-4-20250514$15.00$1.50$18.751-hour: $30.00$75.00200,000UnavailableUnavailable
Claude 4 Opus Thinkingclaude-opus-4-thinking$15.00$1.50$18.751-hour: $30.00$75.00200,000UnavailableUnavailable
Claude 4.1 Opusclaude-opus-4-1-20250805$15.00$1.50$18.751-hour: $30.00$75.00200,000832$0.0774
Claude 4.1 Opus Thinkingclaude-opus-4-1-thinking$15.00$1.50$18.751-hour: $30.00$75.00200,0002,196$0.1797
Claude 4.5 Opusclaude-opus-4-5-20251101$5.00$0.50$6.251-hour: $10.00$25.00200,000860$0.0265
Claude 4.5 Opus Thinkingclaude-opus-4-5-20251101:thinking$5.00$0.50$6.251-hour: $10.00$25.00200,0002,379$0.06448
Claude 4.6 Opusanthropic/claude-opus-4.6$5.00$0.50$6.251-hour: $10.00$25.001,000,000320$0.013
Claude 4.6 Opus Thinkinganthropic/claude-opus-4.6:thinking$5.00$0.50$6.251-hour: $10.00$25.001,000,0001,822$0.05055
Claude 4.6 Opus Thinking Lowanthropic/claude-opus-4.6:thinking:low$5.00$0.50$6.251-hour: $10.00$25.001,000,0001,291$0.03728
Claude 4.6 Opus Thinking Maxanthropic/claude-opus-4.6:thinking:max$5.00$0.50$6.251-hour: $10.00$25.001,000,0002,049$0.05623
Claude 4.6 Opus Thinking Mediumanthropic/claude-opus-4.6:thinking:medium$5.00$0.50$6.251-hour: $10.00$25.001,000,0002,818$0.07545
Claude 4.7 Opusanthropic/claude-opus-4.7$5.00$0.50$6.251-hour: $10.00$25.001,000,000593$0.01983
Claude 4.7 Opus Thinkinganthropic/claude-opus-4.7:thinking$5.00$0.50$6.251-hour: $10.00$25.001,000,0001,771$0.04928
Claude Opus 4.8anthropic/claude-opus-4.8$5.00$0.50$6.251-hour: $10.00$25.001,000,000497$0.01743
Claude Opus 4.8 Thinkinganthropic/claude-opus-4.8:thinking$5.00$0.50$6.251-hour: $10.00$25.001,000,0004,128$0.1082
Claude Opus 5anthropic/claude-opus-5$5.00$0.50$6.251-hour: $10.00$25.001,000,0001,430$0.04075
Claude Opus Latestanthropic/claude-opus-latest$5.00$0.50$6.251-hour: $10.00$25.001,000,000UnavailableUnavailable

Base text-token rates. Long-context pricing, tool charges, service tiers, and provider selection can change the total. Cache creation is charged when writing tokens to the cache; cache read applies when reusing them. The default cache duration applies unless labeled otherwise. Unsupported cache rates are marked unavailable.

Estimated query cost combines your input-token count with the model’s average output, rounded to whole tokens, at current standard rates. It assumes uncached input and excludes tool charges. This is an estimate for that workload, not a measured average total bill.

anthropic

Claude Opus 5

anthropic/claude-opus-5

Claude Opus 5 is Anthropic's flagship model for advanced coding, long-running agentic tasks, research, and complex knowledge work.

ReasoningVisionNative PDF inputTool CallingStructured Output
Input / 1M tokens
$5.00
Output / 1M tokens
$25.00
Cache read / 1M tokens
$0.50
Cache creation / 1M tokens
$6.25
1-hour cache creation / 1M tokens
$10.00
Average output tokens
1,430
Context
1,000,000

Build with Claude Opus 5

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

Set NANOGPT_API_KEY in your environment. Keep your API key on the server.

anthropic

Claude Opus 4.8

anthropic/claude-opus-4.8

Anthropic Claude Opus 4.8 with text, image, and file inputs and a 1M-token context window.

ReasoningVisionNative PDF inputTool CallingStructured Output
Input / 1M tokens
$5.00
Output / 1M tokens
$25.00
Cache read / 1M tokens
$0.50
Cache creation / 1M tokens
$6.25
1-hour cache creation / 1M tokens
$10.00
Average output tokens
497
Context
1,000,000

Build with Claude Opus 4.8

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

Set NANOGPT_API_KEY in your environment. Keep your API key on the server.

anthropic

Claude Opus 4.8 Thinking

anthropic/claude-opus-4.8:thinking

Anthropic Claude Opus 4.8 with thinking enabled.

ReasoningVisionNative PDF inputTool CallingStructured Output
Input / 1M tokens
$5.00
Output / 1M tokens
$25.00
Cache read / 1M tokens
$0.50
Cache creation / 1M tokens
$6.25
1-hour cache creation / 1M tokens
$10.00
Average output tokens
4,128
Context
1,000,000

Build with Claude Opus 4.8 Thinking

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

Set NANOGPT_API_KEY in your environment. Keep your API key on the server.

anthropic

Claude 4.7 Opus

anthropic/claude-opus-4.7

Claude Opus 4.7 is a major upgrade for advanced software engineering, long-running complex tasks, and high-resolution vision understanding.

ReasoningVisionNative PDF inputTool CallingStructured Output
Input / 1M tokens
$5.00
Output / 1M tokens
$25.00
Cache read / 1M tokens
$0.50
Cache creation / 1M tokens
$6.25
1-hour cache creation / 1M tokens
$10.00
Average output tokens
593
Context
1,000,000

Build with Claude 4.7 Opus

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

Set NANOGPT_API_KEY in your environment. Keep your API key on the server.

anthropic

Claude 4.7 Opus Thinking

anthropic/claude-opus-4.7:thinking

Claude Opus 4.7 with thinking enabled (default budget: 16k tokens).

ReasoningVisionNative PDF inputTool CallingStructured Output
Input / 1M tokens
$5.00
Output / 1M tokens
$25.00
Cache read / 1M tokens
$0.50
Cache creation / 1M tokens
$6.25
1-hour cache creation / 1M tokens
$10.00
Average output tokens
1,771
Context
1,000,000

Build with Claude 4.7 Opus Thinking

curl https://nano-gpt.com/api/v1/chat/completions \
  -H "Authorization: Bearer $NANOGPT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "anthropic/claude-opus-4.7:thinking",
  "messages": [
    {
      "role": "user",
      "content": "Hello!"
    }
  ]
}'

Set NANOGPT_API_KEY in your environment. Keep your API key on the server.

anthropic

Claude 4.6 Opus

anthropic/claude-opus-4.6

Claude Opus 4.6 is Anthropic's newest Opus model with stronger coding and agentic performance, plus support for up to a 1M-token context window.

ReasoningVisionNative PDF inputTool CallingStructured Output
Input / 1M tokens
$5.00
Output / 1M tokens
$25.00
Cache read / 1M tokens
$0.50
Cache creation / 1M tokens
$6.25
1-hour cache creation / 1M tokens
$10.00
Average output tokens
320
Context
1,000,000

Build with Claude 4.6 Opus

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

Set NANOGPT_API_KEY in your environment. Keep your API key on the server.

anthropic

Claude 4.6 Opus Thinking

anthropic/claude-opus-4.6:thinking

Claude Opus 4.6 with adaptive thinking enabled (default effort: high).

ReasoningVisionNative PDF inputTool CallingStructured Output
Input / 1M tokens
$5.00
Output / 1M tokens
$25.00
Cache read / 1M tokens
$0.50
Cache creation / 1M tokens
$6.25
1-hour cache creation / 1M tokens
$10.00
Average output tokens
1,822
Context
1,000,000

Build with Claude 4.6 Opus Thinking

curl https://nano-gpt.com/api/v1/chat/completions \
  -H "Authorization: Bearer $NANOGPT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "anthropic/claude-opus-4.6:thinking",
  "messages": [
    {
      "role": "user",
      "content": "Hello!"
    }
  ]
}'

Set NANOGPT_API_KEY in your environment. Keep your API key on the server.

anthropic

Claude 4.6 Opus Thinking Low

anthropic/claude-opus-4.6:thinking:low

Claude Opus 4.6 with adaptive thinking (effort: low).

ReasoningVisionNative PDF inputTool CallingStructured Output
Input / 1M tokens
$5.00
Output / 1M tokens
$25.00
Cache read / 1M tokens
$0.50
Cache creation / 1M tokens
$6.25
1-hour cache creation / 1M tokens
$10.00
Average output tokens
1,291
Context
1,000,000

Build with Claude 4.6 Opus Thinking Low

curl https://nano-gpt.com/api/v1/chat/completions \
  -H "Authorization: Bearer $NANOGPT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "anthropic/claude-opus-4.6:thinking:low",
  "messages": [
    {
      "role": "user",
      "content": "Hello!"
    }
  ]
}'

Set NANOGPT_API_KEY in your environment. Keep your API key on the server.

anthropic

Claude 4.6 Opus Thinking Max

anthropic/claude-opus-4.6:thinking:max

Claude Opus 4.6 with adaptive thinking (effort: max).

ReasoningVisionNative PDF inputTool CallingStructured Output
Input / 1M tokens
$5.00
Output / 1M tokens
$25.00
Cache read / 1M tokens
$0.50
Cache creation / 1M tokens
$6.25
1-hour cache creation / 1M tokens
$10.00
Average output tokens
2,049
Context
1,000,000

Build with Claude 4.6 Opus Thinking Max

curl https://nano-gpt.com/api/v1/chat/completions \
  -H "Authorization: Bearer $NANOGPT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "anthropic/claude-opus-4.6:thinking:max",
  "messages": [
    {
      "role": "user",
      "content": "Hello!"
    }
  ]
}'

Set NANOGPT_API_KEY in your environment. Keep your API key on the server.

anthropic

Claude 4.6 Opus Thinking Medium

anthropic/claude-opus-4.6:thinking:medium

Claude Opus 4.6 with adaptive thinking (effort: medium).

ReasoningVisionNative PDF inputTool CallingStructured Output
Input / 1M tokens
$5.00
Output / 1M tokens
$25.00
Cache read / 1M tokens
$0.50
Cache creation / 1M tokens
$6.25
1-hour cache creation / 1M tokens
$10.00
Average output tokens
2,818
Context
1,000,000

Build with Claude 4.6 Opus Thinking Medium

curl https://nano-gpt.com/api/v1/chat/completions \
  -H "Authorization: Bearer $NANOGPT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "anthropic/claude-opus-4.6:thinking:medium",
  "messages": [
    {
      "role": "user",
      "content": "Hello!"
    }
  ]
}'

Set NANOGPT_API_KEY in your environment. Keep your API key on the server.

anthropic

Claude 4.5 Opus

claude-opus-4-5-20251101

Claude Opus 4.5 is the top model for coding, agentic workflows, and computer use—now stronger at deep research, slides, and spreadsheets. It pushes state-of-the-art software engineering and lifts vision, reasoning, and math across the board.

ReasoningVisionNative PDF inputTool CallingStructured Output
Input / 1M tokens
$5.00
Output / 1M tokens
$25.00
Cache read / 1M tokens
$0.50
Cache creation / 1M tokens
$6.25
1-hour cache creation / 1M tokens
$10.00
Average output tokens
860
Context
200,000

Build with Claude 4.5 Opus

curl https://nano-gpt.com/api/v1/chat/completions \
  -H "Authorization: Bearer $NANOGPT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "claude-opus-4-5-20251101",
  "messages": [
    {
      "role": "user",
      "content": "Hello!"
    }
  ]
}'

Set NANOGPT_API_KEY in your environment. Keep your API key on the server.

anthropic

Claude 4.5 Opus Thinking

claude-opus-4-5-20251101:thinking

Claude Opus 4.5 with visible thinking for tougher coding, agent, and research work—built to show its reasoning while tackling long, complex tasks.

ReasoningVisionNative PDF inputTool CallingStructured Output
Input / 1M tokens
$5.00
Output / 1M tokens
$25.00
Cache read / 1M tokens
$0.50
Cache creation / 1M tokens
$6.25
1-hour cache creation / 1M tokens
$10.00
Average output tokens
2,379
Context
200,000

Build with Claude 4.5 Opus Thinking

curl https://nano-gpt.com/api/v1/chat/completions \
  -H "Authorization: Bearer $NANOGPT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "claude-opus-4-5-20251101:thinking",
  "messages": [
    {
      "role": "user",
      "content": "Hello!"
    }
  ]
}'

Set NANOGPT_API_KEY in your environment. Keep your API key on the server.

anthropic

Claude 4.1 Opus

claude-opus-4-1-20250805

Claude Opus 4.1 is a powerful model from Anthropic that delivers sustained performance for complex coding and other long-running tasks that require thousands of steps, expanding the capabilities of AI agents.

VisionNative PDF inputTool CallingStructured Output
Input / 1M tokens
$15.00
Output / 1M tokens
$75.00
Cache read / 1M tokens
$1.50
Cache creation / 1M tokens
$18.75
1-hour cache creation / 1M tokens
$30.00
Average output tokens
832
Context
200,000

Build with Claude 4.1 Opus

curl https://nano-gpt.com/api/v1/chat/completions \
  -H "Authorization: Bearer $NANOGPT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "claude-opus-4-1-20250805",
  "messages": [
    {
      "role": "user",
      "content": "Hello!"
    }
  ]
}'

Set NANOGPT_API_KEY in your environment. Keep your API key on the server.

anthropic

Claude 4.1 Opus Thinking

claude-opus-4-1-thinking

Anthropic's Claude 4.1 Opus with the ability to show its thinking process step by step.

ReasoningVisionNative PDF inputTool CallingStructured Output
Input / 1M tokens
$15.00
Output / 1M tokens
$75.00
Cache read / 1M tokens
$1.50
Cache creation / 1M tokens
$18.75
1-hour cache creation / 1M tokens
$30.00
Average output tokens
2,196
Context
200,000

Build with Claude 4.1 Opus Thinking

curl https://nano-gpt.com/api/v1/chat/completions \
  -H "Authorization: Bearer $NANOGPT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "claude-opus-4-1-thinking",
  "messages": [
    {
      "role": "user",
      "content": "Hello!"
    }
  ]
}'

Set NANOGPT_API_KEY in your environment. Keep your API key on the server.

anthropic

Claude 4 Opus

claude-opus-4-20250514

Claude 4 Opus by Anthropic. The premium version of the new Claude models. A new generation model with improved capabilities, especially on programming and development.

VisionNative PDF inputTool CallingStructured Output
Input / 1M tokens
$15.00
Output / 1M tokens
$75.00
Cache read / 1M tokens
$1.50
Cache creation / 1M tokens
$18.75
1-hour cache creation / 1M tokens
$30.00
Context
200,000

Build with Claude 4 Opus

curl https://nano-gpt.com/api/v1/chat/completions \
  -H "Authorization: Bearer $NANOGPT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "claude-opus-4-20250514",
  "messages": [
    {
      "role": "user",
      "content": "Hello!"
    }
  ]
}'

Set NANOGPT_API_KEY in your environment. Keep your API key on the server.

anthropic

Claude 4 Opus Thinking

claude-opus-4-thinking

Anthropic's Claude 4 Opus with the ability to show its thinking process step by step.

ReasoningVisionNative PDF inputTool CallingStructured Output
Input / 1M tokens
$15.00
Output / 1M tokens
$75.00
Cache read / 1M tokens
$1.50
Cache creation / 1M tokens
$18.75
1-hour cache creation / 1M tokens
$30.00
Context
200,000

Build with Claude 4 Opus Thinking

curl https://nano-gpt.com/api/v1/chat/completions \
  -H "Authorization: Bearer $NANOGPT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "claude-opus-4-thinking",
  "messages": [
    {
      "role": "user",
      "content": "Hello!"
    }
  ]
}'

Set NANOGPT_API_KEY in your environment. Keep your API key on the server.

anthropic

Claude Opus Latest

anthropic/claude-opus-latest

Compatibility alias that routes to the newest version of Claude Opus. Currently routes to Claude Opus 5.

ReasoningVisionNative PDF inputTool CallingStructured Output
Input / 1M tokens
$5.00
Output / 1M tokens
$25.00
Cache read / 1M tokens
$0.50
Cache creation / 1M tokens
$6.25
1-hour cache creation / 1M tokens
$10.00
Context
1,000,000

Build with Claude Opus Latest

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

Set NANOGPT_API_KEY in your environment. Keep your API key on the server.

Estimate a request’s token cost

$0.075

One request, standard uncached text tokens. Excludes tools and other charges. Known long-context rates apply automatically; invalid workloads or missing rates cannot be estimated.