I have 2 GCS buckets with identical, sharded CSV files. Bucket federated-query-standard has storage class of standard. Bucket federated-query-archive has storage class of archive.
Running identical queries using federated/external source over the buckets produce to exact same amount of bytes billed/processed, which is 57.13GB of data. Performance (query time) is roughly the same.
According to the official docs for BigQuery pricing:
"When querying an external data source from BigQuery, you are charged for the number of bytes read by the query. For more information, see Query pricing. You are also charged for storing the data on Cloud Storage. For more information, see Cloud Storage Pricing."
So, users are charged on two things: the data processed and the storage of the data in GCS. This makes complete sense.
My question: is there is a hidden cost anywhere that I'm not seeing (or unaware of) for querying GCS (e.g. retrieval costs) or between different storage classes?