Pharmacy technicians working in hospitals or in specialized settings such as nuclear pharmacies tend to receive higher pay compared to those working in retail pharmacies. Hospital-based pharmacy technicians often handle more complex medications, work with a wider variety of healthcare professionals, and may require additional certifications or specialized training, which can contribute to their increased earning potential.