New Toaray Cloud is now in public beta

Everything you need to build, run,
and scale a project in one platform

One platform. One project. Everything from development to production.

curl -sfL https://api.toaray.com/install.sh | sh
SOC2 Compliant
Trusted by 500+ teams
99.99% Uptime SLA
Terminal

~ toaray init my-app

Initializing project...

Created .toaray/config.json

Provisioned Postgres Database (v16)

Enabled Auth Service (JWT + Social)

Configured S3 Storage Bucket

Deployed Edge Functions

Ready! Run toaray dev to start development.

Everything you need

A complete backend in a single binary.

Toaray provides the primitives you need to build production-grade applications. Database, Auth, Storage, and Edge Functions. All included.

Postgres Database

Every project gets a dedicated, isolated Postgres database. Full SQL support, extensions included.

SELECT*
FROMusers
WHEREactive = true;
-- Result (23ms)
{ id: 1, email: "alice@toaray.com" }

Authentication

Secure user authentication and authorization out of the box.

auth.signUp({ email ... })
auth.signInWithOAuth('google')
-- User session
{ user: { id: '...' }, token: '...' }

Object Storage

Store and serve any file type with ease. Integrated with auth.

storage.upload('pics', file)
storage.download('pics/1.png')
-- Public URL
https://toaray.com/...

Edge Functions

Deploy serverless functions globally, close to your users, for minimal latency.

import{ serve }from'@toaray'
serve((req) => new Response('Hello!'))
-- Deployed globally
https://edge.toaray.run/hello

Realtime

Listen to database changes and broadcast messages instantly.

realtime.channel('chat')
.on('message', (m) => log(m))
.subscribe()
-- Live updates
{ msg: 'Hello' }

Dev Experience

Intuitive SDKs and CLI tools designed to keep you in the flow.

npm install@toaray/sdk
-- Start building
{ typescript: true }

Global CDN

Deliver your assets and edge functions with low latency worldwide.

GET/api/edge-function
-- Served from edge
{ region: 'iad1', latency: '10ms' }

Enterprise Grade

Scalable, secure, and reliable infrastructure for your most demanding applications.

toaray.scale({ users: 'millions' })
toaray.security.compliance('SOC2')
-- Built for production
{ uptime: '99.99%' }

Developer Experience

Just write code.

Typed SDKs, auto-generated APIs, and seamless integration.

database.ts
// 1. Import the client
import { createClient } from '@toaray/client'

const toaray = createClient(process.env.TOARAY_URL)

// 2. Query your dedicated database
const { data, error } = await toaray
  .from('users')
  .select('*')
  .eq('status', 'active')

console.log(data) 
// [ { id: 1, email: 'alice@example.com' } ]

Pricing

Start for free, scale to millions.

Predictable pricing with no hidden fees. Self-host for free forever.

Dev Project
$0/mo
For hobbyists. Max 2 projects per org.
  • Up to 3 Team Members
  • 500MB Database
  • 1GB File Storage
  • 5GB Bandwidth
  • 10k Invocations/mo
  • Community Support
Most Popular
Pro Project
$10/mo
For professional developers building apps.
  • Unlimited Team Members
  • 10GB Database
  • 50GB File Storage
  • 100GB Bandwidth
  • 1M Invocations/mo
  • Standard Support
Scale Project
$40/mo
For growing teams and heavy workloads.
  • Unlimited Team Members
  • 100GB Database
  • 500GB File Storage
  • 1TB Bandwidth
  • 10M Invocations/mo
  • Priority Support
Enterprise
Custom
For large organizations with strict compliance.
  • Dedicated Infrastructure
  • Unlimited Storage & Bandwidth
  • SSO / SAML / SCIM
  • Audit Logs & Compliance
  • 24/7 Dedicated Support
  • On-Premise Deployment