---
version: 2
interactions:
- id: 0
  request:
    proto: HTTP/1.1
    proto_major: 1
    proto_minor: 1
    content_length: 250
    host: ""
    body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"x-ai/grok-code-fast-1","max_tokens":4000,"stream_options":{"include_usage":true},"usage":{"include":true},"stream":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
    body: "data: {\"id\":\"gen-1761054121-OXqnDXqojajNzEWdaMoR\",\"provider\":\"xAI\",\"model\":\"x-ai/grok-code-fast-1\",\"object\":\"chat.completion.chunk\",\"created\":1761054121,\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\",\"content\":\"\"},\"finish_reason\":null,\"native_finish_reason\":null,\"logprobs\":null}]}\n\ndata: {\"id\":\"gen-1761054121-OXqnDXqojajNzEWdaMoR\",\"provider\":\"xAI\",\"model\":\"x-ai/grok-code-fast-1\",\"object\":\"chat.completion.chunk\",\"created\":1761054121,\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\",\"content\":\"\",\"reasoning\":\"First\",\"reasoning_details\":[{\"type\":\"reasoning.summary\",\"summary\":\"First\",\"format\":\"xai-responses-v1\",\"index\":0}]},\"finish_reason\":null,\"native_finish_reason\":null,\"logprobs\":null}]}\n\ndata: {\"id\":\"gen-1761054121-OXqnDXqojajNzEWdaMoR\",\"provider\":\"xAI\",\"model\":\"x-ai/grok-code-fast-1\",\"object\":\"chat.completion.chunk\",\"created\":1761054121,\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\",\"content\":\"\",\"reasoning\":\",\",\"reasoning_details\":[{\"type\":\"reasoning.summary\",\"summary\":\",\",\"format\":\"xai-responses-v1\",\"index\":0}]},\"finish_reason\":null,\"native_finish_reason\":null,\"logprobs\":null}]}\n\ndata: {\"id\":\"gen-1761054121-OXqnDXqojajNzEWdaMoR\",\"provider\":\"xAI\",\"model\":\"x-ai/grok-code-fast-1\",\"object\":\"chat.completion.chunk\",\"created\":1761054121,\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\",\"content\":\"\",\"reasoning\":\" the\",\"reasoning_details\":[{\"type\":\"reasoning.summary\",\"summary\":\" the\",\"format\":\"xai-responses-v1\",\"index\":0}]},\"finish_reason\":null,\"native_finish_reason\":null,\"logprobs\":null}]}\n\ndata: {\"id\":\"gen-1761054121-OXqnDXqojajNzEWdaMoR\",\"provider\":\"xAI\",\"model\":\"x-ai/grok-code-fast-1\",\"object\":\"chat.completion.chunk\",\"created\":1761054121,\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\",\"content\":\"\",\"reasoning\":\" user\",\"reasoning_details\":[{\"type\":\"reasoning.summary\",\"summary\":\" user\",\"format\":\"xai-responses-v1\",\"index\":0}]},\"finish_reason\":null,\"native_finish_reason\":null,\"logprobs\":null}]}\n\ndata: {\"id\":\"gen-1761054121-OXqnDXqojajNzEWdaMoR\",\"provider\":\"xAI\",\"model\":\"x-ai/grok-code-fast-1\",\"object\":\"chat.completion.chunk\",\"created\":1761054121,\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\",\"content\":\"\",\"reasoning\":\" said\",\"reasoning_details\":[{\"type\":\"reasoning.summary\",\"summary\":\" said\",\"format\":\"xai-responses-v1\",\"index\":0}]},\"finish_reason\":null,\"native_finish_reason\":null,\"logprobs\":null}]}\n\ndata: {\"id\":\"gen-1761054121-OXqnDXqojajNzEWdaMoR\",\"provider\":\"xAI\",\"model\":\"x-ai/grok-code-fast-1\",\"object\":\"chat.completion.chunk\",\"created\":1761054121,\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\",\"content\":\"\",\"reasoning\":\":\",\"reasoning_details\":[{\"type\":\"reasoning.summary\",\"summary\":\":\",\"format\":\"xai-responses-v1\",\"index\":0}]},\"finish_reason\":null,\"native_finish_reason\":null,\"logprobs\":null}]}\n\ndata: {\"id\":\"gen-1761054121-OXqnDXqojajNzEWdaMoR\",\"provider\":\"xAI\",\"model\":\"x-ai/grok-code-fast-1\",\"object\":\"chat.completion.chunk\",\"created\":1761054121,\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\",\"content\":\"\",\"reasoning\":\" \\\"\",\"reasoning_details\":[{\"type\":\"reasoning.summary\",\"summary\":\" \\\"\",\"format\":\"xai-responses-v1\",\"index\":0}]},\"finish_reason\":null,\"native_finish_reason\":null,\"logprobs\":null}]}\n\ndata: {\"id\":\"gen-1761054121-OXqnDXqojajNzEWdaMoR\",\"provider\":\"xAI\",\"model\":\"x-ai/grok-code-fast-1\",\"object\":\"chat.completion.chunk\",\"created\":1761054121,\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\",\"content\":\"\",\"reasoning\":\"Say\",\"reasoning_details\":[{\"type\":\"reasoning.summary\",\"summary\":\"Say\",\"format\":\"xai-responses-v1\",\"index\":0}]},\"finish_reason\":null,\"native_finish_reason\":null,\"logprobs\":null}]}\n\ndata: {\"id\":\"gen-1761054121-OXqnDXqojajNzEWdaMoR\",\"provider\":\"xAI\",\"model\":\"x-ai/grok-code-fast-1\",\"object\":\"chat.completion.chunk\",\"created\":1761054121,\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\",\"content\":\"\",\"reasoning\":\" hi\",\"reasoning_details\":[{\"type\":\"reasoning.summary\",\"summary\":\" hi\",\"format\":\"xai-responses-v1\",\"index\":0}]},\"finish_reason\":null,\"native_finish_reason\":null,\"logprobs\":null}]}\n\ndata: {\"id\":\"gen-1761054121-OXqnDXqojajNzEWdaMoR\",\"provider\":\"xAI\",\"model\":\"x-ai/grok-code-fast-1\",\"object\":\"chat.completion.chunk\",\"created\":1761054121,\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\",\"content\":\"\",\"reasoning\":\" in\",\"reasoning_details\":[{\"type\":\"reasoning.summary\",\"summary\":\" in\",\"format\":\"xai-responses-v1\",\"index\":0}]},\"finish_reason\":null,\"native_finish_reason\":null,\"logprobs\":null}]}\n\ndata: {\"id\":\"gen-1761054121-OXqnDXqojajNzEWdaMoR\",\"provider\":\"xAI\",\"model\":\"x-ai/grok-code-fast-1\",\"object\":\"chat.completion.chunk\",\"created\":1761054121,\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\",\"content\":\"\",\"reasoning\":\" Portuguese\",\"reasoning_details\":[{\"type\":\"reasoning.summary\",\"summary\":\" Portuguese\",\"format\":\"xai-responses-v1\",\"index\":0}]},\"finish_reason\":null,\"native_finish_reason\":null,\"logprobs\":null}]}\n\ndata: {\"id\":\"gen-1761054121-OXqnDXqojajNzEWdaMoR\",\"provider\":\"xAI\",\"model\":\"x-ai/grok-code-fast-1\",\"object\":\"chat.completion.chunk\",\"created\":1761054121,\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\",\"content\":\"\",\"reasoning\":\"\\\"\\n\",\"reasoning_details\":[{\"type\":\"reasoning.summary\",\"summary\":\"\\\"\\n\",\"format\":\"xai-responses-v1\",\"index\":0}]},\"finish_reason\":null,\"native_finish_reason\":null,\"logprobs\":null}]}\n\ndata: {\"id\":\"gen-1761054121-OXqnDXqojajNzEWdaMoR\",\"provider\":\"xAI\",\"model\":\"x-ai/grok-code-fast-1\",\"object\":\"chat.completion.chunk\",\"created\":1761054121,\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\",\"content\":\"\",\"reasoning\":\"\\n\\n## Handling greeting request  \\n- The user asked for a greeting in Portuguese, specifically \\\"hi.\",\"reasoning_details\":[{\"type\":\"reasoning.summary\",\"summary\":\"\\n\\n## Handling greeting request  \\n- The user asked for a greeting in Portuguese, specifically \\\"hi.\",\"format\":\"xai-responses-v1\",\"index\":0}]},\"finish_reason\":null,\"native_finish_reason\":null,\"logprobs\":null}]}\n\ndata: {\"id\":\"gen-1761054121-OXqnDXqojajNzEWdaMoR\",\"provider\":\"xAI\",\"model\":\"x-ai/grok-code-fast-1\",\"object\":\"chat.completion.chunk\",\"created\":1761054121,\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\",\"content\":\"\",\"reasoning\":null,\"reasoning_details\":[{\"type\":\"reasoning.encrypted\",\"data\":\"IGhtx1uXZlmIHNa841650McAFWCLEw7OA0J4W1kdEh+h9EiUs5lhs05/g0eGoQt3CCBnHW+tQNmUOpnw3/cL4tLuPUYarcJowP48ymg9YUfjALKT+CzIYAm7CS9D8ANg8nDUnRNTqo0PxQ79FkohdYYb3p5kvU5pbwUP9DpnrC0Sp15vy5Xx7NXodqpHwU8yxOboLkz+My9Sy9+4WC1zms5fpLLmBNcffY3XSX4ZRVKTYSO8d8/Io2ToM07kA4HMx3JXLcVU1MuBWf7ABeN9zoxngk2mjn5Qb4F/qSPn+L2q3JkwYXQ0ikCHa3QS9siGQZ0vcbyAiQ4E2MeskMiCeE7ecIJWszohWzb/umdLb5R30EZpNUMFtYi51hhr/TxoUE8xP26+5a0+JSmSMtnBWf4DL6XkLFU5+KAYjTUVJbV6zg9YfxydmRiVb1kiUA3c/uLANIxOr4/SZRHWyj+oXNL1Mcjsn3OqX25+vv/ydiZQNiZG1JeQp7+yw0AizJM5hpklPq7YmMjW6hYJpPn7vWKCYhYfeSo+nfBmBNOqjiFnmJYBgfERPzlbDiLBYxZJoIndZ1qg3/QziFxMi8Kxq03/4+PVbbcmgvV0E64W2JwWbQS4L9Fg5DbZzxhAnBxVQlv4YwPu1HTmjRzVzYW2NCmavF3BJEpGvkyhouJrOxASJw8ppMBrCRoJ8ax5b5nOAk7BfcSKAYvKn61S5+3vldDoxCVfsoYHZzuPRIDUFMiEN2WFAf0xzHkUeutj3sH4jOOg+/vco6o93KbWXxHs5fu5KHTFYTbpawEOwb1PcOzzvPnTlkICd8z/MnUJevBdNlpCsney/63RUW3AAWWPjezYDWRMIOEl56D5uAfJ4H01S5yI0zdonCaFJkbMB1Q3qy6TjAD3xW063jP9G3bpTwh7HyXpsEtlxsaV2jB2qjsIdj5KFNVgJBqY1LvZ1taA0E4oXnlCo7/zH48iWzCwNLJIBI2ZQFTythTamoZNDKZ/gPn0EQ0WoP2O1MqOUjPPyujKLyMMPfRJE0n9Aw\",\"id\":\"rs_238277c7-d1ef-f754-58f2-c4754b09c654_us-east-1\",\"format\":\"xai-responses-v1\",\"index\":0}]},\"finish_reason\":null,\"native_finish_reason\":null,\"logprobs\":null}]}\n\ndata: {\"id\":\"gen-1761054121-OXqnDXqojajNzEWdaMoR\",\"provider\":\"xAI\",\"model\":\"x-ai/grok-code-fast-1\",\"object\":\"chat.completion.chunk\",\"created\":1761054121,\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\",\"content\":\"Oi\"},\"finish_reason\":null,\"native_finish_reason\":null,\"logprobs\":null}]}\n\ndata: {\"id\":\"gen-1761054121-OXqnDXqojajNzEWdaMoR\",\"provider\":\"xAI\",\"model\":\"x-ai/grok-code-fast-1\",\"object\":\"chat.completion.chunk\",\"created\":1761054121,\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\",\"content\":\"!\"},\"finish_reason\":null,\"native_finish_reason\":null,\"logprobs\":null}]}\n\ndata: {\"id\":\"gen-1761054121-OXqnDXqojajNzEWdaMoR\",\"provider\":\"xAI\",\"model\":\"x-ai/grok-code-fast-1\",\"object\":\"chat.completion.chunk\",\"created\":1761054121,\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\",\"content\":\" (\"},\"finish_reason\":null,\"native_finish_reason\":null,\"logprobs\":null}]}\n\ndata: {\"id\":\"gen-1761054121-OXqnDXqojajNzEWdaMoR\",\"provider\":\"xAI\",\"model\":\"x-ai/grok-code-fast-1\",\"object\":\"chat.completion.chunk\",\"created\":1761054121,\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\",\"content\":\"That\"},\"finish_reason\":null,\"native_finish_reason\":null,\"logprobs\":null}]}\n\ndata: {\"id\":\"gen-1761054121-OXqnDXqojajNzEWdaMoR\",\"provider\":\"xAI\",\"model\":\"x-ai/grok-code-fast-1\",\"object\":\"chat.completion.chunk\",\"created\":1761054121,\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\",\"content\":\" means\"},\"finish_reason\":null,\"native_finish_reason\":null,\"logprobs\":null}]}\n\ndata: {\"id\":\"gen-1761054121-OXqnDXqojajNzEWdaMoR\",\"provider\":\"xAI\",\"model\":\"x-ai/grok-code-fast-1\",\"object\":\"chat.completion.chunk\",\"created\":1761054121,\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\",\"content\":\" \\\"\"},\"finish_reason\":null,\"native_finish_reason\":null,\"logprobs\":null}]}\n\ndata: {\"id\":\"gen-1761054121-OXqnDXqojajNzEWdaMoR\",\"provider\":\"xAI\",\"model\":\"x-ai/grok-code-fast-1\",\"object\":\"chat.completion.chunk\",\"created\":1761054121,\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\",\"content\":\"hi\"},\"finish_reason\":null,\"native_finish_reason\":null,\"logprobs\":null}]}\n\ndata: {\"id\":\"gen-1761054121-OXqnDXqojajNzEWdaMoR\",\"provider\":\"xAI\",\"model\":\"x-ai/grok-code-fast-1\",\"object\":\"chat.completion.chunk\",\"created\":1761054121,\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\",\"content\":\"\\\"\"},\"finish_reason\":null,\"native_finish_reason\":null,\"logprobs\":null}]}\n\ndata: {\"id\":\"gen-1761054121-OXqnDXqojajNzEWdaMoR\",\"provider\":\"xAI\",\"model\":\"x-ai/grok-code-fast-1\",\"object\":\"chat.completion.chunk\",\"created\":1761054121,\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\",\"content\":\" in\"},\"finish_reason\":null,\"native_finish_reason\":null,\"logprobs\":null}]}\n\ndata: {\"id\":\"gen-1761054121-OXqnDXqojajNzEWdaMoR\",\"provider\":\"xAI\",\"model\":\"x-ai/grok-code-fast-1\",\"object\":\"chat.completion.chunk\",\"created\":1761054121,\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\",\"content\":\" Portuguese\"},\"finish_reason\":null,\"native_finish_reason\":null,\"logprobs\":null}]}\n\ndata: {\"id\":\"gen-1761054121-OXqnDXqojajNzEWdaMoR\",\"provider\":\"xAI\",\"model\":\"x-ai/grok-code-fast-1\",\"object\":\"chat.completion.chunk\",\"created\":1761054121,\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\",\"content\":\".)\"},\"finish_reason\":null,\"native_finish_reason\":null,\"logprobs\":null}]}\n\ndata: {\"id\":\"gen-1761054121-OXqnDXqojajNzEWdaMoR\",\"provider\":\"xAI\",\"model\":\"x-ai/grok-code-fast-1\",\"object\":\"chat.completion.chunk\",\"created\":1761054121,\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\",\"content\":\" If\"},\"finish_reason\":null,\"native_finish_reason\":null,\"logprobs\":null}]}\n\ndata: {\"id\":\"gen-1761054121-OXqnDXqojajNzEWdaMoR\",\"provider\":\"xAI\",\"model\":\"x-ai/grok-code-fast-1\",\"object\":\"chat.completion.chunk\",\"created\":1761054121,\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\",\"content\":\" you\"},\"finish_reason\":null,\"native_finish_reason\":null,\"logprobs\":null}]}\n\ndata: {\"id\":\"gen-1761054121-OXqnDXqojajNzEWdaMoR\",\"provider\":\"xAI\",\"model\":\"x-ai/grok-code-fast-1\",\"object\":\"chat.completion.chunk\",\"created\":1761054121,\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\",\"content\":\" meant\"},\"finish_reason\":null,\"native_finish_reason\":null,\"logprobs\":null}]}\n\ndata: {\"id\":\"gen-1761054121-OXqnDXqojajNzEWdaMoR\",\"provider\":\"xAI\",\"model\":\"x-ai/grok-code-fast-1\",\"object\":\"chat.completion.chunk\",\"created\":1761054121,\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\",\"content\":\" a\"},\"finish_reason\":null,\"native_finish_reason\":null,\"logprobs\":null}]}\n\ndata: {\"id\":\"gen-1761054121-OXqnDXqojajNzEWdaMoR\",\"provider\":\"xAI\",\"model\":\"x-ai/grok-code-fast-1\",\"object\":\"chat.completion.chunk\",\"created\":1761054121,\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\",\"content\":\" more\"},\"finish_reason\":null,\"native_finish_reason\":null,\"logprobs\":null}]}\n\ndata: {\"id\":\"gen-1761054121-OXqnDXqojajNzEWdaMoR\",\"provider\":\"xAI\",\"model\":\"x-ai/grok-code-fast-1\",\"object\":\"chat.completion.chunk\",\"created\":1761054121,\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\",\"content\":\" formal\"},\"finish_reason\":null,\"native_finish_reason\":null,\"logprobs\":null}]}\n\ndata: {\"id\":\"gen-1761054121-OXqnDXqojajNzEWdaMoR\",\"provider\":\"xAI\",\"model\":\"x-ai/grok-code-fast-1\",\"object\":\"chat.completion.chunk\",\"created\":1761054121,\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\",\"content\":\" greeting\"},\"finish_reason\":null,\"native_finish_reason\":null,\"logprobs\":null}]}\n\ndata: {\"id\":\"gen-1761054121-OXqnDXqojajNzEWdaMoR\",\"provider\":\"xAI\",\"model\":\"x-ai/grok-code-fast-1\",\"object\":\"chat.completion.chunk\",\"created\":1761054121,\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\",\"content\":\",\"},\"finish_reason\":null,\"native_finish_reason\":null,\"logprobs\":null}]}\n\ndata: {\"id\":\"gen-1761054121-OXqnDXqojajNzEWdaMoR\",\"provider\":\"xAI\",\"model\":\"x-ai/grok-code-fast-1\",\"object\":\"chat.completion.chunk\",\"created\":1761054121,\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\",\"content\":\" it's\"},\"finish_reason\":null,\"native_finish_reason\":null,\"logprobs\":null}]}\n\ndata: {\"id\":\"gen-1761054121-OXqnDXqojajNzEWdaMoR\",\"provider\":\"xAI\",\"model\":\"x-ai/grok-code-fast-1\",\"object\":\"chat.completion.chunk\",\"created\":1761054121,\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\",\"content\":\" Ol\"},\"finish_reason\":null,\"native_finish_reason\":null,\"logprobs\":null}]}\n\ndata: {\"id\":\"gen-1761054121-OXqnDXqojajNzEWdaMoR\",\"provider\":\"xAI\",\"model\":\"x-ai/grok-code-fast-1\",\"object\":\"chat.completion.chunk\",\"created\":1761054121,\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\",\"content\":\"á\"},\"finish_reason\":null,\"native_finish_reason\":null,\"logprobs\":null}]}\n\ndata: {\"id\":\"gen-1761054121-OXqnDXqojajNzEWdaMoR\",\"provider\":\"xAI\",\"model\":\"x-ai/grok-code-fast-1\",\"object\":\"chat.completion.chunk\",\"created\":1761054121,\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\",\"content\":\".\"},\"finish_reason\":null,\"native_finish_reason\":null,\"logprobs\":null}]}\n\ndata: {\"id\":\"gen-1761054121-OXqnDXqojajNzEWdaMoR\",\"provider\":\"xAI\",\"model\":\"x-ai/grok-code-fast-1\",\"object\":\"chat.completion.chunk\",\"created\":1761054121,\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\",\"content\":\" \"},\"finish_reason\":null,\"native_finish_reason\":null,\"logprobs\":null}]}\n\ndata: {\"id\":\"gen-1761054121-OXqnDXqojajNzEWdaMoR\",\"provider\":\"xAI\",\"model\":\"x-ai/grok-code-fast-1\",\"object\":\"chat.completion.chunk\",\"created\":1761054121,\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\",\"content\":\"\U0001F60A\"},\"finish_reason\":null,\"native_finish_reason\":null,\"logprobs\":null}]}\n\ndata: {\"id\":\"gen-1761054121-OXqnDXqojajNzEWdaMoR\",\"provider\":\"xAI\",\"model\":\"x-ai/grok-code-fast-1\",\"object\":\"chat.completion.chunk\",\"created\":1761054121,\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\",\"content\":\"\"},\"finish_reason\":\"stop\",\"native_finish_reason\":\"completed\",\"logprobs\":null}]}\n\ndata: {\"id\":\"gen-1761054121-OXqnDXqojajNzEWdaMoR\",\"provider\":\"xAI\",\"model\":\"x-ai/grok-code-fast-1\",\"object\":\"chat.completion.chunk\",\"created\":1761054121,\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\",\"content\":\"\"},\"finish_reason\":null,\"native_finish_reason\":null,\"logprobs\":null}],\"usage\":{\"prompt_tokens\":213,\"completion_tokens\":194,\"total_tokens\":407,\"cost\":0.00029904,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":192,\"audio_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":null,\"upstream_inference_prompt_cost\":0.00000804,\"upstream_inference_completions_cost\":0.000291},\"completion_tokens_details\":{\"reasoning_tokens\":169,\"image_tokens\":0}}}\n\ndata: [DONE]\n\n"
    headers:
      Content-Type:
      - text/event-stream
    status: 200 OK
    code: 200
    duration: 227.5025ms
