Claude Sonnet 5 Medium API — 실시간 요금, 사양 및 SDK 연동 가이드

Technical Summary & Live Pricing

API Store Hub에서 Claude Sonnet 5 Medium API(apistorehub/claude-sonnet-5-medium)를 27,500 ST/1M 토큰부터 호출하세요 · 1M context. /v1/messages(Anthropic Messages API & OpenAI Compatible) 지원, 투명한 ST 선불 결제 및 cURL·Python·TypeScript 예제 제공.

Model Name
Claude Sonnet 5 Medium
Primary Model ID
apistorehub/claude-sonnet-5-medium
Model Family
Anthropic Claude
Starting Price
27,500 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

Claude Sonnet 5 Medium
Model IDLaneBilling UnitPrice (ST / VND)Min/RequestContext WindowMax OutputFeatures
apistorehub/claude-sonnet-5-mediumAWS High-Speed1M tokens27,500 ST/1M tok300 ST1M128KAWS, Premium, Streaming, Vision, Tool use, Reasoning, Coding, 1M context, Anthropic API

Practical Cost Estimator (ST / VND)

Token VolumeEstimated Cost (ST)VND Equivalent
10,000 tokens (10K)275 ST275 VNĐ
100,000 tokens (100K)2,750 ST2,750 VNĐ
1,000,000 tokens (1M)27,500 ST27,500 VNĐ
10,000,000 tokens (10M)275,000 ST275,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":"apistorehub/claude-sonnet-5-medium","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="apistorehub/claude-sonnet-5-medium",
    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: "apistorehub/claude-sonnet-5-medium",
  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="apistorehub/claude-sonnet-5-medium"

Model FAQ

How much does Claude Sonnet 5 Medium API cost on API Store Hub?
Claude Sonnet 5 Medium is live across 1 lane variant(s) starting from 27,500 ST/1M 토큰 (1 VND = 1 ST), settled accurately to actual usage.
What context window and protocol does Claude Sonnet 5 Medium support?
Claude Sonnet 5 Medium (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 5 Medium 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="apistorehub/claude-sonnet-5-medium", and authenticate with a sk-ash- key.
Does Claude Sonnet 5 Medium 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.