cross stack 100% Deterministic Spec Audit

Fly Machines vs pgvector

Comparing architecture, runtime limits, open-source licenses, and monthly costs for autonomous agent pipelines.

Fly Machines

Fly.io Inc. (Kurt Mackey & Team)

pgvector

Andrew Kane & PostgreSQL Community

Detailed Specifications & Compatibility Matrix

Extracted directly from GitHub REST API & official developer documentation

Technical Feature / Metric Fly Machines pgvector
Developer / Organization Fly.io Inc. (Kurt Mackey & Team) Andrew Kane & PostgreSQL Community
Open-Source Engine ✓ Open Source (Apache-2.0) ✓ Open Source (Public)
GitHub Stars (Repo/SDK) ★ 1,719 GitHub Stars ★ 23,475 GitHub Stars
Core Repository Language Go C
Supported SDK Clients
gocurlpython
sqlpythontypescriptrustgo
Self-Hosted Deployment Hosted Only ✓ Supported
Docker / Container Ready ✓ Official Image ✓ Official Image
Model Context Protocol (MCP) Standard REST/gRPC ✓ Native MCP
Billing Architecture usage based free
Developer Free Tier
✓ Yes

3 shared-cpu-1x microVMs allowance

✓ Yes

100% Free (PostgreSQL license)

Entry Paid Tier (Monthly) $1.94 USD / mo Free / Custom
Pricing & Cost Architecture Pay-as-you-go billed per second: shared CPU microVMs start at ~$0.0000022/second (~$1.94/month if running 24/7). Stopped machines pay only for attached NVMe disk storage ($0.15/GB/mo). 100% Free and open-source under the PostgreSQL License. Pre-installed and available with zero license fees on Supabase, AWS RDS, Neon, Azure, and self-hosted Postgres.
Key Engineering Insight Operates custom bare-metal servers across 35+ global edge datacenters, booting Linux kernels directly on KVM without container orchestration overhead. Changed the vector landscape by demonstrating that 90% of RAG architectures do not need a standalone vector database; they can simply execute vector queries on their existing Postgres tables.

Strengths & Trade-Offs

Objective engineering evaluation of both platforms

Fly Machines Evaluation

Key Advantages

  • ✓ Sub-300ms boot times for custom Docker images running in 35+ global edge data centers close to end users
  • ✓ Full persistent NVMe volume support with customizable memory/vCPU ratios per individual machine instance
  • ✓ Fast REST API allowing agents to dynamically spawn, pause, snapshot, and destroy microVMs programmatically

Limitations & Trade-Offs

  • ✕ Requires managing base Linux Docker images, security firewall configurations, and internal WireGuard routing
  • ✕ Lacks a specialized high-level code execution SDK out of the box (requires building custom API wrappers)

pgvector Evaluation

Key Advantages

  • ✓ Runs directly inside PostgreSQL: eliminates data synchronization pipelines, extra microservices, and network hops
  • ✓ Full ACID compliance, transactional integrity, relational SQL joins, and row-level security on vector tables
  • ✓ Supports exact flat search, approximate IVF-flat, and HNSW graph-based similarity indexes

Limitations & Trade-Offs

  • ✕ HNSW index build times and memory usage on Postgres can be slower than specialized standalone C++/Rust engines
  • ✕ Lacks out-of-the-box multimodal vectorization wrappers or automatic reranking pipelines found in dedicated vector DBs

Source Quotes

Direct excerpts from official documentation backing our extracted specifications

Fly Machines Documentation Proof

PRICING:

"Shared CPU instances start at $0.0000022/second (~$1.94/mo)."

FREE_TIER:

"Free resource allowances include up to 3 shared-cpu-1x microVMs."

SELF_HOSTED:

"Global microVM platform running on Fly.io bare metal hardware."

pgvector Documentation Proof

PRICING:

"Open source extension under the PostgreSQL License with zero license fees."

FREE_TIER:

"Completely free on any self-hosted or cloud-managed PostgreSQL instance."

SELF_HOSTED:

"Standard extension installable via apt, yum, or Dockerfile in any Postgres environment."

Frequently Asked Questions: Fly Machines vs pgvector

Architectural trade-offs and decision criteria

Is Fly Machines or pgvector cheaper for developers?

Fly Machines has a starting price of $1.94/mo (usage based), while pgvector starts at $0/mo (free). Fly Machines includes a free tier (3 shared-cpu-1x microVMs allowance). pgvector offers a free tier (100% Free (PostgreSQL license)).

Can I self-host Fly Machines and pgvector in my own infrastructure?

Fly Machines is a cloud-managed service only. In comparison, pgvector is available for self-hosting with open source licensing.

Do Fly Machines and pgvector support the Model Context Protocol (MCP)?

Fly Machines does not currently list native MCP server compatibility. pgvector fully supports Model Context Protocol integrations.

Which programming languages have official SDKs for Fly Machines vs pgvector?

Fly Machines provides official SDKs in: go, curl, python. Meanwhile, pgvector supports: sql, python, typescript, rust, go.