Defined in: [src/models/model.ts:69](https://github.com/strands-agents/harness-sdk/blob/767b13fe59b76538208d5fefec89164fe067abe6/strands-ts/src/models/model.ts#L69)

Configuration for prompt caching.

## Extended by

-   [`BedrockCacheConfig`](/pr-cms-3642/docs/api/typescript/BedrockCacheConfig/index.md)

## Properties

### strategy

```ts
strategy: "auto" | "anthropic";
```

Defined in: [src/models/model.ts:76](https://github.com/strands-agents/harness-sdk/blob/767b13fe59b76538208d5fefec89164fe067abe6/strands-ts/src/models/model.ts#L76)

Caching strategy to use.

-   “auto”: Automatically inject cache points at optimal positions based on model ID detection (after tools, after last user message)
-   “anthropic”: Force enable Anthropic-style caching (useful for application inference profiles)