Claude Sonnet 5 API
Claude Sonnet 5 is a chat model by Anthropic, available through Felo API. Its context window is 1,000,000 tokens.
Updated:
MODEL ID
- Input / Output
- $2 / $10/ 1M tokens
- Released
- Context
- 1M
- Max output
- 128K
- Recommended API
- messages
- Input
- Text / Image / File
- Output
- Text
Providers
Best priceCompare API prices across providers. Select a provider to view all charges and conditions.
| Uptime | ||||
|---|---|---|---|---|
| $2 | $10 | $0.2 | ||
Historical observations are not a live health check. Missing data does not mean an outage.
What $10 buys
- Input
- 5M tokens
- Output
- 1M tokens
Estimated from current input and output prices, before discounts.
Reasoning
- Default effort
- high
- Enabled by default
- Yes
- Always enabled
- No
- Available effort levels
- max / xhigh / high / medium / low / none
Get your API key
Create a key from your Felo API Platform account and set it as an environment variable.
export FELO_API_KEY="YOUR_API_KEY"Make your first request
Use this model ID with the Felo API Platform endpoint. Optional request headers such as X-Request-Id can help troubleshooting.
claude-sonnet-5This model is reasoning-capable. If your selected protocol and model route expose reasoning controls, preserve the returned reasoning metadata when continuing a conversation.
MessagesPOST https://openapi.felo.ai/api/v1/messages
const response = await fetch("https://openapi.felo.ai/api/v1/messages", {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.FELO_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"model": "claude-sonnet-5",
"max_tokens": 1024,
"messages": [
{
"role": "user",
"content": "Hello"
}
]
}),
});
if (!response.ok) throw new Error(await response.text());
console.log(await response.json());Using third-party SDKs
Use compatible SDKs by setting baseURL to https://openapi.felo.ai/api/v1. Use the Anthropic-compatible base URL for Claude-style clients. https://openapi.felo.ai/api.
Enable streaming
Add stream: true to receive responses as server-sent events.
curl -N https://openapi.felo.ai/api/v1/messages \
-H "Authorization: Bearer $FELO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-sonnet-5",
"max_tokens": 1024,
"messages": [
{
"role": "user",
"content": "Hello"
}
],
"stream": true
}'Parameters
modelstringclaude-sonnet-5Public model ID to call.max_tokensinteger—Maximum generated tokens.messagesarray—Conversation messages for Chat Completions.stop———toolsarray—Tool calling definitions following compatible schema.reasoning———verbosity———tool_choicestring or object—Controls whether a tool should be called.response_formatobject—Request structured output when supported.reasoning_effort———include_reasoning———structured_outputs———max_completion_tokens———Frequently asked questions
What is Claude Sonnet 5?
Claude Sonnet 5 is a chat model by Anthropic, available through Felo API. Its context window is 1,000,000 tokens.
How is usage billed?
Your bill depends on the provider you use, its prices and your usage. Longer inputs or other conditions may have different prices.
Related models
Claude Fable 5.2
Anthropicclaude-fable-5-2Claude Fable 5.2 is Anthropic's Mythos-class multimodal model with a 1 million token context, built for long-horizon agentic work, coding, and research.
Context
1M
Max output
128K
Input tokens
$8 / 1M tokens
Output tokens
$40 / 1M tokens
Claude Fable 5.2 (batch)
Anthropicclaude-fable-5.2:batchAnthropic's most capable generally available model, built for long-horizon agentic engineering, scientific research and large-scale batch processing with a 1 million token context.
Context
1M
Max output
128K
Input tokens
$4 / 1M tokens
Output tokens
$20 / 1M tokens
Claude Haiku 5.5
Anthropicclaude-haiku-5-5Claude Haiku 5.5 is Anthropic's smallest, fastest and cheapest Claude 5.5 model, offering a 1,000,000-token context window, image and PDF input, and an adjustable effort setting.
Context
1M
Max output
128K
Input tokens · Base rate
$0.1 / 1M tokens
Output tokens · Base rate
$0.5 / 1M tokens
Claude Sonnet 5.5
Anthropicclaude-sonnet-5-5Claude Sonnet 5.5 is Anthropic's fast, low-cost workhorse model in the Claude 5.5 family, offering a 1,000,000-token context window, image input, and benchmark results close to Claude Opus 5.5.
Context
1M
Max output
128K
Input tokens
$2 / 1M tokens
Output tokens
$10 / 1M tokens
Claude Opus 5.5
Anthropicclaude-opus-5-5Anthropic's Claude Opus 5.5 tops the Artificial Analysis Intelligence Index across all five reasoning effort levels, from low through max.
Context
1M
Max output
128K
Input tokens
$4 / 1M tokens
Output tokens
$20 / 1M tokens
Claude Fable 5.1
Anthropicclaude-fable-5-1Claude Fable 5.1 is Anthropic's highest-tier model, offering a 1-million-token context, 128K-token output, and state-of-the-art coding and knowledge work.
Context
1M
Max output
128K
Input tokens
$10 / 1M tokens
Output tokens
$50 / 1M tokens