Both are actually using the old Google REST API that didn't have a such restricted free quota as the current custom search API. But the REST API has been marked as deprecated for three years now and might be subject to the next spring cleaning. (According to Google terms, it even might be shut down this month without further notice.)