> For the complete documentation index, see [llms.txt](https://docs.licensemeter.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.licensemeter.com/ai-costs.md).

# AI API costs

Track daily OpenAI and Anthropic API spending separately from subscription seats.

Open **AI costs** for daily spending from connected OpenAI and Anthropic API organizations. Connect these providers individually from **Connectors**.

<figure><img src="https://1639979424-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLWIsqiRHwXSWQ10QGIRo%2Fuploads%2FbRPiAS1WkNuy7rvsC02k%2Fai-costs.webp?alt=media" alt="AI costs sample page with monthly totals and daily provider spending"><figcaption><p>LicenseMeter sample workspace. All names, costs and findings shown are demonstration data.</p></figcaption></figure>

## API costs and subscription seats

| Cost type                  | Source                     | Price basis                          |
| -------------------------- | -------------------------- | ------------------------------------ |
| OpenAI API                 | OpenAI Admin API key       | Provider-reported daily costs in USD |
| Claude API                 | Anthropic Admin API key    | Provider-reported daily costs in USD |
| ChatGPT subscription seats | Imported workspace members | Your per-seat price book             |
| Claude subscription seats  | Imported workspace members | Your per-seat price book             |

API costs stay in USD and are not converted to the workspace's license currency. The connector does not read prompts or responses. Console membership is checked separately from usage costs.

## Read the chart

Check the date range, provider split and latest sync. The initial OpenAI sync requests up to 180 days of history; Anthropic requests around 90 days, subject to available provider data. Very recent provider reporting can lag current use.

Sample AI pages are labeled **Sample data** and **No live connection**. They are for learning the interface and do not indicate that a key has been connected. Sample CSV downloads contain illustrative figures.

If live costs are missing, confirm that you supplied an organization admin key, not a regular model-inference key, then inspect the provider's connector status and sync history.

Setup guides: [OpenAI](/connectors/openai.md) and [Anthropic](/connectors/anthropic.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.licensemeter.com/ai-costs.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
