Both systems generate the same solar power - the difference is what happens during a power cut and how you store energy.
On-grid
Cheapest, highest savings via net-metering, but no backup during outages.
Hybrid
Adds a battery for round-the-clock power. Slightly higher cost, full backup, best for areas with frequent cuts.