Skip to content

Plans ​

Plans are what customers buy. Each plan = price + billing interval + a limits block + an allowed-model list. Prices are in BDT (stored as poisha, 1/100 BDT).

Anatomy of a plan ​

FieldExampleMeaning
Slug / Namepro-monthly / "Pro"Identity shown at checkout
IntervalDAILY · WEEKLY · MONTHLY · YEARLY · ENTERPRISEBilling cycle
Price99900 poisha = ৳999Charged through whichever channels are enabled — see Payment channels
Limits JSONsee belowtokenLimit is what the plan grants each cycle
Allowed modelslist of model idsWhat the tier can use
json
{
  "tokenLimit": 21169200,
  "concurrentJobs": 4,
  "apiAccess": true,
  "priorityLevel": 3
}

tokenLimit is the plan's token allowance per cycle, added to the customer's wallet on activation and each renewal. Tokens are spent on any model the plan lists, at that model's provider cost. (monthlyRequests, imageCredits and videoCredits may still appear on older plans; the token wallet ignores them.)

Cost, margin & the economics panel ​

The Plans page shows, per plan, a live cost-to-serve breakdown next to the price:

Net margin = price − provider cost − gateway − VAT

Provider cost = the plan's tokens valued at the token value from Credit pricing (default ৳18 per 1M), which is exactly what those tokens cost when spent. Gateway and VAT are the credit pricing percentages. The seeded packages clear 40% at full use.

Use Recommend (40%) in the plan editor to back-solve the token allowance for a 40% net margin from the price. The Top-up builder simulator shows what a top-up costs at a token value you are trying, before you save it.

Creating a tier ​

Plans → New plan → set the price and token allowance (the live margin updates as you type) → Create. It appears at checkout ordered by sortOrder. Archive (trash icon) hides a plan from new purchases — existing subscribers keep it until expiry.

Current packages ​

Subscription-only. Defined in src/modules/plans/plan-catalog.ts and installed with npm run plans:apply (add -- --dry-run first) — that upserts these and permanently deletes every other plan (including ones made in the admin). Top-ups are not affected. Live subscribers on a deleted plan move to pay-as-you-go; their payments, ledger and usage history are kept. npm run seed installs the same list.

The four packages are the plan spec in the workspace doc docs/KIKORI_PLANS_AND_MODELS.md (outside this repo). Slugs predate the spec's names and are kept, because subscriptions and payment records point at them.

PackageSlugPriceTokens per cycle
Litebasic-weekly৳99 / month1,008,240
Smartbeginner-monthly৳499 / month10,079,920
Creator (popular)creator-monthly৳999 / month21,169,200
Propro-monthly-v2৳1,999 / month40,000,000

There is no free trial, no Daily pack and no pay-as-you-go plan. A new account starts with no package. A customer without a package can still generate: they spend tokens (topped up) on any available model.

Tokens land in the one wallet and are spent on the package's models at provider cost — see Credits, tokens & top-ups for the pricing and margins.

Each package grants exactly the models it lists (features.modelSlugs). Nothing is added by price, and a dearer package does not inherit a cheaper one's list unless it names the model too:

ModelSlugLiteSmartCreatorPro
GPT-6 Lunaopenrouter/openai/gpt-6-luna✓✓✓✓
GPT-6 Solopenrouter/openai/gpt-6-sol✓
DeepSeek V4.1 Flashopenrouter/deepseek/deepseek-v4.1-flash✓✓✓✓
Gemini 3.1 Flash-Liteopenrouter/google/gemini-3.1-flash-lite✓✓✓
Gemini 3 Flashgemini/gemini-3-flash-preview✓✓✓
Gemini 3.1 Progemini/gemini-3.1-pro-preview✓
Claude Opus 4.6openrouter/anthropic/claude-opus-4.6✓
Nano Banana 2 Litegemini/gemini-3.1-flash-lite-image✓✓✓✓
Nano Banana Progemini/gemini-3-pro-image✓
Grok Imagine Imagegrok/grok-imagine-image✓✓✓✓
Grok Imagine Image 2.0grok/grok-imagine-image-2.0✓✓✓
GPT Image 2openai/gpt-image-2✓
Gemini 3.1 Flash TTSgemini/gemini-3.1-flash-tts-preview✓✓✓
Qwen3 TTS Flashalibaba/qwen3-tts-flash✓✓✓

The spec also lists Grok 4.7 Heavy, Imagen 5, Veo 3.1 Pro, Sora 2 Fast, Sora 2 Pro and ElevenLabs Multilingual v4. The catalogue has none of them, so no package sells them yet, and no package includes video. To sell one, enable it in the catalogue, add its slug to the package in plan-catalog.ts, and run npm run plans:apply.

Each plan carries its storefront card as data in features: tagline, badge (POPULAR on Creator), cta, the includes lines (the last is the token allowance), and modelAccess — the Text / Image / Audio groups. /v1/plans replaces modelAccess with the models the package can serve today, under the catalogue's display names. The price rule in src/modules/plans/price-tier.ts (a package with features.modelRule: "price" gets every model its tokens afford) still exists, but no package uses it.

Top-ups ​

One-off buying is a top-up the customer builds — so many credits (and, if switched on, images or videos) — priced by the top-up rules and tested on the Monetization → Top-up builder playground. See Credits, tokens & top-ups.

Building a reseller package ​

A "reseller package" is a plan tailored to a partner who resells access under their own brand:

  1. Create a dedicated plan — e.g. partner-acme-monthly, interval MONTHLY, negotiated price, generous limits, apiAccess: true (the reseller integrates via API keys).
  2. Restrict the model list to what the deal covers (only cheap image models, for example).
  3. Grant it manually — Users → the partner's account → Grant plan → pick the plan + duration. No card required. Repeat on renewal or script it via POST /v1/admin/users/:id/grant-subscription.
  4. Enterprise teams — create a Workspace for the partner, invite their staff; attach the subscription to the workspace so all members share the pool.
  5. Watch consumption — Analytics → top users; per-user detail shows recent usage.

For carrier-billed consumer packages (Bangladesh DCB via Hullor): create a BDT plan, and the checkout flow handles carrier consent SMS. Amounts must match a plan configured on the Hullor side (keyword + amount pair).

Changing plan ​

Moving to another plan — up or down — is a purchase of the new plan at its full price. The customer pays, and the plan changes when the payment is confirmed. Until then they keep everything they have; a payment that fails or is abandoned changes nothing.

On confirmation:

  • the old plan ends and the new one starts that day, with a new billing cycle: a switch on 15 Oct renews on 15 Nov, then 15 Dec, and so on. The old plan's renewal date no longer applies;
  • the new plan's token allowance is added once, and the customer's remaining tokens carry over into it. Carried tokens are not part of the plan — the next renewal adds the plan's normal allowance only;
  • a bKash auto-renew or carrier subscription for the old plan is cancelled, so it cannot charge again.

There is no proration and no refund. What is left of the old plan is compensated by carrying its tokens over, not by a discount: a customer ten days into Smart who moves to Creator pays ৳999 and keeps their remaining tokens. The payment record shows what the switch replaced, and the old subscription stays on the account's history.

Renewal and what happens when a plan lapses ​

Only carrier billing (DCB) renews itself — the carrier deducts each cycle and reports it back. Card and wallet channels store nothing reusable, so those customers have to buy the next cycle themselves. The system reflects that:

  1. 3 days and 1 day before the cycle ends, the customer is emailed. A carrier-billed customer is told it renews automatically and to do nothing; a card or wallet customer is told it ends and given a link to renew. Sending both the same message either invites a double payment or loses a customer who meant to stay.
  2. At the cycle end, a plan that has not been paid for enters a 3-day grace period — and access continues through it. For a carrier-billed customer this is the cushion for a rebill that lands late; for everyone else it is time to renew. No new allowance is granted; they are spending down what is left.
  3. If grace ends unpaid, the plan expires. The account does not lose its wallet: leftover tokens, including top-ups the customer paid cash for, stay spendable on any available model without a package.

Payment channels ​

Settings → Payment channels controls what customers can pay with. Disabling a channel takes effect immediately — checkout refuses it, so this stops payments through a gateway that is having a bad day rather than just hiding the button.

A channel can also be blocked: switched on, but missing the server configuration it needs. Customers are not shown it, and the page names the missing setting. This is worth watching after a deploy — a gateway can be enabled and still be incapable of taking a payment.

ChannelRenews itselfNotes
Cards & Mobile Banking (SSLCommerz)NoVisa, Mastercard, bKash, Nagad, Rocket, internet banking
bKashNoDirect from the customer's bKash wallet
Mobile Carrier Billing (DCB)YesCharged to the mobile balance; amounts must match a plan configured on the Hullor side (keyword + amount pair)

Stripe, PayPal and Nagad-direct are not live channels for this product.

Promotions ​

Coupons → New coupon. A code is either percent-off or a fixed amount — never both — and can carry any of:

SettingWhat it does
Max discountCeiling on a percentage code — "50% off, up to ৳500". Without it, a percentage aimed at the monthly plan gives away twelve times as much on the yearly one
Minimum orderFloor on the purchase it may be used against
Applies toSubscription plans — and can be narrowed to specific plans. ("Credit packs" is a legacy option: top-ups take no codes; use a promotion on the Top-up builder instead)
Valid from / untilThe window it works in
Max redemptionsTotal uses across the campaign
Max per customerUses by any one customer — a campaign can allow 1,000 uses but only one each

Codes are entered at a plan checkout. Top-ups don't take codes — their discounts and bonuses are top-up promotion rules, applied automatically under the profit floor. A code is spent only when the payment succeeds, so an abandoned checkout does not consume a use. A code that covers the whole price is fulfilled straight away with no gateway step.

The coupon list shows how many times each code has been used and how much discount it has given away, plus whether it is live right now — which is the quickest way to answer "why is my code not working" without reading the rules back one at a time. The detail view lists who redeemed it and what each redemption cost.

Ad-hoc credits ​

For goodwill / sales trials: Users → user → Grant credits (text requests, tokens, image credits, video credits — with an internal note). Instant, no payment involved.

kikori.ai — internal documentation