Files
openrouter-python-sdk-retry…/docs/components/promptcacheoptions.mdx
T
github-actions[bot]GitHubspeakeasybotspeakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
3f1ab05c95 chore: 🐝 Update SDK - Generate (spec change merged) 0.11.15 (#418)
Co-authored-by: speakeasybot <bot@speakeasyapi.dev>
Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
2026-07-09 18:20:26 +00:00

13 lines
1.5 KiB
Plaintext

---
title: "PromptCacheOptions"
---
Request-level prompt-cache controls. `mode: "explicit"` disables OpenAI-managed breakpoints so only blocks marked with `prompt_cache_breakpoint` are cached. Only supported by OpenAI GPT-5.6 and newer.
## Fields
| Field | Type | Required | Description |
| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- |
| `mode` | [components.PromptCacheOptionsMode](../components/promptcacheoptionsmode.mdx) | :heavy_check_mark: | N/A |
| `ttl` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |