Product documentation

Weflayr allows you to analyse your AI costs & revenue and optimise it.

Analyse

Overview

The daily pulse of your AI spend and usage.

Cost

What each feature costs, with a per customer breakdown.

Margin

Profit and loss per customer, combining your AI cost with your revenue.

Internal projects

Track an internal AI tool's cost against the key metrics it drives, instead of revenue.

All this data can also be fetched programmatically, through our API or MCP.

Optimise

The Optimisation engine analyses your real traffic and surfaces two kinds of savings:

Model Benchmarking

Swap to a cheaper model that performs as well as the one you run today.

Prompt caching

Capture the reuse of identical prompt prefixes across calls that your provider prices cheaper.

Configure

Feed Weflayr everything that is not an AI call - revenue, customer tags, free AI credits: see Configure Cost & revenue.