﻿# How do you audit priority-tier image and cached-image costs in LiteLLM?

A LiteLLM development release corrects priority rates for image input and cached image tokens. Reconcile measured usage with the right price categories.

Author: Retrivium editorial team
Updated: 2026-11-23
Canonical URL: https://retrivium.ai/journal/daily-20261123-routing-litellm-priority-cached-image-cost/
Language: en

LiteLLM v1.112.0-dev.2 was published on November 21, 2026. Its release notes include a cost-calculation correction for priority-tier image input and cached image tokens. The upstream discussion compares standard and priority requests and shows why a total prompt token count is insufficient for reconciliation. The cited version is a development release, so check the behavior in the build you actually run.

## Break usage into the categories that carry rates

An image can account for a large share of the input even when the textual prompt is short. Keep uncached image input separate from cached image input, text input and output when the provider reports these distinctions. Record the units and the applicable tier beside each rate. When usage fields are missing, mark the amount as an estimate that depends on assumptions about the split.

## Compare requests with the same payload

A small test can use a repeated synthetic image with a fixed text prompt. Compare standard and priority runs and preserve the returned usage breakdown. Then include a repeated request that the provider reports as a cache hit. A repeated image does not guarantee a cache hit, so use the observed cached count. Check whether the proxy applies the price expected for each reported category and tier.

## Keep estimates and settlement records separate

Your proxy can use configured prices for chargeback or an internal budget. The provider may apply contract rates or billing rules that differ. Compare the internal estimate with provider usage and the settled statement over the same time range. Retain the configured price revision so a later catalog update does not change how an earlier discrepancy is interpreted.

## Recheck after an upgrade

Test a text-only request alongside a vision request and a cached vision request. These cases cover distinct calculation paths. Record the version and pass criteria before changing a deployment. If a needed price or usage value is unavailable, the report should surface that gap before financial decisions depend on the total.

## Sources

- [LiteLLM development release](https://github.com/BerriAI/litellm/releases/tag/v1.112.0-dev.2)
- [Cost calculation change and evidence](https://github.com/BerriAI/litellm/pull/52972)

## Related reading

- [Cache cost per completed task](/journal/daily-20261120-model-gemini-neon-cache-cost-completed-task/)
- [Provider routing and cost ceilings](/journal/openrouter-fallback-price-cap/)
