Free embed widget

Embed the AI Token Cost Calculator

Drop a working cost calculator into any blog post, docs page, or newsletter. No API key, no build step, and no data leaves the visitor's browser.

Open the widget

Auto-sizing

The iframe reports its height to the parent page, so the widget never adds an inner scrollbar.

Privacy-safe

Estimates run client-side. The widget sends only coarse product events, never prompt contents or estimate inputs.

Two formats

Copy a plain iframe snippet or a one-line script tag with data attributes. Both are optional to configure.

How to embed

Open the generator, pick up to four models, set the default daily tokens, then copy the snippet into your site.

  1. 1Click Generate embed snippet and choose a theme, models, and token defaults.
  2. 2Copy the iFrame snippet for full control or the script tag for a one-line install.
  3. 3Paste it into your HTML. The widget loads from tokencalcai.com and sizes itself automatically.
Browse free tools

Attribution

You can hide the “Powered by TokenCalc AI” backlink in the generator, but keeping it helps us keep the widget free and the catalog current. We never inject ads into the embedded widget itself.