As far as I'm aware there is no way to access cosmos API response headers when using the cosmos db provider for EF. I'd like to be able to know the document size for each of my entities, which when using cosmos API directly, is in the response headers, however there is no way to access these response headers via EF.