Alla modellerchatClaude Sonnet 5

Claude Sonnet 5

av AnthropicPremium

Testa på Kunya
chat

Claude Sonnet 5

Previous Sonnet — prefer Claude Sonnet 5.5 for speed and cost per task

Modell-ID:claude-sonnet-5

API-dokumentation

Generate chat completions with this model.

POST/api/v1/chat/completions
GET /api/v1/models?type=chat
Request body
{
  "model": "claude-sonnet-5",
  "messages": [
    {
      "role": "user",
      "content": "Hello!"
    }
  ],
  "stream": false,
  "thinking": true,
  "max_tokens": 4096
}
cURL-exempel
curl -X POST https://kunya.ai/api/v1/chat/completions \
  -H "Authorization: Bearer kunya_YOUR_API_KEY" \
  -H "Content-Type: application/json"
  -d '{"model":"claude-sonnet-5","messages":[{"role":"user","content":"Hello!"}],"stream":false,"thinking":true,"max_tokens":4096}'

Anteckningar

  • •OpenAI-compatible endpoint — works with any Kunya API key.
  • •Set `"stream": true` for server-sent events.
  • •Supports vision: pass image URLs in message content as `{ "type": "image_url", "image_url": { "url": "..." } }`.
  • •Supports tool calling via the `tools` parameter.

Priser

Indata$3.9 per 1M tokens
Utdata$19.5 per 1M tokens
Kontextfönster1000K

Funktioner

Streaming Ja
Vision Ja
Resonemang Ja
Verktyg Ja
LeverantörAnthropic
Testa på Kunya

Rankningar

Overall#2
Programming#3

Liknande modeller

Claude Fable 5.1

Anthropic

Latest Fable — long-running agentic coding, knowledge work, and research with 1M context and 75% cheaper cache reads

API-dokumentation

Claude Opus 4.5

Anthropic

Previous premium model with maximum intelligence

API-dokumentation

Step 5 Preview

StepFun

StepFun flagship agentic MoE (27B active) — sparse experts, image & video input, tool use, 1M context

API-dokumentation

Kimi K3.1 Pro

Moonshot

Moonshot pro-tier flagship with 1M context, native vision and video input, tool calling, and reasoning for complex agentic and knowledge work

API-dokumentation