Skip to main content

Ship faster with Postgres

The database you love, on a serverless platform designed to help you build reliable and scalable applications faster.

Scaling

Scaling

Focus on building applications with time and money-saving features like instant provisioning, autoscaling according to load, and scale to zero.

Discover Autoscaling
Branching

Branching

Instantly branch your data and schema to access isolated DB copies for development, CI/CD, and schema migrations with copy-on-write storage.

Explore Branching

Lightning fast. Edge ready.

The Neon serverless driver, designed for fast queries over HTTP

import { neon } from '@neondatabase/serverless';
const sql = neon('postgresql://usr:pass@proj.us-east-2.aws.neon.tech/db');
const posts = await sql('SELECT * FROM posts');
Get the Serverless Driver

Better database.
For modern workflows.

Feature

Boost your performance with instant read replicas

They scale down to zero when idle and don't use additional storage.

Feature

Easy database ops via the API and CLI

Manage thousands of databases programmatically.

Feature

Instant Point-in-time recovery

Up to 30 days granularity down to the transaction or second.

// Create a new branch

curl -X POST \
  https://console.neon.tech/api/v2/projects/... \
  -H 'Authorization: Bearer $NEON_API_KEY' \
  -d '{
    "branch": {
      "name": "dev"
    }
  }'
main Active
dev Ready

Thousands of databases.
Zero overhead.

Use the Neon API to deploy database-per-tenant architectures. Scale to fleets of thousands of databases without touching a server. Rest easy knowing scale to zero keeps costs low.

Free

Perfect for side projects and learning

$0 /month
  • check 1 Project
  • check 10GB Storage
  • check Unlimited Branches
Popular

Pro

For growing applications

$20 /month
  • check 3 Projects
  • check 100GB Storage
  • check Priority Support

Enterprise

For large-scale applications

Custom pricing
  • check Unlimited Projects
  • check Custom Storage
  • check 24/7 Support

Works with your stack

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

Next.js

Next.js

import { neon } from '@neondatabase/serverless';

export async function GET() {
  const sql = neon(process.env.DATABASE_URL);
  const rows = await sql("SELECT * FROM posts");
  return Response.json({ rows })
}
View Documentation
Prisma

Prisma

datasource db {
  provider = "postgresql"
  url      = env("DATABASE_URL")
}

model Post {
  id        Int      @id
  title     String
  content   String?
}
View Documentation
Python

Python

import psycopg2

conn = psycopg2.connect(
    database="neondb",
    user="user",
    password="password",
    host="host",
    port="5432"
)
View Documentation

Industry leaders
trust Neon

Dive into success stories

Profile

Himanshu Bhandoh

Software Engineer at Retool

"We've been able to automate virtually all database tasks via the Neon API, saving us a tremendous amount of time and engineering effort"
Profile

Alex Klarfeld

CEO and co-founder of Supergood.ai

"Neon allows us to develop much faster than we've even been used to"
Profile

Léonard Henriquez

Co-founder and CTO, Topo.io

"The killer feature that convinced us to use Neon was branching: it keeps our engineering velocity high"
Partner Partner Partner Partner Partner Partner

Unleashing Cutting-Edge AI Applications

The HNSW index algorithm streamlines performance, making high-dimensional vector search remarkably efficient.

Icon

Reliable

Power your AI applications with PostgreSQL's robust features and Neon's reliable infrastructure.

Icon

Scalability

Scale your vector operations effortlessly with our distributed architecture.

Icon

High compatibility

Works seamlessly with popular AI frameworks and tools in the ecosystem.

-- Create a table with vector data
CREATE TABLE items (
  id bigserial PRIMARY KEY,
  embedding vector(384)
);

-- Create a HNSW index
CREATE INDEX ON items 
USING hnsw (embedding vector_cosine_ops);

-- Query similar items
SELECT id 
FROM items 
ORDER BY embedding <=> '[0.1, 0.2, ...]'
LIMIT 5;
Check Works with PGVECTOR
Check Works with langchain
Check Blazingly fast search

100% Postgres. Not a fork, not a rewrite.

SOC2 Compliance

Profile

Edouard Bonlieu

Verified

Co-founder at Koyeb

"Neon's serverless philosophy is aligned with our vision: no infrastructure to manage, no servers to provision, no database cluster to maintain"
Company Logo
Profile

Alex Klarfeld

Verified

CEO and co-founder of Supergood.ai

"Neon allows us to develop much faster than we've even been used to"
Company Logo
100K+

Databases under management

99.9%

Uptime guarantee

24/7

Enterprise support

Ship faster with Postgres

The database you love, on a serverless platform designed to help you build reliable and scalable applications faster.

Company logo Company logo Company logo Company logo Company logo