Skip to main content

llm-inspect

Zero-config LLM API inspector. One import, one line — intercepts all Anthropic and OpenAI calls and shows a real-time dashboard with token breakdown and cost estimates.

Install

pip install llm-inspect

Usage

import llm_inspect
llm_inspect.init()  # add at your app entry point, before other imports

# All LLM calls now route through the inspector
import anthropic
client = anthropic.Anthropic()

Dashboard opens automatically at http://127.0.0.1:8788

How it works

init() starts a lightweight local proxy on :8787 (if not already running) and sets ANTHROPIC_BASE_URL / OPENAI_BASE_URL so all SDK calls route through it. No config files, no CA certificates, no accounts.

Metadata

Release files for llm-inspect 0.1.16

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

Built distribution (wheel)

Table of built distributions (wheels) for llm-inspect 0.1.16
File Interpreter ABI Platform
llm_inspect-0.1.16-py3-none-any.whl Python 3 none any Details

Release files / llm_inspect-0.1.16-py3-none-any.whl

Download URL llm_inspect-0.1.16-py3-none-any.whl
Size 21.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ba1b343ef26731d577a8d8026a9da9f189c22f7486b8b33f23bd7704b6226cc0
BLAKE2b-256 checksum
How to use checksums
f343dfc40ceae7e3608e3d37ce4d80cc601910f91f3c9efb1652affc6259474d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Jun 30, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.16 This release

1 release file

0.1.15

1 release file

0.1.14

1 release file

0.1.13

1 release file

0.1.12

1 release file

0.1.11

1 release file

0.1.9

2 release files

0.1.8

2 release files

0.1.0

2 release files

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