Claude models in azure foundry's model router not doing prompt caching

Sharma, Deeksha 0 Reputation points
2026-07-02T19:25:19.36+00:00

Hi ,

I'm testing the model router with latest antrhopic models. Seems like they don't have prompt caching enabled as I don't see any field in usage dictionary.

For eg :

{   "model": "claude-opus-4-7",   "usage": {     "completion_tokens": 2043,     "prompt_tokens": 1327,     "total_tokens": 3370   } }

This is the usage dictionary returned.

My question is wouldn't it defeat the purpose of having a router if we're not have any prompt caching for anthropic models. The costs would in fact be super hight than the baseline model costs.

Azure OpenAI in Foundry Models

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.