Claude Sonnet 5 vs DeepSeek V4 Pro
언제 어떤 모델을 사용할까 — 벤치마크 표가 아닌 선별된 평가
둘 다 1,000,000 토큰 컨텍스트 창을 공유하고 채팅·코드·추론·툴을 지원하므로 차이는 모달리티와 비용입니다. claude-sonnet-5는 텍스트 외 이미지 입력을 받고 사고 능력을 노출하는 반면, deepseek-v4-pro는 텍스트 전용이지만 Sonnet의 128000 대비 최대 393216 출력 토큰을 허용합니다. 요금표에서는 deepseek-v4-pro가 전 항목에서 저렴합니다—입력 $1.608 대 $2, 출력 $3.216 대 $10(약 3.1배), 캐시 읽기 $0.0134 대 $0.2(약 15배). 이미지나 전환 가능한 사고가 필요하면 claude-sonnet-5를, 더 낮은 비용의 긴 텍스트 생성에는 deepseek-v4-pro를 고르세요.
가격
| Claude Sonnet 5 | DeepSeek V4 Pro | Δ | |
|---|---|---|---|
| 입력 / 1M 토큰 | $2 | $1.608 | 1.2× |
| 출력 / 1M 토큰 | $10 | $3.216 | 3.1× |
| 캐시 읽기 / 1M 토큰 | $0.2 | $0.0134 | 15× |
| 캐시 쓰기 | 1.25x (5m) / 2x (1h) | 별도 비용 없음 | — |
빌드 시점의 라이브 카탈로그 요금입니다. 각 모델 페이지에 현재 요금표가 표시됩니다.
현재 위치 — 이 청구 단위를 사용하는 모든 63개의 채팅 모델 전체의 1M 토큰당 입력 가격 (로그 스케일)
기능
| Claude Sonnet 5 | DeepSeek V4 Pro | |
|---|---|---|
| 도구 사용 | 예 | 예 |
| 사고 제어 | 설정 가능 | 설정 가능 |
| 구조화된 출력 | 예 | 예 |
| 프롬프트 캐싱 | 명시적 (접두사 직접 지정) | 암시적 (자동) |
| 캐시 수명 | 5m default, 1h option | no fixed TTL (evicted when unused) |
| 최소 캐시 접두사 | 1024 토큰 | 미공개 |
사양
| Claude Sonnet 5 | DeepSeek V4 Pro | |
|---|---|---|
| 입력 모달리티 | 텍스트 이미지 | 텍스트 |
| 출력 모달리티 | 텍스트 | 텍스트 |
| 출시일 | 2026-06-30 | 2026-04-24 |
| 지식 컷오프 | 2026-01 | — |
| 컨텍스트 윈도우 | 1M | 1M |
| 최대 출력 | 128K | 393K |
| Thinking 파라미터 |
|
|
| 허용되는 값 | thinking.type
effort
"enabled" returns 400 | thinking.type
reasoning_effort
|
| 기본값 | thinking on (adaptive) effort
| enabled, with reasoning_effort high some complex agent requests are automatically set to max |
사양은 각 공급업체의 문서를 그대로 기록한 것입니다. 공급업체가 공개하지 않은 항목은 추론하지 않고 제외했습니다. 전체 출처: Claude Sonnet 5 · DeepSeek V4 Pro
하나의 프롬프트, 두 모델 — 게이트웨이를 통해 측정됨
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
DeepSeek V4 Pro 통과 · 3 sentences
Enabling reasoning causes the model to generate a lengthy internal chain‑of‑thought before it delivers a visible answer, and we are billed for every one of those hidden reasoning tokens just as we are for the final output. In most interactions, the volume of these unseen tokens at least equals the visible response, effectively doubling the total tokens consumed per query. That doubled token consumption translates directly into a doubled per‑query cost, which is why our overall LLM bill doubled.
출력 641 tok (+545 추론) 지연 시간 11.5 s
지시 준수(정확히 세 문장 — 셀 수 있음), 독자 맞춤(CFO 어조), 그리고 아래 토큰 계량기가 드러내는 숨은 사고 과금 격차.
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
DeepSeek V4 Pro 통과 · 8/8 cases
```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 `cur = 0` and only incrementing it when two adjacent elements match, which counts the number of *additional* equal elements rather than the actual run length (which is `cur + 1`). As a result, the returned `best` is always one less than the true longest run—most obviously returning 0 for a single-element list instead of 1. […]
출력 2418 tok (+2131 추론) 지연 시간 35.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
DeepSeek V4 Pro 통과 · 5/5 fields, guidance null
{ "company": "Meridian Robotics", "quarter": "September quarter", "revenue_usd_m": 412, "growth_pct": "eleven and change", "guidance": null }
출력 1204 tok (+1153 추론) 지연 시간 19.9 s
스키마 준수(없는 필드를 지어내지 않기), 환각 압력(guidance는 명시적으로 보류됨), 그리고 구조화 출력 경로의 차이.
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
DeepSeek V4 Pro 채점할 답변 없음 · no answer text within 16,384 tokens (all of it went to thinking)
모델이 답변 텍스트를 반환하지 않았습니다 — 전체 토큰 예산이 숨겨진 사고에 소모되었습니다.
출력 8193 tok (+8192 추론) 지연 시간 106.2 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="deepseek-v4-pro", # 이 줄의 주석을 해제하고, 윗줄을 주석 처리하세요
messages=[{"role": "user", "content": "Summarize this diff"}],
reasoning_effort="medium",
)
print(resp.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://synthorai.io/v1",
apiKey: "sk-syn-...",
});
const resp = await client.chat.completions.create({
model: "claude-sonnet-5",
// model: "deepseek-v4-pro", // 이 줄의 주석을 해제하고, 윗줄을 주석 처리하세요
messages: [{ role: "user", content: "Summarize this diff" }],
reasoning_effort: "medium",
});
console.log(resp.choices[0].message.content);curl https://synthorai.io/v1/chat/completions \
-H "Authorization: Bearer sk-syn-..." \
-H "Content-Type: application/json" \
-d '{
"model": "claude-sonnet-5",
# "model": "deepseek-v4-pro", # 이 줄의 주석을 해제하고, 윗줄을 주석 처리하세요
"messages": [{"role": "user", "content": "Hello"}],
"reasoning_effort": "medium"
}'package main
import (
"context"
"fmt"
"github.com/openai/openai-go/v3"
"github.com/openai/openai-go/v3/option"
)
func main() {
client := openai.NewClient(
option.WithBaseURL("https://synthorai.io/v1"),
option.WithAPIKey("sk-syn-..."),
)
resp, _ := client.Chat.Completions.New(context.TODO(), openai.ChatCompletionNewParams{
Model: "claude-sonnet-5",
// Model: "deepseek-v4-pro", // 이 줄의 주석을 해제하고, 윗줄을 주석 처리하세요
Messages: []openai.ChatCompletionMessageParamUnion{
openai.UserMessage("Summarize this diff"),
},
ReasoningEffort: openai.ReasoningEffortMedium,
})
fmt.Println(resp.Choices[0].Message.Content)
}import com.openai.client.OpenAIClient;
import com.openai.client.okhttp.OpenAIOkHttpClient;
import com.openai.models.chat.completions.*;
import com.openai.models.ReasoningEffort;
OpenAIClient client = OpenAIOkHttpClient.builder()
.baseUrl("https://synthorai.io/v1")
.apiKey("sk-syn-...")
.build();
ChatCompletion resp = client.chat().completions().create(
ChatCompletionCreateParams.builder()
.model("claude-sonnet-5")
// .model("deepseek-v4-pro") // 이 줄의 주석을 해제하고, 윗줄을 주석 처리하세요
.addUserMessage("Summarize this diff")
.reasoningEffort(ReasoningEffort.MEDIUM)
.build());
System.out.println(resp.choices().get(0).message().content().orElse(""));FAQ
Claude Sonnet 5와(과) DeepSeek V4 Pro 중 어느 것이 더 저렴한가요?
입력 / 1m 토큰 항목에서는 DeepSeek V4 Pro이(가) 더 저렴합니다($1.608 대 $2, 1.2× 차이). 다른 항목에서는 결과가 다를 수 있습니다 — 위의 표에 전체 정보가 있으며, 실제 비용은 사용 조합에 따라 달라집니다.
두 번의 연동 과정 없이 Claude Sonnet 5와(과) DeepSeek V4 Pro를 A/B 테스트할 수 있나요?
네. 둘 다 하나의 API 키를 사용하여 동일한 OpenAI 호환 엔드포인트를 통해 제공됩니다 — 모델 문자열을 한 줄만 변경하면 전환되므로, 트래픽의 일부를 각각 라우팅하여 요금을 직접 비교할 수 있습니다.
Claude Sonnet 5 및 DeepSeek V4 Pro는 프롬프트 캐싱을 지원하나요?
네 — 두 모델 모두 캐시 읽기에 대해 입력 요금보다 낮게 청구하므로, 웜 프리픽스 워크로드는 공시된 요금보다 비용이 적게 듭니다. 정확한 캐시 읽기 행은 위의 가격표에 있습니다.