Real ChatGPT answer · index seedSe9CyqqM930completeB2B software · developer toolslocal

Can someone explain why our OpenAI API token estimation script is off by forty percent and how to fix it before our monthly budget runs out?

ChatGPTgpt-62 queries10/31/2026
Download run

Fan-out diagram

The searches the AI actually ran for this prompt.

SEED QUERY
Can someone explain why our OpenAI API token estimation script is off by forty percent and how to fix it before our monthly budget runs out?
2 real searches · 1 real-search pass
OpenAI API official documentation usage prompt_tokens completion_tokens cached_tokens responses API token counting tools images tokenizer tiktokenGoogle ↗
OBSERVED
OpenAI cookbook counting tokens chat completions tool calls tiktoken officialGoogle ↗
OBSERVED

Badge and edge weight = share of passes that produced the query. Hover a query for its intent and routing format.

Query classes

Google's semantic query class for every sub-query: what kind of answer each search is after, simulated vs real.

Classifying 2 queries…

Searches and sources

ChatGPT2 real searches · gpt-6
OpenAI API official documentation usage prompt_tokens completion_tokens cached_tokens responses API token counting tools images tokenizer tiktoken Google ↗
OpenAI cookbook counting tokens chat completions tool calls tiktoken official Google ↗
  1. Understanding and counting tokens · help.openai.com
  2. Advanced usage · developers.openai.com
  3. Counting tokens · developers.openai.com
  4. Reviewing API usage and costs · help.openai.com
  5. Prompt Caching in the API · openai.com

Queries

2 queries · click a column to sort
Query / typeSearchIntentQuery classRouting formatClusterFreq ↓Weight
OpenAI API official documentation usage prompt_tokens completion_tokens cached_tokens responses API token counting tools images tokenizer tiktoken
OBSERVED
Google ↗
AI Mode ↗
————1x
of 1
OpenAI cookbook counting tokens chat completions tool calls tiktoken official
OBSERVED
Google ↗
AI Mode ↗
————1x
of 1