What the filing fee does — and doesn't — cover
The filing fee pays the court to open your case and assign it a number. It does not cover serving your spouse (a process server or sheriff typically adds $40–$100), certified copies, a parenting class where children are involved, or, of course, attorney fees. If you can't afford the fee, every state offers a fee waiver (sometimes called proceeding in forma pauperis) for low-income filers — you file a short financial affidavit and the court can waive it entirely.
For the full picture of what a divorce costs — attorney rates, contested vs. uncontested, and realistic totals — use the divorce cost calculator. To see how long it takes, see divorce timelines by state.