Budgetary: estimate token spend for Gemini CLI
io.github.thriftell/budgetary
Pre-flight token-spend estimate (range, scenario, confidence) for a coding task, or an abstention.
client:Gemini CLI
transport:stdio
runtime:npm
Install Budgetary: estimate token spend in Gemini CLI
~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json
{
"mcpServers": {
"budgetary": {
"command": "npx",
"args": [
"-y",
"@budgetary/mcp"
],
"env": {
"BUDGETARY_API_KEY": "<BUDGETARY_API_KEY>",
"BUDGETARY_HOST": "<BUDGETARY_HOST>"
}
}
}
}
Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs