Live data from Hacker News

Codex on AWS bedrock bug causing 10x charges

github.com

11–20 of 79 posts

Re: Codex on AWS bedrock bug causing 10x charges

#12
post #5

Wow, that whole thread is borderline incoherent, presumably generated by an AI without adequate oversight. Here are the docs: https://developers.openai.com/api/docs/guides/prompt-caching... The thread has little explanation as to what weird thing they’re doing to Codex that is making the default work poorly, and it kind of seems like it’s getting confused about whether it wants to set the caching mode or the breakpoi…

> It sounds to be like 5.5 and below may have been using a conventional attention scheme where a cached KV sequence can be easily used to restore a prefix of itself, but perhaps 5.6 is using linear attention or LSTM or another recurrent scheme where you cannot rewind the model state by just truncating it.

I feel like this is the kind of substantial change to your product that you would need to tell your customers about. It would be simply disrespectful to your customers to not disclose this upfront.

Re: Codex on AWS bedrock bug causing 10x charges

#14
post #4
post #2

Our codex on AWS Bedrock read / write cache ratio was less than 5%. Cache writes are very expensive and they were never being used. This results in codex on Bedrock causing ~10x what it should due to no caching and massive writes. The workaround in issue resolved for me: web_search = "disabled"

If you’ve got a workaround, I’d suggest updating the issue description to have it up top there so similarly impacted users can spot it quickly and benefit.

It's already mentioned in the issue...

Re: Codex on AWS bedrock bug causing 10x charges

#15
post #2

Our codex on AWS Bedrock read / write cache ratio was less than 5%. Cache writes are very expensive and they were never being used. This results in codex on Bedrock causing ~10x what it should due to no caching and massive writes. The workaround in issue resolved for me: web_search = "disabled"

"causing" -> "costing", right?

Re: Codex on AWS bedrock bug causing 10x charges

#16
post #5

Wow, that whole thread is borderline incoherent, presumably generated by an AI without adequate oversight. Here are the docs: https://developers.openai.com/api/docs/guides/prompt-caching... The thread has little explanation as to what weird thing they’re doing to Codex that is making the default work poorly, and it kind of seems like it’s getting confused about whether it wants to set the caching mode or the breakpoi…

> It sounds to be like 5.5 and below may have been using a conventional attention scheme where a cached KV sequence can be easily used to restore a prefix of itself, but perhaps 5.6 is using linear attention or LSTM or another recurrent scheme where you cannot rewind the model state by just truncating it. I feel like this is the kind of substantial change to your product that you would need to tell your customers abo…

It depends on who they consider the customers. Shareholders and govt are the customers, not users.

Users is the product.

Re: Codex on AWS bedrock bug causing 10x charges

#20
post #4

Earlier quoted context omitted.

If you’ve got a workaround, I’d suggest updating the issue description to have it up top there so similarly impacted users can spot it quickly and benefit.

It's already mentioned in the issue...

It’s in a comment halfway down the page. It’s not in the issue description.

If enough comments are added to the discussion, it might end up being collapsed.

Post reply on HN