Load this on-demand when the user asks about costs or before batch operations.
| Model | Resolution | Cost/Image | Notes |
|---|---|---|---|
| Installed MCP model | Any | Verify before use | Check https://ai.google.dev/gemini-api/docs/pricing and installed MCP config |
| Batch API | Any | Verify before use | Confirm availability and discount before quoting |
Do not quote fixed package prices unless they have been verified at https://ai.google.dev/gemini-api/docs/pricing.
# Log a generation
cost_tracker.py log --model gemini-3.1-flash-image-preview --resolution 1K --prompt "coffee shop hero"
# View summary (total + last 7 days)
cost_tracker.py summary
# Today's usage
cost_tracker.py today
# Estimate before batch
cost_tracker.py estimate --model gemini-3.1-flash-image-preview --resolution 1K --count 10
# Reset ledger
cost_tracker.py reset --confirm
Ledger stored at ~/.banana/costs.json. Created automatically on first use.