HipChat always cost money. GChat had no native client on the desktop, and broke its userbase by initially supporting federation and then taking it away.
Ok technically you're right, but the free tier (which only predates Slack by a couple of months) was limited to 5 users, so it cost money for most use cases.