Anthropic ยท chat
claude-4-sonnet-20250514
anthropic/claude-4-sonnet-20250514
- Input price
- $3.00 / 1M tokens
- Output price
- $15.0 / 1M tokens
- Context window
- 1M tokens
- Lifecycle
- deprecated
claude-4-sonnet-20250514 for OpenAI-compatible gateway routing
claude-4-sonnet-20250514 is a Anthropic chat model in the Ferro Labs live catalog with a 1M tokens context window, 64K tokens maximum output, and capabilities including Vision, Function Calling, and JSON Mode, and more.
Token pricing is listed as $3.00 / 1M tokens for input tokens and $15.0 / 1M tokens for output tokens. Route calls through the Ferro Labs AI Gateway by sending model as anthropic/claude-4-sonnet-20250514 to the OpenAI-compatible chat completions endpoint. The catalog marks this model as deprecated; plan a migration before routing new workloads.
OpenAI-compatible usage example
curl https://api.ferrolabs.ai/v1/chat/completions \
-H "Authorization: Bearer $GATEWAY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "anthropic/claude-4-sonnet-20250514", "messages": [{"role": "user", "content": "Hello!"}]}'
Capabilities
- Vision
- Function Calling
- JSON Mode
- Response Schema
- Prompt Caching
- Reasoning
- Streaming
Modalities
Input
- Text
- Image
Output
- Text
More from Anthropic
Catalog prices may change. Verify current provider terms before purchasing.