A 3-ton air conditioner uses approximately 3500 watts of power. It is essential to have a generator that can provide at least this much power.  Keep in mind that you will also need to account for the surge wattage. Which is typically 1.5 times the running wattage.