Skip to content

Anthropic

OpenPike sends anthropic/... models to Anthropic’s Messages API with your own Anthropic key.

Create a key in the Claude Console at platform.claude.com/settings/keys and add it on the Providers page.

  • Endpoint: POST /v1/messages, Anthropic’s own format.
  • Model names: anthropic/ plus Anthropic’s model ID, for example anthropic/claude-sonnet-5-5 or anthropic/claude-haiku-5-5.
  • SDK: the Anthropic SDK with its base URL set to https://api.openpike.dev (no /v1). See Anthropic SDK.
  • Headers: anthropic-version and anthropic-beta pass through to Anthropic unchanged, so beta features work.
  • Messages only. Claude models are not served on /v1/chat/completions: calling one there returns 400 unsupported_format. OpenPike does not translate between formats.
  • Prompt caching. Cache reads and writes are priced separately, and 1-hour cache writes use their own price when Anthropic reports them.
  • Errors from OpenPike on /v1/messages use Anthropic’s error shape, so the SDK raises its usual exceptions.
  • Models Anthropic has retired are not priced, because requests to them fail.
ModelInputCached inputCache writeOutputNotesAs of
anthropic/claude-fable-5-2$8.00$0.20$10.00$40.001-hour cache write $16.002026-11-15
anthropic/claude-opus-5-5$4.00$0.20$5.00$20.001-hour cache write $8.002026-11-15
anthropic/claude-sonnet-5-5$2.00$0.10$2.50$10.001-hour cache write $4.002026-11-15
anthropic/claude-haiku-5-5$0.10$0.010$0.13$0.50Above 100,000 prompt tokens: $0.50 in, $2.50 out. 1-hour cache write $0.202026-11-15
anthropic/claude-fable-5-1$10.00$0.25$12.50$50.001-hour cache write $20.002026-11-15
anthropic/claude-fable-5$10.00$1.00$12.50$50.001-hour cache write $20.002026-11-15
anthropic/claude-mythos-5-2$8.00$0.20$10.00$40.001-hour cache write $16.00. Limited availability (verified organizations only); same pricing as the matching Fable model.2026-11-15
anthropic/claude-mythos-5-1$10.00$0.25$12.50$50.001-hour cache write $20.00. Limited availability (verified organizations only); same pricing as the matching Fable model.2026-11-15
anthropic/claude-mythos-5$10.00$1.00$12.50$50.001-hour cache write $20.00. Limited availability (verified organizations only); same pricing as the matching Fable model.2026-11-15
anthropic/claude-opus-5$5.00$0.50$6.25$25.001-hour cache write $10.002026-11-15
anthropic/claude-opus-4-8$5.00$0.50$6.25$25.001-hour cache write $10.002026-11-15
anthropic/claude-opus-4-7$5.00$0.50$6.25$25.001-hour cache write $10.002026-11-15
anthropic/claude-opus-4-6$5.00$0.50$6.25$25.001-hour cache write $10.002026-11-15
anthropic/claude-opus-4-5-20251101$5.00$0.50$6.25$25.001-hour cache write $10.002026-11-15
anthropic/claude-opus-4-5$5.00$0.50$6.25$25.001-hour cache write $10.00. Claude API alias of claude-opus-4-5-20251101.2026-11-15
anthropic/claude-sonnet-5$2.00$0.20$2.50$10.001-hour cache write $4.00. The $2/$10 launch pricing is now the standard price, per the pricing page footnote.2026-11-15
anthropic/claude-sonnet-4-6$3.00$0.30$3.75$15.001-hour cache write $6.002026-11-15
anthropic/claude-sonnet-4-5-20250929$3.00$0.30$3.75$15.001-hour cache write $6.00. Deprecated; retires on the Claude API on November 30, 2026.2026-11-15
anthropic/claude-sonnet-4-5$3.00$0.30$3.75$15.001-hour cache write $6.00. Claude API alias of claude-sonnet-4-5-20250929. Deprecated; retires November 30, 2026.2026-11-15
anthropic/claude-haiku-4-5-20251001$1.00$0.10$1.25$5.001-hour cache write $2.002026-11-15

USD per 1M tokens, from https://platform.claude.com/docs/en/about-claude/pricing.