Tech · motion template
AI cost calculator
A pricing calculator where tokens-per-request and requests-per-day sliders are dragged and the monthly cost rolls up live with per-request and per-day figures: AI API pricing, usage estimates and 'what will it cost' explainers.
1 credit to render. Nothing else to pay. Rendered to MP4 in about a minute, 9 seconds by default. The clip is yours alone: never listed, delivered as a private download link, and refunded if it cannot be made.
Parameters
Everything this template takes. Anything you leave out keeps its default; a value out of range is refused with a sentence before anything is charged.
| Parameter | Accepts | Default |
|---|---|---|
kickerSmall line above the headline, or empty to hide | text, up to 28 characters | “Pricing calculator” |
headlineHeadline beside the calculator | text, up to 48 characters | “Know your AI bill before it lands” |
modelModel name on the calculator | text, up to 20 characters | “Northwind 3” |
currencyCurrency symbol | text, up to 3 characters | “$” |
pricePerMillionPrice per million tokens | a number, 0.01 to 200 | 2.5 |
tokensFromTokens per request where the first slider starts | a whole number, 50 to 200000 | 1200 |
tokensToTokens per request where it ends | a whole number, 50 to 200000 | 3000 |
tokensMaxTop of the tokens slider | a whole number, 100 to 200000 | 4000 |
requestsFromRequests per day where the second slider starts | a whole number, 1 to 1e+07 | 2000 |
requestsToRequests per day where it ends | a whole number, 1 to 1e+07 | 9000 |
requestsMaxTop of the requests slider | a whole number, 10 to 1e+07 | 12000 |
themeThe calculator's surfaces | one of dark, light | dark |
motionA cursor drags the sliders, or they glide on their own | one of cursor, auto | cursor |
aspectFrame shape | one of 16:9, 9:16, 1:1, 4:5 | 16:9 |
durationSeconds | seconds, 6 to 30 | 9 |
backgroundBackground colour | a colour, e.g. #f4b942 | #070b12 |
foregroundText colour | a colour, e.g. #f4b942 | #eef0f8 |
accentAccent colour | a colour, e.g. #f4b942 | #7ce0ff |
fontTypeface family: sans (Inter), serif (Source Serif 4), mono (JetBrains Mono), or a display face: display (Fraunces), grotesk (Space Grotesk), condensed (Oswald), expressive (Bricolage Grotesque) | one of sans, serif, mono, display, grotesk, condensed, expressive | sans |
localeLanguage and region the frame is drawn in (BCP 47, e.g. fr-FR): numbers, month and day names, and the interface words a template paints. Interface words are translated for en, fr, es and de; text you pass in other parameters is drawn as given | text, up to 35 characters | “en-US” |
uiTextInterface words to replace, keyed by the English word the template draws ("Today": "Ce soir"); "" hides one | an object with | {} |
From your assistant
With Rushie connected, ask in plain words and name the template, or let it choose. These are the calls it makes. Connect an assistant.
design_motion({"brief": "<what it is for, in a sentence>", "template": "ai-cost-calculator"})
-> designs on this template, every parameter filled, free
make_motion({"template": "ai-cost-calculator", "props": {"kicker": "Pricing calculator", "headline": "Know your AI bill before it lands", "model": "Northwind 3", "currency": "$", "aspect": "16:9"}, "max_credits": 20})
-> request_id
check_commission({"request_id": "req_..."})
-> rendering, then the private download link
Make it from code
One request with an API key from your account, then poll
GET /api/bank/request/<id>. See motion design for the rest.
curl -X POST https://rushie.ai/api/bank/motion \
-H "Authorization: Bearer rsh_..." \
-H "Content-Type: application/json" \
-d '{"template": "ai-cost-calculator", "props": {"kicker": "Pricing calculator", "headline": "Know your AI bill before it lands", "model": "Northwind 3", "currency": "$", "aspect": "16:9"}, "max_credits": 20}'







