POST /api/v1/estimate
Response
Authorization
if you like for consistency with your other requests, but it has no effect here.
Full response shape
Full response shape
Also included:
model_name, provider, tier, cost_per_request_cents, estimated_tokens (approximate, from your messages if provided), full capabilities on each alternative, ensemble_pricing, and a note reminding you billing is per-request, not per-token.