OpenAI Model Examples for Text and Audio
a20df776-a3e4-423c-868c-1548b068884e
Latency
487176ms
Cost
$0.0002
Tokens
566
Status
partialgemini-2.5-flash-lite
Workflow Graph
Trace
[
{
"data": {
"nodeType": "manualTrigger"
},
"event": "node_start",
"nodeId": "ad6dc2cd-21cc-4563-86ba-f78cc4a55543",
"timestamp": 1780871754067
},
{
"data": {
"initialData": {
"text": "How do I use OpenAI with n8n?"
}
},
"event": "triggered",
"nodeId": "manualTrigger",
"timestamp": 1780871754067
},
{
"data": {
"status": "ok",
"nodeType": "manualTrigger"
},
"event": "node_end",
"nodeId": "ad6dc2cd-21cc-4563-86ba-f78cc4a55543",
"timestamp": 1780871754067
},
{
"data": {
"nodeType": "integration"
},
"event": "node_start",
"nodeId": "6c9f8a70-99ae-4310-8e6a-26cc6f75b3a2",
"timestamp": 1780871754069
},
{
"data": {
"mode": "read",
"status": "ok",
"service": "readbinaryfiles",
"latencyMs": 250,
"operation": "run",
"simulated": true
},
"event": "integration_mocked",
"nodeId": "integration",
"timestamp": 1780871754320
},
{
"data": {
"status": "ok",
"nodeType": "integration"
},
"event": "node_end",
"nodeId": "6c9f8a70-99ae-4310-8e6a-26cc6f75b3a2",
"timestamp": 1780871754320
},
{
"data": {
"nodeType": "set"
},
"event": "node_start",
"nodeId": "8a9f7a20-187c-4494-8005-b10d066d04e2",
"timestamp": 1780871754323
},
{
"data": {
"inputKeys": [
"text"
],
"mergeKeys": [
"string"
]
},
"event": "merged",
"nodeId": "set",
"timestamp": 1780871754323
},
{
"data": {
"status": "ok",
"nodeType": "set"
},
"event": "node_end",
"nodeId": "8a9f7a20-187c-4494-8005-b10d066d04e2",
"timestamp": 1780871754323
},
{
"data": {
"nodeType": "llm"
},
"event": "node_start",
"nodeId": "fe64533a-4cd4-4adc-a48a-8abf3f2d61d7",
"timestamp": 1780871754326
},
{
"data": {
"messages": 1,
"maxTokens": 15
},
"event": "calling openai/gpt-3.5-turbo-0301",
"nodeId": "llm",
"timestamp": 1780871754326
},
{
"data": {
"model": "gpt-3.5-turbo-0301",
"provider": "openai"
},
"event": "llm_call",
"nodeId": "_context",
"timestamp": 1780871754326
},
{
"data": {
"error": "fetch failed",
"status": "error",
"degraded": true,
"nodeType": "llm"
},
"event": "node_end",
"nodeId": "fe64533a-4cd4-4adc-a48a-8abf3f2d61d7",
"timestamp": 1780871754329
},
{
"data": {
"nodeType": "http"
},
"event": "node_start",
"nodeId": "0edc1996-6484-4e62-a47b-5666dfbb3546",
"timestamp": 1780871754334
},
{
"event": "fetching POST https://api.openai.com/v1/audio/transcriptions",
"nodeId": "http",
"timestamp": 1780871754334
},
{
"data": {
"url": "https://api.openai.com/v1/audio/transcriptions",
"method": "POST"
},
"event": "http_fetch",
"nodeId": "_context",
"timestamp": 1780871754334
},
{
"data": {
"mode": "read",
"status": "ok",
"service": "http",
"latencyMs": 250,
"operation": "fetch-failed",
"simulated": true
},
"event": "integration_mocked",
"nodeId": "integration",
"timestamp": 1780872227454
},
{
"data": {
"status": "ok",
"nodeType": "http"
},
"event": "node_end",
"nodeId": "0edc1996-6484-4e62-a47b-5666dfbb3546",
"timestamp": 1780872227454
},
{
"data": {
"nodeType": "llm"
},
"event": "node_start",
"nodeId": "f5a55cfe-c110-4833-9668-1f1ba895860f",
"timestamp": 1780872227462
},
{
"data": {
"messages": 1,
"maxTokens": 500
},
"event": "calling openai/gpt-3.5-turbo-0301",
"nodeId": "llm",
"timestamp": 1780872227462
},
{
"data": {
"model": "gpt-3.5-turbo-0301",
"provider": "openai"
},
"event": "llm_call",
"nodeId": "_context",
"timestamp": 1780872227462
},
{
"data": {
"model": "gemini-2.5-flash-lite",
"costUsd": 0.000085,
"provider": "openai",
"latencyMs": 1652,
"promptTokens": 6,
"completionTokens": 211
},
"event": "llm_result",
"nodeId": "_context",
"timestamp": 1780872229116
},
{
"data": {
"status": "ok",
"nodeType": "llm"
},
"event": "node_end",
"nodeId": "f5a55cfe-c110-4833-9668-1f1ba895860f",
"timestamp": 1780872229116
},
{
"data": {
"nodeType": "code"
},
"event": "node_start",
"nodeId": "c52c875b-5270-44ac-bfca-ce25124e3d04",
"timestamp": 1780872229116
},
{
"data": {
"status": "ok",
"nodeType": "code"
},
"event": "node_end",
"nodeId": "c52c875b-5270-44ac-bfca-ce25124e3d04",
"timestamp": 1780872229119
},
{
"data": {
"nodeType": "passthrough"
},
"event": "node_start",
"nodeId": "68fcc6a2-761c-42ac-8778-313c8db7d53c",
"timestamp": 1780872229120
},
{
"data": {},
"event": "noOp",
"nodeId": "passthrough",
"timestamp": 1780872229120
},
{
"data": {
"status": "ok",
"nodeType": "passthrough"
},
"event": "node_end",
"nodeId": "68fcc6a2-761c-42ac-8778-313c8db7d53c",
"timestamp": 1780872229120
},
{
"data": {
"nodeType": "llm"
},
"event": "node_start",
"nodeId": "b370da23-ead4-4221-b7fe-a9d943f7fbb9",
"timestamp": 1780872229122
},
{
"data": {
"messages": 1,
"maxTokens": 500
},
"event": "calling openai/gpt-4o-mini",
"nodeId": "llm",
"timestamp": 1780872229122
},
{
"data": {
"model": "gpt-4o-mini",
"provider": "openai"
},
"event": "llm_call",
"nodeId": "_context",
"timestamp": 1780872229122
},
{
"data": {
"model": "gemini-2.5-flash-lite",
"costUsd": 0.000014200000000000001,
"provider": "openai",
"latencyMs": 616,
"promptTokens": 6,
"completionTokens": 34
},
"event": "llm_result",
"nodeId": "_context",
"timestamp": 1780872229739
},
{
"data": {
"status": "ok",
"nodeType": "llm"
},
"event": "node_end",
"nodeId": "b370da23-ead4-4221-b7fe-a9d943f7fbb9",
"timestamp": 1780872229739
},
{
"data": {
"nodeType": "llm"
},
"event": "node_start",
"nodeId": "95254870-65c3-4714-83fb-20ba2c0ca007",
"timestamp": 1780872229740
},
{
"data": {
"messages": 1,
"maxTokens": 500
},
"event": "calling openai/gpt-4o-mini",
"nodeId": "llm",
"timestamp": 1780872229741
},
{
"data": {
"model": "gpt-4o-mini",
"provider": "openai"
},
"event": "llm_call",
"nodeId": "_context",
"timestamp": 1780872229741
},
{
"data": {
"model": "gemini-2.5-flash-lite",
"costUsd": 0.0000172,
"provider": "openai",
"latencyMs": 513,
"promptTokens": 20,
"completionTokens": 38
},
"event": "llm_result",
"nodeId": "_context",
"timestamp": 1780872230256
},
{
"data": {
"status": "ok",
"nodeType": "llm"
},
"event": "node_end",
"nodeId": "95254870-65c3-4714-83fb-20ba2c0ca007",
"timestamp": 1780872230256
},
{
"data": {
"nodeType": "llm"
},
"event": "node_start",
"nodeId": "5e04f355-36c0-4540-8e65-68118cb73135",
"timestamp": 1780872230258
},
{
"data": {
"messages": 1,
"maxTokens": 500
},
"event": "calling openai/gpt-4o-mini",
"nodeId": "llm",
"timestamp": 1780872230258
},
{
"data": {
"model": "gpt-4o-mini",
"provider": "openai"
},
"event": "llm_call",
"nodeId": "_context",
"timestamp": 1780872230258
},
{
"data": {
"model": "gemini-2.5-flash-lite",
"costUsd": 0.0000122,
"provider": "openai",
"latencyMs": 644,
"promptTokens": 42,
"completionTokens": 20
},
"event": "llm_result",
"nodeId": "_context",
"timestamp": 1780872230903
},
{
"data": {
"status": "ok",
"nodeType": "llm"
},
"event": "node_end",
"nodeId": "5e04f355-36c0-4540-8e65-68118cb73135",
"timestamp": 1780872230903
},
{
"data": {
"nodeType": "code"
},
"event": "node_start",
"nodeId": "45d3bad7-0e9a-426b-b4e9-b3568181d9dc",
"timestamp": 1780872230903
},
{
"data": {
"status": "ok",
"nodeType": "code"
},
"event": "node_end",
"nodeId": "45d3bad7-0e9a-426b-b4e9-b3568181d9dc",
"timestamp": 1780872230907
},
{
"data": {
"nodeType": "llm"
},
"event": "node_start",
"nodeId": "16a7cf80-16e3-44f9-b15c-7501417fe38f",
"timestamp": 1780872230912
},
{
"data": {
"messages": 1,
"maxTokens": 1024
},
"event": "calling openai/gpt-4o-mini",
"nodeId": "llm",
"timestamp": 1780872230912
},
{
"data": {
"model": "gpt-4o-mini",
"provider": "openai"
},
"event": "llm_call",
"nodeId": "_context",
"timestamp": 1780872230912
},
{
"data": {
"error": "Google Gemini API error (500): {\n \"error\": {\n \"code\": 500,\n \"message\": \"An internal error has occurred. Please retry or report in https://developers.generativeai.google/guide/troubleshooting\",\n \"status\": \"INTERNAL\"\n }\n}\n",
"status": "error",
"degraded": true,
"nodeType": "llm"
},
"event": "node_end",
"nodeId": "16a7cf80-16e3-44f9-b15c-7501417fe38f",
"timestamp": 1780872235328
},
{
"data": {
"nodeType": "llm"
},
"event": "node_start",
"nodeId": "be9c4820-18b0-46fd-a5a0-51a5dc3ebed5",
"timestamp": 1780872235332
},
{
"data": {
"messages": 1,
"maxTokens": 500
},
"event": "calling openai/gpt-4o-mini",
"nodeId": "llm",
"timestamp": 1780872235332
},
{
"data": {
"model": "gpt-4o-mini",
"provider": "openai"
},
"event": "llm_call",
"nodeId": "_context",
"timestamp": 1780872235332
},
{
"data": {
"model": "gemini-2.5-flash-lite",
"costUsd": 0.0000127,
"provider": "openai",
"latencyMs": 386,
"promptTokens": 15,
"completionTokens": 28
},
"event": "llm_result",
"nodeId": "_context",
"timestamp": 1780872235719
},
{
"data": {
"status": "ok",
"nodeType": "llm"
},
"event": "node_end",
"nodeId": "be9c4820-18b0-46fd-a5a0-51a5dc3ebed5",
"timestamp": 1780872235719
},
{
"data": {
"nodeType": "http"
},
"event": "node_start",
"nodeId": "4db3de05-51a7-46ea-a818-508bdcb04582",
"timestamp": 1780872235725
},
{
"event": "fetching POST https://api.openai.com/v1/chat/completions",
"nodeId": "http",
"timestamp": 1780872235725
},
{
"data": {
"url": "https://api.openai.com/v1/chat/completions",
"method": "POST"
},
"event": "http_fetch",
"nodeId": "_context",
"timestamp": 1780872235725
},
{
"data": {
"status": "ok",
"nodeType": "http"
},
"event": "node_end",
"nodeId": "4db3de05-51a7-46ea-a818-508bdcb04582",
"timestamp": 1780872236012
},
{
"data": {
"nodeType": "llm"
},
"event": "node_start",
"nodeId": "709fcd7c-deb3-469d-b16b-62d4d36d100d",
"timestamp": 1780872236016
},
{
"data": {
"messages": 1,
"maxTokens": 500
},
"event": "calling openai/gpt-4o-mini",
"nodeId": "llm",
"timestamp": 1780872236016
},
{
"data": {
"model": "gpt-4o-mini",
"provider": "openai"
},
"event": "llm_call",
"nodeId": "_context",
"timestamp": 1780872236016
},
{
"data": {
"model": "gemini-2.5-flash-lite",
"costUsd": 0.0000401,
"provider": "openai",
"latencyMs": 639,
"promptTokens": 61,
"completionTokens": 85
},
"event": "llm_result",
"nodeId": "_context",
"timestamp": 1780872236656
},
{
"data": {
"status": "ok",
"nodeType": "llm"
},
"event": "node_end",
"nodeId": "709fcd7c-deb3-469d-b16b-62d4d36d100d",
"timestamp": 1780872236656
},
{
"data": {
"nodeType": "llm"
},
"event": "node_start",
"nodeId": "a003a4db-1960-4867-8dfe-3114cf0742f3",
"timestamp": 1780872236659
},
{
"data": {
"messages": 1,
"maxTokens": 1024
},
"event": "calling openai/gpt-4o-mini",
"nodeId": "llm",
"timestamp": 1780872236659
},
{
"data": {
"model": "gpt-4o-mini",
"provider": "openai"
},
"event": "llm_call",
"nodeId": "_context",
"timestamp": 1780872236659
},
{
"data": {
"error": "Google Gemini API error (500): {\n \"error\": {\n \"code\": 500,\n \"message\": \"An internal error has occurred. Please retry or report in https://developers.generativeai.google/guide/troubleshooting\",\n \"status\": \"INTERNAL\"\n }\n}\n",
"status": "error",
"degraded": true,
"nodeType": "llm"
},
"event": "node_end",
"nodeId": "a003a4db-1960-4867-8dfe-3114cf0742f3",
"timestamp": 1780872241243
}
]