Skip to main content

Quantum Media Technologies

ai-cost

One command tells what your AI-assisted work cost, from what Claude Code, Codex CLI, Gemini CLI and Grok Build CLI already wrote to disk — nothing is sent anywhere.

Install

pipx install ai-costs        # or: npm install -g ai-costs

Run

ai-cost report --session latest
Answer Question Sample
Real cost What did you pay? 54.71 USD
API-only cost The same tokens with no subscription 175.02 USD
Vendor quote What an outside firm would charge profile consultancy-eu

Supports · version 2.11.1

Reads Claude Code · Codex CLI · Gemini CLI · Grok Build CLI · GitHub usage report and counts · your own app's usage log
Prices Anthropic · OpenAI · Google · xAI · DeepSeek · Alibaba · Xiaomi · GitHub
Runs on macOS · Linux

Docs

First 10 minutes docs/SETUP.md
Commands docs/COMMANDS.md
Real, API-only, vendor docs/ANSWERS.md
Sources it reads docs/SOURCES.md
Your plans and prices docs/CONFIGURATION.md
Report your own app's calls docs/USAGE-LOG.md
JSON output docs/JSON.md
Limits docs/LIMITS.md
For AI agents AGENTS.md

Python 3.9 or newer · MIT · Quantum Media Technologies · Trademarks

Metadata

Release files for ai-costs 2.11.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ai-costs 2.11.1
File Size Uploaded Provenance Actions
ai_costs-2.11.1.tar.gz 311.9 kB With provenance Details for ai_costs-2.11.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ai-costs 2.11.1
File Interpreter ABI Platform Actions
ai_costs-2.11.1-py3-none-any.whl Python 3 none any Details for ai_costs-2.11.1-py3-none-any.whl

Total release size: 663.5 kB

Release files / ai_costs-2.11.1.tar.gz

Download URL ai_costs-2.11.1.tar.gz
Size 311.9 kB
Tags Source
SHA-256 checksum
How to use checksums
6af483772dbe5a4784e7802dece1d8bd255a02c79de54c53fed514ba77346598
BLAKE2b-256 checksum
How to use checksums
148ef56006fbe3bb52e17c6afb4afb541afca1bff12d925c597e463ebe6f1542
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.

Transparency log

Release files / ai_costs-2.11.1-py3-none-any.whl

Download URL ai_costs-2.11.1-py3-none-any.whl
Size 351.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
493a2e402b89a89ec10d71e2edf3bfb23057c36b6b7c47934fdcb6a4d74102dd
BLAKE2b-256 checksum
How to use checksums
1d1f92f142935a0dd755f36e77532260ef2740ccea5bc496e2e8346c8df1bc2b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.

Transparency log

Security for ai-costs 2.11.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for ai_costs-2.11.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page