OpenAI APIのusage tier
https://platform.openai.com/docs/guides/rate-limits?context=tier-free
https://platform.openai.com/account/limits
から案内された
Rate limits in headers
レスポンスのヘッダーで現在のlimitが見えるらしい
Below are a few example solutions for Python that use exponential backoff.
#Tenacity
#backoff
ライブラリを使わない実装例も
後で確認したい