Regarding salary for onsite and offsite projects working in a company.

I would like to know the salary difference between onsite and offsite projects in a company. Which one is better to work to get better salary- onsite or offsite?