LLM Cost Estimator
Estimate multi-model API cost from tokens or pasted prompts.
OpenWrite a prompt once with {{placeholders}} and fill in new values each time you use it.
Mark changing parts as {{variable_name}}.
An input appears for each unique variable.
Read the filled prompt for gaps or odd phrasing.
Paste the rendered text into your AI tool.
Every Monday you paste the same summary prompt into a chatbot and hand-edit the team name, the date range and the word limit. Sooner or later one of those edits gets missed. A template with named variables makes the routine repeatable.
Type your template using double curly braces around variable names, such as {{audience}} or {{word_limit}}. Names can contain letters, digits and underscores but must start with a letter or underscore, and spaces just inside the braces are allowed. As you type, the tool detects each unique variable and creates an input field for it. The rendered prompt below updates as you fill those fields, and every occurrence of a variable is replaced, so a name used three times only needs one value.
One behavior to know: a variable you leave empty is replaced with nothing, so the sentence around it may read oddly. Glance at the rendered output before copying. Keep templates in a notes file or snippet manager, since the builder does not save them between visits. If you are not sure what sections to include, the structured prompt generator gives a sensible skeleton, and the prompt library has templates you can adapt. For multi-turn API payloads rather than a single prompt, use Chat Messages Studio.
The substitution happens with string replacement in your browser. Template text and values are not uploaded.
Keyboard shortcut
Answers for this tool. For site-wide help, open the FAQ hub.
Variable names must start with a letter or underscore and contain only letters, digits and underscores. Names with hyphens, dots or spaces inside the name are not detected and stay in the output as typed.
Yes. Every occurrence is replaced with the same value, so you fill it in once and it appears everywhere in the rendered prompt.
No. The page loads with an example template each time. Copy your template text somewhere you keep notes, and paste it back in when you need it.