Claude Sonnet 4.6

API identifier: claude-sonnet-4-6

Prices per 1M tokens

Input tokens
₽16.54
Output tokens
₽82.72

Limits

Context
1M tokens
Max response
64K tokens

Capabilities

Tool calling
Yes
Reasoning level
Yes

Supported parameters

  • max_tokens
  • max_completion_tokens
  • temperature
  • top_p
  • presence_penalty
  • frequency_penalty
  • seed
  • user
  • tools
  • tool_choice
  • parallel_tool_calls
  • reasoning_effort
  • reasoning

Example request

Example calculation

A request with 2,000 input and 500 output tokens costs ₽0.0744.

Caching not included. The actual cost comes back in the API response in the usage.cost field.

shell
curl https://llm.liho.dev/v1/chat/completions \
  -H "Authorization: Bearer $LIHO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-sonnet-4-6",
    "max_tokens": 512,
    "messages": [
      {"role": "user", "content": "Explain what an API gateway is in two sentences."}
    ]
  }'