Codex on AWS bedrock bug causing 10x charges

(github.com)

32 points | by TheP1000 1 hour ago

5 comments

  • amluto 20 minutes ago
    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 breakpoint or both.

    In any case, I find the behavior change interesting. 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.

    • DrJokepu 3 minutes ago
      > 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.

    • xiphias2 13 minutes ago
      It’s really cool that we have this proof that US companies are half year behind Chinese models in architecture.
    • zuzululu 5 minutes ago
      i dont know what the hell is going on lately i pop in to issues or discussions and its agents talking to each other or telling me what PR to merge

      I mean i use AI too but was taken back when an agent popped up dictating what i should do and so on....felt weird

  • TheP1000 1 hour ago
    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"

    • otterley 38 minutes ago
      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.
    • yablak 10 minutes ago
      Way to bury the lede..
  • spacedoutman 8 minutes ago
    Something is wrong with the codex app too, burning usage like crazy lately.
    • ac29 1 minute ago
      There haven't been any free resets in the past week, there were 4 in the first half of the month
    • zuzululu 5 minutes ago
      indeed it has anybody know whats going on at openai ??
  • hk1337 11 minutes ago
    I wonder if it's related to Codex wearing out SSDs.
  • edoceo 41 minutes ago
    Loaded question: would an openrouter or similar solution caught this before the $BigProblem showed up?