Skip to content
HomeNewsConceptsGuidesToolbox
AboutSubscribeUA
Subscribe

AI Today Brief

The daily AI-engineering brief. Built in public. EN · UA.

XTelegramLinkedInYouTubeRSS

Follow AI Today Brief on LinkedIn for daily AI-engineering updates and the weekly “5 shifts that changed how developers work” PDF.

Explore

NewsDigestsConceptsGuides

Company

SubscribeAdvertiseAbout

Legal

Editorial policyAI disclosurePrivacyTerms

© 2026 AI Today Brief. All rights reserved.

  1. Home/
  2. News/
  3. Token & cost optimization/
  4. Native Bedrock Codex missing explicit prompt cache controls causes high write spend
Token & cost optimization

Native Bedrock Codex missing explicit prompt cache controls causes high write spend

Developers using native OpenAI Codex CLI via Amazon Bedrock Mantle on GPT-5.6 Sol report high costs driven by missing explicit prompt cache controls. Telemetry shows cache writes accounting for nearly 85% of total model spend due to missing request options.

August 21, 2026· 5 min read
OKCurated by Oleksandr Kuzmenko, AI Product Engineer·Updated August 21, 2026·Sources cited on every story
AI-assisted · editor-reviewed·How we use AI
Native Bedrock Codex missing explicit prompt cache controls causes high write spend

Impact: High

Why it matters

Inspect your AWS Bedrock CloudWatch telemetry to ensure agentic coding sessions are not re-writing full prompt contexts on every turn.

TL;DR

  • 01Native Bedrock Codex currently lacks explicit prompt cache controls for GPT-5.6 Sol.
  • 02Cache writes can account for up to 85% of total LLM API spend in agentic sessions.
  • 03Monitor per-turn telemetry for zero cached_input_tokens to catch prefix rewrite loops.

Key facts

Cache Write Spend Share
~85% of model spend
Sample Session Tokens
6.709M write tokens / 0 cached tokens
Average Write Overhead
~88K tokens per request

Explicit Prompt Caching Gap on AWS Bedrock

When executing agentic coding workflows using native Codex CLI over the aws-bedrock provider, requests sent to the Bedrock Mantle Responses API fail to opt into explicit prompt caching for gpt-5.6-sol. Consequently, long instruction and tool definitions are continuously written as new cache entries rather than being read from existing prefixes.

Usage Telemetry and Cost Impact

  • Production data from August 5 through August 8 showed cache writes accounted for 85% of estimated model spend.
  • A benchmark session logged 76 Sol requests consuming 6.709M cache_write_input_tokens and 0 cached_input_tokens.
  • Average cache-write overhead measured approximately 88K tokens per request without any client-side CloudWatch errors.

Required Config Remediation

Because Bedrock provider settings in config.toml only expose transport and authentication flags, developers cannot manually inject request-body transformations. Resolution requires adding native support for prompt_cache_options serialization and explicit prompt_cache_breakpoint placement in Codex.

Try it in 2 minutes

# Current config.toml lacks explicit request body prompt_cache_options
[model_providers.aws-bedrock]
region = "us-east-1"
model = "gpt-5.6-sol"

toml

✓ When to use

  • When orchestrating long agentic coding sessions using Codex CLI over AWS Bedrock provider infrastructure.
  • When auditing unexpected AWS Bedrock LLM billing spikes on agentic workloads.

✕ When NOT to use

  • When running Codex via direct OpenAI APIs where prompt caching triggers automatically.
  • On short single-turn completions without large prompt prefixes or context windows.

What to do today

  • →Check CloudWatch metrics for high cache_write_input_tokens vs zero cached_input_tokens on Bedrock Codex sessions.
  • →Track issue #37674 on the official OpenAI Codex repository for explicit prompt_cache_options implementation updates.

What the community says

  • “"causing" -> "costing", right?”

    — chrisweekly on Hacker News

  • “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.”

    — DrJokepu on Hacker News

#Codex#AWS Bedrock#GPT-5.6 Sol#Amazon Bedrock Mantle

Sources

  • GitHub Issue #37674: Native Bedrock Codex GPT-5.6 Sol lacks explicit cache controls
ShareShare on XShare on LinkedIn
Next story →Binance launches Agent OS with Model Context Protocol support for trading agents

Related stories

  • Token & cost optimizationSemiAnalysis AgentX Benchmarks Real-World Agentic AI Token Consumption and Serving Efficiency
  • Token & cost optimizationOpenAI Cuts GPT-5.6 Sol API and Codex Credit Pricing by 20%
  • Token & cost optimizationHugging Face Reveals Benchmark Overfitting and Fake Transcripts in Top Speech Models
  • Token & cost optimizationChatGPT Search adopts site domain operators at scale in GPT-5.6 Sol rollout

Email digest

Get the morning AI brief

One email a day — the stories that matter for engineers, founders and tech leads. Human-edited, with links to primary sources.

  • ✓120+ sources scanned daily
  • ✓Edited by a human
  • ✓1 email per day
  • ✓EN + UA

By subscribing you agree to the privacy policy.