LLM cost calculator for n8n

What does this prompt cost? Worked out for 350+ models.

Workflow, 2026

LLM cost calculator for n8n on laptop and phone

350+ models to choose from

Template on n8n.io

You want to build AI into a workflow and don't know what a single request costs. Price lists are in tokens, and nobody tells you how many your prompt needs.

What I built

350+ models in a dropdown

I built an n8n workflow that sends your prompt to a model of your choice and works out the cost along the way. The model list and prices come live from OpenRouter, so they're correct on the day you ask. You type in the chat or pick from over 350 models in a form. Use it to compare models, plan an AI budget or track costs for client billing.

What it can do

  • 350+ models in a dropdown
  • Live prices from OpenRouter
  • Tokens counted automatically
  • Costs split by input and output
  • Chat for quick tests

Numbers

350+ models to choose from
$0 for the template

Code and stack

  • n8n
  • OpenRouter-API
  • LangChain-Code-Node

I built this for myself. I'll build yours the same way.

Book a first call