# RequestChargeAccumulator

> **Class** in `langchain_azure_cosmosdb`

📖 [View in docs](https://reference.langchain.com/python/langchain-azure-cosmosdb/_request_charge/RequestChargeAccumulator)

Accumulate request charges supplied by Cosmos SDK response hooks.

## Signature

```python
RequestChargeAccumulator(
    self,
)
```

## Constructors

```python
__init__(
    self,
) -> None
```


## Properties

- `request_charge`
- `request_count`

## Methods

- [`response_hook()`](https://reference.langchain.com/python/langchain-azure-cosmosdb/_request_charge/RequestChargeAccumulator/response_hook)
- [`emit()`](https://reference.langchain.com/python/langchain-azure-cosmosdb/_request_charge/RequestChargeAccumulator/emit)

---

[View source on GitHub](https://github.com/langchain-ai/langchain-azure/blob/e62c2a55aaa0942fdac739b4066011953b80018e/libs/azure-cosmosdb/src/langchain_azure_cosmosdb/_request_charge.py#L26)