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

# Credits

## How Credits Work

DataLab charges credits for any message sent in a chat and additional credits for paid data or tool use - like using a data product that's not owned by another organization or doing a web search.

If your question requires two paid data products or tools, Alkemi charges credits for the initial message and for querying the two paid data products.

Here's a break down of an example prompt to better understand how credits are charged:

> Search the web for technology news and identify businesses, their website domains and stock tickers for the businesses found **(1 credit)**, then for each of those stock tickers, run a query against the @(stock data) product for the performance YTD **(6 credits)** and then run another query against the @(clickstream) product for who the top 5 referral domains are to their websites **(6 credits)**

## How Credits are Priced

Each new account comes with free credits. Additional credits can be purchased à la carte and the cost of each credit is determined by your plan.


---

# 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:

```
GET https://docs.alkemi.ai/documentation/models-and-pricing/credits.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
