Skip to content

Fix audio pricing data#353

Merged
alexmojaki merged 9 commits intomainfrom
codex/pricing-data-fixes-stack
May 4, 2026
Merged

Fix audio pricing data#353
alexmojaki merged 9 commits intomainfrom
codex/pricing-data-fixes-stack

Conversation

@alexmojaki
Copy link
Copy Markdown
Contributor

@alexmojaki alexmojaki commented May 1, 2026

Stacks on #352. This is a data-only extraction from #351; no pricing engine or build logic changes are included.

Changes:

  • Add Gemini cached-audio read pricing where cache-read and audio rates already imply it.
  • Add matching text input/output prices for OpenAI audio/TTS model entries that previously only had audio-specific prices.
  • Regenerate Python, TypeScript, and JSON provider data.
  • Update the extracted usage dataset prices affected by those data fixes.

Verification:

  • make build-prices package-data
  • make test
  • uv run basedpyright
  • npm run ci

Comment thread prices/providers/google.yml Outdated
@@ -326,6 +326,7 @@ models:
tiers:
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

remove this incorrect tier

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

(Claude) Addressed in 8f37b37

context_window: 128000
prices_checked: 2025-07-22
prices:
input_mtok: 2.5
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

add comments explaining these duplications

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

(Claude) Addressed in 8f37b37

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

that's the wrong explanation

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

(Claude) Addressed in 766b32b

Base automatically changed from codex/main-passing-test-regressions to main May 4, 2026 12:34
@alexmojaki alexmojaki merged commit 508bffc into main May 4, 2026
12 checks passed
@alexmojaki alexmojaki deleted the codex/pricing-data-fixes-stack branch May 4, 2026 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant