---
version: 2
interactions:
- id: 0
  request:
    proto: HTTP/1.1
    proto_major: 1
    proto_minor: 1
    content_length: 247
    host: ""
    body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"x-ai/grok-4.1-fast","max_tokens":4000,"stream_options":{"include_usage":true},"usage":{"include":true},"stream":true}'
    headers:
      Accept:
      - application/json
      Content-Type:
      - application/json
      User-Agent:
      - Charm-Fantasy/0.21.0 (https://charm.land/fantasy)
    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: |+
      : OPENROUTER PROCESSING

      data: {"id":"gen-1777319837-oWuxtkDuFDqmpKXSp8it","object":"chat.completion.chunk","created":1777319837,"model":"x-ai/grok-4.1-fast","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":"First","reasoning_details":[{"type":"reasoning.summary","summary":"First","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1777319837-oWuxtkDuFDqmpKXSp8it","object":"chat.completion.chunk","created":1777319837,"model":"x-ai/grok-4.1-fast","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":",","reasoning_details":[{"type":"reasoning.summary","summary":",","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1777319837-oWuxtkDuFDqmpKXSp8it","object":"chat.completion.chunk","created":1777319837,"model":"x-ai/grok-4.1-fast","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" the","reasoning_details":[{"type":"reasoning.summary","summary":" the","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1777319837-oWuxtkDuFDqmpKXSp8it","object":"chat.completion.chunk","created":1777319837,"model":"x-ai/grok-4.1-fast","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" core","reasoning_details":[{"type":"reasoning.summary","summary":" core","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1777319837-oWuxtkDuFDqmpKXSp8it","object":"chat.completion.chunk","created":1777319837,"model":"x-ai/grok-4.1-fast","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" policies","reasoning_details":[{"type":"reasoning.summary","summary":" policies","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1777319837-oWuxtkDuFDqmpKXSp8it","object":"chat.completion.chunk","created":1777319837,"model":"x-ai/grok-4.1-fast","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":":","reasoning_details":[{"type":"reasoning.summary","summary":":","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1777319837-oWuxtkDuFDqmpKXSp8it","object":"chat.completion.chunk","created":1777319837,"model":"x-ai/grok-4.1-fast","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" No","reasoning_details":[{"type":"reasoning.summary","summary":" No","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1777319837-oWuxtkDuFDqmpKXSp8it","object":"chat.completion.chunk","created":1777319837,"model":"x-ai/grok-4.1-fast","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" assistance","reasoning_details":[{"type":"reasoning.summary","summary":" assistance","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1777319837-oWuxtkDuFDqmpKXSp8it","object":"chat.completion.chunk","created":1777319837,"model":"x-ai/grok-4.1-fast","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" with","reasoning_details":[{"type":"reasoning.summary","summary":" with","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1777319837-oWuxtkDuFDqmpKXSp8it","object":"chat.completion.chunk","created":1777319837,"model":"x-ai/grok-4.1-fast","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" criminal","reasoning_details":[{"type":"reasoning.summary","summary":" criminal","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1777319837-oWuxtkDuFDqmpKXSp8it","object":"chat.completion.chunk","created":1777319837,"model":"x-ai/grok-4.1-fast","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" activity","reasoning_details":[{"type":"reasoning.summary","summary":" activity","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1777319837-oWuxtkDuFDqmpKXSp8it","object":"chat.completion.chunk","created":1777319837,"model":"x-ai/grok-4.1-fast","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":",","reasoning_details":[{"type":"reasoning.summary","summary":",","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1777319837-oWuxtkDuFDqmpKXSp8it","object":"chat.completion.chunk","created":1777319837,"model":"x-ai/grok-4.1-fast","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" no","reasoning_details":[{"type":"reasoning.summary","summary":" no","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1777319837-oWuxtkDuFDqmpKXSp8it","object":"chat.completion.chunk","created":1777319837,"model":"x-ai/grok-4.1-fast","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" overly","reasoning_details":[{"type":"reasoning.summary","summary":" overly","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1777319837-oWuxtkDuFDqmpKXSp8it","object":"chat.completion.chunk","created":1777319837,"model":"x-ai/grok-4.1-fast","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" realistic","reasoning_details":[{"type":"reasoning.summary","summary":" realistic","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1777319837-oWuxtkDuFDqmpKXSp8it","object":"chat.completion.chunk","created":1777319837,"model":"x-ai/grok-4.1-fast","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" help","reasoning_details":[{"type":"reasoning.summary","summary":" help","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1777319837-oWuxtkDuFDqmpKXSp8it","object":"chat.completion.chunk","created":1777319837,"model":"x-ai/grok-4.1-fast","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" with","reasoning_details":[{"type":"reasoning.summary","summary":" with","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1777319837-oWuxtkDuFDqmpKXSp8it","object":"chat.completion.chunk","created":1777319837,"model":"x-ai/grok-4.1-fast","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" crimes","reasoning_details":[{"type":"reasoning.summary","summary":" crimes","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1777319837-oWuxtkDuFDqmpKXSp8it","object":"chat.completion.chunk","created":1777319837,"model":"x-ai/grok-4.1-fast","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" even","reasoning_details":[{"type":"reasoning.summary","summary":" even","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1777319837-oWuxtkDuFDqmpKXSp8it","object":"chat.completion.chunk","created":1777319837,"model":"x-ai/grok-4.1-fast","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" in","reasoning_details":[{"type":"reasoning.summary","summary":" in","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1777319837-oWuxtkDuFDqmpKXSp8it","object":"chat.completion.chunk","created":1777319837,"model":"x-ai/grok-4.1-fast","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" hypot","reasoning_details":[{"type":"reasoning.summary","summary":" hypot","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1777319837-oWuxtkDuFDqmpKXSp8it","object":"chat.completion.chunk","created":1777319837,"model":"x-ai/grok-4.1-fast","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":"het","reasoning_details":[{"type":"reasoning.summary","summary":"het","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1777319837-oWuxtkDuFDqmpKXSp8it","object":"chat.completion.chunk","created":1777319837,"model":"x-ai/grok-4.1-fast","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":"icals","reasoning_details":[{"type":"reasoning.summary","summary":"icals","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1777319837-oWuxtkDuFDqmpKXSp8it","object":"chat.completion.chunk","created":1777319837,"model":"x-ai/grok-4.1-fast","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":",","reasoning_details":[{"type":"reasoning.summary","summary":",","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1777319837-oWuxtkDuFDqmpKXSp8it","object":"chat.completion.chunk","created":1777319837,"model":"x-ai/grok-4.1-fast","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" short","reasoning_details":[{"type":"reasoning.summary","summary":" short","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1777319837-oWuxtkDuFDqmpKXSp8it","object":"chat.completion.chunk","created":1777319837,"model":"x-ai/grok-4.1-fast","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" responses","reasoning_details":[{"type":"reasoning.summary","summary":" responses","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1777319837-oWuxtkDuFDqmpKXSp8it","object":"chat.completion.chunk","created":1777319837,"model":"x-ai/grok-4.1-fast","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" to","reasoning_details":[{"type":"reasoning.summary","summary":" to","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1777319837-oWuxtkDuFDqmpKXSp8it","object":"chat.completion.chunk","created":1777319837,"model":"x-ai/grok-4.1-fast","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" jail","reasoning_details":[{"type":"reasoning.summary","summary":" jail","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1777319837-oWuxtkDuFDqmpKXSp8it","object":"chat.completion.chunk","created":1777319837,"model":"x-ai/grok-4.1-fast","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":"break","reasoning_details":[{"type":"reasoning.summary","summary":"break","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1777319837-oWuxtkDuFDqmpKXSp8it","object":"chat.completion.chunk","created":1777319837,"model":"x-ai/grok-4.1-fast","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" attempts","reasoning_details":[{"type":"reasoning.summary","summary":" attempts","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1777319837-oWuxtkDuFDqmpKXSp8it","object":"chat.completion.chunk","created":1777319837,"model":"x-ai/grok-4.1-fast","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":".","reasoning_details":[{"type":"reasoning.summary","summary":".","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1777319837-oWuxtkDuFDqmpKXSp8it","object":"chat.completion.chunk","created":1777319837,"model":"x-ai/grok-4.1-fast","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" This","reasoning_details":[{"type":"reasoning.summary","summary":" This","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1777319837-oWuxtkDuFDqmpKXSp8it","object":"chat.completion.chunk","created":1777319837,"model":"x-ai/grok-4.1-fast","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" query","reasoning_details":[{"type":"reasoning.summary","summary":" query","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1777319837-oWuxtkDuFDqmpKXSp8it","object":"chat.completion.chunk","created":1777319837,"model":"x-ai/grok-4.1-fast","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" is","reasoning_details":[{"type":"reasoning.summary","summary":" is","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1777319837-oWuxtkDuFDqmpKXSp8it","object":"chat.completion.chunk","created":1777319837,"model":"x-ai/grok-4.1-fast","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" harmless","reasoning_details":[{"type":"reasoning.summary","summary":" harmless","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1777319837-oWuxtkDuFDqmpKXSp8it","object":"chat.completion.chunk","created":1777319837,"model":"x-ai/grok-4.1-fast","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":":","reasoning_details":[{"type":"reasoning.summary","summary":":","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1777319837-oWuxtkDuFDqmpKXSp8it","object":"chat.completion.chunk","created":1777319837,"model":"x-ai/grok-4.1-fast","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" \"","reasoning_details":[{"type":"reasoning.summary","summary":" \"","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1777319837-oWuxtkDuFDqmpKXSp8it","object":"chat.completion.chunk","created":1777319837,"model":"x-ai/grok-4.1-fast","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":"Say","reasoning_details":[{"type":"reasoning.summary","summary":"Say","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1777319837-oWuxtkDuFDqmpKXSp8it","object":"chat.completion.chunk","created":1777319837,"model":"x-ai/grok-4.1-fast","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" hi","reasoning_details":[{"type":"reasoning.summary","summary":" hi","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1777319837-oWuxtkDuFDqmpKXSp8it","object":"chat.completion.chunk","created":1777319837,"model":"x-ai/grok-4.1-fast","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" in","reasoning_details":[{"type":"reasoning.summary","summary":" in","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1777319837-oWuxtkDuFDqmpKXSp8it","object":"chat.completion.chunk","created":1777319837,"model":"x-ai/grok-4.1-fast","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" Po...","reasoning_details":[{"type":"reasoning.summary","summary":" Po...","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      : OPENROUTER PROCESSING

      : OPENROUTER PROCESSING

      data: {"id":"gen-1777319837-oWuxtkDuFDqmpKXSp8it","object":"chat.completion.chunk","created":1777319837,"model":"x-ai/grok-4.1-fast","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":null,"reasoning_details":[{"type":"reasoning.encrypted","data":"B/XIFKX05qXzekUEb12SSn4BIjmJ51LDdv30TMRAsHya7nZDMRR6fgLO2bRGyvmcxJoBh+zTWaizcAgiPaPWCDhgCNDv9GzUBhAgYnAbtNISeOGG2SSVoTIMSOcH77dXVLUVAlF0fbYbrebbJcJl9mDhvP09ddekxG9flwdVBDK/4uZ7yomvH8dS1lG34NeWpzbivkqQRDvPWOBBFNQzW3gE01nRHZArutRBieQyKDuMQPwXsorJuA1glLg5YrRfAljVpuq8NJIqzwfzgx1iwJtxULMnKDJNnJkEJPcANc+HarCdRyPWgfdylm/UMGQV12uTJJ6d3fJM5Hq8mV5E1R0oVbRqVPOGC+U60v49tLKG/VSxpFvRajMXTotmMCWpfyKb68NJq2yxT7IFjBoDxx7+UVHyCXVO5VKTfeac3lIWeorbzXrtNQH9x1bHaNCIrH/Y3kFiSQ2GjOX5tlFYWip8U0dbLlQplTKnEajVep3GF+HESe9KdmnIsB2wrtKrz54wXUiPj8wuo1uKWPdBgiI1EFUBOXro4V+GGvjQiKZlH02l7S7GEmgW0b40fMf5evJzqjXjY2OwR+RKkXnDEtqqRSoeA146l7mz/QZd44ZHuzlRwZq/FpRUhq2hbBEQTysy73XIN2yMB/H8o6tevCo1UOo95Nxj6GAS/dGzUglexXYOUGRkkaSlBTr4n4WHpzN0H4gryrFQCsx3EhZIbR/W0SmNUC7KUhTvNHBOng90+0j1+hIMtYMip+fjxrwS1yu7UBZe6bFKqHaSUSXuL+VoS3vgrIOVThBNNWW7teu+2/LTkWr9WwKqv+GR0Cq1dZARGEglGmr96CEzTBTOYgRGBTkZk6bp3HpS10X8UkKMzIBHo+ttrzwft15DZOILgT4wZsYDvR5M3kKQBm2QRBYgkC8gIWTWtelgJ8Xa/A65/2ck8+Gu5VxwC3e/HsMytwuwQFChSl5OqUCmMiLGJgUR3zg","format":"xai-responses-v1","id":"rs_b69ec351-62d7-3ea7-bb06-d9699f84799e","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1777319837-oWuxtkDuFDqmpKXSp8it","object":"chat.completion.chunk","created":1777319837,"model":"x-ai/grok-4.1-fast","provider":"xAI","choices":[{"index":0,"delta":{"content":"Oi","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1777319837-oWuxtkDuFDqmpKXSp8it","object":"chat.completion.chunk","created":1777319837,"model":"x-ai/grok-4.1-fast","provider":"xAI","choices":[{"index":0,"delta":{"content":"!","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1777319837-oWuxtkDuFDqmpKXSp8it","object":"chat.completion.chunk","created":1777319837,"model":"x-ai/grok-4.1-fast","provider":"xAI","service_tier":"default","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":null},"finish_reason":"stop","native_finish_reason":"completed"}]}

      data: {"id":"gen-1777319837-oWuxtkDuFDqmpKXSp8it","object":"chat.completion.chunk","created":1777319837,"model":"x-ai/grok-4.1-fast","provider":"xAI","service_tier":"default","choices":[{"index":0,"delta":{"content":"","role":"assistant"},"finish_reason":"stop","native_finish_reason":"completed"}],"usage":{"prompt_tokens":165,"completion_tokens":167,"total_tokens":332,"cost":0.0000919,"is_byok":false,"prompt_tokens_details":{"cached_tokens":164,"cache_write_tokens":0,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":0.0000919,"upstream_inference_prompt_cost":0.0000084,"upstream_inference_completions_cost":0.0000835},"completion_tokens_details":{"reasoning_tokens":165,"image_tokens":0,"audio_tokens":0}}}

      data: [DONE]

    headers:
      Content-Type:
      - text/event-stream
    status: 200 OK
    code: 200
    duration: 647.667791ms
