A free guide by Marino Merlini (@marinoautomates)
Founder of Meet Blaine
The AI Token & Cost Cheat Sheet
A practical system to strip wasted tokens, eliminate extra conversational turns, and cut your OpenAI API bill without losing output quality.
Running a business? We set this up for you. Book a 30-min call
Part 1: The Real Math Behind Every Extra Turn
In a browser chat, saying 'thank you' feels free. When you connect via API to run automations, every polite exchange and conversational turn re-bills you for the entire conversation history.
The Per-Query Baseline
In his June 2025 blog post 'The Gentle Singularity' (https://blog.samaltman.com/the-gentle-singularity), OpenAI CEO Sam Altman shared that an average query at ChatGPT (https://chatgpt.com) uses 0.34 watt-hours of electricity and 0.000085 gallons of cooling water (about 1/15th of a teaspoon). When user @tomieinlove asked on X (https://x.com/sama) what polite messages cost the company, Altman replied: 'tens of millions of dollars well spent--you never know'.
What Happens at Global Scale
OpenAI (https://openai.com) processes over 2.5 billion prompts a day across more than 800 million weekly active users. According to the Future PLC AI Survey (https://www.futureplc.com), 67% of US users say please or thank you to chatbots (and 12% do it in case of a machine uprising). If just 1 in 25 daily queries (4%) is a standalone polite reply, that equals 100 million extra turns a day. That burns 34,000 kWh of electricity daily (enough for ~1,200 homes based on U.S. Energy Information Administration (EIA) data at https://www.eia.gov/tools/faqs/faq.php?id=97&t=3) and evaporates 8,500 gallons of water (120 bathtubs).
Why Extra Turns Multiply Your API Bill
Wait times and server costs compound because language models have no memory between turns. When your automation sends a second follow-up message, it must re-send the system prompt, the first question, the AI's first answer, and the new message all at once. Cutting a 3-turn workflow down to 1 single-shot prompt instantly removes two-thirds of your input token volume.
Part 2: Strip Politeness & Fluff from System Prompts
Output tokens cost 3x to 4x more than input tokens on almost every major AI model. The fastest way to lower your spend is forcing the model to skip conversational filler.
Delete Politeness from Your Instructions
Open your automation tool (Make, n8n, or Zapier) and inspect your system prompts. Remove phrases like 'Please be helpful', 'Thank you in advance', and 'I would appreciate it if you could'. Models follow direct imperatives better than polite requests.
Ban Conversational Prefaces and Sign-Offs
Left alone, an AI will start every response with 'Sure! Here is the summary you requested:' and end with 'Let me know if you need anything else!'. Across 50,000 automated runs a month, those 25 wasted output tokens per run equal 1.25 million billed output tokens of pure noise.
Set a Hard 'max_tokens' Ceiling
In your API call settings, never leave the maximum output length blank. If your workflow only needs a 1-sentence category tag or a 50-word Slack summary, set 'max_tokens' to 100 so a hallucinating model cannot run up a 4,000-token response.
SYSTEM RULES: - Return ONLY the requested output. - Do not include prefaces, greetings, apologies, or concluding remarks. - Never say "Here is", "Sure", "Certainly", or "Let me know if you need help". - Begin your response immediately with the first character of the payload.
Part 3: Turn Multi-Turn Chats into Single-Shot JSON
Instead of chaining three separate AI calls to analyze, write, and format data, force one model call to do all three jobs in a single structured JSON response.
Spot Back-and-Forth Loops in Your Workflows
Look at your automation canvas in Make or n8n. If you have one OpenAI module that extracts lead info, followed by a second OpenAI module that scores the lead, and a third that writes an email, you are paying for the lead's raw data three times.
Combine Tasks into One Structured Output
Turn on 'JSON Mode' or 'Structured Outputs' in your OpenAI API module. Ask the model to return a single JSON object containing the extracted fields, the score, and the draft email in one pass.
Map the JSON Keys Downstream
Connect the single JSON output directly to your CRM and email tool. You just eliminated two full API round-trips, cut workflow latency by 60%, and dropped token consumption by more than half.
Analyze the incoming customer message below and return a valid JSON object with these exact keys:
{
"intent": "support | sales | billing | spam",
"urgency_score": 1-5,
"summary_10_words": "string",
"draft_reply": "string"
}
Customer message:
{{input_text}}
Part 4: Route Cheap Tasks to Micro Models
Using a flagship reasoning model to classify an email or fix a typo is like hiring a senior architect to sort your mail. Match the model tier to the task complexity.
List Every AI Step in Your Stack
Write down every place your business calls an AI API. Tag each step as either 'Extraction/Classification' (sorting, tagging, formatting, summarizing) or 'Deep Reasoning' (complex strategy, nuanced copywriting, multi-step coding).
Swap 80% of Steps to Mini or Flash Models
Move all Extraction/Classification tasks to lightweight models like GPT-4o-mini or Claude Haiku. These smaller models cost roughly 15 to 25 times less per token than flagship models and respond twice as fast.
Build a Router Step for Customer Agents
If you run a customer-facing agent, put a tiny, cheap model at the front door as a router. Have it read the user's message and output a single word ('SIMPLE' or 'COMPLEX'). Route 'SIMPLE' questions to the mini model and only wake up the expensive model when 'COMPLEX' is triggered.
Classify the user request below into one of two categories:
- SIMPLE: FAQ, order status, scheduling, basic data lookup, or greeting.
- COMPLEX: Custom pricing negotiation, multi-part technical troubleshooting, or contract review.
Reply with exactly one word: SIMPLE or COMPLEX.
Request: {{user_message}}
Part 5: Turn On Prompt Caching & Trim Context Windows
Most API bloat comes from stuffing massive background documents and 50-message chat histories into every single prompt. Clean your context window before the request leaves your server.
Put Static Instructions First for Prompt Caching
OpenAI (https://openai.com) automatically discounts input tokens by 50% or more when the beginning of your prompt is identical across calls (over 1,024 tokens). Always place your static system rules, company knowledge base, and few-shot examples at the very top of the prompt, and put the changing user input at the very bottom.
Cap Chat Memory at the Last 5 Turns
When building a chatbot in n8n, Voiceflow, or custom code, do not pass the entire conversation history back to the API on every turn. Set a sliding window that only sends the system prompt plus the last 4 to 6 messages.
Strip HTML and Boilerplate Before Sending
Never feed raw webpage HTML or full email threads (with legal disclaimers and reply chains) directly into an LLM. Run a free regex or HTML-to-Markdown step in Make or n8n first. Stripping tags and email footers routinely cuts input token counts by 40% to 70%.
Compress the following conversation history into a bulleted summary of under 120 words. Keep only stated facts, user preferences, unresolved questions, and agreed next steps. Drop all pleasantries and small talk:
{{chat_history}}
Mistakes to avoid
- Leaving 'max_tokens' unset on customer-facing bots, allowing a single prompt injection or loop to generate thousands of expensive output tokens.
- Putting dynamic variables (like current date/time or user name) at the top of a long system prompt, which invalidates automatic prompt caching.
- Passing full raw HTML or entire email reply chains into an AI step instead of stripping tags and signatures with a free text parser first.
- Using flagship reasoning models for simple classification, routing, or data extraction jobs that a mini model handles identically at 1/20th the cost.
Watch the video
Watch on Instagram
Want this built for you?
At Meet Blaine, we design and deploy custom AI employees and production automations for 7, 8, and 9-figure companies. We plug directly into the software your team already uses, engineer the architecture for speed and low token spend, and stay on to support it. If you want our team to map out the highest-ROI automations for your business, grab a demo call at meetblaine.com.
- You walk us through your week. Where the hours go and what keeps falling through.
- We show you what to hand off first. Which jobs an AI employee can take over, and what stays with you.
- You leave with a clear next step. Whether or not we end up working together.
Calendar not loading? Open it in a new page
Book a 30-min call: api.leadconnectorhq.com