tbuy

claude-sonnet-5-5 API pricing & access

claude-sonnet-5-5 API pricing: $2 per 1M tokens. Claude Sonnet 5.5 API for coding, document analysis and tool-driven workflows.

claude-sonnet-5-5 API access

Claude Sonnet 5.5 API for coding, document analysis and tool-driven workflows.

Compare supported API endpoints and capabilities, then access claude-sonnet-5-5 through the unified API gateway.

Category
text
Supported APIs
Anthropic Messages API, OpenAI Chat Completions API
API endpoints
POST /v1/messages, POST /v1/chat/completions

claude-sonnet-5-5 API pricing

Base input price
$2 per 1M tokens
Base output price
$10 per 1M tokens

Base prices are shown in USD before group-specific adjustments. Open the live pricing page for current access-group prices.

About claude-sonnet-5-5

Claude Sonnet 5.5 accepts text and images and returns text. The official context is 1M tokens, with a standard maximum output of 128K tokens.

Evaluate it for code reviews, document analysis, and multi-step tasks. Check parameter compatibility when migrating: the official API rejects non-default temperature, top_p, and top_k. Available endpoints and configured limits appear on this page.

Official model reference, checked 2026-10-11.

API pricing and model selection

Review the prices and endpoints on this page. Check your account discounts, quota and actual usage after signing in, then evaluate the selected endpoint on a small sample.

Compare models in this category ยท API integration documentation.

Use cases and prompting

Ground the analysis in evidence

Separate the goal, source material, and acceptance criteria. Request conclusions, evidence locations, and unresolved questions. For coding tasks, include a minimal reproduction and relevant interfaces.

Start with default parameters on your selected endpoint, then add the tool configuration your application needs. Preserve tool results and verify permissions and outcomes in the application.

A task to evaluate

Review this implementation against the requirements. Separate findings, file and line evidence, and checks to run. Define the scope and acceptance criteria before using tools.

Compare the output with your acceptance criteria. Record the model, endpoint, input size, elapsed time and actual usage; change one condition at a time.

How to call claude-sonnet-5-5

claude-sonnet-5-5 is served through tbuy's unified gateway. Existing OpenAI or Anthropic SDK code keeps working: point base_url at https://modelsok.com and use your tbuy API key.

curl (OpenAI-compatible)

curl https://modelsok.com/v1/chat/completions \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "claude-sonnet-5-5", "messages": [{"role": "user", "content": "Hello"}]}'

Python (openai SDK)

from openai import OpenAI

client = OpenAI(base_url="https://modelsok.com/v1", api_key="YOUR_API_KEY")
response = client.chat.completions.create(
    model="claude-sonnet-5-5",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)

Python (anthropic SDK)

from anthropic import Anthropic

client = Anthropic(base_url="https://modelsok.com", api_key="YOUR_API_KEY")
message = client.messages.create(
    model="claude-sonnet-5-5",
    max_tokens=1024,
    messages=[{"role": "user", "content": "Hello"}],
)
print(message.content[0].text)

Frequently asked questions about claude-sonnet-5-5

What is claude-sonnet-5-5?

Claude Sonnet 5.5 API for coding, document analysis and tool-driven workflows.

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

Create an API key with access to claude-sonnet-5-5, then use the exact model ID and a supported endpoint from the API access section. Request fields depend on the selected endpoint.

How is claude-sonnet-5-5 priced?

Pricing depends on the selected provider group and the model billing unit. Refer to the current input, output, request, or media prices in the pricing section.

How should I evaluate claude-sonnet-5-5 for my project?

Start with the use cases and prompting guidance on this page, then evaluate the model with representative inputs from your project.

Back to AI model API pricing