신규 무료로 가입하고 10회 호출해 보세요. 최대 $1, 카드 등록 불필요.

Claude Haiku 4.5 vs Claude Sonnet 5

vs

언제 어떤 모델을 쓸까

Sonnet 5는 Haiku의 단가($2/$10 vs $1/$5)를 2배로 올리고 컨텍스트를 5배(1M vs 200K)로 확장합니다. Haiku는 Claude 라인의 지연 시간 및 가격 최저선을 유지하며, 프롬프트가 200K를 초과하거나 더 깊은 추론이 필요한 순간 Sonnet이 자연스러운 선택지입니다.

벤치마크

평균 상회최고 점수Claude Haiku 4.50 / 50 / 5Claude Sonnet 54 / 221 / 22
Claude Haiku 4.5 Claude Sonnet 5 측정된 다른 모델 다른 모델 평균 ★ 더 높은 점수를 낸 모델 없음
SWE-Bench Pro
39.5%
N/A
BioMysteryBench hard
N/A
34.1%
OSWorld-Verified
50.7%
N/A
Finance Agent v2
N/A
53.9%
Harvey Lab-AA
N/A
90.1%
HLE-Verified
N/A
31%
AutomationBench
N/A
10.7%
CharXiv (RQ) no tools
61.7%
70.1%

공급자 공개 자료: Alibaba (Qwen) Anthropic ByteDance DeepSeek Google Moonshot OpenAI Tencent Z.ai

가격

Claude Haiku 4.5 Claude Sonnet 5 Δ
입력 / 1M 토큰 $1 $2 0.5×
출력 / 1M 토큰 $5 $10 0.5×
캐시 읽기 / 1M 토큰 $0.1 $0.2 0.5×
캐시 쓰기 1.25x (5m) / 2x (1h) 1.25x (5m) / 2x (1h) -

빌드 시점에 실시간 카탈로그에서 가져온 요금입니다. 현재 요금은 각 모델 페이지에서 확인할 수 있습니다.

가격 위치: 이 과금 단위를 쓰는 채팅 모델 76개 전체의 1M 토큰당 입력 가격(로그 스케일)

기능

Claude Haiku 4.5 Claude Sonnet 5
도구 사용 지원 지원
사고 제어 설정 가능 설정 가능
구조화된 출력 지원 지원
프롬프트 캐싱 명시적(접두사 직접 지정) 명시적(접두사 직접 지정)
캐시 수명 5m default, 1h option 5m default, 1h option
최소 캐시 접두사 1024 토큰 1024 토큰

사양

Claude Haiku 4.5 Claude Sonnet 5
입력 모달리티 텍스트 이미지 텍스트 이미지
출력 모달리티 텍스트 텍스트
출시일 2025-10-15 2026-06-30
지식 컷오프 2025-02 2026-01
컨텍스트 윈도우 200K 1M
최대 출력 64K 128K
사고 파라미터
  • thinking.type "enabled"
  • budget_tokens
  • thinking.type "adaptive"
  • output_config.effort
허용 값
budget_tokens
  • at least 1,024 and below max_tokens

"adaptive" returns 400

thinking.type
  • adaptive
  • disabled
effort
  • low
  • medium
  • high
  • xhigh
  • max

"enabled" returns 400

기본값 off, with no thinking unless the request sets it

thinking on (adaptive)

effort
  • high

사양은 각 공급자의 문서에서 그대로 옮겨 적었습니다. 공급자가 공개하지 않은 항목은 추정해 채우지 않고 뺐습니다. 전체 출처: Claude Haiku 4.5 · Claude Sonnet 5

같은 프롬프트, 두 모델: 게이트웨이를 거쳐 측정

프롬프트 Explain to a CFO, in exactly three sentences, why our LLM bill doubled after we enabled reasoning. 검증 정확히 3문장

Claude Haiku 4.5 통과 · 3 sentences

# Why Your LLM Bill Doubled Reasoning models like o1 and o3 process queries through extended chains of thought before responding, consuming 5-10x more tokens internally than standard models while also charging higher per-token rates. This means both your input token usage and per-unit costs increased simultaneously—a compounding effect that easily doubles overall spend. Unless you've significantly reduced queries to other models or have very selective reasoning deployment, the math makes a doubling entirely predictable.

출력 106 tok 지연 시간 2.8 s

Claude Sonnet 5 통과 · 3 sentences

Reasoning mode works by having the model generate extended internal "thinking" steps before producing its final answer, and since we're billed on total tokens, that hidden reasoning text adds significantly to what we pay for—even though you never see it in the output. This is different from simply getting longer visible responses; the model is essentially "showing its work" behind the scenes, and complex prompts can trigger thousands of extra reasoning tokens per request. The upside is improved accuracy on complex tasks, but if we want to control costs, we should selectively enable reasoning only for queries that truly need it, rather than applying it universally.

출력 194 tok 지연 시간 4.3 s

지시 준수(정확히 세 문장이라 셀 수 있음), 독자에 맞춘 어조(CFO 대상), 아래 토큰 미터에 드러나는 숨은 사고 토큰 과금 차이를 봅니다.

프롬프트 This function is supposed to return the longest run of consecutive equal items, but callers report it is off by one on single-element inputs and misses runs that end at the last index. Fix it and explain the bug in one paragraph. 검증 수정 후 테스트 통과

Claude Haiku 4.5 통과 · 8/8 cases

# Fixed Function ```python def longest_run(xs): if not xs: return 0 best = 1 cur = 1 for i in range(1, len(xs)): if xs[i] == xs[i - 1]: cur += 1 best = max(best, cur) else: cur = 1 return best ``` # Bug Explanation The original function has two related bugs stemming from incorrect initialization and loop logic. First, `best` and `cur` start at 0, which causes single-element lists to incorrectly return 0 instead of 1—a run of one identical element should have length 1. Second, `cur` is reset to 0 (not 1) when a mismatch occurs, causing the next matching pair to be undercounted. More critically, if the longest run ends at the last index, `best` is only updated *during* the loop when a mismatch is encountered; if no mismatch follows the final run, `best` never captures it. […]

출력 310 tok 지연 시간 4.0 s

Claude Sonnet 5 통과 · 8/8 cases

## The Bug The function has two related off-by-one issues rooted in the same cause: `cur` and `best` are initialized to `0` instead of `1`, treating run lengths as the number of *matches* between adjacent elements rather than the number of *elements* in the run. This means a single-element input never enters the loop (since `range(1, 1)` is empty) and returns `0` instead of the correct answer of `1`. It also means that for any input, the run length is undercounted by exactly one — a run of 3 equal elements only produces 2 "match" increments, so `best` ends up as 2 instead of 3. The claim that it "misses runs that end at the last index" is actually a symptom of this same undercount: the logic does update `best` correctly on every iteration (including the last), but because it's counting matches instead of elements, the final reported value is always one less than the true longest run. […]

출력 536 tok 지연 시간 7.1 s

수정이 실제로 맞는지(실행되는지), 설명이 얼마나 압축적인지, 범위가 정해진 작업에서 토큰을 얼마나 효율적으로 쓰는지를 봅니다.

프롬프트 Extract a JSON object with fields {company, quarter, revenue_usd_m, growth_pct, guidance} from this text. Use null for anything not stated; add no other fields. 검증 유효한 JSON, 스키마와 정확히 일치

Claude Haiku 4.5 통과 · 5/5 fields, guidance null

```json { "company": "Meridian Robotics", "quarter": "Q3", "revenue_usd_m": 412, "growth_pct": 11, "guidance": null } ```

출력 63 tok 지연 시간 1.6 s

Claude Sonnet 5 통과 · 5/5 fields, guidance null

```json { "company": "Meridian Robotics", "quarter": "Q3", "revenue_usd_m": 412, "growth_pct": 11.5, "guidance": null } ```

출력 348 tok 지연 시간 5.3 s

스키마 준수(없는 필드를 지어내지 않는지), 환각을 유도하는 조건에서의 대응(guidance 값을 일부러 주지 않음), 구조화된 출력 경로의 차이를 봅니다.

프롬프트 Write a 120-word product announcement for an API gateway feature that caches prompts across providers. Forbidden words: "seamless", "unlock", "game-changer", "revolutionize", "empower". Exactly one sentence must be a question. 검증 120단어, 금지어 0개

Claude Haiku 4.5 통과 · 123 words, 0 banned, 1 question

# Introducing Prompt Cache Across Providers We're excited to announce our latest API gateway feature: intelligent prompt caching that works across multiple AI providers. This powerful capability stores frequently used prompts and their contexts, dramatically reducing latency and API costs for your applications. By intelligently managing cached prompts across providers like OpenAI, Anthropic, and others, you can optimize your infrastructure without changing your code. Why wait for responses when cached results can be delivered instantly? The system automatically handles cache invalidation and updates, ensuring your applications always access current information while maintaining performance gains. With support for complex multi-turn conversations and dynamic content, this feature scales seamlessly with your business needs. […]

출력 165 tok 지연 시간 3.0 s

Claude Sonnet 5 통과 · 123 words, 0 banned, 1 question

## Introducing Cross-Provider Prompt Caching We're rolling out a new caching layer for our API gateway that works across every major LLM provider you connect through it. Instead of resending identical prompts and paying full price each time, the gateway recognizes repeated requests and serves cached responses in milliseconds—regardless of whether you're routing to OpenAI, Anthropic, or Google. What does this mean for your bill and your latency? Both drop, often significantly, especially for teams running high-volume, repetitive workloads like customer support bots or batch content generation. The cache is configurable per route, with adjustable TTLs and invalidation rules, so you stay in control of freshness versus cost. Available now for all Pro and Enterprise plans. Check your dashboard to enable it today.

출력 259 tok 지연 시간 4.8 s

제약 준수(단어 수 제한, 금지어 목록, 의문문 하나), 문체의 특징, 길이 조절을 봅니다.

코드 한 줄로 모델 전환

아래 탭마다 두 모델 id가 모두 들어 있습니다. 바꿀 곳은 강조된 두 줄뿐이고, 엔드포인트, 키, 요청 형식은 그대로입니다.

from openai import OpenAI

client = OpenAI(
    base_url="https://synthorai.io/v1",
    api_key="sk-syn-...",
)

resp = client.chat.completions.create(
    model="claude-haiku-4-5",
    # model="claude-sonnet-5",  # 이 줄의 주석을 해제하고, 윗줄을 주석 처리하세요
    messages=[{"role": "user", "content": "Summarize this diff"}],
)
print(resp.choices[0].message.content)

API 키 받기 →

자주 묻는 질문

Claude Haiku 4.5 vs Claude Sonnet 5, 어느 쪽이 더 저렴한가요?

입력 / 1M 토큰 기준으로는 Claude Haiku 4.5 쪽이 더 저렴합니다($1 대 $2, 2.0배 차이). 다른 항목에서는 반대일 수 있습니다. 전체 요금은 위 표에 있으며, 실제 비용은 사용 패턴에 따라 달라집니다.

연동을 두 번 하지 않고도 Claude Haiku 4.5 vs Claude Sonnet 5 A/B 테스트를 할 수 있나요?

네. 두 모델 모두 API 키 하나로 같은 OpenAI 호환 엔드포인트에서 호출합니다. 모델 문자열 한 줄만 바꾸면 전환되므로, 트래픽 일부를 각 모델로 보내 청구 금액을 직접 비교할 수 있습니다.

Claude Haiku 4.5, Claude Sonnet 5 모두 프롬프트 캐싱을 지원하나요?

네. 두 모델 모두 캐시 읽기를 입력 요금보다 낮게 과금하므로, 같은 접두사를 반복해 쓰는 워크로드는 정가로 계산한 것보다 비용이 적게 듭니다. 정확한 캐시 읽기 요금은 위 가격표에 있습니다.

관련 비교

직접 측정한 자료