OpenAI API adds 12-hour prompt caching; roboclawbot auto-opens config PR within minutes

heyneighbor · x · 2026-10-21

OpenAI's developer team announced that the API now supports opt-in 12-hour prompt caching: persistent agents can reuse context all day, keeping shared instructions, tools, and context cached longer while paying lower cached-input rates even as inputs change.

Developer Peter Steinberger then asked @roboclawbot (an OpenClaw-based automation agent) to research the feature, add a config option, and open a PR — the bot promptly spun up a session and created a prompt-cache-config branch. The poster then publicly asked the bot to produce a one-minute explainer video, calling it 'DevRel in public, extreme mode.'

Related event: OpenAI API Adds 12-Hour Prompt Caching, Cutting Costs for Long-Running Agents(6 posts)→

Original post →

More from coding & agent

coding & agent channel →