1. 7API
  2. Models
  3. Claude

Claude API access

Call Anthropic's Claude models through 7API with the Anthropic Messages API or the OpenAI Chat Completions API. Claude Code, the Anthropic SDK and Claude-compatible tools work with two settings changed, and the same key also covers every other family in the catalog.

ModelIDContextMax outputInput / 1MOutput / 1MCached / 1M
Claude Fable 5.2claude-fable-5-21M64K$0.80$0.80$0.08
Claude Opus 5.5 Maxclaude-opus-5-5-max1M128K$0.70$0.70$0.07
Claude Opus 5.5claude-opus-5-51M128K$0.70$0.70$0.07
Claude Opus 5claude-opus-51M64K$0.50$0.50$0.05
Claude Opus 4.8claude-opus-4-81M64K$0.50$0.50$0.05
Claude Opus 4.7claude-opus-4-71M64K$0.50$0.50$0.05
Claude Opus 4.6claude-opus-4-61M64K$0.50$0.50$0.05
Claude Sonnet 5.5claude-sonnet-5-51M64K$0.50$0.50$0.06
Claude Sonnet 5claude-sonnet-51M64K$0.50$0.50$0.05
Claude Haiku 5.5claude-haiku-5-51M64K$0.03$0.03$0.01

Rates are in USD per million tokens. Last checked 2026-11-20.

What to know

Quick start

curl
curl https://7api.st/v1/chat/completions \
  -H "Authorization: Bearer $SEVENAPI_API_KEY" -H "Content-Type: application/json" \
  -d '{"model": "claude-fable-5-2", "messages": [{"role": "user", "content": "Hello"}]}'

Set the base URL to https://7api.st/v1 for OpenAI-format clients, or https://7api.st for Anthropic-format clients. See the quickstart for SDK examples.

Independent benchmarks

Scores published by third parties, not by 7API. See all benchmarks for sources and method.

ModelArtificial Analysis Intelligence IndexEffort
claude-opus-5-558max
claude-sonnet-5-556max
claude-haiku-5-543max

Do I need an Anthropic account to use Claude through 7API?

No. You use a 7API key with base URL https://7api.st. Billing is per token from your 7API balance.

Which Claude model should I use for coding?

claude-opus-5-5 scores highest on the Artificial Analysis Intelligence Index (58 at max effort) and suits hard, multi-step tasks. claude-haiku-5-5 is far cheaper for quick edits. See the benchmarks.

Does Claude Code work with 7API?

Yes. Set ANTHROPIC_BASE_URL to https://7api.st and ANTHROPIC_AUTH_TOKEN to your key. See the Claude Code guide.