OpenAI Model Examples for Text and Audio

10aeab5f-25b4-4db3-97a7-7c940bf2e321

Latency
19267ms
Cost
$0.0052
Tokens
2,291
Status
partial
gemini-3-flash-preview

1 node ran as pass-throughs

n8n-nodes-base.readBinaryFiles

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "manualTrigger"
    },
    "event": "node_start",
    "nodeId": "ad6dc2cd-21cc-4563-86ba-f78cc4a55543",
    "timestamp": 1780740637809
  },
  {
    "data": {
      "initialData": {
        "text": "How do I use OpenAI with n8n?"
      }
    },
    "event": "triggered",
    "nodeId": "manualTrigger",
    "timestamp": 1780740637809
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "manualTrigger"
    },
    "event": "node_end",
    "nodeId": "ad6dc2cd-21cc-4563-86ba-f78cc4a55543",
    "timestamp": 1780740637809
  },
  {
    "data": {
      "nodeType": "unsupported"
    },
    "event": "node_start",
    "nodeId": "6c9f8a70-99ae-4310-8e6a-26cc6f75b3a2",
    "timestamp": 1780740637812
  },
  {
    "data": {
      "type": "n8n-nodes-base.readBinaryFiles"
    },
    "event": "unsupported_node",
    "nodeId": "unsupported",
    "timestamp": 1780740637812
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "unsupported"
    },
    "event": "node_end",
    "nodeId": "6c9f8a70-99ae-4310-8e6a-26cc6f75b3a2",
    "timestamp": 1780740637812
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "8a9f7a20-187c-4494-8005-b10d066d04e2",
    "timestamp": 1780740637814
  },
  {
    "data": {
      "inputKeys": [
        "text"
      ],
      "mergeKeys": [
        "string"
      ]
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1780740637814
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "8a9f7a20-187c-4494-8005-b10d066d04e2",
    "timestamp": 1780740637814
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "fe64533a-4cd4-4adc-a48a-8abf3f2d61d7",
    "timestamp": 1780740637816
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 15
    },
    "event": "calling openai/gpt-3.5-turbo-0301",
    "nodeId": "llm",
    "timestamp": 1780740637816
  },
  {
    "data": {
      "model": "gpt-3.5-turbo-0301",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1780740637816
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.0000505,
      "provider": "openai",
      "latencyMs": 784,
      "promptTokens": 85,
      "completionTokens": 10
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1780740638602
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "fe64533a-4cd4-4adc-a48a-8abf3f2d61d7",
    "timestamp": 1780740638602
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "0edc1996-6484-4e62-a47b-5666dfbb3546",
    "timestamp": 1780740638607
  },
  {
    "event": "fetching POST https://api.openai.com/v1/audio/transcriptions",
    "nodeId": "http",
    "timestamp": 1780740638607
  },
  {
    "data": {
      "url": "https://api.openai.com/v1/audio/transcriptions",
      "method": "POST"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780740638607
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "0edc1996-6484-4e62-a47b-5666dfbb3546",
    "timestamp": 1780740638798
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "f5a55cfe-c110-4833-9668-1f1ba895860f",
    "timestamp": 1780740638804
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 500
    },
    "event": "calling openai/gpt-3.5-turbo-0301",
    "nodeId": "llm",
    "timestamp": 1780740638804
  },
  {
    "data": {
      "model": "gpt-3.5-turbo-0301",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1780740638804
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.0001193,
      "provider": "openai",
      "latencyMs": 857,
      "promptTokens": 6,
      "completionTokens": 47
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1780740639662
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "f5a55cfe-c110-4833-9668-1f1ba895860f",
    "timestamp": 1780740639662
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "nodeId": "c52c875b-5270-44ac-bfca-ce25124e3d04",
    "timestamp": 1780740639662
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "code"
    },
    "event": "node_end",
    "nodeId": "c52c875b-5270-44ac-bfca-ce25124e3d04",
    "timestamp": 1780740639667
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "68fcc6a2-761c-42ac-8778-313c8db7d53c",
    "timestamp": 1780740639671
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1780740639671
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "68fcc6a2-761c-42ac-8778-313c8db7d53c",
    "timestamp": 1780740639671
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "b370da23-ead4-4221-b7fe-a9d943f7fbb9",
    "timestamp": 1780740639674
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 500
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1780740639674
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1780740639674
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.0005518,
      "provider": "openai",
      "latencyMs": 2344,
      "promptTokens": 6,
      "completionTokens": 220
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1780740642025
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "b370da23-ead4-4221-b7fe-a9d943f7fbb9",
    "timestamp": 1780740642025
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "95254870-65c3-4714-83fb-20ba2c0ca007",
    "timestamp": 1780740642030
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 500
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1780740642030
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1780740642030
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.0001235,
      "provider": "openai",
      "latencyMs": 1206,
      "promptTokens": 20,
      "completionTokens": 47
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1780740643237
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "95254870-65c3-4714-83fb-20ba2c0ca007",
    "timestamp": 1780740643237
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "5e04f355-36c0-4540-8e65-68118cb73135",
    "timestamp": 1780740643243
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 500
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1780740643243
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1780740643243
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.00011009999999999999,
      "provider": "openai",
      "latencyMs": 1128,
      "promptTokens": 42,
      "completionTokens": 39
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1780740644376
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "5e04f355-36c0-4540-8e65-68118cb73135",
    "timestamp": 1780740644376
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "nodeId": "45d3bad7-0e9a-426b-b4e9-b3568181d9dc",
    "timestamp": 1780740644376
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "code"
    },
    "event": "node_end",
    "nodeId": "45d3bad7-0e9a-426b-b4e9-b3568181d9dc",
    "timestamp": 1780740644382
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "16a7cf80-16e3-44f9-b15c-7501417fe38f",
    "timestamp": 1780740644385
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1780740644385
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1780740644385
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.0018678,
      "provider": "openai",
      "latencyMs": 4699,
      "promptTokens": 1,
      "completionTokens": 747
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1780740649085
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "16a7cf80-16e3-44f9-b15c-7501417fe38f",
    "timestamp": 1780740649085
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "be9c4820-18b0-46fd-a5a0-51a5dc3ebed5",
    "timestamp": 1780740649093
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 500
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1780740649093
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1780740649093
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.000107,
      "provider": "openai",
      "latencyMs": 1059,
      "promptTokens": 15,
      "completionTokens": 41
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1780740650153
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "be9c4820-18b0-46fd-a5a0-51a5dc3ebed5",
    "timestamp": 1780740650153
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "4db3de05-51a7-46ea-a818-508bdcb04582",
    "timestamp": 1780740650159
  },
  {
    "event": "fetching POST https://api.openai.com/v1/chat/completions",
    "nodeId": "http",
    "timestamp": 1780740650159
  },
  {
    "data": {
      "url": "https://api.openai.com/v1/chat/completions",
      "method": "POST"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780740650159
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "4db3de05-51a7-46ea-a818-508bdcb04582",
    "timestamp": 1780740650301
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "709fcd7c-deb3-469d-b16b-62d4d36d100d",
    "timestamp": 1780740650308
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 500
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1780740650308
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1780740650308
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.0008833,
      "provider": "openai",
      "latencyMs": 2923,
      "promptTokens": 61,
      "completionTokens": 346
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1780740653236
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "709fcd7c-deb3-469d-b16b-62d4d36d100d",
    "timestamp": 1780740653237
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "a003a4db-1960-4867-8dfe-3114cf0742f3",
    "timestamp": 1780740653243
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1780740653243
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1780740653243
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.0013928,
      "provider": "openai",
      "latencyMs": 3828,
      "promptTokens": 1,
      "completionTokens": 557
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1780740657076
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "a003a4db-1960-4867-8dfe-3114cf0742f3",
    "timestamp": 1780740657076
  }
]