Finance and FinOps teams should not have to wait for monthly vendor invoices or manually normalize CSVs from five different AI providers. Tokematic exports standardized cloud cost and usage files directly from the CLI, the macOS app and the web dashboard.
On this page
- Choose a format
- Choose a destination
- Exporting from the Terminal (tmatic usage)
- Keeping a Local Export Folder Current Automatically
- Automated S3 Exports
- Setting Up Your Own Bucket
- Related Guides
No sections match. Try another word.
Export your usage to a spreadsheet or FinOps tool on YouTube
Transcript
Export your AI usage to a spreadsheet, a script or a FinOps tool. Choose the format your tool can read, where the data goes and whether to export once or keep it updated. We'll use the Mac app to explain those choices.
In Mac Settings, open Integrations, then Export. Excel, or XLSX, is for a spreadsheet workbook. CSV is for a simple table. JSON is for scripts. FOCUS is an industry standard for cost and usage data that many FinOps tools can import. FinOps tools help you manage technology spending. These are formats: they describe how the exported data is arranged.
The Excel, CSV and JSON usage report groups records by day, project, vendor, model and ticket. It includes token counts, session counts and estimated cost at public list prices. That cost is not your invoice. The export covers the records available on this Mac, so gaps in recording still matter.
This usage report leaves out titles, summaries, prompts and transcripts. It also leaves out credentials and keys. It is not a conversation backup. Project and ticket labels can still reveal business context, so the destination matters when you share the file with someone else.
A one-time export gives you a copy at that point. Rewrite the file every hour keeps the chosen export current while Tokematic runs, even with its windows closed. For regular updates, a desktop that stays on and awake is a good choice. On a laptop, updates can wait while it sleeps or saves power. Google Sheets and other online destinations also need an internet connection. A local file can still update offline. Each update replaces the current file, rather than keeping earlier versions.
The Mac command line is another route to a one-time report. These examples write CSV or JSON to a named file. Without an output path, the command prints the report. The file reflects the same local records. It doesn't grant new access or send the report to another person.
The destination is where your data goes: a file location, a Google Sheets spreadsheet or a vendor through its integration. Google Sheets is a destination, not a file format. Finout is a vendor integration, not an export format. A destination that connects to another service needs its own setup. Bring your tools together covers those connections.
Choose a format, choose a destination and decide whether you want a one-time export or regular updates. You can then use your usage numbers in the tools that work for you.
Choose a format
Choose the format your own finance or FinOps tool can read:
- Excel (
.xlsx): A spreadsheet workbook, available in the Mac app. - CSV: A table that spreadsheets and many other tools can read.
- JSON: Structured usage data for scripts and your own data systems.
- FOCUS 1.4 (FinOps Open Cost and Usage Specification): An industry standard for cost and usage data that many FinOps tools can import. FinOps tools help you manage technology spending.
The web Dashboard offers CSV and JSON. Available choices differ by export route.
Choose a destination
The format describes how the data is arranged. The destination is where it goes:
- A file location: Save the file in a folder you choose.
- Google Sheets: Send usage to a spreadsheet. The Mac app can keep it updated each hour. The web Dashboard also offers a one-time export.
- A vendor integration: For Finout customers, use the Finout integration to prepare and deliver data for its service. Finout is an integration, not a general export format. If you use another vendor, let us know. More integrations are coming soon.
An export produces data for another tool. Regular export updates keep that destination current. Sync keeps your recorded work available across devices through your chosen sync service.
Exporting from the Terminal (tmatic usage)
The Mac app's tmatic usage export writes a usage report from the records available on that Mac. Use --csv or --json for this report:
tmatic usage export --csv --out usage-report.csv
tmatic usage export --json --out usage-report.json
tmatic usage --help
Keeping a Local Export Folder Current Automatically
In the macOS app, Settings > Integrations > Export offers a format and an Export… action for a one-time file. Rewrite the file every hour writes the selected export to your chosen folder once an hour while the app runs. It replaces the current file, rather than keeping an archive of earlier versions. The Tokematic usage report contains token and session counts with list-price estimates, not invoices. It excludes titles, summaries, prompts, transcripts, credentials and keys.
Use these regular updates as a simple feed for a tool without a direct integration. Tokematic can run in the background with its windows closed. For regular updates, use a desktop that stays on and awake. On a laptop, updates can wait while it sleeps or saves power. The setting to work only when idle can also delay updates on either computer.
If you choose Google Sheets, Update a Google Sheet keeps the app's spreadsheet current each hour instead of writing a local file. Google Sheets and other online destinations need an internet connection. A local file can still update offline.
Automated S3 Exports
- Web and S3 exports: Organization admins set up a daily file for Finout or FOCUS from Settings > Integrations > Add integration. Once it is set up, its page (
#/integrations?open=finout) shows the flow, the schedule, each file sent and whether it is Working, Waiting, Failed or Paused. Edit opens the full setup. See Connect External Work References and FinOps Tools.
Setting Up Your Own Bucket
On Pro and Enterprise, Tokematic hosts the bucket and sets up Finout's access for you. On Free, or when you prefer to keep the files in your own AWS account, choose Your S3 bucket:
- Create an S3 bucket (or a prefix in an existing one) in your AWS account.
- Give Finout read access to it. Finout's setup page gives you an External ID; paste it into Tokematic where it asks for it.
- Choose Test the connection. Tokematic writes a small file and says whether it worked.
- Save. Tokematic then sends a file every day at 00:15 UTC. Send today's file now sends one at once.
Related Guides
- Calculating AI Unit Costs by Feature, Project, Team and Customer
- Negotiating Vendor Renewals and Turning Shadow AI into Intelligence
- Pro Seats, Trials, Billing and Data Retention
Next video: Connect recorded work to a customer or ticket