← All Models
Claude Sonnet 4.6
Anthropic's balanced model. Strong reasoning and coding at a fraction of Opus cost, with 1M token context.
Web Search
Web Fetch
Code Execution
Specifications
| Provider | Anthropic |
| Category | Text |
| Context window | 200K tokens |
Pricing (Starter tier)
390.00 credits / 1M input tokens
1,950.00 credits / 1M output tokens
Higher tiers get volume discounts. See tiers
Quick Start
curl -X POST https://query.genx.sh/api/v1/generate \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-sonnet-4-6",
"params": {
"prompt": "Write a Python function to merge two sorted lists",
"max_tokens": 512
}
}'
Example Request Body
// POST /api/v1/generate
{
"model": "claude-sonnet-4-6",
"params": {
"prompt": "Write a Python function to merge two sorted lists",
"max_tokens": 512
}
}