# Xata Pricing

> Last updated: 2026-05-25T17:11:11.151Z
> Machine-readable pricing for AI agents. Human-readable at https://xata.io/pricing

## Pricing Model

Xata is a managed Postgres platform with copy-on-write branching and scale-to-zero compute. Every customer runs development on Xata. Production hosting on Xata is optional.

### Open Source (Free)

- Self-managed CoW branching engine
- pgroll (zero-downtime schema migrations)
- pgstream (data anonymization)
- CLI
- Community support (GitHub)

### SaaS (Self-Serve)

- Compute: Pay-as-you-go, billed per instance-hour
- Storage: Varies by region and tier (see Storage Tiers below)
- Onboarding credit: up to $100 (valid 12 months)
  - $20 on signup
  - $10 on adding credit card (with $10 charge, so $10 spent = $20 credit)
  - $20 for connecting first Postgres and creating first branch
  - $10 for starring the Xata GitHub repo (honor system)
  - $20 after creating 20 branches
  - $20 if all credit consumed in first 30 days
- Includes: CoW branching, scale-to-zero, pgroll, pgstream, observability
- No per-branch, per-developer, or per-database fees

### Xata Managed (BYOC, Bring Your Own Cloud)

Deploys in your cloud account. Infrastructure runs in your environment, managed by Xata. You pay your cloud provider directly for compute and storage. Get in touch with sales@xata.io to learn more about BYOC deployments.

Capacity tiers map to concurrent-branch ranges and the kind of team they fit:

| Tier | Concurrent Branches | Ideal for |
|------|-------------------|-----------|
| Team | Up to 1,000 | Mature engineering orgs transitioning away from shared staging as agents become core to daily work |
| Company | Up to 10,000 | Centralized company-wide AI rollouts with agent governance policies |
| Platform | Up to 100,000 | Early stage platforms serving thousands of users with dedicated databases |
| Hyperscale | 100,000+ | Mature platforms provisioning databases for millions of users |

Supported clouds: AWS, Azure, GCP, Hetzner

## Instance Pricing

### us-east-1

| Instance | vCPUs | RAM (GiB) | $/hour | $/month (730h) |
|----------|-------|-----------|--------|------------|
| micro | <=2 | 1 | 0.012 | 9 |
| small | <=2 | 2 | 0.024 | 18 |
| medium | <=2 | 4 | 0.048 | 35 |
| large | <=2 | 8 | 0.096 | 70 |
| xlarge | 4 | 16 | 0.192 | 140 |
| 2xlarge | 8 | 32 | 0.384 | 280 |
| 4xlarge | 16 | 64 | 0.768 | 561 |
| 8xlarge | 32 | 128 | 1.536 | 1121 |

### eu-central-1 (1.15x base rate)

| Instance | vCPUs | RAM (GiB) | $/hour | $/month (730h) |
|----------|-------|-----------|--------|------------|
| micro | <=2 | 1 | 0.014 | 10 |
| small | <=2 | 2 | 0.028 | 20 |
| medium | <=2 | 4 | 0.055 | 40 |
| large | <=2 | 8 | 0.110 | 80 |
| xlarge | 4 | 16 | 0.221 | 161 |
| 2xlarge | 8 | 32 | 0.442 | 323 |
| 4xlarge | 16 | 64 | 0.883 | 645 |
| 8xlarge | 32 | 128 | 1.766 | 1289 |

## Storage

$0.28/GB/month. Powered by Xatastor NVMe. All regions, single rate.
Regional compute multipliers do not apply to storage.
## Cost Model

### Development (always included)

- **Copy-on-write branching**: Branches share storage with the source database. Only changed blocks are duplicated.
- **Scale-to-zero**: Idle branches suspend compute entirely ($0/hr when idle). Branches can stay hibernated indefinitely — storage persists, compute does not.
- **Production clone**: An always-on instance that serves as the branch source. Billed at full instance rate × 730 hrs/month.

### Production on Xata (optional)

- Primary instance + read replicas, all running 24/7.
- Storage replicated across all instances.
- Add this when you want Xata to host production, not just branching.

### Branch storage delta model

Agent branches are short-lived (hours to days) and touch very little data. The percentage of changed data per branch decreases as the production database grows, because the absolute amount of changes (schema migrations, test inserts) stays roughly constant while the cold data grows.

| Database Size | Estimated Change Data % | Delta per Branch |
|---------------|------------------------|-----------------|
| 5 GB | 4.5% | 223 MB |
| 50 GB | 1.4% | 705 MB |
| 100 GB | 1.0% | 1.0 GB |
| 500 GB | 0.45% | 2.3 GB |
| 1 TB | 0.32% | 3.2 GB |
| 2 TB | 0.22% | 4.4 GB |
| 5 TB | 0.14% | 7.0 GB |

Formula: `estimated_change_pct = 10 × database_size_gb^(-0.5)`, clamped to [0.05%, 10%].

### Formulas

- Branch compute = instance_hourly_rate × active_hours_per_branch × branch_count
- Production clone compute = instance_hourly_rate × 730
- Production clone storage = database_size_gb × storage_rate_per_gb
- Branch delta storage = database_size_gb × storage_rate_per_gb × change_data_pct × branch_count
- Production compute (optional) = instance_hourly_rate × 730 × (1 + replica_count)
- Production storage (optional) = database_size_gb × storage_rate_per_gb × (1 + replica_count)

## Constants

- Hours per month: 730
- Typical active hours per branch: 1–20 hrs/month (agent branches are short-lived)
- Onboarding credit: up to $100 (valid 12 months)
