Defined in: [src/models/model.ts:70](https://github.com/strands-agents/harness-sdk/blob/14f0b3355dd082f937ecaea538a370cab71ad4f8/strands-ts/src/models/model.ts#L70)

Configuration for prompt caching.

## Extended by

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

## Properties

### strategy

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

Defined in: [src/models/model.ts:77](https://github.com/strands-agents/harness-sdk/blob/14f0b3355dd082f937ecaea538a370cab71ad4f8/strands-ts/src/models/model.ts#L77)

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)