Gemini 4 Argon is now available on the AI Gateway
The AI Gateway now serves Google's Gemini 4 Argon, with a 1M-token context window and text, image, video, audio, and PDF input. Call it through the chat completions or native Gemini endpoint, or with the AI SDK:
import { neon } from '@neon/ai-sdk-provider';
import { generateText } from 'ai';
const { text } = await generateText({
model: neon('gemini-4-argon'),
prompt: 'Explain database branching in one sentence.',
});
console.log(text);To use the native Gemini endpoint, see Gemini API.
Managed Better Auth adds Apple and Microsoft sign-in
Managed Better Auth now supports Apple and Microsoft Entra ID as OAuth providers, alongside Google, GitHub, and Vercel. Add either one from your project's Better Auth settings, the Neon CLI, or the Neon API, using your own Apple or Entra app credentials. See Set up OAuth.

Tune Lakebase Search indexes
Version 1.1.2 of the lakebase_vector extension, part of Lakebase Search, is now available on Postgres 16, 17, and 18. This release adds functions that recommend lakebase_ann.probes settings for your index, so you can trade off recall and latency without trial and error:
lakebase_ann_adviserecommendsprobesvalues with estimated recall and measured query latency.lakebase_ann_tunerecommendsprobesvalues with estimated recall only.lakebase_ann_latencymeasures average, p50, and p95 query latency for theprobesvalues you supply.lakebase_ann_samplesamples rows from the indexed table to use as tuning queries when you don't have real ones.
SELECT probes, recall, avg_ms, p50_ms, p95_ms
FROM lakebase_ann_advise(
'items_embedding_idx'::regclass,
ARRAY(
SELECT embedding FROM lakebase_ann_sample(NULL::items, 512)
WHERE embedding IS NOT NULL
)
);If you already have the lakebase_vector extension installed, run ALTER EXTENSION lakebase_vector UPDATE to get the new functions. See Get recommended probes values and Upgrade the extension and indexes.
New Neon Functions templates
The Function Registry we introduced last week has six new templates, many of them combining Functions with Neon's other backend services. List them and add one to your project from the Neon CLI:
neon functions templates list
neon functions new mcp-postgresThe new templates:
mcp-postgres: an MCP server with tools that read and write a Postgres tabletelegram-bot: an AI chat bot that keeps its conversation history in Postgresimage-analysis: an API that describes uploaded images with a vision model on AI Gatewayimage-generation: an API that generates images on AI Gateway and stores them in Object Storagerest-api-postgres: a REST API for a Postgres tableauthenticated-api: an API that only Managed Better Auth users can call
To share your own template, see the contributing guide.
Drag and drop uploads for Object Storage
You can now upload to Object Storage from the Neon Console by dragging files and folders into a bucket. Open the Object storage tab on your branch, select a bucket, and drop your files. You can still use Upload to pick files, or New folder to create a subfolder. See Buckets.

HIPAA support for Neon's backend services
HIPAA compliance now extends to Neon's backend services. In a HIPAA-enabled project, you can now use Managed Better Auth, Functions, Object Storage, AI Gateway, and Realtime with protected health information (PHI).
If you need a counter-signed copy of the Business Associate Agreement (BAA) for your records, you can now request one. See Business Associate Agreement (BAA).
Set up your coding agent for Neon
You can now set up your coding agent for Neon with a single prompt. It installs the Neon CLI, signs you in, and adds Neon's agent skills and MCP server:
Set me up for Neon. Fetch https://neon.com/prompts/agent-setup.md and follow it.To check that your agent has the latest Neon skills, run neon skills status, and update any that are outdated:
neon skills status
neon skills update -yAgent prompts for Neon's backend services
Adding a Neon backend service to your app now takes one prompt. Each service has a prompt you hand to your coding agent, and the agent installs the Neon CLI, reads Neon's agent skill, links a project with neon init, then builds a small working example in your project to show it works.
Copy a prompt from Set up with your agent at the top of each service's overview page:
Fixes & improvements
Data API
- You can now enable the Data API on branches with an expiration date, from the Console or the API. When the branch expires, its Data API is removed with it.
Managed Better Auth
- The Managed Better Auth SDK is now
@neon/auth(previously@neondatabase/auth), and the Data API client is@neon/postgrest-js. Import paths keep the same subpaths, such as@neon/auth/next. For prebuilt sign-in and account UI, use Better Auth UI, which replaces the deprecated@neondatabase/auth-ui.
Vercel
- Fixed an issue in the Neon-Managed Vercel integration where the Managed Better Auth variables (
NEON_AUTH_BASE_URLandVITE_NEON_AUTH_URL) on the Settings tab were enabled or disabled based on your project's default branch instead of your production branch.
Neon MCP server
- The Neon MCP Server can now manage the Managed Better Auth OAuth provider plugin: set up the authorization server and manage its OAuth clients, including rotating their secrets. The new tools are in the
neon_authcategory.
Neon CLI
- Configure the Managed Better Auth OAuth provider plugin from the terminal.
neon neon-auth config oauth-serverenables the server and manages its pages, MCP server URL, and protected resources, andneon neon-auth oauth-clientcreates, updates, rotates, and deletes its clients. See OAuth server and OAuth clients. neon neon-auth oauth-provider addandupdatenow support Apple and Microsoft, with--apple-team-id,--apple-key-id,--microsoft-tenant-id, and--oauth-client-secret-filefor reading a secret such as Apple's.p8key from a file (Neon CLI 8.14.0).neon init --services data-apino longer turns on Managed Better Auth for a branch whose Data API uses an external identity provider, such as Clerk or Auth0.
Regions and networking
- Added NAT gateway IP addresses and Private Networking VPC endpoint service names in AWS US East (N. Virginia) (
us-east-1), AWS US East (Ohio) (us-east-2), and AWS US West (Oregon) (us-west-2). If you allowlist Neon's outbound IPs, add the new addresses from the Regions page, or outbound connections can fail intermittently. If you use Private Networking in these regions, add the new service names from the Private Networking guide.
Neon status page
- The Neon status page now reports the status of Neon's backend services: the Data API, Managed Better Auth, Object Storage, Functions, and AI Gateway. Each service is listed for the regions where it's available, so you can check whether an issue is affecting a service in your region. See Neon status.
Neon Console
- We updated the Drizzle Studio integration behind the Tables page, where you browse and edit your data, to version 1.7.1. This release reworks the schema page, adds support for realtime updates, and fixes an error that occurred after committing a schema rename. For details, see the Neon Drizzle Studio Integration Changelog.








