What steps are required to calculate precise OpenAI API token costs for function calling workflows where users can execute complex multi-step tool chains?
Download run
Fan-out diagram
The searches the AI actually ran for this prompt.
SEED QUERY
What steps are required to calculate precise OpenAI API token costs for function calling workflows where users can execute complex multi-step tool chains?
3 real searches · 1 real-search pass
site:platform.openai.com/docs/guides/function-calling function calling tool outputs conversation API usage tokensGoogle ↗
OBSERVEDOther / navigational
site:platform.openai.com/docs/guides/production-best-practices usage prompt tokens completion tokens cached tokens reasoning tokensGoogle ↗
OBSERVEDOther / navigational
openai API pricing input output cached input tokens official pricing 2026Google ↗
OBSERVEDConsequence
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.
ChatGPT real searches (3)
Classes come from the query-classifier (a local Laya model). 3 of 3 calls are low-confidence (under 50%) — hover a query in the table to see its confidence.
Searches and sources
ChatGPT3 real searches · gpt-6
site:platform.openai.com/docs/guides/function-calling function calling tool outputs conversation API usage tokens Google ↗
site:platform.openai.com/docs/guides/production-best-practices usage prompt tokens completion tokens cached tokens reasoning tokens Google ↗
openai API pricing input output cached input tokens official pricing 2026 Google ↗
- OpenAI function calling documentation · developers.openai.com
- official OpenAI API pricing page · developers.openai.com
- Pricing · developers.openai.com
- Understanding and counting tokens · help.openai.com
- OpenAI Usage dashboard · platform.openai.com
- Programmatic Tool Calling · developers.openai.com
Queries
3 queries · click a column to sort
| Query / type | Search | Intent | Query class | Routing format | Cluster | Freq ↓ | Weight |
|---|---|---|---|---|---|---|---|
site:platform.openai.com/docs/guides/function-calling function calling tool outputs conversation API usage tokens OBSERVED | Google ↗ AI Mode ↗ | — | Other / navigational | — | — | 1x of 1 | |
site:platform.openai.com/docs/guides/production-best-practices usage prompt tokens completion tokens cached tokens reasoning tokens OBSERVED | Google ↗ AI Mode ↗ | — | Other / navigational | — | — | 1x of 1 | |
openai API pricing input output cached input tokens official pricing 2026 OBSERVED | Google ↗ AI Mode ↗ | — | Consequence | — | — | 1x of 1 |