Skip to content

Providers / Anthropic (Claude)

Anthropic (Claude)

Anthropic is a US AI lab that builds the Claude family of language models. Claude comes in four tiers, from largest to smallest: Fable, Opus, Sonnet and Haiku. Claude models read text and images and write text. Fable 5.1 and Opus 5.5 also list files as input. Anthropic sells access through its own API and through cloud platforms.

Models

USD per 1M tokens · prices as of 2026-11-21

ModelBest forInputOutputContext
Claude Fable 5$13.2864$66.4318195K
Claude Fable 5.1The hardest problems, cost second$13.2864$66.4318195K
Claude Opus 4.6$6.2003$31.0015195K
Claude Opus 4.7$6.2003$31.0015195K
Claude Opus 4.8$6.2003$31.0015195K
Claude Opus 5Reasoning you can turn off$6.2003$31.0015195K
Claude Opus 5.5Coding agent, hard refactors · Long context (whole repo, long documents)$4.9602$24.8012195K
Claude Sonnet 4.6$3.7202$18.6009195K
Claude Sonnet 5Coding agent, everyday work · Long context (whole repo, long documents) · Reasoning you can turn off$2.4801$12.4006195K
Claude Haiku 4.5Quick edits, small questions · Cheap bulk work (tagging, extraction)Price coming soon200K
Claude Opus 4.5Price coming soon200K
Claude Sonnet 4.5Price coming soon200K

Which model for which job

JobUseInput / output per 1MWhy
Coding agent, hard refactorsClaude Opus 5.5$4.9602 / $24.8012Always-on reasoning at a lower price than Fable 5.1
Coding agent, everyday workClaude Sonnet 5$2.4801 / $12.4006Anthropic says it performs close to Opus 4.8 at a lower price
Quick edits, small questionsClaude Haiku 4.5Price coming soonSmall, fast model; Anthropic lists 200K context and 64K output
Long context (whole repo, long documents)Claude Opus 5.5Claude Sonnet 5$4.9602 / $24.8012$2.4801 / $12.40061M context on both
Cheap bulk work (tagging, extraction)Claude Haiku 4.5with the Batch APIPrice coming soonSmall model, runs off-peak
The hardest problems, cost secondClaude Fable 5.1$13.2864 / $66.4318Anthropic’s top tier
Reasoning you can turn offClaude Opus 5Claude Sonnet 5$6.2003 / $31.0015$2.4801 / $12.4006Anthropic lists thinking as optional on both

Data handling

What Yunshu does

Pricing notes

Use it in your coding tool

Paste these settings to use Claude Fable 5. Swap in any Anthropic model ID from the table above.

export ANTHROPIC_BASE_URL=https://api.yunshurouter.com
export ANTHROPIC_AUTH_TOKEN=YOUR_YUNSHU_KEY
export ANTHROPIC_MODEL=claude-fable-5

Run these in your shell before starting Claude Code, or put them in ~/.claude/settings.json (see the guide). No /v1 in the address: Claude Code adds it. Full guide →

Questions

Is there a Claude API without an Anthropic account?
How much does Claude Sonnet 5 cost per token?
Does Claude Code work with Yunshu?
Which Claude model should I use for coding?
What is the context window of Claude models?