Loams v0.1.4 is out, with Studio in Loams Desktop. Meet the products

Total cost of ownership

Build the capacity you need. Prove what it costs.

Enter the operations per second each engine has to serve, the data you keep and a price basis. The calculator turns them into cores, nodes and dollars a month, using the throughput per core that Loams measured and prices you can check. Every assumption is on this page, and each default links to its source. These are estimates from single-node preview benchmarks: they show how efficiently the engines use a core today, not what a production cluster will cost you.

The throughput and the three price bases are those of the engine repository's cost-per-operation report (#1584). That report counts one vCPU as one core and leaves out PUE; this calculator defaults to two Intel vCPUs per core and a PUE of 1.54, so the report's figures are the optimistic case here. Tick "Count each vCPU as a benchmark core" and set PUE to 1 to reproduce them.

Your workload

Estimates from single-node preview benchmarks

Operations per second, at peakOne op is what the benchmark counted: a KV get or put, a point query, one produced message, one durable promise created.
Gets and puts
Point selects, stock Postgres compute
Point selects, MySQL wire to TiDB
Point queries. Provisional: see the caveats
Produced messages, batched 16 at a time
Promises created, Resonate on SQLite
DataKept in your bucket. Stream retention adds message size × rate × days.
Price basisEvery default cites its source in the table below the calculator.
Node (AWS us-east-1)c7i.4xlarge, 16 vCPU, 32 GiB, $0.714/hThe c7i prices of the cost report. 16 vCPUs are 8 physical cores with SMT.
PlanningYour choices, not measurements.
Headroom for peaks. 100 % means cores run flat out, as in the benchmark.
The benchmark ran one. Three is a common choice for availability.
Cores to provision9.25range 7.18 to 13.8
Nodes (c7i.4xlarge (on-demand))2range 1 to 2; 8 cores each
Storage (S3 Standard)$296/month12,886 GB
Estimated total$1,339/monthrange $818 to $1,339

Estimate from single-node preview benchmarks (2026-10-29). Not a quote, not a measured cluster.

Per-engine cores and cost per million operations
EngineYour ops/sOps per busy core/slow · central · highCorescentral (range)$ per 1M opscentral (range)
KVkv-tikv slot20,0005,816 · 5,816 · 7,3366.885.45 to 6.88$0.00426$0.00338 to $0.00426
Postgrespg slot10,00030,402 · 47,197 · 93,5450.420.21 to 0.66$0.000525$0.000265 to $0.000815
SQL (TiDB)sql slot5,0005,802 · 32,000 · 32,0000.310.31 to 1.72$0.000775$0.000775 to $0.00427
Househouse slot1023 · 23 · 230.860.86 to 0.86$1.07$1.07 to $1.07
Streamsiggy slot20,00012,937 · 211,900 · 324,7750.190.12 to 3.09$0.000117$0.0000763 to $0.00192
Durabledurable slot200636 · 684 · 1,8300.580.22 to 0.63$0.0362$0.0135 to $0.039
  • Cores = ops/s ÷ ops per busy core ÷ target utilisation (50 %) × copies (1). Nodes round the sum up to whole 8-core nodes; real engines also need memory and may not share a node.
  • $ per 1M ops = $0.0892 per core-hour ÷ (ops per busy core × 3,600) × 1,000,000, at 100 % busy: the engine repository's cost-per-operation formula.
  • Low ops per core: the worse of depth 1 and depth 16, as if your clients cannot pipeline. High: the server-only figure where the cost report measured one (Postgres, streams, durable: the load generator's share removed), otherwise the better of the two depths. All three are measured.
  • Not counted: bucket requests, egress, disks, load balancers, support and your time. Loams itself is Apache-2.0 and free.
  • The engine repository's cost report uses the same throughput and prices but counts one vCPU as one core and leaves out PUE, so its dollar figures match this calculator with "Count each vCPU as a benchmark core" ticked and PUE set to 1: its numbers are the optimistic case here.

An estimate, not a quote. The throughput comes from one benchmark on one laptop, with every engine running at once; nothing here was measured on a cluster, on server hardware, or over a real network. Prices are list prices for one region, without taxes, support, credits or negotiated discounts. The method and its limits are in Prove what it costs. For the cloud bill of a small self-hosted stack, see What your ground costs.

What was measured

Ops per busy core, from one combined run.

The BQ1 combined run of 2026-10-29 (engine commit c4760980c) ran every engine at once on one laptop: Intel Core Ultra 5 225H, 14 cores without SMT, 15 GB RAM, local NVMe, loopback networking. Each engine and its load generator were pinned to their own cores, each depth ran for 60 seconds, and every figure is the mean of two runs that agree within 2 % on the totals. "Busy cores" is measured CPU time, including the engine's share of its load generator.

Measured 2026-10-29. Depth is the number of operations in flight per connection. QPS counts operations; a batch of 16 counts as 16.
Engine (slot)API and operationQPS, depth 1 / 16Per busy core, depth 1 / 16Server only, depth 16Caveat
KV (kv-tikv)loams-kv Store on TiKV (one store, API v2 keyspace): get and put8,436 / 6,2827,336 / 5,816–One TiKV on one core, shared with the SQL slot, which took it at depth 16: throughput fell from depth 1 to 16 and p99 reached 1.5 s.
Postgres (pg)PG wire to stock Postgres 17.10 compute: point-select55,940 / 93,45130,402 / 47,19793,545Stock Postgres 17.10 compute only. The Loams Postgres pageserver and safekeeper were not on the machine. Reads only; one writer per database.
SQL (TiDB) (sql)MySQL wire to keyspace-mode TiDB on TiKV: point-select (depth 16: IN list of 16 ids)7,630 / 33,9205,802 / 32,000–Depth 16 batches 16 ids into one IN list. One TiKV core, shared with the KV slot, and PD’s timestamp oracle are the first limits.
House (house)ClickHouse native TCP to the House (chDB worker): point query20 / failed23 / n/a–Provisional. One query at a time per chDB worker; at depth 16 one query failed and the run recorded 0. A point query is not an analytical scan, so this says little about real House workloads.
Streams (iggy)Iggy native TCP: produce (depth 16: 16 messages per batch)15,784 / 216,13812,937 / 211,900324,775Produce only; consume was not measured in this run. Batching is most of the depth-16 figure: unbatched produce is about 16× more expensive per message.
Durable (durable)Resonate HTTP on SQLite: promise.create506 / 534636 / 6841,830Bound by I/O, not CPU: every create is its own SQLite commit, with no group commit yet. p99 grows to seconds at depth 16.
KV (kv)loams-kv Store, in-process, in-memory redb: get and put (about 93 % gets)27,109 / 52,98454,218 / 105,969–In-process: no network and no wire protocol. Puts serialise on one embedded committer (p50 21 ms at depth 16).
Every price

Each default, and where it came from.

The three price bases of the cost-per-operation report: AWS c7i on demand, a 3-year EC2 Instance Savings Plan for c7i with no upfront, and an owned mini PC. AWS prices were read from AWS's public price lists, published 2026-10-28. The bucket prices are shared with the /cost calculator. The owned-hardware default is a mini PC with the benchmark laptop's own CPU, so the measured throughput per core applies without converting between processors; a rack server will differ. Defaults no one publishes are labelled as assumptions.

Price defaults. (verify) marks a figure taken from a secondary summary of its source.
ItemValuePerRead onSource
c7i.4xlarge on-demand$0.714hour, Linux on-demand, us-east-1 (8 × c7i.large at $0.08925). from the price feed the on-demand page renders from, published 2026-10-282026-10-29aws.amazon.com
c7i.4xlarge 3-year Savings Plan$0.31435hour, EC2 Instance Savings Plan, c7i, 3 years, no upfront, us-east-1 (c7i.large: $0.03929). AWSComputeSavingsPlan offer file, published 2026-10-28, rate code D2YVZHPR4MTDUCJY.MDCEERAZ4UHT28VS2026-10-29aws.amazon.com
S3 Standard storage$0.023GB-month, first 50 TB2026-10-23aws.amazon.com
Cloudflare R2 storage$0.015GB-month2026-10-23developers.cloudflare.com
Owned server$612.93Gigabyte BRIX GB-BRU5-225H barebone (Core Ultra 5 225H, 14 cores), no RAM or SSD. AVADirect list price2026-10-29www.avadirect.com
Owned server draw100 Wwatts, the barebone’s power-supply rating (20 V, 5 A), used as an upper bound on its draw2026-10-29www.avadirect.com
Electricity$0.1447kWh, US average commercial retail price, August 2026. EIA Electric Power Monthly, table 5.6.A2026-10-29www.eia.gov
PUE1.54 (verify)power usage effectiveness, global average. Uptime Institute Global Data Center Survey 2025, as reported in its summaries2026-10-29intelligence.uptimeinstitute.com
Owned server parts and life$250Memory and SSD for the barebone, and a 3-year straight-line life. Assumptions, not quotes: replace them with yours.–assumption

Raw feeds: on-demand and Savings Plans (look for BoxUsage:c7i.4xlarge), and the cost report's prices.toml. A vCPU on an Intel instance is one hardware thread, so by default 16 vCPUs count as 8 benchmark cores. Found a price that changed? Open an issue.

What it cannot tell you

Efficiency per core, not a cluster bill.

Read the range, not the central figure, and read the caveats before either.