Claude Sonnet 4.6 API — актуальные цены, параметры и интеграция
Technical Summary & Live Pricing
Подключите Claude Sonnet 4.6 API (claude-sonnet-4-6) через API Store Hub от 11.800 ST/1M токенов · 1M context по протоколу /v1/messages (Anthropic Messages API & OpenAI Compatible). Прозрачная оплата ST, примеры cURL, Python и TypeScript.
- Model Name
- Claude Sonnet 4.6
- Primary Model ID
claude-sonnet-4-6- Model Family
- Anthropic Claude
- Starting Price
- 11.800 ST/1M токенов (1 VND = 1 ST)
- Context Window
- 1M tokens
- Max Output
- 128K tokens
- Protocol & Endpoint
/v1/messages— Anthropic Messages API & OpenAI Compatible- Compatible Apps & SDKs
- Claude Code, Cursor, Cline, Roo Code, OpenClaw, Anthropic SDK, OpenAI SDK, n8n
Active Lanes & Variants
| Model ID | Lane | Billing Unit | Price (ST / VND) | Min/Request | Context Window | Max Output | Features |
|---|---|---|---|---|---|---|---|
claude-sonnet-4-6 | Standard Token | 1M tokens | 11.800 ST/1M tok | 150 ST | 1M | 128K | Reasoning, Vision, Tool use, Streaming, 1M context, Thinking, Coding |
req/claude-sonnet-4-6 | Fixed Request (req/) | Per request | 1.800 ST/req | - | 1M | 128K | Reasoning, Vision, Tool use, Streaming, 1M context, Thinking, Coding |
Practical Cost Estimator (ST / VND)
| Token Volume | Estimated Cost (ST) | VND Equivalent |
|---|---|---|
| 10,000 tokens (10K) | 118 ST | 118 VNĐ |
| 100,000 tokens (100K) | 1.180 ST | 1.180 VNĐ |
| 1,000,000 tokens (1M) | 11.800 ST | 11.800 VNĐ |
| 10,000,000 tokens (10M) | 118.000 ST | 118.000 VNĐ |
| Volume | Estimated Cost (ST) | VND Equivalent |
|---|---|---|
| 10 requests | 18.000 ST | 18.000 VNĐ |
| 100 requests | 180.000 ST | 180.000 VNĐ |
| 1.000 requests | 1.800.000 ST | 1.800.000 VNĐ |
| 10.000 requests | 18.000.000 ST | 18.000.000 VNĐ |
Integration Snippets: cURL, Python, TypeScript & Anthropic / Claude Code
cURL
curl https://apistorehub.com/v1/messages \
-H "x-api-key: sk-ash-your_key" \
-H "anthropic-version: 2023-06-01" \
-H "content-type: application/json" \
-d '{"model":"claude-sonnet-4-6","max_tokens":1024,"messages":[{"role":"user","content":"Hello"}]}'Python SDK
import os
from anthropic import Anthropic
client = Anthropic(base_url="https://apistorehub.com", api_key=os.environ["API_KEY"])
msg = client.messages.create(
model="claude-sonnet-4-6",
max_tokens=1024,
messages=[{"role": "user", "content": "Hello"}],
)
print(msg.content[0].text)TypeScript SDK
import Anthropic from "@anthropic-ai/sdk";
const client = new Anthropic({ baseURL: "https://apistorehub.com", apiKey: process.env.API_KEY });
const msg = await client.messages.create({
model: "claude-sonnet-4-6",
max_tokens: 1024,
messages: [{ role: "user", content: "Hello" }],
});
console.log(msg.content);Anthropic / Claude Code & CLI
export ANTHROPIC_BASE_URL="https://apistorehub.com"
export ANTHROPIC_AUTH_TOKEN="sk-ash-your_key"
export ANTHROPIC_MODEL="claude-sonnet-4-6"Model FAQ
- How much does Claude Sonnet 4.6 API cost on API Store Hub?
- Claude Sonnet 4.6 is live across 2 lane variant(s) starting from 11.800 ST/1M токенов (1 VND = 1 ST), settled accurately to actual usage.
- What context window and protocol does Claude Sonnet 4.6 support?
- Claude Sonnet 4.6 (Anthropic Claude) provides 1M context over /v1/messages (Anthropic Messages API & OpenAI Compatible) and works with Claude Code, Cursor, Cline, Roo Code, OpenClaw, Anthropic SDK, OpenAI SDK, n8n.
- How do I integrate Claude Sonnet 4.6 with Python, TypeScript, or Claude Code?
- Set base_url to https://apistorehub.com/v1 (OpenAI SDK) or https://apistorehub.com (Anthropic SDK / Claude Code), pass model="claude-sonnet-4-6", and authenticate with a sk-ash- key.
- Does Claude Sonnet 4.6 share one ST credit balance with other AI models?
- Yes. Every model on API Store Hub shares one prepaid ST credit balance and a single API key.