{
  "name": "Compare LLM token costs across 350+ models with OpenRouter",
  "nodes": [
    {
      "id": "1492691c-98f1-46a3-8d27-3d7f067620dd",
      "name": "When chat message received",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        784,
        64
      ]
    },
    {
      "id": "16164596-fe99-4e3c-929a-414be89200da",
      "name": "When Executed by Another Workflow",
      "type": "n8n-nodes-base.executeWorkflowTrigger",
      "position": [
        784,
        576
      ]
    },
    {
      "id": "28dac69d-44a9-4c52-8a06-efafc48c3e8d",
      "name": "Code in JavaScript",
      "type": "n8n-nodes-base.code",
      "position": [
        2000,
        576
      ]
    },
    {
      "id": "8dc228d4-7dd0-4003-a444-4a36be89edb1",
      "name": "LangChain Code",
      "type": "@n8n/n8n-nodes-langchain.code",
      "position": [
        1680,
        576
      ]
    },
    {
      "id": "0365fe8b-f2ec-4144-b7e5-d09cb88cd193",
      "name": "Filter",
      "type": "n8n-nodes-base.filter",
      "position": [
        1456,
        576
      ]
    },
    {
      "id": "1e2846e8-2cd4-4b41-b208-5971b7c0dd56",
      "name": "Code in JavaScript1",
      "type": "n8n-nodes-base.code",
      "position": [
        1456,
        288
      ]
    },
    {
      "id": "ba0e8b3a-22ee-4054-873a-2884aacb3fc9",
      "name": "Form",
      "type": "n8n-nodes-base.form",
      "position": [
        1680,
        288
      ]
    },
    {
      "id": "0158a19d-a67a-4723-84f0-90cf345e47e5",
      "name": "Form1",
      "type": "n8n-nodes-base.form",
      "position": [
        2128,
        288
      ]
    },
    {
      "id": "8e0635fb-e651-4848-8491-07b8c0c58ed8",
      "name": "Split Out",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        1232,
        288
      ]
    },
    {
      "id": "3de0f267-dc22-4807-a9ef-32812e8f5ecd",
      "name": "Split Out1",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        1232,
        576
      ]
    },
    {
      "id": "ea0a8895-e1e3-4897-8198-2348e4deb84a",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        720,
        0
      ],
      "parameters": {
        "width": 688,
        "height": 224,
        "content": "## Chat (simple testing via chat)\n"
      }
    },
    {
      "id": "1615dd6e-0c15-46cc-872c-9d9cea8cbb9b",
      "name": "Respond to Chat",
      "type": "@n8n/n8n-nodes-langchain.chat",
      "position": [
        1232,
        64
      ]
    },
    {
      "id": "b4cd2c9f-18fd-4ae0-9569-cf68e351fd80",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        720,
        240
      ],
      "parameters": {
        "width": 1648,
        "height": 240,
        "content": "## UI\n"
      }
    },
    {
      "id": "de85ae21-918d-48d4-8e29-62fc275bbc83",
      "name": "On form submission",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        784,
        288
      ]
    },
    {
      "id": "c70b764d-65eb-41bd-81a7-61c20a983239",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        720,
        496
      ],
      "parameters": {
        "width": 1536,
        "height": 336,
        "content": "## Backend\n"
      }
    },
    {
      "id": "a305499a-09d9-4636-bd66-9f0fdd9e230a",
      "name": "OpenRouter",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        1680,
        720
      ]
    },
    {
      "id": "5119d08c-5d14-43e1-b89c-010cb11abc30",
      "name": "Backend",
      "type": "n8n-nodes-base.executeWorkflow",
      "position": [
        1904,
        288
      ]
    },
    {
      "id": "17649aeb-5fe6-4ef6-89b6-797b6a98d5a7",
      "name": "Backend1",
      "type": "n8n-nodes-base.executeWorkflow",
      "position": [
        1008,
        64
      ]
    },
    {
      "id": "1a982773-b900-45cf-9bb9-6a6cccef8c2c",
      "name": "Get Openrouter models",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1008,
        288
      ]
    },
    {
      "id": "3816f346-0b0b-40cf-9c15-63a1851b34b7",
      "name": "Get Openrouter models1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1008,
        576
      ]
    },
    {
      "id": "ddde7547-c651-43a5-b58f-d67bde3e8839",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        0
      ],
      "parameters": {
        "width": 704,
        "height": 1600,
        "content": "# LLM Token Cost Tracker\n  🔍 **Find out exactly what your AI requests cost.**\n  ---\n  ## ✨ Features\n  - **350+ Models** - Access GPT-4, Claude, Llama, Mistral, and many more\n  - **Real-time Pricing** "
      }
    }
  ],
  "connections": {
    "Form": {
      "main": [
        [
          {
            "node": "Backend",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter": {
      "main": [
        [
          {
            "node": "LangChain Code",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Backend": {
      "main": [
        [
          {
            "node": "Form1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Backend1": {
      "main": [
        [
          {
            "node": "Respond to Chat",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Out": {
      "main": [
        [
          {
            "node": "Code in JavaScript1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenRouter": {
      "ai_languageModel": [
        [
          {
            "node": "LangChain Code",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Split Out1": {
      "main": [
        [
          {
            "node": "Filter",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "LangChain Code": {
      "main": [
        [
          {
            "node": "Code in JavaScript",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "On form submission": {
      "main": [
        [
          {
            "node": "Get Openrouter models",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Code in JavaScript1": {
      "main": [
        [
          {
            "node": "Form",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Openrouter models": {
      "main": [
        [
          {
            "node": "Split Out",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Openrouter models1": {
      "main": [
        [
          {
            "node": "Split Out1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When chat message received": {
      "main": [
        [
          {
            "node": "Backend1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When Executed by Another Workflow": {
      "main": [
        [
          {
            "node": "Get Openrouter models1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}