Specialized artificial intelligence models require significantly less energy and computational tokens than general-purpose frontier models for narrow tasks