Claude Haiku 5.5 vs Gemini 3.8 Flash
언제 어떤 모델을 쓸까
둘 중 claude-haiku-5-5가 더 저렴합니다. 입력 $0.1, 출력 $0.5로 gemini-3.8-flash의 $0.75와 $3.75 대비 둘 다 7.5x 저렴하고, 캐시 읽기는 $0.01 대 $0.075입니다. 컨텍스트는 거의 같고(1000000과 1048576), 응답은 claude-haiku-5-5가 더 길게 낼 수 있어 65536 대신 128000 토큰입니다. 100000 토큰을 넘는 프롬프트에는 5x 요금을 적용하지만, 그래도 입력과 출력 모두 gemini-3.8-flash보다 낮습니다. gemini-3.8-flash는 오디오와 비디오 입력을 받지만 claude-haiku-5-5는 받지 않습니다. 대량의 텍스트·이미지 작업에는 claude-haiku-5-5를, 오디오나 비디오에는 gemini-3.8-flash를 선택하세요.
벤치마크
Claude Haiku 5.5: 공급자가 벤치마크 점수를 공개하지 않았습니다.
공급자 공개 자료: Alibaba (Qwen) Anthropic ByteDance DeepSeek Google MiniMax Moonshot OpenAI Tencent Z.ai
가격
| Claude Haiku 5.5 | Gemini 3.8 Flash | Δ | |
|---|---|---|---|
| 입력 / 1M 토큰 | $0.1 | $0.75 | 0.13× |
| 출력 / 1M 토큰 | $0.5 | $3.75 | 0.13× |
| 캐시 읽기 / 1M 토큰 | $0.01 | $0.075 | 0.13× |
| 캐시 쓰기 | 1.25x (5m) / 2x (1h) | - | - |
빌드 시점에 실시간 카탈로그에서 가져온 요금입니다. 현재 요금은 각 모델 페이지에서 확인할 수 있습니다.
가격 위치: 이 과금 단위를 쓰는 채팅 모델 78개 전체의 1M 토큰당 입력 가격(로그 스케일)
기능
| Claude Haiku 5.5 | Gemini 3.8 Flash | |
|---|---|---|
| 도구 사용 | 지원 | 지원 |
| 사고 제어 | 설정 가능 | 지원(공급자가 조절 파라미터를 공개하지 않음) |
| 구조화된 출력 | 지원 | 지원 |
| 프롬프트 캐싱 | 명시적(접두사 직접 지정) | 암시적 + 명시적 |
| 캐시 수명 | 5m default, 1h option | 미공개 |
| 최소 캐시 접두사 | 1024 토큰 | 4096 토큰 |
사양
| Claude Haiku 5.5 | Gemini 3.8 Flash | |
|---|---|---|
| 입력 모달리티 | 텍스트 이미지 | 텍스트 이미지 오디오 동영상 |
| 출력 모달리티 | 텍스트 | 텍스트 |
| 출시일 | 2026-10-07 | 2026-09-02 |
| 지식 컷오프 | 2026-06 | 2026-03 |
| 컨텍스트 윈도우 | 1M | 1M |
| 최대 출력 | 128K | 66K |
| 사고 파라미터 | output_config.effort | - |
| 허용 값 | output_config.effort
| - |
| 기본값 | medium | - |
사양은 각 공급자의 문서에서 그대로 옮겨 적었습니다. 공급자가 공개하지 않은 항목은 추정해 채우지 않고 뺐습니다. 전체 출처: Claude Haiku 5.5 · Gemini 3.8 Flash
같은 프롬프트, 두 모델: 게이트웨이를 거쳐 측정
Claude Haiku 5.5 통과 · 3 sentences
Enabling reasoning makes the model generate a long internal chain of thought before its answer, and those thinking tokens are billed as output tokens, which cost several times more than input tokens. The model often produces many times more output per request than it did without reasoning, so the per-call cost rises even when the visible answer looks about the same length. Because that extra spend scales with every request, the bill roughly doubled, and we can control it by setting reasoning budgets, using reasoning only for tasks that need it, or routing simpler requests to a non-reasoning model.
출력 332 tok (+159 사고) 지연 시간 2.9 s
Gemini 3.8 Flash 통과 · 3 sentences
When we enabled reasoning, the model began generating hidden "thinking tokens" to work through logic step-by-step before producing a final answer. Because AI vendors bill for every single token processed—visible or not—this internal deliberation dramatically inflated our billable volume per query. In short, while our total number of user requests remained flat, the cost per transaction doubled to buy higher accuracy on complex tasks.
출력 705 tok (+624 사고) 지연 시간 6.4 s
지시 준수(정확히 세 문장이라 셀 수 있음), 독자에 맞춘 어조(CFO 대상), 아래 토큰 미터에 드러나는 숨은 사고 토큰 과금 차이를 봅니다.
Claude Haiku 5.5 통과 · 8/8 cases
```python def longest_run(xs): if not xs: return 0 best = cur = 1 for i in range(1, len(xs)): if xs[i] == xs[i - 1]: cur += 1 else: cur = 1 best = max(best, cur) return best ``` The bug is that `cur` counts adjacent equal *pairs*, not run *elements*. A run of k equal items produces k−1 matching pairs, so the function returns one less than the true length, and a single-element input produces no pairs at all, so it returns 0 instead of 1. Resetting `cur` to 0 on a mismatch compounds this by starting every run one step behind. The fix starts both `cur` and `best` at 1 (a non-empty list always has a run of at least one element), resets `cur` to 1 on a mismatch, and updates `best` after every element rather than only inside the equal-branch. The empty-list guard keeps the function from returning 1 for `[]`. […]
출력 1012 tok (+591 사고) 지연 시간 6.0 s
Gemini 3.8 Flash 통과 · 8/8 cases
Here is the corrected 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 ``` ### Explanation of the Bug The original function counted equal-neighbor transitions rather than the actual items making up each run. Because `cur` started at `0` (and was reset to `0` on mismatches), every run was undercounted by one: single-element lists returned `0` because the loop never executed, and any subsequent run—including those ending at the last index—recorded a count of $N - 1$ instead of $N$. The fix handles empty input upfront, initializes both `cur` and `best` to `1` (since any single element forms a run of length 1), and resets `cur` to `1` whenever a new run begins.
출력 1393 tok (+1149 사고) 지연 시간 10.1 s
수정이 실제로 맞는지(실행되는지), 설명이 얼마나 압축적인지, 범위가 정해진 작업에서 토큰을 얼마나 효율적으로 쓰는지를 봅니다.
Claude Haiku 5.5 통과 · 5/5 fields, guidance "Formal guidance withheld pending the Q4 "
```json { "company": "Meridian Robotics", "quarter": "September quarter", "revenue_usd_m": null, "growth_pct": 11, "guidance": "Formal guidance withheld pending the Q4 close" } ``` Notes: The text gives revenue as 412 but doesn't state the currency, so I left `revenue_usd_m` as null. Growth is "eleven and change," so 11 is an approximation.
출력 725 tok (+572 사고) 지연 시간 4.6 s
Gemini 3.8 Flash 통과 · 5/5 fields, guidance null
```json { "company": "Meridian Robotics", "quarter": "September quarter", "revenue_usd_m": 412, "growth_pct": null, "guidance": null } ```
출력 3989 tok (+3932 사고) 지연 시간 30.4 s
스키마 준수(없는 필드를 지어내지 않는지), 환각을 유도하는 조건에서의 대응(guidance 값을 일부러 주지 않음), 구조화된 출력 경로의 차이를 봅니다.
Claude Haiku 5.5 통과 · 120 words, 0 banned, 1 question
**Introducing Prompt Cache Sync, the newest feature in GatewayOne.** Teams routing requests across OpenAI, Anthropic, and Google have often paid to process the same long system prompts again and again. Now the gateway stores those prompts once and reuses them wherever they appear, regardless of provider. Repeated context is matched by content hash, so cached prefixes return faster and cost less, with no changes to your application code. How much could this save your team? Enable Prompt Cache Sync from the dashboard, and your next billing report will show the difference. Cache entries follow your existing retention settings and can be purged per project at any time. Availability begins this week for all Scale and Enterprise plans worldwide. Start today.
출력 2164 tok (+1929 사고) 지연 시간 9.9 s
Gemini 3.8 Flash 통과 · 120 words, 0 banned, 1 question
Why pay multiple model providers for the exact same output? Introducing Universal Prompt Cache, our latest API gateway capability engineered to cut compute expenses and drop inference latency. When your application makes a call, the gateway inspects a central memory layer before routing traffic to external LLMs. If an identical query was previously processed by OpenAI, Anthropic, or Mistral, our gateway returns that response immediately. This shared cache eliminates duplicate token fees and insulates your production apps from vendor rate limits or unexpected downtime. Developers can easily customize expiration settings, enforce strict data privacy controls, and configure invalidation logic across every endpoint. Stop wasting your budget on repeated queries. Enable prompt caching in your dashboard to accelerate your pipeline today.
출력 3833 tok (+3688 사고) 지연 시간 21.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-5-5",
# model="gemini-3.8-flash", # 이 줄의 주석을 해제하고, 윗줄을 주석 처리하세요
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-haiku-5-5",
// model: "gemini-3.8-flash", // 이 줄의 주석을 해제하고, 윗줄을 주석 처리하세요
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-haiku-5-5",
# "model": "gemini-3.8-flash", # 이 줄의 주석을 해제하고, 윗줄을 주석 처리하세요
"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-haiku-5-5",
// Model: "gemini-3.8-flash", // 이 줄의 주석을 해제하고, 윗줄을 주석 처리하세요
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-haiku-5-5")
// .model("gemini-3.8-flash") // 이 줄의 주석을 해제하고, 윗줄을 주석 처리하세요
.addUserMessage("Summarize this diff")
.reasoningEffort(ReasoningEffort.MEDIUM)
.build());
System.out.println(resp.choices().get(0).message().content().orElse(""));자주 묻는 질문
Claude Haiku 5.5 vs Gemini 3.8 Flash, 어느 쪽이 더 저렴한가요?
입력 / 1M 토큰 기준으로는 Claude Haiku 5.5 쪽이 더 저렴합니다($0.1 대 $0.75, 7.5배 차이). 다른 항목에서는 반대일 수 있습니다. 전체 요금은 위 표에 있으며, 실제 비용은 사용 패턴에 따라 달라집니다.
연동을 두 번 하지 않고도 Claude Haiku 5.5 vs Gemini 3.8 Flash A/B 테스트를 할 수 있나요?
네. 두 모델 모두 API 키 하나로 같은 OpenAI 호환 엔드포인트에서 호출합니다. 모델 문자열 한 줄만 바꾸면 전환되므로, 트래픽 일부를 각 모델로 보내 청구 금액을 직접 비교할 수 있습니다.
Claude Haiku 5.5, Gemini 3.8 Flash 모두 프롬프트 캐싱을 지원하나요?
네. 두 모델 모두 캐시 읽기를 입력 요금보다 낮게 과금하므로, 같은 접두사를 반복해 쓰는 워크로드는 정가로 계산한 것보다 비용이 적게 듭니다. 정확한 캐시 읽기 요금은 위 가격표에 있습니다.