Cheap First
Answers cheaply first, then escalates to a premium model only when a checker fails.
사용해야 할까요
품질 및 안전성
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"cheap-first": {
"url": "https://cheap-first.vercel.app/mcp"
}
}
}원격 엔드포인트
https://cheap-first.vercel.app/mcpstreamable-http할 수 있는 일
도구 목록
도구 (2)
🟡ask_cheap_first(question, mode)
Answer a question the Cheap First way: Dolphin answers, another cheap sample checks numbers and choices, SERV Reasoning grades anything else, and a premium model answers instead only if the check misses the pass mark. Returns the answer, whether it escalated, the check score, the cost and the estimated saving. Free calls use the public demo limits (600 characters, 10 an hour per IP, 300 a day). Send Authorization: Bearer cf_... or an x402 payment of $0.005 USDC on Base for the paid limits (2000 characters). To receive the x402 challenge, send the header X-Cheap-First-Paid: 1. mode: strict escalates more often (pass mark 85), balanced is the default (75), budget escalates less often (60).
입력 스키마
{
"type": "object",
"properties": {
"question": {
"type": "string",
"description": "The question. 600 characters on the free demo, 2000 when paid."
},
"mode": {
"type": "string",
"enum": [
"strict",
"balanced",
"budget"
],
"description": "strict, balanced (default) or budget. Unknown values are treated as balanced."
}
},
"required": [
"question"
]
}출력 스키마
{
"type": "object",
"properties": {
"answer": {
"type": "string",
"description": "The answer to give the user."
},
"escalated": {
"type": "boolean",
"description": "True when the check failed and the premium model answered instead."
},
"checkScore": {
"type": "number",
"description": "The checker's score for the cheap answer, from 0 to 100."
},
"costUsd": {
"type": "number",
"description": "What Cheap First spent on this call, in US dollars."
},
"savedUsd": {
"type": "number",
"description": "Estimated saving against sending the question to the premium model alone. Can be negative when an escalation cost more than that."
},
"answeredBy": {
"type": "string",
"enum": [
"cheap",
"premium"
],
"description": "cheap is Dolphin. premium is the frontier model."
},
"model": {
"type": "string",
"description": "Label of the model that produced the answer."
},
"mode": {
"type": "string",
"enum": [
"strict",
"balanced",
"budget"
]
},
"checkReason": {
"type": "string",
"description": "Why the check passed or failed, in one line."
},
"checkSignal": {
"type": "string",
"enum": [
"agreement",
"arithmetic",
"grader",
"blank"
],
"description": "agreement: extra cheap samples. arithmetic: an equation did not evaluate. grader: the language-model grade. blank: Dolphin returned nothing."
},
"tier": {
"type": "string",
"enum": [
"free",
"paid"
]
},
"paidUsd": {
"type": "number",
"description": "What the caller paid, on the paid tier."
},
"creditsLeft": {
"type": "number",
"description": "Prepaid answers left on the key, when one was used."
},
"transaction": {
"type": "string",
"description": "x402 settlement transaction, when there is one."
}
},
"required": [
"answer",
"escalated",
"checkScore",
"costUsd",
"savedUsd"
],
"description": "One Cheap First answer, plus what the check decided and what it cost."
}🟢cheap_first_stats
Published benchmark figures from the saved result files. The in-house run, the harder run graded by code, and the public GSM8K and ARC-Challenge run when that file is complete. The public summary includes accuracy, cost, escalation, latency, and where the checker missed. Does not call a model.
입력 스키마
{
"type": "object",
"properties": {},
"additionalProperties": false
}출력 스키마
{
"type": "object",
"properties": {
"benchmark": {
"type": "object",
"description": "The in-house benchmark, with costs rounded to cents the way the site quotes them, plus exactUsd."
},
"hardBenchmark": {
"type": [
"object",
"null"
],
"description": "The harder benchmark graded by code, or null if it was not built."
},
"publicBenchmark": {
"type": [
"object",
"null"
],
"description": "The public GSM8K and ARC-Challenge run graded by code, or null if that file is missing or incomplete. summary includes the cost, the accuracy gap, and the checker's misses."
},
"resultsPage": {
"type": "string"
}
},
"required": [
"benchmark",
"hardBenchmark",
"publicBenchmark",
"resultsPage"
]
}커뮤니티
증거