Official docs warn that missing conversation cache keys can cause frequent full-input charges
xAI recommends prompt_cache_key or x-grok-conv-id for long conversations; otherwise requests may land on cache-cold servers and incur full input charges.
ActionCost evaluation should include cache-hit rates and compaction strategy for long agent loops.
Verify source