The course is free if you are entitled to Danish Language Education. However, you have to pay a deposit of DKK 2,000. The deposit is refunded once you pass the test.
If you are not entitled to Danish Language Education, the price is DKK 6000 including exams. This also applies if you want to study from abroad.
You can pay the deposit here.