Firestore bills primarily per document read (free tier: 50,000 reads/day). Avoid attaching onSnapshot to huge unbounded collections—always use limit() and use getCountFromServer() to count docs for 1 read instead of reading 10,000 docs!
ADVERTISEMENT