FinOps for AWS, from your terminal

See every dollar.
Act on every insight.

spendlens finds untagged resources, oversized instances, idle waste and unexpected cost spikes, puts a price on each one, and answers your questions in plain English. Read-only, by design.

Sample output from the bundled demo data (--source demo).

415built-in controls
70taggable resource types
5AI providers
0writes to your AWS account

Everything FinOps needs.
In one command line.

Every check runs against your real AWS estate through Steampipe, with your company's own standards from a single finops.yaml.

Tag compliance

Mandatory, untagged, prohibited, tag-limit and allowed-value checks across every taggable resource type, so spend can be allocated.

spendlens tags --summary

Learn more ›

Rightsizing & standards

Oversized instances, gp2 volumes, previous generations, Multi-AZ in non-prod, versions in paid Extended Support. Each one priced.

spendlens rightsize --min-saving 50

Learn more ›

Waste detection

Unattached volumes, orphaned snapshots, idle load balancers and NAT gateways, unused IPs and secrets: billed, but doing nothing.

spendlens waste

Learn more ›

Cost diff & trends

What changed between any two months or quarters, by service, account, region or tag. New and removed services always included.

spendlens cost diff -g tag:Team

Learn more ›

Anomalies & forecast

Daily spikes against a robust baseline, and a month-end projection checked against your budget and every AWS Budget.

spendlens anomalies

Learn more ›

One savings number

AWS Cost Optimization Hub, Savings Plan coverage and spendlens's own findings, merged without double counting.

spendlens savings summary

Learn more ›

Ask in plain English

Claude, OpenAI, Azure or any OpenAI-compatible model answers from your data, and can never change anything.

spendlens ask "why did EC2 go up?"

Learn more ›

Dashboard & every format

A self-contained HTML dashboard, and table, CSV, JSON or HTML output from every command.

spendlens dashboard -o report.html

Learn more ›

Scheduled & notified

One-command runs in GitLab or GitHub on a read-only OIDC role, with Slack and Teams summaries of what changed.

spendlens init --ci gitlab

Learn more ›

Your standards, your rules

Every threshold is a parameter in one finops.yaml, overridable per run. Plugins add controls, commands and AI tools.

spendlens params

Learn more ›

Built for the questions
teams actually ask.

From the weekly platform review to the month-end forecast, spendlens fits how engineering and finance already work.

Platform team

The weekly cost review

Start the meeting with what changed and what's flagged, then drill into the services behind it.

spendlens cost diff --show flagged
spendlens waste --summary --by service
Engineering manager

Who owns this spend?

Showback by team and environment, with the untagged share called out so it can be fixed at the source.

spendlens cost showback -t Team
spendlens tags -k mandatory
Finance & FinOps

Month-end, without surprises

Projected month end against the budget, and a savings total you can defend line by line.

spendlens forecast --fail-on-risk
spendlens savings summary
Platform engineering

Guardrails in CI

Fail a pipeline on tag-policy violations or big cost jumps, and post the result to the team channel.

spendlens tags --fail-on-alarm
spendlens notify --slack --only-if-changes
On-call / SRE

Why did spend spike?

Find the anomaly, then ask the assistant to explain it from your own data, with the queries it used.

spendlens anomalies
spendlens ask "what drove yesterday's spike?" --show-tools
Architecture review

Standards, enforced

Allowed instance families, Graviton adoption, gp3 everywhere, Multi-AZ only in prod, all from one policy file.

spendlens rightsize -S ec2 -S rds -S ebs

Up and running in minutes.

Uses whatever AWS role you already have assumed. No agents, no SaaS, no stored keys.

Install

spendlens plus Steampipe and Powerpipe.

pip install "spendlens[ai] @ git+https://github.com/devops-monk/spendlens.git"
brew install turbot/tap/steampipe turbot/tap/powerpipe

Describe your standards

Mandatory tags, allowed instance types, budgets.

spendlens init
spendlens doctor

Run, review, schedule

Try it on sample data first, then point it at your account.

spendlens report --source demo
spendlens init --ci gitlab

Read-only. By design.

spendlens never creates, changes, tags or deletes anything. Savings are proposals for a human to review. In CI it assumes a read-only role through OIDC, so no AWS keys are stored. Its AI assistant can only run SQL that passes a parser and then executes on connections that cannot write.