Skip to main content
The TypeScript SDK and docs are currently in beta. Report issues on GitHub.
Cache control for the content part

Example Usage

import { ChatContentCacheControl } from "@openrouter/sdk/models";

let value: ChatContentCacheControl = {
  type: "ephemeral",
};

Fields

FieldTypeRequiredDescriptionExample
ttlmodels.AnthropicCacheControlTtl:heavy_minus_sign:N/A5m
typemodels.ChatContentCacheControlType:heavy_check_mark:N/A