Every response says where you stand. The
RateLimit field gives r, the requests left, and t, the seconds until the window resets:
429 with Retry-After in seconds. Wait that long before calling again. The SDK does this for you, and the CLI exits with code 9.