Track OpenAI API Usage & Costs Automatically with Google Sheets

Automates tracking of OpenAI organization API usage, token metrics, and costs every 3 days, appending detailed data to Google Sheets for easy analysis.

This workflow helps teams monitor OpenAI expenses by automatically collecting API usage and cost data every few days (default: 3 days) via the OpenAI Admin API. It fetches comprehensive metrics like token usage, model breakdowns, and line-item costs for every project and API key, then enriches the data with project and key names for clarity before appending it to a Google Sheets template. Key benefits include effortless spend tracking, historical audit trails, and actionable insights without ma
Platform
n8n
Category
E-commerce
Price
$19.99
Creator
Leandro Rossi

How to import this workflow into n8n

  1. 1Purchase or download the workflow to get the n8n workflow JSON file.
  2. 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
  3. 3Open each node marked with a credential warning and connect your own accounts and API keys.
  4. 4Run the workflow once manually to verify the data flow, then toggle it to Active.

Related E-commerce workflows

More from Leandro Rossi

Need this deployed? We'll set it up for you.

Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.