All guides
Storage5 min read

Best Storage Solutions for OpenClaw: S3, R2, and More

File storage for OpenClaw apps — from free Cloudflare R2 to enterprise AWS S3. Compare pricing, SDKs, and use cases.

OpenClaw apps may need file storage for conversation uploads, bot assets, and generated content. Here's the best options.

Best Free: Cloudflare R2

Why: S3-compatible API, no egress fees, 10GB/month free.

import { R2Client } from '@openclaw/r2'
await client.upload('uploads/file.pdf', buffer)

Cost: $0/mo (under 10GB), then $0.015/GB/month

Best S3-Compatible: AWS S3

Why: The industry standard. Every SDK supports it.

import { S3Client } from '@aws-sdk/client-s3'

Cost: $0.023/GB storage, $0.09/GB egress

Best Developer Experience: Uploadthing

Why: Drop-in file uploads for Next.js with great DX.

Cost: Free for 100 uploads/month, $15/month for unlimited

Best for Image CDN: Cloudinary

Why: Images are automatically optimized, transformed, and delivered via CDN.

Cost: Free tier limited, $89/month for professional

Comparison

| Provider | Free Tier | Egress Fees | Best For | |----------|-----------|------------|----------| | R2 | 10GB/mo | Free | Budget, S3-compatible | | S3 | 5GB | $0.09/GB | Enterprise | | Uploadthing | 100/mo | Included | Next.js apps | | Cloudinary | Limited | Included | Image-heavy |

Skip the self-hosting

Deploy OpenClaw in under a minute

No servers. No SSH. No terminal. Pick a model, connect Telegram, and go.

Deploy free with Testflight