Useful Tabs

All tools

Template Render: Chat template prompt cache check

Render a Jinja chat template before and after adding a message. See whether the earlier prompt still matches byte for byte.

FreeNo sign-upRuns in your browser

Open Template Render →

See it work

Add one user turn and the old reasoning vanishes: the prompt changes mid-history, and the page names the byte and the cause.
Add one user turn and the old reasoning vanishes: the prompt changes mid-history, and the page names the byte and the cause.
A stable ChatML template keeps every byte of the earlier prompt, so the cache question moves to the server.
A stable ChatML template keeps every byte of the earlier prompt, so the cache question moves to the server.
Tabs, trailing spaces, a non-breaking space and a zero-width space all show up, so whitespace drift has nowhere to hide.
Tabs, trailing spaces, a non-breaking space and a zero-width space all show up, so whitespace drift has nowhere to hide.
On a phone, the verdict and its meter come first, then each prompt in turn.
On a phone, the verdict and its meter come first, then each prompt in turn.

Before you start

Template Render as it opens
As it opens: nothing to install, no sign-up.
Template Render on a phone
The same tool on a phone.

How to use it

  1. Paste your Jinja chat template and a JSON array of conversation messages, or load a sample.
  2. Choose a preset or enter one JSON message to append. Set the beginning-of-sequence and end-of-sequence tokens and the generation-prompt option if your template uses them.
  3. Select Compare to check whether the first prompt is an exact prefix of the second. If it changes, inspect the first difference in the side-by-side prompts.

What it does not do

Open Template Render: it is free and runs in your browser.

Saved you some time? Tools here stay free and sign-up free. Tip the maker on Ko-fi.

More free tools