Gemini Cost Simulator
Gemini 4 agent-run cost simulator over MCP: true per-turn totals vs naive estimates.
사용해야 할까요
품질 및 안전성
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"geminicost": {
"url": "https://geminicost.craftstead.app/mcp"
}
}
}원격 엔드포인트
https://geminicost.craftstead.app/mcpstreamable-http할 수 있는 일
도구 목록
도구 (2)
🟡estimate_agent_run(modelId, thinkingLevel, turns, initialContextTokens, contextGrowthPerTurn, ...)
Turn-by-turn cost of a Gemini 4 agent run: every turn re-sends the growing context as input, thinking tokens are billed at the output rate. Returns the rates in force on the chosen date, the simulated total, the naive first-turn × turns estimate and their multiplier. Before the 2026-12-01 price change it also returns afterIncrease: the same run priced at the announced 2026-12-01 rates.
입력 스키마
{
"type": "object",
"properties": {
"modelId": {
"type": "string",
"enum": [
"gemini-4-hydrogen",
"gemini-4-carbon",
"gemini-4-argon"
],
"description": "Gemini 4 model to price."
},
"thinkingLevel": {
"type": "string",
"enum": [
"off",
"low",
"medium",
"high"
],
"description": "Thinking budget. Thinking tokens are billed at the output price: off = 0×, low ≈0.5×, medium ≈1.5×, high ≈3× the visible output tokens."
},
"turns": {
"type": "number",
"description": "Number of turns (separate API calls) in the run.",
"minimum": 1,
"maximum": 365
},
"initialContextTokens": {
"type": "number",
"description": "System prompt, tool definitions and documents sent on turn 1.",
"minimum": 0
},
"contextGrowthPerTurn": {
"type": "number",
"description": "Net history added after each completed turn; billed from turn 2 onward.",
"minimum": 0
},
"userToolInputTokensPerTurn": {
"type": "number",
"description": "New user/tool content billed on top of the context each turn.",
"minimum": 0
},
"outputTokensPerTurn": {
"type": "number",
"description": "Visible answer tokens per turn, excluding thinking.",
"minimum": 0
},
"date": {
"type": "string",
"description": "ISO date (YYYY-MM-DD) that selects the price segment in force that day. Defaults to today (UTC).",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"examples": [
"2026-11-20",
"2026-12-05"
]
}
},
"required": [
"modelId",
"thinkingLevel",
"turns",
"initialContextTokens",
"contextGrowthPerTurn",
"userToolInputTokensPerTurn",
"outputTokensPerTurn"
],
"additionalProperties": false
}🟢get_gemini_pricing(modelId, date)
Price segment in force on a date for every recorded Gemini 4 model, or for one model: input and output USD per 1,000,000 tokens, the segment start and end dates and its status. Segments marked announced-unpriced have no published values and are reported as such.
입력 스키마
{
"type": "object",
"properties": {
"modelId": {
"type": "string",
"enum": [
"gemini-4-hydrogen",
"gemini-4-carbon",
"gemini-4-argon"
],
"description": "Restrict the answer to one model. Omit for all recorded models."
},
"date": {
"type": "string",
"description": "ISO date (YYYY-MM-DD) that selects the price segment in force that day. Defaults to today (UTC).",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"examples": [
"2026-11-20",
"2026-12-05"
]
}
},
"additionalProperties": false
}커뮤니티
증거