AnthropicPaidOperational
Claude Sonnet 4 20250514
API model name: claude-sonnet-4-20250514
Claude Sonnet 4 20250514 is Anthropic's chat model, served on the Api.Airforce unified API. It has a 200K-token context window. Beyond text, it accepts image, document as input. Capabilities include Vision, Tool calling, Reasoning, Documents, Prompt caching. Knowledge cutoff: 2025-04. Access it through the OpenAI-compatible API with one key, alongside 100+ other models on Api.Airforce.
Pricing
Specifications
- Provider
- Anthropic
- Type
- chat model
- Context window
- 200K tokens
- Max output
- 64K tokens
- Knowledge cutoff
- 2025-04
- Input
- text, image, document
- Output
- text
- Prompt caching
- Supported
Capabilities
VisionTool callingReasoningDocumentsPrompt cachingStreaming
What is Claude Sonnet 4 20250514 used for?
- Chatbots & assistants — conversational AI, drafting, summarizing and Q&A.
- Image understanding — analyze photos, screenshots, charts and scanned documents.
- Agents & automation — function calling and tool use for multi-step workflows.
- Complex reasoning — math, coding and step-by-step problem solving.
- Document analysis — summarize and answer questions across long files.
- Long-context tasks — process entire documents or codebases in a single prompt.
- Real-time experiences — stream tokens for responsive chat and apps.
Claude Sonnet 4 20250514 vs. similar models
| Model | Intelligence | Context | Input / 1M | Output / 1M |
|---|---|---|---|---|
| Claude Sonnet 4 20250514 | — | 200K | — | — |
| Claude 3 7 Ch Exp | 34.7 | 200K | Free | Free |
| Claude 4 Ch Exp | — | 200K | Free | Free |
| Claude Fable 5 | 64.9 | 1M | $7.00 | $35.00 |
Prices are Api.Airforce pay-as-you-go rates per 1M tokens. Context is the maximum input length.
Related models
Claude 3 7 Ch ExpAnthropic · FreeClaude 4 Ch ExpAnthropic · FreeClaude Fable 5Anthropic · $7.00 / 1MClaude Haiku 4.5Anthropic · $0.50 / 1MClaude Opus 4Anthropic · $3.21 / 1MClaude Opus 4 1Anthropic · $3.21 / 1MClaude Opus 4.5Anthropic · $2.50 / 1MClaude Opus 4.5 RpAnthropic · $3.00 / 1MClaude Opus 4.6Anthropic · $2.50 / 1MClaude Opus 4.6 RpAnthropic · $2.50 / 1MClaude Opus 4.7Anthropic · $2.50 / 1MClaude Opus 4.8Anthropic · $2.50 / 1M
Claude Sonnet 4 20250514 — frequently asked questions
- How much does Claude Sonnet 4 20250514 cost?
- Claude Sonnet 4 20250514 is billed per generation rather than per token. See the pricing page for the current rate.
- What is the context window of Claude Sonnet 4 20250514?
- Claude Sonnet 4 20250514 supports a context window of up to 200K tokens. It can return up to 64K tokens in a single response.
- What can Claude Sonnet 4 20250514 do?
- Claude Sonnet 4 20250514 supports Vision, Tool calling, Reasoning, Documents, Prompt caching.
- Is Claude Sonnet 4 20250514 free to use?
- Claude Sonnet 4 20250514 is a paid, pay-as-you-go model — no subscription, you are only charged for usage.
- How do I use Claude Sonnet 4 20250514 via the API?
- Claude Sonnet 4 20250514 is OpenAI-compatible. Point any OpenAI SDK at https://api.airforce/v1 and pass the model ID claude-sonnet-4-20250514 with your Api.Airforce API key.
- Who makes Claude Sonnet 4 20250514?
- Claude Sonnet 4 20250514 is Anthropic's chat model, served through the unified Api.Airforce gateway alongside 100+ other models.
Loading live metrics…
Loading live metrics…
Loading live metrics…
Use Claude Sonnet 4 20250514 via the API
OpenAI-compatible — point any OpenAI SDK at https://api.airforce/v1 and pass claude-sonnet-4-20250514 as the model.
cURL
curl https://api.airforce/v1/chat/completions \
-H "Authorization: Bearer $AIRFORCE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-sonnet-4-20250514",
"messages": [{ "role": "user", "content": "Hello!" }]
}'Python
from openai import OpenAI
client = OpenAI(base_url="https://api.airforce/v1", api_key="$AIRFORCE_API_KEY")
r = client.chat.completions.create(
model="claude-sonnet-4-20250514",
messages=[{"role": "user", "content": "Hello!"}],
)
print(r.choices[0].message.content)JavaScript
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.airforce/v1", apiKey: process.env.AIRFORCE_API_KEY });
const r = await client.chat.completions.create({
model: "claude-sonnet-4-20250514",
messages: [{ role: "user", content: "Hello!" }],
});
console.log(r.choices[0].message.content);