---
version: 2
interactions:
- id: 0
  request:
    proto: HTTP/1.1
    proto_major: 1
    proto_minor: 1
    content_length: 198
    host: ""
    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}}'
    headers:
      Accept:
      - application/json
      Content-Type:
      - application/json
      User-Agent:
      - OpenAI/Go 2.7.1
    url: https://openrouter.ai/api/v1/chat/completions
    method: POST
  response:
    proto: HTTP/2.0
    proto_major: 2
    proto_minor: 0
    content_length: -1
    uncompressed: true
    body: "\n         \n\n         \n\n         \n\n         \n\n         \n\n         \n\n         \n\n         \n\n         \n\n         \n\n         \n{\"id\":\"gen-1761054225-FM4MnnS8EeJreVmGVKEj\",\"provider\":\"OpenAI\",\"model\":\"openai/gpt-5\",\"object\":\"chat.completion\",\"created\":1761054225,\"choices\":[{\"logprobs\":null,\"finish_reason\":\"stop\",\"native_finish_reason\":\"completed\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"Oi! (or Olá!)\",\"refusal\":null,\"reasoning\":\"**Providing Portuguese greetings**\\n\\nThe user simply asked me to say hi in Portuguese, so I need to provide that quickly. \\\"Olá\\\" is a great option, but I also think \\\"Oi!\\\" is good for a more informal Brazilian greeting. Since they didn't specify which variant, I'll stick to both. I'll just keep it concise and say: \\\"Olá!\\\" and \\\"Oi!\\\" without any extra formatting or details. No need to overthink it!\",\"reasoning_details\":[{\"type\":\"reasoning.summary\",\"summary\":\"**Providing Portuguese greetings**\\n\\nThe user simply asked me to say hi in Portuguese, so I need to provide that quickly. \\\"Olá\\\" is a great option, but I also think \\\"Oi!\\\" is good for a more informal Brazilian greeting. Since they didn't specify which variant, I'll stick to both. I'll just keep it concise and say: \\\"Olá!\\\" and \\\"Oi!\\\" without any extra formatting or details. No need to overthink it!\",\"format\":\"openai-responses-v1\",\"index\":0},{\"type\":\"reasoning.encrypted\",\"data\":\"gAAAAABo944VoAjtPbUJaTTYOF-z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J2qC47Vv2fs3QhrEPgj1Q3JeEa4U-GNbxakPJE8s0bjxVja-so72cLHayCO7YBAYvsSRJdqHtGf-Aq3SqXiPsWPtvCNCG0ldHINRIO3Rkx5MCDLE2IqrzBzheYtU0MUUFsyN6m_sBRelBKFTvl4168uNq9utOdlMbBuBzdvjElbABQaoDuyM3bHnVMBJAOoMARi1vrKmi_spWtHU7S_31etK-lPZDbWXZrdKsgkEmVD0ucDcMEoR8ypemcA315tpAeNPVl1Tc0K0O3ggVWIhzKmtPMWhmVw4H4Qw-vKS0zzacK77DdBAoXwO4a70cIUh_ItlbTV067hlq4BZji7fX0aXUt2VMbfPOoTX7ccxXPiLFX1Jt_VTmRmjLAfiq-ZqqD0N3duB_DDIWLsGysQzaqRrzH-k6F_5FuEhLANyVb4HWFXI-B3ZsFMNVQWwEOkVEheuuCtjFBCPsrEAhrH1EYpG4hNddCg==\",\"id\":\"rs_0fdd854964fd6c5b0168f78e11988881959023afc34ee76949\",\"format\":\"openai-responses-v1\",\"index\":0}]}}],\"usage\":{\"prompt_tokens\":19,\"completion_tokens\":77,\"total_tokens\":96,\"cost\":0.00079375,\"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.00077},\"completion_tokens_details\":{\"reasoning_tokens\":64,\"image_tokens\":0}}}"
    headers:
      Content-Type:
      - application/json
    status: 200 OK
    code: 200
    duration: 525.739417ms
