Serverless auth, cloud, and AI
in one simple library

Puter.js provides auth, cloud storage, database, GPT-4o, Sonnet 3.5, DALL-E 3, and more,
all through a single JavaScript library. No backend. No servers. No configuration.

Start building in seconds! ▶ Try the Playground

See Puter.js in action

Polotno Studio Puter Silex Rows Puter Linux Code Editor Endless Lake Puter Linux

Cloud Storage

Add secure, scalable cloud storage to your app with Puter.js. It takes seconds to set up and is free to use.

  • Advanced filesystem operations
  • Infinitely scalable
  • Built-in version control
  • Sharing, permissions, and groups
  • 100% free forever!

Authentication

Implement secure user authentication with ease using our built-in auth system.

AI Integration

Use GPT-4, Claude 3.5 Sonnet, Llama 3.2, Amazon Polly, and Dall-E 3 in your app.

NoSQL Database

Flexible and scalable NoSQL database for efficient data management and retrieval.

Web Hosting

Publish and host websites easily from your app. No DNS, no servers, no configuration.

How It Works

1 Include Puter.js

Copy and paste the following script tag in the <head> section of your HTML.

<script src="https://js.puter.com/v2/"></script>

2 Use AI and Cloud Services!

You can now access storage, database, and AI capabilities directly from your frontend code. For example, the following code sends a message to ChatGPT 4o:

puter.ai.chat("Explain AI like I'm five!");

View the Puter.js documentation for a full list of available services and functions.

That's it!

No need to set up servers, databases, or infrastructure. No API keys, configuration, or rate-limiting. Everything is handled by Puter.js!

Developers Puter.js

Puter.js is built for simplicity and scale. Thousands of developers use Puter.js to build powerful apps and websites without the need for servers or backend infrastructure.

23k+

Developers

34k+

Apps powered

165k+

Self-hosted installations

Frequently Asked Questions

What is Puter.js?

Puter.js is a JavaScript library that brings powerful auth, cloud, and AI services directly to your frontend code. It allows you to use file storage, databases, GPT-4, DALL-E, and more without any backend or servers.

Puter.js is powered by Puter, the open-source "Internet Computer".

What can I build with Puter.js?

Puter.js enables you to build advanced, cloud-native websites and applications with just frontend code. Some examples include:

  • AI-Powered Tools like chatbots, content generators, image analysis tools, and text summarizers. Easily integrate with models like GPT-4o mini, Claude 3.5 Sonnet, or DALL-E 3 for various AI tasks.
  • Cloud-Based Productivity Apps such as note-taking apps, document and spreadsheet editors, task and project management tools, and to-do lists.
  • Web Publishing and Hosting Tools such as website builders, blogging platforms, and content management systems.
  • Graphical and Media Tools like image editors, video editors, audio processing tools, and 3D modeling applications.
  • And everything in between! add scalable, serverless auth, storage, databases, and AI capabilities to any web app.

As we continue to expand Puter.js, more services and capabilities will be added, enabling you to build even more powerful applications.

Where is my API key?
Puter.js does not require an API key. All services are available directly from the client-side, without any configuration or setup. Everything is handled by Puter.js behind the scenes.
How much does Puter.js cost?

Puter is free forever for developers! Puter introduces a groundbreaking approach to infrastructure costs, called the "User Pays" model. Here is how it works:

  1. Every user, once authenticated, gets their own allocated resources (storage, database, AI credits, etc.) as part of their account.
  2. Apps tap into the user's pre-allocated resources, rather than requiring separate infrastructure.
  3. If a user exceeds their resources, they pay Puter directly for the overage.
  4. Developers pay $0 for infrastructure, regardless of user count.

This model means developers don't need to provision or pay for separate infrastructure for their apps, regardless of how many users they have.

Do I need to set up a server to use Puter.js?
No, you don't need to set up a server. Puter.js works entirely on the client-side, allowing you to build full-stack applications with just frontend code.
Can I use Puter.js with other frameworks?
Absolutely! Puter.js can be integrated with any JavaScript framework or library, including React, Vue, Angular, and others.
What is the difference between Puter.js and Puter?
Puter.js is a JavaScript library that allows you to access Puter's services directly from your frontend code. Puter is the underlying infrastructure that powers Puter.js, providing cloud, AI, and other services.

Ready to Build Your First App?

Start creating powerful web applications with Puter.js today!

Get Started Now

Read the Docs Try the Playground