C.W.K.
Stream
Lesson 06 of 10 · published

production에서 나쁜 프롬프트의 비용

~16 min · foundations, production, cost

Level 0수련생
0 XP0/100 lessons0/14 achievements
0/120 XP to next level120 XP to go0% complete

나쁜 프롬프트는 토큰보다 더 많이 든다

notebook에서는 나쁜 프롬프트가 retry 한 번 비용. production에서는:

  • user 신뢰 — 자신만만하게 틀린 답 한 번이 거절 열 번보다 더 나빠.
  • tool budget — vague한 instruction이 loop-y한 tool use를 만들고, API/지연 비용을 곱빼기로.
  • reasoning budget — trivial task에 "think step by step" 박으면 thinking 토큰 낭비, 그것도 billable.
  • downstream code — malformed JSON이 parser를 깨고, credit이 아니라 incident page로 비용 지불.
  • compliance와 brand — prompt-injected response 하나가 PII leak하거나, slur 포함하거나, 법적 claim하면 — 그게 너가 만들어낼 가장 비싼 토큰이야.

실패 비용 위계

프롬프트는 blast radius에 비례해서 우선순위 매겨. marketing copy 만드는 프롬프트랑 환불 승인하는 프롬프트는 같은 단어라도 downstream에서 무게가 달라.

절약은 어디 숨어 있나

2026의 가장 큰 비용 lever는 모델 선택이 아니라 — context를 얼마나 채우고 reasoning을 얼마나 시키느냐야. 깔끔한 프롬프트 + tight context는 sloppy한 거보다 cost가 한 자릿수 단위로 적게 들고 — 모델이 noise에 안 빠지니까 output도 더 좋아.

Code

토큰 비용 어림 계산·python
# Claude Opus 4.7 sample pricing (check current rates):
#   input  $15 / MTok, output $75 / MTok
# A bad prompt that pads 4k tokens of irrelevant context per call,
# at 1M calls/month, costs roughly:
#   1,000,000 calls * 4,000 input tokens * $15 / 1,000,000
#   = $60,000 / month — purely on context bloat.
# That's before output, before retries, before tool loops.

External links

Exercise

너의 프롬프트 하나가 100k, 1M, 10M 호출일 때 월 비용 추정해. quality 안 해치면서 비용 줄이는 가장 leverage 큰 trim 한 개 식별.

Progress

Progress is local-only — sign in to sync across devices.
이 페이지에서 버그를 발견하셨거나 피드백이 있으세요?문제 신고

댓글 0

🔔 답글 알림 (로그인 필요)
로그인댓글을 남기려면 로그인해 주세요.

아직 댓글이 없어요. 첫 댓글을 남겨보세요.