co-mono/packages/ai/scripts
Ben Vargas e80a924292
fix: add accurate pricing for openai-codex OAuth models (#501)
Previously all openai-codex models had pricing set to 0, causing the
TUI to always show $0.00 for cost tracking.

Updated pricing based on OpenAI Standard tier rates:
- gpt-5.2/gpt-5.2-codex: $1.75/$14.00 per 1M tokens
- gpt-5.1/gpt-5.1-codex/gpt-5.1-codex-max: $1.25/$10.00 per 1M tokens
- gpt-5/gpt-5-codex: $1.25/$10.00 per 1M tokens
- codex-mini-latest: $1.50/$6.00 per 1M tokens
- gpt-5-mini/gpt-5.1-codex-mini/gpt-5-codex-mini: $0.25/$2.00 per 1M tokens
- gpt-5-nano: $0.05/$0.40 per 1M tokens

Source: https://platform.openai.com/docs/pricing
2026-01-06 17:45:09 +01:00
..
copy-assets.js feat(ai): add OpenAI Codex OAuth + responses provider 2026-01-04 21:11:19 +02:00
generate-models.ts fix: add accurate pricing for openai-codex OAuth models (#501) 2026-01-06 17:45:09 +01:00
generate-test-image.ts feat(ai): Add image input tests for vision-capable models 2025-08-30 18:37:17 +02:00