Is the off-grid system more efficient or the on-grid system?

There is no particular difference in the efficiencies of the two systems. However, the costs associated with the off-grid system are significantly higher. Moreover, there is more flexibility with the on-grid system as you can always use more units than your solar panels produce. In contrast, under the off-grid system you will only be able to use the energy produced by your solar panels.