PostgreSQL 18
Now available on all clusters
New
SQL Editor now supports embeddings search
PostgreSQL 18 · pgvector 0.8 · NVMe

Managed pgvector on NVMe.
3× cheaper than Supabase.

Dedicated PostgreSQL 18 tuned for vector search. NVMe storage, HNSW indexes, automated backups, HA failover. Deploy in minutes.

2,000 QPS<4ms latencyNVMe-backed

postgresql://appuser@db-7q9m2p.eu.rivestack.io/primary

Powering ask.rivestack.io — semantic search over 30 days of Hacker News

How Rivestack compares

Same dedicated compute. Fraction of the cost.

Save 65%+ vs Supabase at the same compute
RivestackSupabaseNeon
Monthly cost$35~$105~$69+
Compute2 vCPU · 4 GBShared · 1 GB*Serverless
StorageNVMegp3 SSDCloud SSD
pgvectorTuned (HNSW)Extension onlyExtension only
BackupsDaily + 14d PITRDailyYes
Vector perf2,150 QPS · 2.8ms~410 QPS · 18msCloud SSD limited
Terraform
* Supabase $25 base + ~$80/mo compute add-on for 2 vCPU / 4 GB. Neon usage-based, ~$69+ at moderate usage. Vector perf: 1M × 1536-dim, ef_search=40, 16 clients. Full benchmarks →
Need more? Scale plan: 8 vCPU, 16 GB RAM, 295 GB NVMe for $99/mo — equivalent Supabase compute runs $300–400/mo.

Supabase and Neon are excellent platforms with broader feature sets — auth, storage, edge functions, realtime. If you need those, use them. Rivestack is for teams that need fast, affordable, dedicated pgvector and nothing else.

Real numbers

Measured on the $35/month plan. No synthetic loads, no cherry-picked configs.

Throughput

2,000 QPS

Queries per second at peak load
Best in class for this price range

p50 Latency

<4 ms

Median response time per query
Sub-millisecond at low concurrency

Recall

99.5%

Accuracy of nearest-neighbor results
HNSW index, cosine distance
Test config:
2 vCPU
4 GB RAM
NVMe
PostgreSQL 18
pgvector 0.8
1536 dims
HNSW cosine
ef_search=40

OpenAI text-embedding-3-small (1536 dimensions). Full benchmark methodology and reproduction scripts on our docs.

Try it yourself

ask.rivestack.io runs on a real Rivestack cluster. Every query hits pgvector on NVMe.

30 days
of Hacker News
1,536
dimensions
< 50ms
query time
$0
infra cost

Works with your stack

It's just PostgreSQL. Use your existing driver.

GolangJavaRustPythonNext.jsRubyDjangoLaravelExpressSpring BootFlask.NETGolangJavaRustPythonNext.jsRubyDjangoLaravelExpressSpring BootFlask.NETGolangJavaRustPythonNext.jsRubyDjangoLaravelExpressSpring BootFlask.NET
package main

import (
    "context"
    "fmt"

    "github.com/jackc/pgx/v5"
)

func main() {
    ctx := context.Background()
    conn, _ := pgx.Connect(ctx, "postgresql://appuser@db-7q9m2p.eu.rivestack.io/primary")
    defer conn.Close(ctx)

    // pgvector is already enabled — just create your table
    conn.Exec(ctx, `CREATE TABLE docs (
        id   bigserial PRIMARY KEY,
        text text NOT NULL,
        emb  vector(1536)
    )`)

    // Insert a document with its embedding
    conn.Exec(ctx, `INSERT INTO docs (text, emb)
        VALUES ($1, $2::vector)`, "deploy LLMs in production", embedding)

    // Nearest-neighbor search in < 4ms
    rows, _ := conn.Query(ctx, `SELECT text, emb <=> $1::vector AS dist
        FROM docs ORDER BY dist LIMIT 5`, query)

    for rows.Next() {
        var text string
        var dist float64
        rows.Scan(&text, &dist)
        fmt.Printf("%.4f  %s\n", dist, text)
    }
}

Provision with Terraform

Manage Rivestack like the rest of your infra. Create, scale, and destroy clusters with one file and one command.

PostgreSQL 18pgvector 0.8PatronipgBackRestPrometheusGrafanaTerraform

Built in France. Infrastructure in EU and US-East.

Built-in SQL editor with AI assist

Write plain English, get working pgvector SQL. No syntax to memorize.

SQL Editor
my-ai-app
12345678
--Write SQL or use the AI assistant →
Results
Run a query to see results

Pricing

Fixed monthly price per node. No hidden fees, no usage surprises. Pause or delete anytime.

Shared
$0/month

For testing, prototyping, and small personal projects. Shared PostgreSQL with pgvector enabled.

  • Shared CPU · 256 MB RAM
  • pgvector enabled
  • 2 GB storage
  • ~100K vectors (1536d)
  • Community support
  • SSL encrypted
Popular
Starter
$35/node/month

Production-ready dedicated PostgreSQL with NVMe storage, automated backups, and monitoring. Add nodes for HA.

  • 2 vCPU · 4 GB RAM per node
  • 55 GB NVMe storage
  • ~1M vectors (1536d)
  • pgvector tuned (HNSW)
  • HA ready (add nodes)
  • Daily backups + 14d PITR
  • Monitoring dashboard
  • SSL encrypted
  • Terraform provider
Growth
$59/node/month

More compute, more storage. Same HA support — add nodes for automatic failover.

  • 4 vCPU · 8 GB RAM per node
  • 135 GB NVMe storage
  • ~5M vectors (1536d)
  • pgvector tuned (HNSW)
  • HA ready (add nodes)
  • Daily backups + 14d PITR
  • Priority support
  • Terraform provider
  • Custom PostgreSQL config
Scale
$99/node/month

High-performance dedicated PostgreSQL for demanding workloads. Add nodes for automatic failover.

  • 8 vCPU · 16 GB RAM per node
  • 295 GB NVMe storage
  • ~20M vectors (1536d)
  • pgvector tuned (HNSW)
  • HA ready (add nodes)
  • Daily backups + 14d PITR
  • Priority support
  • Terraform provider
  • Custom PostgreSQL config

FAQ

Common questions about migrating to Rivestack.

Supabase is excellent if you need auth, storage, and edge functions alongside pgvector. But for comparable dedicated compute (2 vCPU, 4 GB RAM), Supabase costs ~$105/month versus $35 on Rivestack. We also run on NVMe storage instead of gp3 SSDs, which makes a measurable difference for HNSW index scans. If pgvector is your primary use case, we give you more performance for less money.

You absolutely can — pgvector on a $30 VPS is a great setup. Rivestack adds automated backups, monitoring, point-in-time recovery, HA failover, and SSL. We're for people who want affordable infrastructure without managing it themselves.

Your data is replicated with Patroni, backed up daily with pgBackRest, and stored on encrypted NVMe drives. Point-in-time recovery covers 7 days. Infrastructure runs on dedicated servers in ISO 27001 certified data centers. We're transparent about our stack — read our architecture docs.

Yes. It's standard PostgreSQL. pg_dump from your current provider, pg_restore to Rivestack. Takes minutes for most databases.

Rivestack is based in France and our EU region runs entirely within the European Union. Your data never leaves EU territory unless you explicitly choose our US-East region. As a French company, we are subject to GDPR by default — data processing agreements (DPA) are available on request.

We don't have SOC2 yet. If you need enterprise compliance certifications today, Supabase or AWS RDS are better choices. We're focused on indie developers, startups, and small teams who prioritize performance and cost.

Rivestack

Start building with
pgvector on NVMe

Run 2,000 vector queries per second at
<4ms latency.

Transparent pricing. No surprises.