Onsite optimization means building and writing the website in such a way that the search engines, as well as the human visitors, find it appealing. This makes an enormous difference to the success of your website. Many sites have been built without any understanding of SEO and are therefore not doing their job.
The on-page optimization may vary from $300 to $1500, and more depending on the scale of your website and the level of optimization you want.