Claude Sonnet 4.6
anthropic/claude-sonnet-4.6Sonnet 4.6 is Anthropic's most capable Sonnet-class model yet, with frontier performance across coding, agents, and professional work. It excels at iterative development, complex codebase navigation, end-to-end project management with memory, polished document creation, and confident computer use for web QA and workflow automation.
Daha fazla oku- Girdi fiyatı
- $2.55
$3.00USD / 1M token - Çıktı fiyatı
- $12.75
$15.00USD / 1M token - Önbellek okuma
- $0.26
$0.30USD / 1M token - Önbellek yazma
- $3.19
$3.75USD / 1M token - Bağlam penceresi
- 1M
- Maks. çıktı
- 128K
Teknik özellikler
- Girdi
- Metin, görsel
- Çıktı
- Metin
Bu model hakkında
Sonnet 4.6 is Anthropic's most capable Sonnet-class model yet, with frontier performance across coding, agents, and professional work. It excels at iterative development, complex codebase navigation, end-to-end project management with memory, polished document creation, and confident computer use for web QA and workflow automation.
Modeli deneyin
Oynatma Alanı
Bu modeli denemek için bir istem yazın. Kullanım, gösterilen fiyatlar üzerinden ücretlendirilir.
Bir istem deneyin
Bir görsel ekleyin (isteğe bağlı)
Yanıtınız burada görünecek
Bir örnek seçin veya bir istem yazın, ardından Çalıştır'a tıklayın.
Geliştirmeye başlayın
İlk isteğinizi gönderin
Birleşik kimlik doğrulama ve kullanım takibi sunan desteklenen API'lerden birini seçin.
curl -X POST "https://api.sandbase.ai/v1/chat/completions" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "anthropic/claude-sonnet-4.6",
"messages": [
{
"role": "user",
"content": "Hello"
}
],
"max_tokens": 2048
}'Aşağıdaki alanlar Chat Completions API'sini açıklar. Yukarıdaki örnekte gösterildiği gibi, Messages API sağlayıcının yerel istek ve yanıt biçimini kullanır.
Giriş Şeması
10 parametre · 1 zorunlu · 9 isteğe bağlı
| Parametre | Tür | Zorunlu | Açıklama |
|---|---|---|---|
messages | object[] | Zorunlu | Conversation so far, as an ordered list of messages with a role (system, user or assistant) and content. |
stop | string[] | İsteğe bağlı | Sequences where the model stops generating. The stop sequence is not included in the output. |
tools | array | İsteğe bağlı | Functions the model may call. Each tool declares a name, description and JSON Schema parameters. |
top_k | integer | İsteğe bağlı | Only sample from the k most likely next tokens. · Min: 0 |
top_p | number | İsteğe bağlı | Nucleus sampling: only tokens within this cumulative probability are considered. · Min: 0 · Maks: 1 |
stream | boolean | İsteğe bağlı | Stream the response as server-sent events instead of returning it in one piece. · Varsayılan: false |
max_tokens | integer | İsteğe bağlı | Maximum number of tokens to generate in the response. · Maks: 128000 |
temperature | number | İsteğe bağlı | Sampling temperature. Higher values make output more random; lower values make it more focused. · Min: 0 · Maks: 2 · Varsayılan: 1 |
tool_choice | string | İsteğe bağlı | Controls tool use: "auto", "none", "required", or a specific function. |
response_format | object | İsteğe bağlı | Output format, for example { "type": "json_object" } or a JSON Schema for structured output. |
Çıkış Şeması
| Alan | Tür | Açıklama |
|---|---|---|
id | string | Tamamlamanın benzersiz tanımlayıcısı |
object | string | Nesne türü, örn. "chat.completion" |
model | string | Tamamlamada kullanılan model |
choices | array | Tamamlama seçeneklerinin listesi |
choices[].message.content | string | Oluşturulan metin içeriği |
choices[].finish_reason | string | Oluşturmanın durmasının nedeni |
usage.prompt_tokens | integer | İstemdeki token sayısı |
usage.completion_tokens | integer | Tamamlamadaki token sayısı |
usage.total_tokens | integer | Kullanılan toplam token sayısı |
Sorular
SSS
Anthropic Claude Sonnet 4.6'i SandBase üzerinden nasıl çağırırım?
Bir SandBase API anahtarı oluşturun, ardından model kimliği "anthropic/claude-sonnet-4.6" ile https://api.sandbase.ai adresindeki Chat Completions API (/v1/chat/completions) veya Messages API (/v1/messages) uç noktalarına istek gönderin. Bu sayfadaki istek örnekleri tam yükü gösterir.
Anthropic Claude Sonnet 4.6'in fiyatı nedir?
Mevcut %15 indirimle 1M giriş tokenı başına $2.55 ve 1M çıkış tokenı başına $12.75 (liste fiyatı $3 / $15), istek başına SandBase bakiyenizden tahsil edilir.
Anthropic Claude Sonnet 4.6'in bağlam penceresi nedir?
1M token bağlam, yanıt başına en fazla 128K çıkış tokenı ile.
Anthropic Claude Sonnet 4.6 hangi özellikleri destekliyor?
Anthropic Claude Sonnet 4.6, görsel algılama (görüntü girişi), akıl yürütme, fonksiyon çağrısı, yapılandırılmış çıktı destekler. Tam liste için yukarıdaki Teknik Özellikler bölümüne bakın.
Ayrı bir Anthropic hesabına ihtiyacım var mı?
Hayır. Tek bir SandBase API anahtarı ve bakiyesi size Anthropic Claude Sonnet 4.6 ve katalogdaki diğer modellere erişim sağlar; Anthropic için ayrıca kayıt olmanız gerekmez.
