# update_token_usage

> **Function** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/llms/anyscale/update_token_usage)

Update token usage.

## Signature

```python
update_token_usage(
    keys: Set[str],
    response: Dict[str, Any],
    token_usage: Dict[str, Any],
) -> None
```

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/4b280287bd55b99b44db2dd849f02d66c89534d5/libs/community/langchain_community/llms/anyscale.py#L31)