1httprr trace v1
2379 1422
3POST https://api.anthropic.com/v1/messages HTTP/1.1
4Host: api.anthropic.com
5User-Agent: Go-http-client/1.1
6Content-Length: 183
7Anthropic-Version: 2023-06-01
8Content-Type: application/json
9
10{"model":"claude-sonnet-4-20250514","max_tokens":8192,"messages":[{"role":"user","content":[{"type":"text","text":"Hi, my name is Cornelius","cache_control":{"type":"ephemeral"}}]}]}
11HTTP/2.0 200 OK
12Anthropic-Organization-Id: 3c473a21-7208-450a-a9f8-80aebda45c1b
13Anthropic-Ratelimit-Input-Tokens-Limit: 4000000
14Anthropic-Ratelimit-Input-Tokens-Remaining: 4000000
15Anthropic-Ratelimit-Input-Tokens-Reset: 2026-01-20T05:02:18Z
16Anthropic-Ratelimit-Output-Tokens-Limit: 400000
17Anthropic-Ratelimit-Output-Tokens-Remaining: 400000
18Anthropic-Ratelimit-Output-Tokens-Reset: 2026-01-20T05:02:19Z
19Anthropic-Ratelimit-Tokens-Limit: 4400000
20Anthropic-Ratelimit-Tokens-Remaining: 4400000
21Anthropic-Ratelimit-Tokens-Reset: 2026-01-20T05:02:18Z
22Cf-Cache-Status: DYNAMIC
23Cf-Ray: 9c0c04d42abfefa4-PDX
24Content-Type: application/json
25Date: Tue, 20 Jan 2026 05:02:19 GMT
26Request-Id: req_011CXJ3Uban5HaKm7cjTPc4V
27Server: cloudflare
28Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
29X-Envoy-Upstream-Service-Time: 1234
30X-Robots-Tag: none
31
32{"model":"claude-sonnet-4-20250514","id":"msg_01VwKDeEZjChwVGi6FdWjcWU","type":"message","role":"assistant","content":[{"type":"text","text":"Hello Cornelius! It's nice to meet you. That's a distinctive and classic name. How are you doing today? Is there anything I can help you with?"}],"stop_reason":"end_turn","stop_sequence":null,"usage":{"input_tokens":15,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":0},"output_tokens":38,"service_tier":"standard"}}650 1341
33POST https://api.anthropic.com/v1/messages HTTP/1.1
34Host: api.anthropic.com
35User-Agent: Go-http-client/1.1
36Content-Length: 454
37Anthropic-Version: 2023-06-01
38Content-Type: application/json
39
40{"model":"claude-sonnet-4-20250514","max_tokens":8192,"messages":[{"role":"user","content":[{"type":"text","text":"Hi, my name is Cornelius"}]},{"role":"assistant","content":[{"type":"text","text":"Hello Cornelius! It's nice to meet you. That's a distinctive and classic name. How are you doing today? Is there anything I can help you with?"}]},{"role":"user","content":[{"type":"text","text":"What is my name?","cache_control":{"type":"ephemeral"}}]}]}
41HTTP/2.0 200 OK
42Anthropic-Organization-Id: 3c473a21-7208-450a-a9f8-80aebda45c1b
43Anthropic-Ratelimit-Input-Tokens-Limit: 4000000
44Anthropic-Ratelimit-Input-Tokens-Remaining: 4000000
45Anthropic-Ratelimit-Input-Tokens-Reset: 2026-01-20T05:02:21Z
46Anthropic-Ratelimit-Output-Tokens-Limit: 400000
47Anthropic-Ratelimit-Output-Tokens-Remaining: 400000
48Anthropic-Ratelimit-Output-Tokens-Reset: 2026-01-20T05:02:22Z
49Anthropic-Ratelimit-Tokens-Limit: 4400000
50Anthropic-Ratelimit-Tokens-Remaining: 4400000
51Anthropic-Ratelimit-Tokens-Reset: 2026-01-20T05:02:21Z
52Cf-Cache-Status: DYNAMIC
53Cf-Ray: 9c0c04dc7fd5efa4-PDX
54Content-Type: application/json
55Date: Tue, 20 Jan 2026 05:02:22 GMT
56Request-Id: req_011CXJ3UhEMLAi1P8AyXy9X3
57Server: cloudflare
58Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
59X-Envoy-Upstream-Service-Time: 2424
60X-Robots-Tag: none
61
62{"model":"claude-sonnet-4-20250514","id":"msg_01XdV1M6Kpkvcjc3yDhPCj2u","type":"message","role":"assistant","content":[{"type":"text","text":"Your name is Cornelius, as you told me in your first message."}],"stop_reason":"end_turn","stop_sequence":null,"usage":{"input_tokens":61,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":0},"output_tokens":19,"service_tier":"standard"}}