Larz › Blog › Ship a Larz app in 60 seconds: larz new + benchmarks

Ship a Larz app in 60 seconds: larz new + benchmarks

July 27, 2026 · Larz OS

A scaffolder that generates a complete runnable project, two new real-world example apps, and honest performance numbers.

The framework is feature-complete; 2.1 is about making it easy to start.

pip install --upgrade larz     # 2.1.0

larz new — a real scaffolder

One command generates a complete, runnable project — app, tests, requirements, .env and a README — from a template that fits what you're building:

larz new myshop --template marketplace
# also: --template api | saas | ai | minimal   (larz new --list)
cd myshop && pip install -r requirements.txt && python3 app.py

Each template is a working product on day one — the saas one has accounts, pricing-as-code, plan limits and a revenue dashboard; ai has per-token metering and BYOK; api has keys, validation, metering and docs; marketplace has listings and split payouts. Every template ships with a passing smoke test.

Two more real-world examples

Building the link-in-bio app surfaced a real improvement: an implicit free tier. Unentitled users now fall back to the cheapest $0 plan, so free-tier limits (app.within_limit(req, "links", n)) work without anyone "subscribing" to free.

Honest benchmarks

Larz is synchronous (WSGI), and for the money-native use case that's plenty fast — the bottleneck is your payment provider and database, not the framework. In-process dispatch throughput (framework overhead, no network), measured on a small cloud server:

GET /plain            ~13,700 req/s   text response
GET /json             ~12,800 req/s   dict -> JSON
GET /param/42          ~8,400 req/s   typed path param + validation
GET /pro (paid user)   ~2,300 req/s   money-gated, entitled (DB read + serve)

Real throughput is bounded by your WSGI server (gunicorn workers) and IO — these are the ceiling the framework itself imposes. The benchmark script is in bench/; run it yourself.

See the changelog and the CLI docs.

Read the docs PyPI

FAQ

How do I start a new Larz project?

Run larz new <name> --template <t> (api, saas, ai, marketplace or minimal). It generates a complete runnable project with tests; cd in, pip install -r requirements.txt, and python3 app.py.

Is Larz fast enough?

For money-native apps, yes. It's synchronous, but the bottleneck in a checkout/metering/dashboard flow is your payment provider and database, not the framework. In-process dispatch runs many thousands of requests per second.

What is the implicit free tier?

If you define a $0 plan, users who haven't subscribed to anything are treated as being on it — so free-tier limits and features apply without an explicit subscription.

release2.1adoption