AWS t4g.microvsAWS t4g.xlarge
t4g.micro
t4g.xlarge
t4g.micro vs t4g.xlarge: how to choose
t4g.micro pairs 2 vCPUs with 1GB of RAM at $0.0084/hr On-Demand (about $6/mo at 24×7). t4g.xlarge pairs 4 vCPUs with 16GB at $0.1344/hr (~$97/mo). t4g.micro is 1500% cheaper per hour than t4g.xlarge ($0.1260/hr gap).
Because both instances are in the **t4g family**, the only thing that changes between them is sizing — same silicon, same architecture (AWS Graviton (ARM64)), same burstable/sustained behavior. The choice is purely about how much capacity you actually need: t4g.micro gives you 2 vCPUs and 1GB of RAM, t4g.xlarge gives you 4 vCPUs and 16GB. AWS scales pricing close to linearly within a family, so picking the right size is mostly about right-sizing your workload, not getting a better deal per vCPU.
On raw price-per-performance, the two are t4g.micro delivers ~1516% more single-thread Sysbench score per dollar (332381 vs 20565 points per $1/hr). That's the cleanest signal we have for "which one runs your workload faster per dollar," but it only matters if your workload is single-thread-bound; for parallel workloads the multi-core scores (5315 vs 10875) are what to weigh. Spot pricing flips many of these comparisons — when t4g.micro drops to $0.0030/hr and t4g.xlarge drops to $0.0525/hr, the cheap-per-hour winner can swing meaningfully.
In practice, pick t4g.micro when your workload is closer to burstable general-purpose (bursty traffic — web apps, dev/test boxes, CI runners, small databases). Pick t4g.xlarge when it's closer to burstable general-purpose (bursty traffic — web apps, dev/test boxes, CI runners, small databases). When neither side is obviously right, the cheaper hourly rate usually wins for fault-tolerant batch workloads, while the higher single-core score usually wins for latency-sensitive web traffic. The regional pricing tables linked from each instance page below show where each is currently cheapest — sometimes a >20% regional gap flips the comparison entirely.
On-Demand Price Comparison
Monthly trajectory
Spot Price Comparison
30-Day daily trajectory