This is going to sound like a very “lawyer” answer, but it depends. The amount you can expect to pay for an experienced criminal defense attorney will depend on:
How serious the charges against you are
How far away from the lawyer’s office your case is
Whether the charges are at the magistrate’s office, at the court of common pleas, or in an appeals court
How much experience the criminal lawyer has
How much time the defense attorney has to prepare before the hearing date
Whether any special motions need to be filed
Whether you are a first-time offender and eligible for an Accelerated Rehabilitative Disposition (ARD) or Probation Without Verdict (PWV)
Whether or not your case will likely go to court