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.
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
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.
import { PromptCacheOptions } from "@openrouter/sdk/models";
let value: PromptCacheOptions = {
mode: "explicit",
};
| Field | Type | Required | Description |
|---|---|---|---|
mode | models.PromptCacheOptionsMode | :heavy_check_mark: | N/A |
ttl | string | :heavy_minus_sign: | N/A |