Prompt
I'm building a platform with high-volume logs and need something cost-effective for storage
Latest observation
Oct 28, 2026
OpenAI APIWeb search: off
For high-volume logs, the most cost-effective storage is usually:
-
Object storage for raw logs
- Examples: Amazon S3, Google Cloud Storage, Azure Blob Storage
- Cheap, durable, scalable
- Best for keeping logs long-term or as the system of record
-
Cold / archive tier for older logs
- Examples: S3 Glacier, Azure Archive, GCS Archive
- Very low cost if you rarely access older logs
-
Hot searchable store only for recent logs
- Examples: Elasticsearch/OpenSearch, ClickHouse, BigQuery, Snowflake
- Keep only the last few days/weeks here for fast querying
- Move older logs to object storage to control costs
Common cost-effective pattern
- Ingest logs → store raw copy in object storage
- Index only recent or important logs in a database/search engine
- Compress logs using gzip/zstd before storage
- Partition by date/service/customer for cheaper retrieval and easier lifecycle management
- Set retention policies to automatically transition old data to archive tier or delete it
If you want the cheapest practical option
- Compressed files in S3/GCS/Azure Blob + lifecycle rules is usually the winner.
If you need querying
- Use ClickHouse if you need fast analytics on logs at relatively low cost.
- Use OpenSearch/Elasticsearch if you need text search, but it’s often more expensive.
If you want, I can recommend a setup based on your:
- log volume per day
- retention period
- query/search needs
- cloud provider
- compliance requirements