Pricing, context window and lifecycle for anthropic/claude-sonnet-4, tracked from what the vendor publishes.
2026-06-15 - its vendor retired this model on that date, and the catalogue still lists it. Anything still calling it is running on borrowed time.
2026-10-14 - this model is still served on AWS Bedrock after its vendor stopped serving it. Which date applies to you depends on where you call it, not on which one is newer.
To find every place that calls it:
curl -sO https://neosignal-ai.vercel.app/check.py
python check.py .
It names every model your repository calls that is already gone, and exits non-zero so the next one fails the build instead of production.
| Input | $3.00 |
| Output | $15.00 |
| Cache read | $0.300 |
| Cache write | $3.75 |
| Model ID | anthropic/claude-sonnet-4 |
| Vendor | Anthropic |
| Context window | 1,000,000 tokens |
| Knowledge cutoff | 2025-01-31 |
| Retired on | 2026-06-15 |
| Date from | vendor deprecation page |
| Also served on | AWS Bedrock |
| AWS Bedrock end of life | 2026-10-14 |
include_reasoning, max_tokens, reasoning, stop, temperature, tool_choice, tools, top_k, top_p