-
Notifications
You must be signed in to change notification settings - Fork 0
/
aidetour_anthropic_response_headers.txt
39 lines (35 loc) · 1.25 KB
/
aidetour_anthropic_response_headers.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
How to see "response headers" and current rate limits:
curl -i https://api.anthropic.com/v1/messages \
--header "anthropic-version: 2023-06-01" \
--header "anthropic-beta: messages-2023-12-15" \
--header "content-type: application/json" \
--header "x-api-key: myKey" \
--data \
'{
"model": "claude-3-haiku-20240307",
"messages": [{"role": "user", "content": "Hello"}],
"max_tokens": 256,
"stream": true
}'
HTTP/2 200
date: Wed, 01 May 2024 19:37:50 GMT
content-type: text/event-stream; charset=utf-8
cache-control: no-cache
anthropic-ratelimit-requests-limit: 1000
anthropic-ratelimit-requests-remaining: 999
anthropic-ratelimit-requests-reset: 2024-05-01T19:38:40Z
anthropic-ratelimit-tokens-limit: 100000
anthropic-ratelimit-tokens-remaining: 100000
anthropic-ratelimit-tokens-reset: 2024-05-01T19:38:40Z
request-id: req_01Cy7G9PBm7S1v8Wc96QkvoA
via: 1.1 google
cf-cache-status: DYNAMIC
server: cloudflare
cf-ray: 87d23a75cb4f1261-ORD
see: https://docs.anthropic.com/claude/reference/rate-limits
Build Tier 2
Claude 3
Models Requests/min(RPM) Tokens/min(TPM) Tokens/day(TPD)
Haiku 1,000 100,000 25,000,000
Sonnet 1,000 80,000 2,500,000
Opus 1,000 40,000 2,500,000