static audit · 2026-10-25T22:34:30.743Z

pipecat-ai/pipecat

120 source files scanned · 12 LLM call site(s) · ~0% of LLM spend looks recoverable (static heuristics · repo looks like a library)

Library/SDK layout detected (installable Python package with src/ layout and no app entry point): call sites are most likely pass-through wrappers where the caller chooses the model and prompt, so findings are downgraded one level and the estimate is discounted.

badge   ![TokenZero audit](https://tokenzero.sh/v1/badge/audit/aud_x8JbB-whETG5PRNaSQAiwg.svg)

repo badge   [![LLM spend audited by TokenZero](https://tokenzero.sh/v1/badge/repo/pipecat-ai/pipecat.svg)](https://tokenzero.sh/audit/pipecat-ai/pipecat)

Models referenced

claude-2 ×1

Findings

SeverityWhereFindingEst.
infosrc/pipecat/services/anthropic/llm.py:530Unrecognised model id "claude-2"
Not in the current pricing table: it may be retired or renamed. Retired models return errors or are silently remapped by some providers.
Fix: Check the provider model list; TokenZero flags unpriced models in `X-TokenZero-Warning`.
0%

Fix all of it with one line

OPENAI_BASE_URL=https://tokenzero.sh/v1
ANTHROPIC_BASE_URL=https://tokenzero.sh

Keys pass through untouched. Cache formatting and exact caching are on by default; cascade routing stays opt-in. How it works