The best database for AI-coded apps.

Instant has everything you need to build web and mobile apps with your favorite LLM.

Easy to query

Instant's query language, InstaQL, is designed to be easy to understand. It uses plain JavaScript objects to declare the data you want to fetch and the shape you want.

If you ever need to change what to fetch you can just change the query object and your UI will update on its own. No need for a build step or to update any backend code.

InstaQL supports filtering, sorting, pagination and more. The syntax is simple enough to learn in minutes and LLMs can easily generate queries for you too!

1// Fetch all goals with their todos2db.useQuery({3  goals: {4    todos: {},5  },6});
1// Create a new todo2db.transact(3  db.tx.todos[id()].update({4    title: "Ship the feature",5    completed: false,6    createdAt: Date.now(),7  })8);

Easy to transact

Modifying data in Instant is easy with our transaction language InstaML.

Making changes is as simple as calling create, update, or delete. You can also use link and unlink to manage relationships between entities.

Transactions are atomically committed with db.transact and you're guaranteed to end up with consistent data.

No need for a server

Use our client SDKs to use InstantDB directly from your frontend. No need to manage a database or server.

You can just focus on building an amazing app and we'll handle the rest.

DBWALWebSocketsIndexedDBOptimistic Updates

Full type-safety

Instant provides full type-safety for your schema, queries, and transactions. This means you can catch errors at compile time instead of runtime. If you change your schema your types will automagically update too!

This also helps with LLMs since they can use the types to better understand your data and generate valid queries and transactions for you. If they make a mistake they can get immediate feedback from the type system.

CLI tools for agentic development

Our CLI tools make it easy to manage your Instant project and scaffold new ones. Anything you can do in the dashboard your agent can do from the terminal.

$npx instant-cli push schema

The most generous free tier in databases.

Unlimited

Free projects

Create as many apps as you want. We never pause inactive projects.

Free

To get started

No credit card. No trial period. No restrictions for commercial use.

Scales

When you need it

When you're ready to grow, we have plans that scale with your usage.

Instant is 100% Open Source