> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tensorcost.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Upload data before you connect

> Upload a month of a bill, Bedrock logs or a usage export to see your own numbers before you connect an account.

> [!NOTE]
>
> Admin only. Open **Connect › Upload data**. The page is titled "Upload a month of your data".

If you aren't ready to create a role or hand over a key, or you want a month you couldn't otherwise get, upload a file and see your own spend first.

## What you can upload

| Choice | File types | You also enter | You get |
| - | - | - | - |
| AWS bill (CUR) | `.parquet`, `.csv`, `.gz` | Billing month and the 12-digit payer account ID | Bill-level history |
| Bedrock invocation logs | `.json`, `.jsonl`, `.gz` | The account that made the calls | Single calls, so Proof replay can show what routing would save |
| OpenAI usage export | CSV from the organisation usage page | Month | Spend by model and day |
| Anthropic usage export | CSV from the organisation usage page | Month | Spend by model and day |

Usage exports have no single calls, so Proof replay can't replay them.

For Bedrock logs, take the files from S3 under `AWSLogs/<account>/BedrockModelInvocationLogs/`. CloudWatch Logs `.gz` exports also work. If you have many hourly files, join them first, for example `find . -name '*.json.gz' -exec cat {} + > logs.json.gz`. Prompts and answers are never stored; only token counts and a fingerprint are kept.

## Limits

* One month per upload, and an Environment name (default `production`).
* Up to 200 files per upload and 5 GB per file.

## What happens next

Uploaded figures are labelled "uploaded" wherever they appear. When you later connect the same account, its data replaces the uploaded months. For OpenAI and Anthropic, days your connected account already holds are left alone, and once you connect, its data replaces the uploaded days.

You can remove one upload, or choose **Clear uploaded data**. Data from connected accounts stays, and clearing can't be undone.

> [!NOTE]
>
> If you connect a source and the console then asks how much history to load (1, 3, 6 or 12 months), that is the other way to fill earlier months for the sources it supports.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.