Depends on which aspects of energy production you're concerned with and over what time period. Global marketed energy production is about 18 terawatts, which is about 10²¹ J every year and 9 months. The energy globally produced by sunlight hitting the Earth, mostly as low-grade heat, is on the order of 100 petawatts, which is 10²¹ J every hour and a half or so. Global agriculture is in between these numbers.