pub fn embeddings_usage(response: &Value) -> ModelUsageExpand description
Usage from an OpenAI-compatible embeddings response. Embeddings generate no completion, so only the prompt is billed: whatever the provider reports as output is ignored rather than priced.