mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-09 22:31:41 +00:00
Google prices Lyria per generated clip, so every Vertex Lyria entry in the price map now carries a single output_cost_per_image and both the speech and the passthrough cost paths read that one field. The old output_cost_per_second and audio_seconds_per_prediction pair assumed a 30 second clip, which does not match the 32.768 second WAV Vertex returns, and no other model in the map priced audio that way Drops max_audio_length_hours and max_audio_per_prompt from the price map, its schema, the generator, and ModelInfo, since nothing reads them, and drops the audio_mime_type hidden param for the same reason: the response already carries the resolved content type on its own header Folds the per-model bundled catalog lookups into one cached parse of the local cost map, validated with a TypeAdapter over a ReadOnly TypedDict |
||
|---|---|---|
| .. | ||
| baseline_db.py | ||
| check_file_length.py | ||
| check_files_match.py | ||
| generate_model_prices_schema.py | ||
| run_migration.py | ||
| security_scans_readme.md | ||
| TEST_KEY_PATTERNS.md | ||