Side by side
Codeforces vs DMOJ
Both stand on coding challenge platforms. Which one you can start free with, which one lets you read the code, and what each costs once you pay.
Free plan APIWeb
Codeforces combines recurring programming contests, an online judge, ratings, and past contests for practice. It is free to participate; API users should account for its request limit and private-data key requirement.
Visit Codeforces Free plan APILinuxSelf-hosted+2
DMOJ combines contest hosting, a large problem archive, and flexible judging and statement tools. Self-hosters should note the MySQL guidance, and rated contests prohibit AI use.
Visit DMOJThe facts
| Codeforces | DMOJ | |
|---|---|---|
| Free plan | Yes | Yes |
| Open source | Not published | Not published |
| Runs on | API, Web | API, Linux, Self-hosted, Web, Windows |
| Lowest paid plan | Free or on request | Free or on request |
| Plans published | 1 | 2 |
| Maker | Not published | Not published |
| Website | codeforces.com | dmoj.ca |
| On coding challenge platforms | #6 of 30 | #2 of 30 |
Codeforces: what it does well
- Approximately six contests each month
- Contest participation is free and open to everybody
- Past contests are available for practice
- API provides some data as machine-readable JSON
What to know first
- API requests are limited to one every two seconds
- Private user data requires an API key
- Learning content and training features are still in development
DMOJ: what it does well
- Public contest hosting is free.
- Supports several established contest formats.
- Judging includes interactive tasks and custom validators.
- Problem statements support math, figures, and editorials.
- Documentation covers self-hosting the site and judge.
What to know first
- Self-hosting is tested with MySQL and may not suit other databases.
- Private contest hosting has an unstated fee.
- AI use is prohibited in rated contests.
Alternatives to Codeforces Alternatives to DMOJ The whole list

