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

# AI Cost

> What each feature of your product costs, per run and per customer.

A feature is the `feature_name` your calls carry ([gateway](/api/gateway/responses#weflayr-fields) or [SDK](/sdks/python#propagate_metadata)). A feature run is one execution of that feature, whatever the number of LLM calls it makes.

<Frame>
  <video src="https://mintcdn.com/weflayr/jf99vD0W4dsGuj5S/images/product/ai-cost-scroll.mp4?fit=max&auto=format&n=jf99vD0W4dsGuj5S&q=85&s=37b267a5b3fe234562cc61052c5fe7fc" poster="/images/product/ai-cost-scroll-poster.jpg" aria-label="AI Cost page with filters, cost over time and the table of features" controls loop muted playsInline preload="metadata" className="w-full rounded-xl" data-path="images/product/ai-cost-scroll.mp4" />
</Frame>

## Filter and compare

Filter by period, model, and by any [customer tag](/product/customer-tags) or tag your calls carry. The chart shows the total cost or the average cost per feature run, by day, week, month, quarter or year, and downloads as a CSV.

The table lists every feature with its cost, share of spend, number of runs, tokens, average cost per run and month-over-month change. Expand a row to see its calls.

## Feature detail

Click a feature to see its cost and adoption over time, its top customers and the models it runs on.

<Frame>
  <video src="https://mintcdn.com/weflayr/jf99vD0W4dsGuj5S/images/product/ai-cost-feature-detail.mp4?fit=max&auto=format&n=jf99vD0W4dsGuj5S&q=85&s=04114140ae8ed4b4ebc3e0e5051651e8" poster="/images/product/ai-cost-feature-detail-poster.jpg" aria-label="Feature detail with cost over time, adoption, top customers and model mix" controls loop muted playsInline preload="metadata" className="w-full rounded-xl" data-path="images/product/ai-cost-feature-detail.mp4" />
</Frame>


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