# Getting your usage data
Source: https://greenpixie.com/docs/guides/usage-data

How to export your cloud and AI usage data so you can add emissions metrics.

Having your usage data exported to a place you control is the prerequisite for everything you can do with Greenpixie's cloud and AI emissions data. Every usage report, whether it is a cloud bill or an AI token count, carries the same three things Greenpixie needs: what was used, how much of it, and when. Greenpixie matches each line to its energy model and returns the data with energy, carbon and water metrics appended, at the same granularity as the original.

Which export you need depends on what you want to enrich. Cloud usage comes from a recurring, provider-native billing export delivered to storage you own. AI usage comes from the usage reports and APIs each AI provider offers, which vary far more between providers. Pick the guides for the platforms you use, and work through more than one if your estate spans several.

## Cloud usage data [#cloud-usage-data]

On each platform you set up a recurring export of billing and usage data, delivered to a bucket or container you own. The export contains service and usage detail, quantities, timestamps, regions, and account or resource IDs. The [cloud usage data overview](/guides/cloud-usage-data) covers format preferences and the directory structure for Greenpixie's managed enrichment service.

- [Get your AWS usage data](https://greenpixie.com/docs/guides/cloud-usage-data/aws): Create a CUR 2.0 export from the management account, also called the payer account, to an Amazon S3 bucket.
- [Get your GCP usage data](https://greenpixie.com/docs/guides/cloud-usage-data/gcp): Enable the detailed usage cost export to BigQuery, then deliver it daily to a Cloud Storage bucket.
- [Get your Azure usage data](https://greenpixie.com/docs/guides/cloud-usage-data/azure): Create a Cost Management export in FOCUS format at billing-account scope to a Blob Storage container.

## AI usage data [#ai-usage-data]

AI providers record usage in different ways, from token counts per model down to prompts, actions, tasks and credits, and GPX AI supports all of them. Token counts give the most precise result, so where a provider offers them, use them if you can.

- [Get your Microsoft Copilot usage data](https://greenpixie.com/docs/guides/ai-usage-data/copilot): Export per-user Copilot activity from Viva Insights, the Microsoft 365 admin center or Copilot Studio.
- [Get your Claude usage data](https://greenpixie.com/docs/guides/ai-usage-data/claude): Pull token counts and cost per model from the Usage and Cost Analytics API.
- [Get your Gemini usage data](https://greenpixie.com/docs/guides/ai-usage-data/gemini): Download the org-level and user-level Gemini reports from the Google Admin console.
- [Get your OpenAI usage data](https://greenpixie.com/docs/guides/ai-usage-data/openai): Pull token counts per model, project and user from the Usage and Costs APIs.

If your provider is not listed, look for the same things: usage broken down by model, with input and output token counts where they exist, and a timestamp and user or team to attribute it to. Any usage data can be worked with. Where a report is thin on detail, Greenpixie makes educated assumptions, such as a typical model or prompt size, and documents them alongside the result.

## Next steps [#next-steps]

Once you have the export, send it to Greenpixie for enrichment with energy, carbon and water metrics, or enrich it yourself using the API.

- [Enriching your usage data using the API](https://greenpixie.com/docs/guides/enrich-api): Pull the rate card and enrich the data yourself, in your own environment.
- [Connect your data for Greenpixie to enrich it](https://greenpixie.com/docs/guides/connect-data): Grant Greenpixie access to your bucket or container for managed enrichment.