← All models
claude-sonnet-4-6
claude-sonnet-4-6·Anthropic·Text
claude-sonnet-4-6 is a text generation model from Anthropic, available through NovAPI's OpenAI-compatible API with the model ID claude-sonnet-4-6. It takes text as input and returns text. Pricing is $3 per 1M input tokens and $15 per 1M output tokens.
Pricing
Input
$3 / 1M tokens
Output
$15 / 1M tokens
Cache read
$0.3 / 1M tokens
Cache write (5 min)
$3.75 / 1M tokens
Cache write (1 hour)
$6 / 1M tokens
You are billed in credits (1 USD = 100 credits); USD is shown for reference.
Quick start
Call claude-sonnet-4-6 through the Anthropic Messages endpoint POST /v1/messages. Set model to claude-sonnet-4-6 and send your API key as a Bearer token in the Authorization header (the x-api-key header works too). Other protocols are available on the API tab.
import anthropic
client = anthropic.Anthropic(base_url="https://api.novapi.ai", api_key="sk-...")
message = client.messages.create(
model="claude-sonnet-4-6",
max_tokens=1024,
messages=[{"role": "user", "content": "Explain quantum entanglement in three sentences."}],
)
print(message.content[0].text)Quick answers
- How much does claude-sonnet-4-6 cost?
- Pricing is $3 per 1M input tokens and $15 per 1M output tokens. Prices are in USD (1 USD = 100 credits) and come from the live model catalog (https://api.novapi.ai/v1/models), the same source as the pricing page; any account discount applies at billing.
- How do I call claude-sonnet-4-6 through NovAPI?
- Send a request to https://api.novapi.ai/v1/messages with model set to "claude-sonnet-4-6" and your API key as a Bearer token in the Authorization header.
- What inputs and outputs does claude-sonnet-4-6 support?
- It takes text as input and returns text (from the architecture field of the model catalog).