OpenRouter TypeScript SDK - v1.0.6
    Preparing search index...

    Interface CacheControl

    Configuration for Anthropic Prompt Caching Allows reducing costs by caching portions of prompt (e.g., long system prompt)

    interface CacheControl {
        type: "ephemeral";
    }
    Index

    Properties

    Properties

    type: "ephemeral"