Monetize your private LLM models with x402 & Ollama
UnknownUnknown. This template uses community nodes we can't verify statically. Uses community nodes that can't be verified statically (unverified community packages are off by default in 3.0). Static check, last run 2026-10-19.
Community nodes
These come from third-party npm packages. In n8n 3.0 unverified community packages are off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
n8n-nodes-1shot(Simulate Payment)n8n-nodes-1shot(1Shot API Submit & Wait)
Nodes used (8)
- Webhook
n8n-nodes-base.webhook - If
n8n-nodes-base.if - Code
n8n-nodes-base.code - One Shot
n8n-nodes-1shot.oneShot - One Shot Synch
n8n-nodes-1shot.oneShotSynch - Respond to Webhook
n8n-nodes-base.respondToWebhook - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Ollama Model
@n8n/n8n-nodes-langchain.lmOllama
What it does
This workflow contains community nodes that are only compatible with the self-hosted version of n8n. !x402ollama.png(fileId:1960) Monetize Your Private LLM Models with x402 and Ollama Self-hosting custom LLMs is becoming more popular and easier with turn-key inferencing tools like Ollama. With Ollama you can host your own proprietary models for customers in a private cloud or on your own hardware. But monetizing custom-trained, propietary models is still a challenge, requiring integrations with payment processors like Stripe, which don't support micropayments for on-demand API consumption. With this free workflow you can quickly monetize your proprietary LLM models with the x402 payment scheme in n8n with 1Shot API. Setup Steps: 1. Authenticate the 1Shot API node against your 1Shot API business account. 2. Point the 1Shot API simulate and execute nodes at the x402-compatible payment token you'd like to receive as payment. 3. Configure the Ollama n8n node in the workflow (with optional authentication) to forward to your Ollama API endpoint and let users query it through an n8n webhook endpoint while paying you directly in your preferred stablecoin (like USDC). Through x402, users and AI agents can pay per-inference, whith no overhead wasted on centralized payment processors. Walkthrough Tutorial Check out the YouTube tutorial for this workflow so see the full end-to-end process.