Softwr

APIs · head to head

Formance vs PgBouncer

Formance logo

Formance

APIs

Open source double-entry ledger and payment orchestration for money-moving software

From
Free
Free plan
Yes
PgBouncer logo

PgBouncer

Databases

Lightweight open-source connection pooler for PostgreSQL

From
Free
Free plan
Yes

The short version

  • Formance is an MIT-licensed double-entry ledger; PgBouncer is an open-source connection pooler.
  • Both are free.
  • Only Formance lists double-entry ledger; only PgBouncer lists session pooling.
  • Where PgBouncer falls short: works with PostgreSQL only; it cannot pool connections for other database engines.
  • Prices and features on this page were last checked on 24 November 2026.

How do Formance and PgBouncer differ?

Formance and PgBouncer differ on pricing model, platforms and category (APIs against Databases). Only the attributes on which Formance and PgBouncer actually diverge.

Attributes where Formance and PgBouncer differ
AttributeFormancePgBouncer
Pricing modelOpen source, no licence feeOpen-source
PlatformsLinux, Self-hosted, Web, APILinux, macOS, Windows
CategoryAPIsDatabases

Identical on both: starting price (Free), free tier (Yes).

Which features does each one have?

They share no listed features; 8 appear only for Formance and 9 only for PgBouncer. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Formance

  • Double-entry ledger
  • Numscript transaction DSL
  • Multi-currency
  • Payments connectivity
  • Reconciliation
  • Self-hosted deployment
  • Cloud offering
  • API and SDKs

Only in PgBouncer

  • Session pooling
  • Transaction pooling
  • Statement pooling
  • Low memory use per connection
  • Online reconfiguration of most settings
  • Online restart and upgrade without dropping clients
  • Backends on different hosts
  • TLS support via OpenSSL

What is each one used for?

PgBouncer is most often brought in for reducing open connections to a busy PostgreSQL server. The jobs each tool is most often brought in to do.

Formance

  • A marketplace splitting a single customer payment between seller, platform fee and tax that needs the split to be atomic and auditablenot PgBouncer
  • A fintech whose homegrown balances table produced numbers finance could not reconcile and now needs proper double-entry before an auditnot PgBouncer
  • A payments team that wants one normalised model across several PSPs so reconciliation is not written separately for eachnot PgBouncer
  • A company that wants its ledger under a licence it can keep running even if the vendor disappearsnot PgBouncer

PgBouncer

  • Reducing open connections to a busy PostgreSQL servernot Formance
  • Pooling connections from serverless or short-lived application processesnot Formance
  • Fronting databases spread across several hostsnot Formance
  • Rolling upgrades without dropping client connectionsnot Formance

Where do Formance and PgBouncer fall short?

PgBouncer's most cited limit: works with PostgreSQL only; it cannot pool connections for other database engines. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Formance

  • Formance holds no money and provides no regulatory cover, so it must be paired with a payments provider or bank, and buyers occasionally mistake a ledger for a treasury system and discover the gap late
  • Numscript is a domain-specific language your team must learn, and while it makes complex splits expressible it also means transaction logic sits outside the languages your engineers already debug well
  • Self-hosting a ledger that must never lose or duplicate a transaction is a serious operational commitment covering backups, upgrades and Postgres tuning, which is real cost the zero licence fee hides
  • Enterprise pricing is not published, so the difference between the free path and the supported path cannot be evaluated without a sales conversation
  • The company is much smaller than the incumbent alternatives, and while the MIT licence protects the code it does not protect the roadmap, so features on the hosted side may arrive slowly or change direction

PgBouncer

  • Works with PostgreSQL only; it cannot pool connections for other database engines
  • Transaction pooling disables session features such as LISTEN, SET/RESET and session-level advisory locks
  • Windows support is limited to MinGW builds; Cygwin and Visual toolchains are not supported
  • Configured through files and an admin console, with no built-in graphical interface
  • Does not provide failover, replication management or read-replica load balancing

How much do Formance and PgBouncer cost?

Formance is free to use; PgBouncer is free to use. Plan by plan below, from each vendor's own pricing page.

Formance

Free
  • Open SourceFree
    • MIT licensed core ledger
    • Numscript transaction DSL
    • Multi-currency tracking
  • EnterpriseOn request
    • Managed or private deployment
    • Payments connectivity and reconciliation
    • Support with response commitments

PgBouncer

Free

No published plan breakdown. See the PgBouncer review.

Which should you pick?

Choose Formance if

  • You need double-entry ledger.
  • You want to start without paying.
  • You work on Linux, Self-hosted, Web, API.
  • You also want numscript transaction dsl.

Choose PgBouncer if

  • You need session pooling.
  • You want to start without paying.
  • You work on Linux, macOS, Windows.
  • You also want transaction pooling.

Questions people ask

Is Formance or PgBouncer better?
Neither clearly leads. Formance starts at Free and PgBouncer at Free, and user ratings are close enough to be indistinguishable. Choose on capability and platform support.
Which is cheaper, Formance or PgBouncer?
Formance starts at Free and PgBouncer at Free.
Does Formance or PgBouncer run on more platforms?
Formance runs on Linux, Self-hosted, Web, API. PgBouncer runs on Linux, macOS, Windows.
Can I use Formance for free?
Both have a free tier, so you can try either at no cost before committing.
What is Formance best used for?
Formance is most often used for a marketplace splitting a single customer payment between seller, platform fee and tax that needs the split to be atomic and auditable, a fintech whose homegrown balances table produced numbers finance could not reconcile and now needs proper double-entry before an audit, a payments team that wants one normalised model across several psps so reconciliation is not written separately for each, a company that wants its ledger under a licence it can keep running even if the vendor disappears. Of those, a marketplace splitting a single customer payment between seller, platform fee and tax that needs the split to be atomic and auditable and a fintech whose homegrown balances table produced numbers finance could not reconcile and now needs proper double-entry before an audit are not what PgBouncer is typically brought in for.
What can Formance do that PgBouncer cannot?
Formance covers Double-entry ledger, Numscript transaction DSL, Multi-currency, Payments connectivity. PgBouncer covers Session pooling, Transaction pooling, Statement pooling, Low memory use per connection.

Answered from the vendors’ own pages

Formance: Is Formance really open source?

Yes. The core ledger is MIT licensed with full source access and no deployment restrictions.

PgBouncer: What is PgBouncer used for?

PgBouncer is a lightweight connection pooler for PostgreSQL. It lets many client connections share fewer server connections, which lowers the load of holding many connections open.

Source
Formance: Does Formance move money?

No. It records and orchestrates movements; the actual payments happen at a PSP or bank you connect.

PgBouncer: What pooling modes does PgBouncer support?

It supports session, transaction and statement pooling. Session pooling supports all PostgreSQL features, while transaction and statement pooling restrict some session-based features.

Source
Formance: What does the enterprise version cost?

Not published. It is an annual subscription quoted per customer.

PgBouncer: Does PgBouncer run on Windows?

The project's build instructions support Windows only through MinGW. It states that Cygwin and Visual toolchains are not supported, and that LDAP is not supported on Windows.

Source
Formance: Do I have to use Numscript?

Yes for anything beyond the simplest transfers. It is how multi-party transactions are expressed atomically.

PgBouncer: What do I need to build PgBouncer from source?

The README lists a C11-capable compiler, Libevent 2.0 or newer, pkg-config and, for TLS, OpenSSL 1.0.1 or newer. Optional components include c-ares, LDAP libraries and PAM libraries.

Source
Share

Related pages

Other head to heads