Skip to main content
← All Inference APIs

Claude Sonnet 4

opencode
claude-sonnet-4
Retired Jun 15, 2026

Provider: anthropic · served via OpenCode

Deprecated June 15, 2026.

Listed as deprecated on OpenCode Zen, deprecation date June 15, 2026.

Sticker prices & cost-per-token

List rates as published by OpenCode, before any volume or enterprise discounts.

Input cost

$3.00

Output cost

$15.00

Cached input

$0.30

Cache creation

$3.75

Tiered / volume pricing

Condition Input cost Output cost Notes
Above 200,000 input tokens $6.00 / 1M $22.50 / 1M

Get this data free

Want to stay updated on price changes on this model? Pull this data free (no API key required) here:

curl "https://coolhandlabs.com/api/v2/inference_apis?q%5Bmodel_eq%5D=claude-sonnet-4&q%5Bsource_api_eq%5D=opencode"

Full REST API docs →

Pricing History

Effective Price
Aug 12, 2026 – present Input cost: $3.00 / 1M, Output cost: $15.00 / 1M, Cached input cost: $0.30 / 1M, Cache creation cost: $3.75 / 1M, 5-minute cache write cost: $0.00 / 1M, 1-hour cache write cost: $0.00 / 1M, Reasoning output cost: $0.00 / 1M, Cache storage cost: $0.00 / 1M/hr

History

Last change detected August 17, 2026 (24 days ago) by an automated scan.

Date Changed by What changed
Aug 12, 2026 Unknown Initial record created

Source

https://opencode.ai/docs/zen/ (via https://models.dev/api.json)

Comparable models

No comparable models identified yet.

Reliability

No reliability incidents recorded in the last 90 days.

Frequently asked questions

Track LLM pricing and deprecations automatically.

Start free