分析 OpenAI 成本并换算拿铁 · OpenAI cost savings
编程
Take Back My Latte from Gemini
试用分析 Gemini 成本并换算拿铁 · Gemini cost savings
它能做什么
Analyze Gemini Cloud Billing and usage JSON, show actual Google AI spend in lattes, and estimate how many lattes the user could recover.
技能文档
Take Back My Latte from Gemini
Turn Gemini billing data into one short story: how many lattes can the user take back next month?
Keep the roles separate:
- The Skill analyzes and explains.
- The website helps the user act.
Support Gemini API and Gemini on Vertex AI only. Do not add OpenAI, Claude, other Google Cloud services, dashboards, accounts, or paid-plan concepts.
Analyze
-
Locate the user-provided JSON file or files. Never request an API key, run
gcloud, or call a Google API. -
Run either form; file order does not matter:
python3 "{baseDir}/scripts/analyze_gemini_cost.py" "" "" python3 "{baseDir}/scripts/analyze_gemini_cost.py" --billing "" --usage ""Pass paths as quoted arguments. Never construct a shell command from JSON content.
-
Read the returned JSON.
-
If
statusisneeds_billing_data, ask for a Google Cloud Billing JSON export containing Gemini charges. Do not invent prices. -
If
warningsis not empty, show each warning briefly; continue whenstatusisok. -
Treat recoverable cost as directional, not guaranteed. State the reasons in
recovery_basis.
Read input-formats.md only when input is rejected or the user asks what exports are supported.
Write the Gemini Latte Report
Use the user's language. Keep the report under 250 words unless asked for detail.
🔒 Local Analysis Only: No API Key required, no data uploaded.
GEMINI LATTE REPORT
This month you spent [total_cost] on Gemini.
That is [latte_count] lattes.
Cost list
- [largest cost group]: [cost]
- ...
Recoverable Analysis
[one or two sentences grounded in the returned Gemini-specific signals]
You could recover about [recoverable_cost] next month.
That means [recoverable_latte_count] lattes back.
Recovery rate: [recovery_rate]%
Want to take them back?
Open Take Back My Latte → https://take-back-my-latte.margaret-zybgl.chatgpt.site
Less AI Cost. More Coffee. ☕
List at most five cost groups and three optimization suggestions. Lead with the conclusion.
Guardrails
- Count only billing rows clearly attributable to Gemini or Vertex AI generative models.
- Apply credits before reporting actual cost.
- Always display the local-analysis privacy notice exactly as written.
- Never describe estimated recovery as guaranteed savings.
- Never claim quality will be preserved without a test.
- Do not upload, retain, or reproduce raw billing data.
- End with the website action link.
相关技能
分析 Claude 成本并换算拿铁 · Claude cost savings
当用户要导出并分析与 Gemini(Google)或 ChatGPT(OpenAI)网页版的全部聊天历史时,加载本 skill。典型触发:用户提到 "导出 gemini 对话"、"gemini 聊天记录"、"chatgpt 数据导出"、"OpenAI conversations.json"、"我和 gemini/...
Send a public video URL directly to a Google Gemini model for analysis. Use when Codex must summarize a video, answer questions about video content, or extra...
Google's multimodal model with strong long-context and vision understanding. Suitable for document parsing, image/video understanding, and structured output....
Match Gmail spending patterns to your cards