Anthropic API

Anthropic is a research and deployment company focused on building safe and useful AI.

Data & Privacy

HQ:US
Safety identifier:Forwarded
API Training:No
Prompt Logging:Yes
Retention:30 days
GDPR:Compliant
SOC2:Type II Certified
ISO 27001:Certified

Available Models

Pricing and availability as of

Claude Fable 5.2

anthropicPremium5% off
claude-fable-5-2
Streaming
Vision
Tools
Reasoning
JSON Schema
5% Discount
AnthropicBatch
Context: 1M5% off
Input
$8$7.6
/M tokens
Cached
$0.2$0.19
/M tokens
Output
$40$38
/M tokens
+ $0.010$0.009 per search

Claude Haiku 5.5

anthropic5% off
claude-haiku-5-5
Streaming
Vision
Tools
Reasoning
JSON Schema
5% Discount
AnthropicBatch
Context: 1M5% off
Input
$0.1$0.095
/M tokens
Cached
$0.01$0.0095
/M tokens
Output
$0.5$0.475
/M tokens
Tiered Pricing
IN
CACHED
OUT
≤100K tokens
$0.1$0.095
$0.01$0.0095
$0.5$0.475
>100K tokens
$0.5$0.475
$0.05$0.0475
$2.5$2.375
+ $0.010$0.009 per search

Claude Sonnet 5.5

anthropic5% off
claude-sonnet-5-5
Streaming
Vision
Tools
Reasoning
JSON Schema
5% Discount
AnthropicBatch
Context: 1M5% off
Input
$2$1.9
/M tokens
Cached
$0.1$0.095
/M tokens
Output
$10$9.5
/M tokens
+ $0.010$0.009 per search

Claude Opus 5.5

anthropicPremium5% off
claude-opus-5-5
Streaming
Vision
Tools
Reasoning
JSON Schema
5% Discount
AnthropicBatch
Context: 1M5% off
Input
$4$3.8
/M tokens
Cached
$0.2$0.19
/M tokens
Output
$20$19
/M tokens
+ $0.010$0.009 per search

Claude Fable 5.1

anthropicPremium5% off
claude-fable-5-1
Streaming
Vision
Tools
Reasoning
JSON Schema
5% Discount
AnthropicBatch
Context: 1M5% off
Input
$10$9.5
/M tokens
Cached
$0.25$0.2375
/M tokens
Output
$50$47.5
/M tokens
+ $0.010$0.009 per search

Claude Opus 5

anthropicPremium5% off
claude-opus-5
Streaming
Vision
Tools
Reasoning
JSON Schema
5% Discount
AnthropicBatch
Context: 1M5% off
Input
$5$4.75
/M tokens
Cached
$0.5$0.475
/M tokens
Output
$25$23.75
/M tokens
+ $0.010$0.009 per search

Claude Sonnet 5

anthropic5% off
claude-sonnet-5
Streaming
Vision
Tools
Reasoning
JSON Schema
5% Discount
AnthropicBatch
Context: 1M5% off
Input
$2$1.9
/M tokens
Cached
$0.2$0.19
/M tokens
Output
$10$9.5
/M tokens
+ $0.010$0.009 per search

Claude Fable 5

anthropicPremium5% off
claude-fable-5
Streaming
Vision
Tools
Reasoning
JSON Schema
5% Discount
AnthropicBatch
Context: 1M5% off
Input
$10$9.5
/M tokens
Cached
$1$0.95
/M tokens
Output
$50$47.5
/M tokens
+ $0.010$0.009 per search

Claude Opus 4.8

anthropicPremium5% off
claude-opus-4-8
Streaming
Vision
Tools
Reasoning
JSON Schema
5% Discount
AnthropicBatch
Context: 1M5% off
Input
$5$4.75
/M tokens
Cached
$0.5$0.475
/M tokens
Output
$25$23.75
/M tokens
+ $0.010$0.009 per search

Claude Opus 4.7

anthropicPremium5% off
claude-opus-4-7
Streaming
Vision
Tools
Reasoning
JSON Schema
5% Discount
AnthropicBatch
Context: 1M5% off
Input
$5$4.75
/M tokens
Cached
$0.5$0.475
/M tokens
Output
$25$23.75
/M tokens
+ $0.010$0.009 per search

Claude Sonnet 4.6

anthropicPremium5% off
claude-sonnet-4-6
Streaming
Vision
Tools
Reasoning
JSON Schema
5% Discount
AnthropicBatch
Context: 1M5% off
Input
$3$2.85
/M tokens
Cached
$0.3$0.285
/M tokens
Output
$15$14.25
/M tokens
+ $0.010$0.009 per search

Claude Opus 4.6

anthropicPremium5% off
claude-opus-4-6
Streaming
Vision
Tools
Reasoning
JSON Schema
5% Discount
AnthropicBatch
Context: 1M5% off
Input
$5$4.75
/M tokens
Cached
$0.5$0.475
/M tokens
Output
$25$23.75
/M tokens
+ $0.010$0.009 per search

Claude Opus 4.5

anthropicPremium5% offScheduled for Deactivation
claude-opus-4-5-20251101
Streaming
Vision
Tools
Reasoning
JSON Schema
5% Discount
Anthropic
Context: 200k5% off
Deprecated since Nov 23, 2026Deactivating on Jan 22, 2027
Input
$5$4.75
/M tokens
Cached
$0.5$0.475
/M tokens
Output
$25$23.75
/M tokens
+ $0.010$0.009 per search

Claude Haiku 4.5 (2025-10-01)

anthropic5% off
claude-haiku-4-5-20251001
Streaming
Vision
Tools
Reasoning
JSON Output
JSON Schema
5% Discount
AnthropicBatch
Context: 200k5% off
Input
$1$0.95
/M tokens
Cached
$0.1$0.095
/M tokens
Output
$5$4.75
/M tokens
+ $0.010$0.009 per search

Claude Haiku 4.5

anthropic5% off
claude-haiku-4-5
Streaming
Vision
Tools
Reasoning
JSON Output
JSON Schema
5% Discount
AnthropicBatch
Context: 200k5% off
Input
$1$0.95
/M tokens
Cached
$0.1$0.095
/M tokens
Output
$5$4.75
/M tokens
+ $0.010$0.009 per search

Claude Sonnet 4.5

anthropicPremium5% offScheduled for Deactivation
claude-sonnet-4-5
Streaming
Vision
Tools
Reasoning
JSON Schema
5% Discount
Anthropic
Context: 200k5% off
Deprecated since Oct 30, 2026Deactivating on Nov 30, 2026
Input
$3$2.85
/M tokens
Cached
$0.3$0.285
/M tokens
Output
$15$14.25
/M tokens
+ $0.010$0.009 per search

Claude Sonnet 4.5 (2025-09-29)

anthropicPremium5% offScheduled for Deactivation
claude-sonnet-4-5-20250929
Streaming
Vision
Tools
Reasoning
JSON Schema
5% Discount
Anthropic
Context: 200k5% off
Deprecated since Oct 30, 2026Deactivating on Nov 30, 2026
Input
$3$2.85
/M tokens
Cached
$0.3$0.285
/M tokens
Output
$15$14.25
/M tokens
+ $0.010$0.009 per search

Anthropic on the blog

FAQ

Anthropic API questions

Can't find an answer? Contact us

Create an LLM Gateway API key and point any OpenAI-compatible SDK at https://api.llmgateway.io/v1. Set the model to claude-fable-5-2. On pay-as-you-go keys, anthropic/claude-fable-5-2 pins every request to Anthropic; DevPass coding plans do not support provider pinning. You do not need a separate Anthropic account or SDK.