Cost
The idle AWS baseline per environment, what drives it, and why OpenAI tokens matter more.
$409.50 / month
Production, idle, 3 tasks.
$596 / month
Production at 12 tasks.
≈ $955 / month
Dev, staging and prod together.
Production baseline
The table lists the AWS on-demand list price of each item in eu-west-2, at 730 hours a month, before traffic. Tax and Savings Plans are excluded, and CloudFront is assumed to stay within its free tier.
| Item | eu-west-2 unit price | Per month |
|---|---|---|
| NAT gateways ×3 | $0.05/h, $0.05/GB | $109.50 |
| NAT public IPv4 ×3 | $0.005/h | $10.95 |
| Interface endpoints, 4 × 3 AZs | $0.011/h, $0.01/GB | $96.36 |
| Fargate, 3 tasks (0.5 vCPU, 1 GB) | $0.04656/vCPU-h, $0.00511/GB-h | $62.17 |
| Aurora Serverless v2, 2 × 0.5 ACU | $0.14/ACU-h, standard storage | $102.20 |
| ALB | $0.02646/h, $0.0084/LCU-h | $19.32 |
| WAF, 1 web ACL and 4 rules | $5 + 4 × $1 | $9.00 |
| Total | $409.50 |
Source: the AWS Price List bulk files, pricing.us-east-1.amazonaws.com/offers/v1.0/aws/<service>/current/eu-west-2/index.csv, effective 2026-11-01 (VPC prices: 2026-11-17).
Other environments
| Environment | Per month | Notes |
|---|---|---|
| prod | $409.50 | $596 at 12 tasks |
| staging | $308 | One NAT gateway, 2 tasks |
| dev | $237 | $140 with interface endpoints off. On-demand price; Fargate Spot lowers it. |
What drives it
Not included: KMS, Secrets Manager, CloudWatch (alarms, logs, Container Insights), Route 53, Aurora storage and I/O, and data transfer.
Telemetry adds to the CloudWatch line, with no price checked for eu-west-2 here. The drivers are:
- Log ingestion and storage of the JSON application logs, which grows with requests and
log_retention_days. - The EMF events for
suggestions.requests. Each is a log event, and eachoutcomevalue is one custom metric, so three or four metrics in all. The collector drops every other metric for this reason. - One alarm that uses metric math.
- X-Ray traces, scaled by
trace_sample_ratio(0.1 in prod). - The collector sidecar’s 64 CPU units and 256 MiB come out of the existing task size, not on top of it.
OpenAI
OpenAI tokens are the cost that matters. The figures below rest on these assumptions:
- About 2,600 input tokens and 400 output tokens per request.
- At most 12 requests a minute per typing user. The handler is serial, so a socket cannot send more.
| Per typing hour | |
|---|---|
| Requests | up to about 720 |
| Tokens | about 2.2M |
Cost at gpt-6-luna prices ($0.10 input, $0.50 output per 1M tokens) |
about $0.33 |