BazaarLinkBazaarLink
Sign in

Claude Sonnet 4 API Pricing & Quick Start

Claude Sonnet 4 significantly enhances the capabilities of its predecessor, Sonnet 3.7, excelling in both coding and reasoning tasks with improved precision and controllability. Achieving state-of-the-art performance on SWE-bench (72.7%),...

Intelligence#174 / 573
26
Artificial Analysis Intelligence Index
Speed#166 / 586
0.0
Output tokens per second (median)
Input Price#532 / 586
$3.00NT$ 97
USD / 1M tokens
Output Price#524 / 586
$15.00NT$ 486
USD / 1M tokens
First-token latency#1 / 586
0.00s
Time to first token (AA median)
ProviderAnthropic
ReleasedMay 2025
Model IDanthropic/claude-sonnet-4

Technical specifications

Context window
1M tokens
Reasoning
Yes
Input
ImageTextFile
Output
Text

Pricing comparison

BazaarLink retail price alongside AA's observed market standard.

BazaarLink price our site

Input$3.00NT$ 97
Output$15.00NT$ 486
Cache read$0.30NT$ 10
Cache write$3.75NT$ 121
3:1 blended (est.)$6.00NT$ 194
All prices per 1M tokens. Supports TWD credit card / official invoice.

Market reference Artificial Analysis

Input$3.00
Output$15.00
Cache readAA not tracked
Cache writeAA not tracked
3:1 blended$6.00
✓ Matches market reference — BazaarLink does not mark up.
Source: artificialanalysis.ai

Independent benchmarks

Scores below come from Artificial Analysis, an independent third party. BazaarLink does not participate in the testing.

Intelligence 26
Coding
Math 38
MMLU 84
GPQA 68
This modelCategory leader
Overall intelligence
#174out of 573 models
Aggregated across academic benchmarks
Math reasoning
#164out of 269 models
AIME / MATH-500 / SciCode
Time to first token
🥇
#1out of 586 models
AA 全球 p50:0.00 秒
Intelligence
26
Mid-tier
This model
26
Category leader
61
Median
15
Math
38
Mid-tier
This model
38
Category leader
99
Median
53
MMLU Pro
84%
This model
84%
Category leader
90%
Median
75%
GPQA
68%
This model
68%
Category leader
94%
Median
69%
LiveCodeBench
45%
This model
45%
Category leader
42%
Median
42%
HLE
4%
This model
4%
Category leader
53%
Median
7%
SciCode
37%
This model
37%
Category leader
60%
Median
33%
IFBench
45%
This model
45%
Category leader
83%
Median
44%
τ²-Bench Telecom
52%
This model
52%
Category leader
99%
Median
46%
AA-LCR
44%
This model
44%
Category leader
76%
Median
40%
Terminal-Bench Hard
27%
This model
27%
Category leader
66%
Median
14%

Top 5 — CodingCoding Index leaderboard

1GPT-5.6 Sol (xhigh)openai/gpt-5-6-sol-xhigh78$5 / $30
4GPT-5.6 Sol (high)openai/gpt-5-6-sol-high77$5 / $30
5Claude Opus 5 (Adaptive Reasoning, Xhigh Effort)anthropic/claude-opus-5-xhigh77$5 / $25
AASource: Artificial Analysis · Independent third-party evaluation; not influenced by BazaarLinkView full evaluation on AA →

Quick Start

Use Claude Sonnet 4 via BazaarLink API — just change the base_url:

Python
from openai import OpenAI

client = OpenAI(
    base_url="https://bazaarlink.ai/api/v1",
    api_key="sk-bl-YOUR_API_KEY",
)

response = client.chat.completions.create(
    model="anthropic/claude-sonnet-4",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)
TypeScript
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://bazaarlink.ai/api/v1",
  apiKey: "sk-bl-YOUR_API_KEY",
});

const response = await client.chat.completions.create({
  model: "anthropic/claude-sonnet-4",
  messages: [{ role: "user", content: "Hello!" }],
});
console.log(response.choices[0].message.content);

Why use Claude Sonnet 4 via BazaarLink?

  • USD billing (TWD-quoted) + unified invoices — no foreign credit card needed for Taiwan teams
  • OpenAI-compatible API — zero code changes required
  • Automatic failover — multi-provider redundancy for the same model
  • Chinese-language support — local team, instant help
Try Now← All Models

Frequently Asked Questions

What is Claude Sonnet 4?

Claude Sonnet 4 significantly enhances the capabilities of its predecessor, Sonnet 3.7, excelling in both coding and reasoning tasks with improved precision and controllability. Achieving state-of-the-art performance on SWE-bench (72.7%),...

How much does the Claude Sonnet 4 API cost?

Claude Sonnet 4 costs $3.0000 per 1M input tokens and $15.0000 per 1M output tokens when accessed through BazaarLink.

How do I use Claude Sonnet 4 with the OpenAI SDK?

Set base_url to "https://bazaarlink.ai/api/v1" and use model ID "anthropic/claude-sonnet-4". All OpenAI SDK methods (chat.completions, embeddings, streaming) work without code changes.

What is the context window for Claude Sonnet 4?

Claude Sonnet 4 supports a context window of 1,000,000 tokens.

Is Claude Sonnet 4 available for free?

Claude Sonnet 4 is a paid model. BazaarLink offers free trial credits on registration so you can test it without a credit card.

Relay integrity checks

Tested endpoints
3 runs
Independent hosts
1
Model-family fingerprint match
100%
Anomalies detected
3 runs
Data range
past 90 days

BazaarLink Probe verifies endpoints that claim to serve this model and flags behavior that differs from the reference baseline.

View the full integrity report →

Related models and links

More from this provider: Anthropic

Claude Opus 4.6Claude Sonnet 5Claude Haiku 4.5Claude Sonnet 4.5Claude Sonnet 4.6Claude Fable 5
ModelsAPI documentationAPI latency probe
Support
Support
Hi! How can we help you?
Send a message and we'll get back to you soon.