# collab: Adjust rate-limiting measures for Claude 3.7 Sonnet \(\#28111\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/558d61b9071d9d7a0f99242b43a04ae756853eed)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 558d61b9071d9d7a0f99242b43a04ae756853eed

Requested commit: 558d61b9071d9d7a0f99242b43a04ae756853eed

Commit: 558d61b9071d9d7a0f99242b43a04ae756853eed

Tree: 732baea3be23f01f8f1e7773ab9cd940548a5cc8

Author: Marshall Bowers

Committer: GitHub

## Message

```
collab: Adjust rate-limiting measures for Claude 3.7 Sonnet (#28111)

This PR updates the usage measures used for rate limiting when using
Claude 3.7 Sonnet.

Instead of using the combined `tokens_per_minute` measure we now rate
limit individually on `input_tokens_per_minute` (which exclude cache
reads) and `output_tokens_per_minute`.

Release Notes:

- N/A
```

## Parents

- [02a8ece074cde7db6620a5caecaaa843f025181f](https://git.cafe/gitcafe/zed/commit/02a8ece074cde7db6620a5caecaaa843f025181f?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/558d61b9071d9d7a0f99242b43a04ae756853eed?format=markdown)
