본문으로 건너뛰기
Skillpedia
기타81k · #1604

cost-local

하는 일

이 스킬은 전력과 하드웨어 비용을 포함해 AI 모델을 내 컴퓨터나 서버에서 돌리는 데 드는 비용을 추정합니다. 로컬 AI 구성과 유료 온라인 서비스를 저울질하는 사람을 위한 스킬입니다.

사용하는 경우

  • ✓AI 모델을 로컬에서 돌리려고 하드웨어를 살지 결정하는 중일 때.
  • ✓로컬 모델의 비용을 호스팅 모델과 비교하고 싶을 때.
  • ✓사용량이 얼마나 되어야 로컬 구성이 이득인지 알고 싶을 때.

스킬 링크

https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-cost-tracker/skills/cost-local/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-cost-tracker/skills/cost-local/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“API 요금을 내는 것보다 AI 모델을 내 컴퓨터에서 돌리는 것이 더 저렴할까요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

스킬은 입력한 전력 사용량, 전기 요금, 하드웨어 가격, 측정된 속도로 백만 토큰당 비용을 추정합니다. 사용량에 따라 답이 달라지므로 여러 사용 수준에서 결과를 보여 줍니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Cost Local

node ${CLAUDE_PLUGIN_ROOT}/scripts/local-cost.mjs --tok-per-s 80 --busy 0.25 --compare claude-haiku-4-5

Inputs (all the user's): --watts-idle, --watts-active, --kwh, --hw-price, --life-years, --resale. --tok-per-s is required and must be a measured generation speed.

Rules

  • Cost = fixed (amortisation + idle power, paid busy or not) + marginal (extra watts while generating). Utilisation decides the answer: always show the table at 5/25/50/100% busy.
  • It is an estimate from the inputs; say so. Nothing is measured.
  • Compare against a same-capability hosted model, not a frontier one; price alone is a poor reason to buy a GPU for sporadic use.
  • Read real counts from the server (Ollama eval_count/prompt_eval_count on the native API, llama.cpp timings, vLLM /metrics), not the lossy OpenAI-compatible usage, and count model reloads (load_duration) as overhead.
자주 묻는 질문

결과는 실측값인가요?

아닙니다. 입력한 수치를 바탕으로 한 추정치이며, 스킬도 출력에서 이를 밝힙니다.

사용 수준이 왜 중요한가요?

하드웨어와 대기 전력은 사용 여부와 관계없이 같은 비용이 들므로, 사용량이 적으면 토큰당 비용이 높아집니다.

어떤 속도가 필요한가요?

실제 테스트로 측정한 초당 토큰 생성 속도가 필요합니다.

상세 정보

작성자의 원본 설명

Cost per million tokens on hardware you own (Ollama, llama.cpp, vLLM, LM Studio) from watts, electricity price, hardware price and measured tokens/second, and the utilisation at which local beats a hosted model. Use for local-vs-API break-even questions.

repo: ruvnet/ruflo

인기도

GitHub 스타
81k
순위
#1604
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬