Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions providers/google-gemini/gemini-3.1-flash-tts-preview.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
costs:
- input_cost_per_token: 0.000001
input_cost_per_token_batches: 5e-7
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing output batch cost in TTS model pricing

Medium Severity

Adding input_cost_per_token_batches without a corresponding output_cost_per_token_batches is inconsistent with the other TTS models. Both gemini-2.5-pro-preview-tts.yaml (which has identical per-token pricing) and gemini-2.5-flash-preview-tts.yaml include output_cost_per_token_batches at a 50% discount of their output_cost_per_audio_token. This model's output_cost_per_audio_token is 0.00002, so the expected batch output cost would be 0.00001.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 619d9b9. Configure here.

output_cost_per_audio_token: 0.00002
region: "*"
limits:
Expand Down
4 changes: 2 additions & 2 deletions providers/google-gemini/gemini-robotics-er-1.6-preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ features:
- code_execution
- prompt_caching
limits:
context_window: 1048576
max_input_tokens: 1048576
context_window: 131072
max_input_tokens: 131072
max_output_tokens: 65536
max_tokens: 65536
modalities:
Expand Down
Loading