---
version: 2
interactions:
- id: 0
  request:
    proto: HTTP/1.1
    proto_major: 1
    proto_minor: 1
    content_length: 177
    host: ""
    body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"Say hi in Portuguese","role":"user"}],"model":"google/gemini-3-pro-preview","max_tokens":4000}'
    headers:
      Accept:
      - application/json
      Content-Type:
      - application/json
      User-Agent:
      - Charm-Fantasy/0.12.2 (https://charm.land/fantasy)
    url: https://ai-gateway.vercel.sh/v1/chat/completions
    method: POST
  response:
    proto: HTTP/2.0
    proto_major: 2
    proto_minor: 0
    content_length: -1
    uncompressed: true
    body: '{"id":"gen_01KKHTR17CTFZM3PJ9G14ESD4R","object":"chat.completion","created":1773346231,"model":"google/gemini-3-pro-preview","choices":[{"index":0,"message":{"role":"assistant","content":"You can say **\"Oi\"** (pronounced like *oy*) or **\"Olá\"**.\n\n*   **Oi:** Informal (like \"Hi\").\n*   **Olá:** Slightly more formal (like \"Hello\"), but used in all situations.","reasoning_details":[{"type":"reasoning.encrypted","data":"CoYHAY89a1+Etx9heb7hFcuTcjFe8wm4G1kN1muBq8A6MXpAYzpHCD/QciMpOxlgGXJIqtOCEWxJYF8KhBozeU5Mx+SJxV1OO8NfvhzqztGtv09C+wIYwmanHa7NdSYUSxEmoJ0dbaKZTwJ/WtV003pVv78pqpwgUgV6hBFzdHdZKsbf8/yRxK2ROaDKMmJlunZgZLaq5wMvLRmYjRuZJ1vzTk6njxNjhG/vLllCuJP/FzYWNpJ1wm6H4YkgNfTwDgnZwqotdQkXhT9KdH2NNuPZlZk8c7ivaeMZCG2rDcf0i68RUs+rh5pz2zlcoydYWKRHuc5Oe55jNMEzSlT8QMP6YKrtAoamR5pQAZD0A1132onOnhQQIemzfSpQkDNONyXF+eZHfEU4RX77ZvcCNm8o0ZMJ81EwzMMwcKJpfe1eQzsav8MHvfc1KmMRkg7UBp6raXze9SX0AzQunmDpQeJtLs08ZS1SEgdc/V5OzHMSvpu75UDoS6pxtWkMUlhlRLPypuNvlmzowFskvfb9z0TLePYi7Z6BnlUf7v8G+bP1Z9pa29SilvWR3afIOKaipYEcq6tBbr6vpGyiNRaHw2XLcIGu1MzwXyRj+YDXhis7oPAcdp46sC8yy2eznv2tcyplyuTuTG0gyy8XbAuqWw6FJDU22WJlZzBKtlFFj2gWBYkLmMtFC0/P85u9WsJg0m4S5drFl/B6e5QgyzM2HNyXwVKY3tUV3vBIqwRS4GrrpbS9F4sn3p+tPV10sOKFy6rUtYUbxcszernhvIv0c2Mr/gljEa/aNacDZihNq2n28Kvgwbb30F22a7hEZWue2Ee5TmG0YohwUCihEqoWM2x+E6QEA1aBxcjkQdeev+uK5OjCl1wCHVMNOkGE4k8c9ns5d9Md6ywkH9od7aqCqw3LSMvN7nmcXg+fDK0dhZDxK0ec3+kkz6GQzaRWQt2t4muXKTXdCF5GaN7MyIcjvCdnCxHl/oKQbLhemcuTp+Kn8zZqPK9P22yyeU/IyFlrZ+dpRvBeRhDCJJnTEq18E98PpoKHdzowCqxdXS5P3kt1z7wekdk8Hkck0eRuyG6egOLrZ7Gnak8YnUUA6eiW4mXYVvcAKBbeDgRK2ouU08fV6qMEv7zqd5Zkfb5FG0j8EIJQDRbI6LwhpxiSVFWy1FUBnRrp0zffbVs/d/8JFhNBmpyF+wSRJZ8=","format":"google-gemini-v1","index":0}],"provider_metadata":{"google":{"promptFeedback":null,"groundingMetadata":null,"urlContextMetadata":null,"safetyRatings":null,"usageMetadata":{"thoughtsTokenCount":232,"promptTokenCount":9,"candidatesTokenCount":52,"totalTokenCount":293,"trafficType":"PROVISIONED_THROUGHPUT"}},"gateway":{"routing":{"originalModelId":"google/gemini-3-pro-preview","resolvedProvider":"vertex","resolvedProviderApiModelId":"gemini-3-pro-preview","internalResolvedModelId":"vertex:gemini-3-pro-preview","fallbacksAvailable":["google"],"internalReasoning":"Selected vertex as preferred provider for gemini-3-pro-preview. 1 fallback(s) available: google","planningReasoning":"System credentials planned for: vertex, google. Total execution order: vertex(system) → google(system)","canonicalSlug":"google/gemini-3-pro-preview","finalProvider":"vertex","attempts":[{"provider":"vertex","internalModelId":"vertex:gemini-3-pro-preview","providerApiModelId":"gemini-3-pro-preview","credentialType":"system","success":true,"startTime":1243655.19766,"endTime":1247853.3699,"statusCode":200,"providerResponseId":"sx2zafK2IbepyOgP_oqLoAw"}],"modelAttemptCount":1,"modelAttempts":[{"modelId":"vertex:gemini-3-pro-preview","canonicalSlug":"google/gemini-3-pro-preview","success":true,"providerAttemptCount":1,"providerAttempts":[{"provider":"vertex","internalModelId":"vertex:gemini-3-pro-preview","providerApiModelId":"gemini-3-pro-preview","credentialType":"system","success":true,"startTime":1243655.19766,"endTime":1247853.3699,"statusCode":200,"providerResponseId":"sx2zafK2IbepyOgP_oqLoAw"}]}],"totalProviderAttemptCount":1},"cost":"0.003426","marketCost":"0.003426","generationId":"gen_01KKHTR17CTFZM3PJ9G14ESD4R","billableWebSearchCalls":0}}},"logprobs":null,"finish_reason":"stop"}],"usage":{"prompt_tokens":9,"completion_tokens":52,"total_tokens":61,"cost":0.003426,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0,"upstream_inference_completions_cost":0},"completion_tokens_details":{"reasoning_tokens":232,"image_tokens":0},"cache_creation_input_tokens":0,"market_cost":0.003426},"system_fingerprint":"fp_mryvem8617","generationId":"gen_01KKHTR17CTFZM3PJ9G14ESD4R"}'
    headers:
      Content-Type:
      - application/json
    status: 200 OK
    code: 200
    duration: 4.392882708s
