Neon
Serverless Postgres with autoscaling, branching and scale-to-zero.
- Always free
- Commercial use not stated
- No card required
Free tier
100 projects, each with 100 CU-hours/month, 1 GB storage (20 GB total) and 5 GB egress/month.
- 100 projects
- 100 CU-hours per project per month
- 1 GB Postgres storage per project, 20 GB total across all projects
- 5 GB public network transfer (egress) per project per month
- Autoscaling up to 2 CU (8 GB RAM)
- 10 branches per project
- 6-hour restore window (1 GB limit)
- 1 manual snapshot
- 1 day monitoring retention
Gotchas
- Compute scales to zero after 5 minutes idle and this can't be disabled on Free; the next query wakes it within a few hundred milliseconds.
- Using up a project's 100 CU-hours or 5 GB egress suspends its compute until the next billing period or an upgrade.
- Exceeding 1 GB in a project (or 20 GB in total) makes inserts, updates and deletes fail until space is freed; data is not deleted.
- Neon says Free should be avoided for production workloads where uninterrupted availability matters.
- The CLI's npm package is now
neon(Homebrew formula is stillneonctl);neon authis a legacy alias forneon login.
Setup
What you do
- Sign up at https://neon.com/signup (GitHub or Google sign-in is fastest).
- Approve the browser prompt from
neon login, or create an API key in the Console under Account settings > API keys.
How your agent gets access
CLI login
- Install
npm i -g neon@latest- Run
neon login
Opens a browser for the human to approve; credentials are saved to ~/.config/neon/credentials.json.
API key
- Get it at
- console.neon.tech
- Env var
NEON_API_KEY
Create under Account settings > API keys; the key is shown only once. The CLI uses it instead of neon login.
Connection string
- Run
neon connection-string --pooled- Get it at
- console.neon.tech
- Env var
DATABASE_URL
Or copy it from the Connect button in the Console; the -pooler host enables connection pooling.
Check it worked
neon me
Optional: start without an account
Creates a temporary resource before you have an account, for trying things out. The steps above are the normal path.
- Run
neon claim create --env-pull- Expires
- Unclaimed projects expire after 72 hours and are capped at 100 MB storage and 1 GB transfer until claimed.
- To keep it
- The human runs
neon claim accept, which opens the claim page (--no-openprints the URL instead); each claim code lasts 15 minutes.
Writes the connection details to .env. Functions, Object Storage and AI Gateway stay unavailable until the project is claimed.
Sources
- neon.com/pricing
- neon.com/docs/introduction/plans
- neon.com/faqs/free-plan-limits-and-quotas
- neon.com/docs/changelog/2026-10-02
- neon.com/blog/neon-free-plan-1-gb-per-project
- neon.com/docs/introduction/scale-to-zero
- neon.com/docs/get-started/production-checklist
- neon.com/docs/reference/cli-install
- neon.com/docs/cli/install.md
- neon.com/docs/cli/login.md
- neon.com/docs/cli/connection-string.md
- neon.com/docs/reference/neon-cli
- neon.com/docs/manage/api-keys
- neon.com/faqs/find-or-generate-neon-api-keys
- neon.com/docs/manage/accounts
- neon.com/docs/connect/connect-from-any-app
- neon.com/docs/get-started/with-an-agent
- neon.com/auth.md
- neon.com/terms-of-service
- neon.com/llms.txt
- neon.com/docs/reference/claimable-neon