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\n \n{\"id\":\"gen-1758884957-ozyc0QzQMx7lYy83GoZr\",\"provider\":\"OpenAI\",\"model\":\"openai/gpt-5\",\"object\":\"chat.completion\",\"created\":1758884957,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"stop\",\"native_finish_reason\":\"completed\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"Olá!\",\"refusal\":null,\"reasoning\":\"**Responding in Portuguese**\\n\\nThe user asked for a greeting in Portuguese, so it's pretty straightforward. I think I'll go with \\\"Oi!\\\" or \\\"Olá!\\\" as both are common ways to say hi. But maybe I should just pick one to keep it minimal. I’m thinking \\\"Olá!\\\" might be the best choice since it sounds friendly and is widely used. So, I’ll respond with \\\"Olá!\\\" to keep it simple and effective!\",\"reasoning_details\":[{\"type\":\"reasoning.summary\",\"summary\":\"**Responding in Portuguese**\\n\\nThe user asked for a greeting in Portuguese, so it's pretty straightforward. I think I'll go with \\\"Oi!\\\" or \\\"Olá!\\\" as both are common ways to say hi. But maybe I should just pick one to keep it minimal. I’m thinking \\\"Olá!\\\" might be the best choice since it sounds friendly and is widely used. So, I’ll respond with \\\"Olá!\\\" to keep it simple and effective!\",\"format\":\"openai-responses-v1\",\"index\":0},{\"type\":\"reasoning.encrypted\",\"data\":\"gAAAAABo1nRiFqX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ECuPjP8zNY78VIKMNVrCAOSgIFZpfypJSfA596ruex3mwn7zqW42Dy4gRnHYSmxtkDwbDI7bJ5324oJNdHW6w7-5R7wN0wfNk20ghKpZCgakgZkBlwF9cRajU0UhI807hPHt9Ea-to07NoS7\",\"id\":\"rs_68d6745e62dc8196a2fb3c593d658d140287b580b77d495f\",\"format\":\"openai-responses-v1\",\"index\":0}]}}],\"usage\":{\"prompt_tokens\":19,\"completion_tokens\":72,\"total_tokens\":91,\"cost\":0.00074375,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.00002375,\"upstream_inference_completions_cost\":0.00072},\"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: 425.564958ms