Do
Docs
Docs is an open-source text editor: web-native, made for real-time collaboration, cleanly structured documents and sub-documents with full ownership of your...
Pricing
Open source
The source code is public, so you can run it yourself. Hosting, and any outside services it uses, may still cost money.
Prices change often. Check the official site for current plans before you buy.
Official website