Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Um comando direto ignora o prompt de revisão. Verifique a origem antes de executá-lo.
Instruções da origem · Visualização somente leitura
name
replit-rate-limits
description
Handle Replit resource limits: KV database caps, deployment quotas, and request throttling.
Use when hitting storage limits, managing deployment resources,
or implementing rate limiting in your Replit-hosted app.
Trigger with phrases like "replit rate limit", "replit throttling",
"replit 429", "replit storage limit", "replit quota".
allowed-tools
Read, Write, Edit
version
1.12.0
license
MIT
author
Jeremy Longshore <jeremy@intentsolutions.io>
tags
["saas","replit","api","limits","database"]
compatibility
Designed for Claude Code, also compatible with Codex and OpenClaw
Replit Rate Limits
Overview
Understand and work within Replit's resource limits: Key-Value Database size caps, Object Storage quotas, deployment compute budgets, and egress allowances. Implement rate limiting in your own app for production safety.
Prerequisites
Replit account with active Repls
Understanding of your current resource usage
For rate limiting: Express or Flask app
Replit Platform Limits
Key-Value Database
Limit
Value
Total storage
50 MiB (keys + values combined)
Maximum keys
5,000
Key size
1,000 bytes
Value size
5 MiB per value
Object Storage (App Storage)
Limit
Value
Object size
Configurable per bucket
Bucket count
Per Repl (auto-provisioned)
Rate
Throttled at high request volume
PostgreSQL
Limit
Value
Storage
Plan-dependent (1-10+ GB)
Connections
Pooled, plan-dependent
Dev + Prod
Separate databases auto-provisioned
Deployments
Resource
Autoscale
Reserved VM
Scale behavior
0 to N based on traffic
Always-on, fixed size
Min cost
Pay per request
$0.20/day (~$6.20/month)
Max resources
Plan-dependent
Up to 4 vCPU, 16 GiB RAM
Egress
$0.10/GiB over allowance
$0.10/GiB over allowance
Instructions
Step 1: Monitor KV Database Usage
// Check how close you are to KV limitsimportDatabase ;
() {
db = ();
keys = db.();
totalSize = ;
( key keys) {
value = db.(key);
valueSize = .(value).;
totalSize += key. + valueSize;
}
limitMiB = ;
usedMiB = totalSize / ( * );
percentUsed = (usedMiB / limitMiB * ).();
.();
.();
((percentUsed) > ) {
.();
}
}