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

Claude Sonnet 5 vs GLM-5

vs

언제 어떤 모델을 쓸까

claude-sonnet-5는 텍스트와 이미지 입력을 받고 1,000,000 토큰 컨텍스트 창을 가져 glm-5의 200000의 다섯 배이므로, 이미지나 매우 긴 프롬프트에는 claude-sonnet-5를 고르세요. 요금표에서는 glm-5가 더 저렴한 쪽으로 입력 $1 / 출력 $3.2 대 $2 / $10, 입력 약 2배, 출력 3.1배 저렴하며 캐시 읽기는 둘 다 $0.2로 같습니다. 둘 다 사고를 끌 수 있고 glm-5의 최대 출력은 131072 토큰으로 128000보다 약간 큽니다. 대량의 텍스트 전용 채팅·코드·도구 작업에는 glm-5를 고르세요.

벤치마크

평균 상회최고 점수Claude Sonnet 54 / 221 / 22GLM-515 / 522 / 52
Claude Sonnet 5 GLM-5 측정된 다른 모델 다른 모델 평균 ★ 더 높은 점수를 낸 모델 없음
SWE-Bench Pro
N/A
55.1%
BioMysteryBench hard
34.1%
N/A
OSWorld 2.0 Partial score, batch tool enabled
42.6%
N/A
Cybergym
N/A
43.2%
Finance Agent v2
53.9%
N/A
Harvey Lab-AA
90.1%
N/A
GPQA Diamond
N/A
86%
BrowseComp
N/A
62%
LVBench
68.5%
N/A

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

가격

Claude Sonnet 5 GLM-5 Δ
입력 / 1M 토큰 $2 $1 2×
출력 / 1M 토큰 $10 $3.2 3.1×
캐시 읽기 / 1M 토큰 $0.2 $0.2 =
캐시 쓰기 1.25x (5m) / 2x (1h) - -

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

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

Claude Sonnet 5 · $2 GLM-5 · $1
$0.05 · Qwen3 VL Flash $30 · GPT-5.4 Pro

기능

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

사양

Claude Sonnet 5 GLM-5
입력 모달리티 텍스트 이미지 텍스트
출력 모달리티 텍스트 텍스트
출시일 2026-06-30 2026-02-12
지식 컷오프 2026-01 -
컨텍스트 윈도우 1M 200K
최대 출력 128K 131K
사고 파라미터
  • thinking.type "adaptive"
  • output_config.effort
thinking.type
허용 값
thinking.type
  • adaptive
  • disabled
effort
  • low
  • medium
  • high
  • xhigh
  • max

"enabled" returns 400

thinking.type
  • enabled
  • disabled
기본값

thinking on (adaptive)

effort
  • high
enabled, and on GLM-5 the model automatically determines whether to think

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

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

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

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

GLM-5 통과 · 3 sentences

Enabling reasoning forces the model to perform multiple hidden steps to "think" through a problem, drastically increasing the volume of data processed per query compared to a standard response. Because our billing is directly tied to this processing volume, the additional computational work required for higher accuracy has proportionally doubled our consumption. Essentially, the spike reflects a trade-off where we are paying a higher variable cost to secure significantly better analytical outcomes.

출력 1393 tok (+1308 사고) 지연 시간 36.0 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 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

GLM-5 통과 · 8/8 cases

Here is the fixed code: ```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 ``` **Explanation:** The bug stems from initializing `best` and `cur` to zero, which causes the function to count the number of *transitions* between adjacent elements rather than the total number of items in the run, resulting in a return value that is always one less than the actual length (reporting 0 for a single element and 1 for a pair). By initializing the counters to 1 and resetting `cur` to 1 when a streak breaks, the logic correctly counts the items themselves; adding an explicit check for an empty list ensures the function handles the zero-element edge case correctly.

출력 2907 tok (+2694 사고) 지연 시간 73.7 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 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

GLM-5 통과 · 5/5 fields, guidance "withheld pending the Q4 close"

```json { "company": "Meridian Robotics", "quarter": "September quarter", "revenue_usd_m": 412, "growth_pct": 11, "guidance": "withheld pending the Q4 close" } ```

출력 3620 tok (+3561 사고) 지연 시간 91.8 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 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

GLM-5 통과 · 119 words, 0 banned, 1 question

We are thrilled to introduce Global Prompt Caching, a powerful new capability within our API gateway designed to optimize your AI operations. By intelligently storing prompt responses across every supported provider, this feature drastically reduces latency and cuts operational costs. Instead of processing identical requests repeatedly, our system serves cached results instantly, ensuring consistent performance even during high-traffic periods. Why pay full price for repeated inference on the same inputs? This update gives developers fine-grained control over cache lifetimes and hit rates, allowing for predictable budgeting and faster application response times. You can activate this functionality directly in your dashboard settings today. Start maximizing your efficiency now and deliver a snappier experience to your end-users without unnecessary API expenditure.

출력 715 tok (+571 사고) 지연 시간 18.9 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-sonnet-5",
    # model="glm-5",  # 이 줄의 주석을 해제하고, 윗줄을 주석 처리하세요
    messages=[{"role": "user", "content": "Summarize this diff"}],
    reasoning_effort="medium",
)
print(resp.choices[0].message.content)

API 키 받기 →

자주 묻는 질문

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

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

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

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

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

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

관련 비교

직접 측정한 자료