LiveLLMAPI
Models / Claude Sonnet 5

Claude Sonnet 5

Sonnet 5 is Anthropic's most capable Sonnet-class model, with frontier performance across coding, agents, and professional work.

model: claude-sonnet-5
1M context reasoning tool calling coding vision
Pay-as-you-go pricing Live
Input / 1M
$2
Output / 1M
$10
Cached input reads (0.1×) $0.2 / 1M
$1 buys (~1K in / 500 out) ~142 requests
Web search (:online) Supported

No monthly fee · credits never expire · set spend caps anytime

Cost estimator

Estimate your exact pay-as-you-go spend before shipping.

Cost / request
—
Estimated monthly
—
Total tokens / month
—

Drop-in integration

OpenAI-compatible endpoint at https://api.livellmapi.com/v1

from openai import OpenAI

client = OpenAI(
    base_url="https://api.livellmapi.com/v1",
    api_key="YOUR_LIVELLMAPI_KEY",
)

resp = client.chat.completions.create(
    model="claude-sonnet-5",
    messages=[{"role": "user", "content": "Explain consistent hashing in 3 bullets."}],
)
print(resp.choices[0].message.content)

Specifications

Model ID claude-sonnet-5
Context window 1,000,000 tokens (1M)
Input modalities text, image
Output modalities text
Released Jun 30, 2026
Billing Pay-as-you-go (micro-USD metering)

Capabilities & parameters

Streaming (SSE) Yes
Prompt caching 0.1× read
Tool calling Yes
Vision input Yes
Structured JSON Yes
Web search :online
Supported request parameters
temperaturetop_pmax_tokensstreamstopseedpresence_penaltyfrequency_penaltyresponse_formattoolstool_choiceparallel_tool_calls

Compare similar models

Comparable pricing and capabilities — swap with a one-line model ID change.

View all models →