1---
2version: 2
3interactions:
4 - id: 0
5 request:
6 proto: HTTP/1.1
7 proto_major: 1
8 proto_minor: 1
9 content_length: 198
10 host: ""
11 body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"openai/gpt-5","max_completion_tokens":4000,"usage":{"include":true}}'
12 headers:
13 Accept:
14 - application/json
15 Content-Type:
16 - application/json
17 User-Agent:
18 - OpenAI/Go 2.3.0
19 url: https://openrouter.ai/api/v1/chat/completions
20 method: POST
21 response:
22 proto: HTTP/2.0
23 proto_major: 2
24 proto_minor: 0
25 content_length: -1
26 uncompressed: true
27 body: "\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n{\"id\":\"gen-1758709984-uDDmgcl9M9axHhrnPO9m\",\"provider\":\"OpenAI\",\"model\":\"openai/gpt-5\",\"object\":\"chat.completion\",\"created\":1758709984,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"stop\",\"native_finish_reason\":\"completed\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"Olá!\",\"refusal\":null,\"reasoning\":\"**Providing greetings in Portuguese**\\n\\nThe user asked me to say hi in Portuguese. That's straightforward! I'll go with a simple \\\"Olá,\\\" and maybe add \\\"Oi\\\" as well. It's nice to give a couple of options, but I want to keep it concise. Since the instruction emphasizes avoiding heavy formatting, I’ll stick to just the greetings without extra embellishments. So, I'll just provide those two greetings: \\\"Olá\\\" and \\\"Oi!\\\"\",\"reasoning_details\":[{\"type\":\"reasoning.summary\",\"summary\":\"**Providing greetings in Portuguese**\\n\\nThe user asked me to say hi in Portuguese. That's straightforward! I'll go with a simple \\\"Olá,\\\" and maybe add \\\"Oi\\\" as well. It's nice to give a couple of options, but I want to keep it concise. Since the instruction emphasizes avoiding heavy formatting, I’ll stick to just the greetings without extra embellishments. So, I'll just provide those two greetings: \\\"Olá\\\" and \\\"Oi!\\\"\",\"format\":\"openai-responses-v1\",\"index\":0},{\"type\":\"reasoning.encrypted\",\"data\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gHuGLwLalFGkS5XRgWKkS5U7qKDV3yyQIqg0eoCrHPK9j1qlfl2Di2nGVTWFWVrZQCYFyjPk_CDVe7VvoJmYXlXS9_6znXDi4aqQC5aEF-P0VBN-IZ5EgCBo0y0qCkAp9AcJm75qRR5MUX6l9zCmFMi8OwIYwjsNnC8-aVKavqDhqN_wfD8026w==\",\"id\":\"rs_68d3c8e1d7c08197b873572f5a0188900ed8812610ad5c82\",\"format\":\"openai-responses-v1\",\"index\":0}]}}],\"usage\":{\"prompt_tokens\":19,\"completion_tokens\":72,\"total_tokens\":91,\"cost\":0.000371875,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.000011875,\"upstream_inference_completions_cost\":0.00036},\"completion_tokens_details\":{\"reasoning_tokens\":64,\"image_tokens\":0}}}"
28 headers:
29 Content-Type:
30 - application/json
31 status: 200 OK
32 code: 200
33 duration: 1.125235666s