New API
  • Home
  • Docs
  • Console
  • AgentAgentHotHot
  • Partners
Sign in
Model/Details
Loading…
Home / Pricing / Models / claude-sonnet-5

claude-sonnet-5 API Pricing & Access

Claude Sonnet 5 comes with a default 1 million-token context window (1 million tokens serves as both its default and maximum capacity; no variants with smaller context limits are available). It features a maximum output token limit of 128k, adaptive reasoning capabilities, and retains all the same tooling and platform functionalities as Claude Sonnet 4.6—with the sole exception of the Priority Tier feature, which is unsupported on Claude Sonnet 5.

Pricing by group

USD per 1M tokens. Price = base price × group ratio.

GroupInputOutputCache readCache write (5 min)Cache write (1 h)About this group
Kiro-Claude-1$0.1765$0.8824$0.0176$0.2206$0.353great discounts, superior long-context comprehension
Claude-Code-1$0.3529$1.765$0.0353$0.4412$0.7059Maximum discount, may queue at peak hours
Claude-Code-2$0.5882$2.941$0.0588$0.7353$1.176moderate discount, moderate operational stability
Azure-Claude-1$0.8824$4.412$0.0882$1.103$1.765Attractive discount, excellent operational stability
Claude-Code-3$0.90$4.50$0.09$1.125$1.80Minor discount, excellent operational stability
AWS-Bedrock-2$1.176$5.882$0.1176$1.471$2.353Minor discount, high-priority dedicated resource pool
AWS-Claude-2$1.765$8.824$0.1765$2.206$3.529Moderate discount, moderate operational stability
Anthropic-Claude-1$2.20$11.00$0.22$2.75$4.40priority access to newly released features, full capabilities for long context
AWS-Claude-3$2.20$11.00$0.22$2.75$4.40excellent operational stability, full-featured dedicated channel

Snapshot taken at build time on 2026-11-26. Actual charges follow the live price table above and your console.

Capabilities

Provider
Anthropic
Features
Conversation · Image Recognition · Tools
API formats
Anthropic Messages · OpenAI Chat Completions

Quick start

Base URL: https://api.openlux.ai/v1. Create an API key in the console and replace YOUR_API_KEY in the examples.

curl · /v1/chat/completions
curl https://api.openlux.ai/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-sonnet-5",
    "messages": [{"role": "user", "content": "Hello"}]
  }'
Python · OpenAI SDK
from openai import OpenAI

client = OpenAI(base_url="https://api.openlux.ai/v1", api_key="YOUR_API_KEY")
resp = client.chat.completions.create(
    model="claude-sonnet-5",
    messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)
curl · /v1/messages (Anthropic)
curl https://api.openlux.ai/v1/messages \
  -H "x-api-key: YOUR_API_KEY" \
  -H "anthropic-version: 2023-06-01" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-sonnet-5",
    "max_tokens": 1024,
    "messages": [{"role": "user", "content": "Hello"}]
  }'

Full parameters in the API docs

FAQ

How do I call the claude-sonnet-5 API?

Sign up for OpenLux, create an API key in the console, set the base URL to https://api.openlux.ai/v1 and use claude-sonnet-5 as the model name. The model also supports the Anthropic format, so you can call /v1/messages directly.

How is the claude-sonnet-5 API billed?

Pay as you go: input and output tokens are priced separately, and the price depends on the group you choose. At build time the lowest public group was $0.1765 per 1M input tokens and $0.8824 per 1M output tokens. Top-ups start at $1.

How is prompt caching billed for claude-sonnet-5?

Cache hits (cache reads) cost 0.1× the input price; 5-minute cache writes cost 1.25× the input price; 1-hour cache writes cost 2× the input price.

Is there a Batch API?

Not at the moment. OpenLux has no Batch API; all requests are real-time calls billed as such. For bulk jobs, send concurrent requests to the regular endpoints.

Which API formats does claude-sonnet-5 support?

Anthropic Messages, OpenAI Chat Completions.

More

More Anthropic models

  • claude-opus-5-5
  • claude-fable-5-2
  • claude-sonnet-5-5
  • claude-opus-4-8
  • claude-fable-5-1
  • claude-opus-4-6
  • claude-opus-5
  • claude-haiku-5-5
  • claude-sonnet-4-6
  • claude-fable-5
  • claude-opus-4-7
  • claude-haiku-4-5-20251001

Related articles

  • Kimi K3.1 Pro vs Claude Sonnet 5.5: 8 Points, 2.7x per Task
  • Model directory
  • All model pricing
  • Sign up and get an API key

Other languages: 中文 · 日本語 · 한국어

New API

Models

  • Text
  • Image
  • Media
  • Retrieval

Company

  • About
  • Partners
  • PersonalHot

Legal

  • Terms
  • Privacy
  • Usage
  • Disclaimer
  • Refunds
  • DPA
  • Compliance
  • Imprint

Docs

  • API
  • AI News
  • Announcements

More

  • Agent

One API for mainstream AI models

OpenLux©2026COGNIS AI PTE. LTD. All rights reserved

New API

One API for mainstream AI models

Models

  • Text
  • Image
  • Media
  • Retrieval

Company

  • About
  • Partners
  • PersonalHot

Docs

  • API
  • AI News
  • Announcements

More

  • Agent

OpenLux©2026COGNIS AI PTE. LTD. All rights reserved

Privacy | Terms | Usage | Disclaimer | Refunds | DPA | Compliance | Imprint |