Codex on AWS Bedrock bug causing 10x charges
A GitHub issue reports that Codex CLI 0.147.0 on Amazon Bedrock lacks explicit prompt cache controls for GPT-5.6 Sol, causing high cache-write spend. One user saw cache-write tokens account for 85% of estimated model cost, while another observed a 5x daily cost increase after upgrading, with cache write-to-read ratio jumping from 0.08 to 8.84. The issue requests support for prompt_cache_options and prompt_cache_breakpoint fields.
After upgrading from 0.146.0 to 0.147.0 with the Amazon Bedrock provider, the cache write-to-read ratio increased from 0.08 to 8.84, and my daily cost rose to at least 5x its previous level.