NY State Inspection is $34 or $39 flat. Can't remember exactly. I know it's a pain in the ass.
Especially because most of the authorized inspection shops don't even do the full inspection and just make sure your lights work and there are no CEL's and that's that. Although, when I had my old M3, it worked out well in my favor for a couple of years.