codetocoin

Guides / 7 min read

Open-core, SaaS or lifetime license? Choosing a model for your code

The shape of your software decides which business models work. A decision guide with the trade-offs nobody puts on the landing page.

The short version

Your software is…Start withWhy
A web app people log intoSubscription (SaaS)Ongoing value, ongoing cost, ongoing payment
A library or frameworkOpen-core or supportAdoption comes first; companies pay for extras
A CLI or desktop toolLifetime license + paid upgradesDevelopers like to own tools
An APIUsage-basedYour costs scale with usage; so should revenue
A template or starter kitOne-time marketplace saleBuyers want it once, and they want it now

Subscription

Best when customers get value continuously and you carry ongoing costs (hosting, AI APIs, support). The hard part is churn: a 5% monthly churn means replacing roughly half your customers every year. Build for retention before acquisition.

Open-core

Give the core away under an open license; sell features companies need: SSO, audit logs, team management, hosted versions, support. It works when the free version spreads on its own. It fails when the free version is so complete nobody needs the paid one, or so limited nobody adopts it.

Licensing matters. Permissive licenses (MIT, Apache 2.0) maximize adoption but let anyone sell your code. Copyleft licenses (GPL, AGPL) push commercial users toward buying a commercial license. That only works if you own all the copyright, so require a contributor agreement.

Lifetime license

Simple and honest: pay once, own the version you bought, pay again for major upgrades. Cash comes in lumps, so plan for quiet months. Works well for CLIs, desktop apps and plugins.

Usage-based

Charge for what customers consume: calls, documents, minutes processed. It protects your margin when each request costs you money (AI tokens, compute). Add a free allowance so people can try it, and show usage clearly so bills never surprise anyone.

Don't pick forever

Most products end up hybrid: a subscription with usage limits, or open-core with a hosted tier. Pick the model that makes your first ten sales easiest, then evolve. Model two or three side by side in the Profit Engine before you decide.

Let your code argue for a model.

A free scan ranks open-core, SaaS, lifetime licenses and eight other models for your repository, with the cautions. See a real report.

Or upload a zip after signing up. Your code is read, never run, never kept.