Skip to main content

Overview

Estimate embedding cost from provider-reported input usage and the pricing snapshot attached to an exact model record. Unknown paid usage returns no estimate. An explicit zero rate remains known free and does not require a token count.

Example