How can I track OpenAI API costs per user account in my SaaS prototype so I can figure out a sustainable pricing model?
Download run
Fan-out diagram
The searches the AI actually ran for this prompt.
SEED QUERY
How can I track OpenAI API costs per user account in my SaaS prototype so I can figure out a sustainable pricing model?
2 real searches · 1 real-search pass
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 (2)
Classes come from the query-classifier (a local Laya model). 2 of 2 calls are low-confidence (under 50%) — hover a query in the table to see its confidence.
Searches and sources
ChatGPT2 real searches · gpt-6
OpenAI API official docs usage costs endpoint group by project API key user metadata end user attribution pricing Google ↗
OpenAI API pricing official documentation token rates cached input output models 2026 Google ↗
- Reviewing API usage and costs · help.openai.com
- Exporting monthly usage details from the API Usage Dashboard · help.openai.com
Queries
2 queries · click a column to sort
| Query / type | Search | Intent | Query class | Routing format | Cluster | Freq ↓ | Weight |
|---|---|---|---|---|---|---|---|
OpenAI API official docs usage costs endpoint group by project API key user metadata end user attribution pricing OBSERVED | Google ↗ AI Mode ↗ | — | Other / navigational | — | — | 1x of 1 | |
OpenAI API pricing official documentation token rates cached input output models 2026 OBSERVED | Google ↗ AI Mode ↗ | — | Other / navigational | — | — | 1x of 1 |