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

# Cost: Cost per Feature

> Break your AI spend down per feature.

A feature is the `feature_name` you stamp on your LLM calls when [propagating metadata](/quickstart#add-metadata-to-your-llm-calls-for-finer-analysis) in your instrumentation.

PS: if a feature wraps several LLM calls, their costs are aggregated under that feature.

<Frame>
  <video src="https://mintcdn.com/weflayr/-Mt-2Smg-srMobua/images/product/cost-scroll.mp4?fit=max&auto=format&n=-Mt-2Smg-srMobua&q=85&s=042b5226d6005292d5df83dbfa2aa82e" poster="/images/product/cost-scroll-poster.jpg" aria-label="Cost per Feature page" controls loop muted playsInline preload="metadata" className="w-full rounded-xl" data-path="images/product/cost-scroll.mp4" />
</Frame>

## Per-customer breakdown

Expand a feature row to see which customers drive that feature's cost:

<Frame>
  <img src="https://mintcdn.com/weflayr/swYZJQfBVJ4AL5hK/images/product/cost-expanded-row.png?fit=max&auto=format&n=swYZJQfBVJ4AL5hK&q=85&s=fa9a8c98f9972b1e01903e9fc08c3d80" alt="Feature row expanded with top customers" width="1568" height="708" data-path="images/product/cost-expanded-row.png" />
</Frame>

## Feature detail

Click a feature to open its detail view:

<Frame>
  <video src="https://mintcdn.com/weflayr/-Mt-2Smg-srMobua/images/product/cost-feature-detail-scroll.mp4?fit=max&auto=format&n=-Mt-2Smg-srMobua&q=85&s=14936e4f2b4e68d21ef767581ff65584" poster="/images/product/cost-feature-detail-scroll-poster.jpg" aria-label="Feature detail view" controls loop muted playsInline preload="metadata" className="w-full rounded-xl" data-path="images/product/cost-feature-detail-scroll.mp4" />
</Frame>
