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 vector search<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.

Rivestack $35/moSAVE 65%+
Supabase ~$105/moNeon ~$69+/moAWS RDS ~$150+/mo
Scale $99/mo
Monthly cost$35~$105~$69+~$150+$99
Resources2 vCPU · 4 GB RAMShared CPU · 1 GB*Serverless (shared)2 vCPU · 4 GB RAM8 vCPU · 16 GB RAM
StorageNVMegp3 SSDCloud SSDgp3 / io2295 GB NVMe
pgvector tuned✓ Pre-configuredExtension onlyExtension onlyExtension only✓ Pre-configured
PostgreSQL16 – 1815 – 1714 – 1814 – 1816 – 18
Backups Daily + 14d PITR Daily Yes Manual setup Daily + 14d PITR
EU regions DE Multiple Multiple Multiple DE
Terraform
SOC2Not yetNot yet
* Supabase: $25 base + ~$80/mo Small compute add-on for 2 vCPU / 4 GB. Their included Micro instance has shared CPU and 1 GB RAM. Neon: $69 Launch plan with 300 compute hours. Heavy usage costs more. Equivalent Supabase compute for 8 vCPU / 16 GB runs ~$300–400/mo.
Need more? Scale plan: 8 vCPU, 16 GB RAM, 295 GB NVMe for $99/mo — equivalent Supabase compute runs $300–400/mo.
A note on honesty: Supabase and Neon are excellent platforms with much 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 getting in the way.

Real numbers.

Benchmarks on the $35/month plan

2 vCPU · 4 GB RAM · NVMe · PostgreSQL 18 · pgvector 0.8 · 1536 dims · HNSW · cosine · ef_search=40
10K vectors
Throughput
2,000 QPS
p50 Latency
< 4 ms
99.5% recall
100K vectors
Throughput
850 QPS
p50 Latency
7 ms
99% recall
1M vectors
Throughput
252 QPS
p50 Latency
32 ms
98% recall

OpenAI text-embedding-3-small (1536 dimensions). HNSW index with cosine distance, ef_search=40. Full benchmark methodology and reproduction scripts on our docs.

Live Demo

See it live.

We built ask.rivestack.io to dogfood Rivestack. 30 days of Hacker News indexed with OpenAI embeddings. Every query hits a real Rivestack cluster.

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

Try ask.rivestack.io →

Works with your stack.

Integrate it into your language or framework within minutes and unlock a simpler developer workflow.

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

import (
    "context"
    "fmt"
    "log"

    "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)
    }
}

IaC-native provision with Terraform

Manage Rivestack like the rest of your infra. Create, scale, and destroy PostgreSQL (pgvector on) with one file and one command.

Query in plain English.

Create tables, query data, alter schemas — just describe what you need and we generate the SQL.

Plain English query
Type a natural language query...
generate
Generated SQL
CREATE TABLE users (
  id SERIAL PRIMARY KEY,
  email VARCHAR(255) UNIQUE NOT NULL,
  name VARCHAR(100),
  plan VARCHAR(20) DEFAULT 'free',
  created_at TIMESTAMPTZ DEFAULT now()
);
Table created
Open Infrastructure

Built on battle-tested tools.

Rivestack runs on the same open-source stack that powers Postgres at scale everywhere. No proprietary magic — just proven tools, properly configured.

PostgreSQL 18pgvector 0.8PatronipgBackRestPrometheusGrafanaTerraform

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

Simple Pricing

Transparent pricing.

No hidden fees. No surprise bills. Pay only for what you use.

Shared
$0/month

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

Pause or delete anytime

  • 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.

Pause or delete anytime

  • 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.

Pause or delete anytime

  • 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.

Pause or delete anytime

  • 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
Frequently Asked Questions

Everything you need to know.

Got questions? We've got answers. Here's everything you need to know before getting started.

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.

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

Ready to launch
Your AI Ready
Postgres?

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

Transparent pricing. No surprises.