(1) Write code that in house devs could not write. Usually integrations for multiple technology sets, including things that I can teach myself that others would need training for, and otherwise complicated pieces that might otherwise be neglected. Usually after I deliver an "app" (I usually try to stick to a self-contained deliverable), I participate in training the in house devs to maintain it (assuming that it needs to be changed).
(2) In my limited experience very few companies that have "bad" code in house recognize that their code is bad, so refactoring / optimizing / architecting is usually neglected. That said, I try to get in on the architecting side -- make sure good design principles are adhered to. I try never to re-write other people's code.
I'm flush with work and us. bill out approximately 25-30k per month and am always looking for subs to handle things that I can't (contact me if interested).
There are, of course, taxes that hit me then and I don't particularly like the work that I do so try to take longish vacations to work on projects of interest, but still I'm easily making upwards of 200k as a developer.
But then again, hackers might think of me (quite legitimately) as the trash collector of developers, mucking about in enterprise frameworks that no legit hacker would want to write code in. I guess that's why I'm paid so much...
Basically the trick is getting out w/ one big customer, letting that take up 70% of your time, working in subs on things that you can't handle yourself (but this may be difficult, none of my subs make less than $100 / hr), pursuing other projects that get you recognition (open source is good), actively contributing to the community, and then, unfortunately for many developers, networking.
But mostly I try to let my code network for me...
I have worked for a guy that was able to increase his prices nearly 25% (for new customers at least, he understandably didn't want to raise rates for the longtime customers who got him started) just by slowly raising his bids until he found what enough people would pay.
Disclaimer: This was for a construction company that got new customers by word-of-mouth YMMV
I vividly remember the day that I woke up and decided that from now on, I would charge $175/hr instead of $125/hr. Bookings actually increased.
Just keep raising your rates until
(a) You can't get any more gigs, or
(b) You feel too guilty to raise them anymore.
$75/hr is the low end, and $200/hr is the high end.
As one data point: when I ran an independent consulting practice from 2002 - 2006, my prices started at $125/hr and grew to $225/hr.
Do you mind if I ask what you did, roughly? I mean, what was the object of your work?
But also performance tuning and administration and interviewing new employees and understanding their business and suggesting new software for them and telling them not to buy new software.
It's whatever you are better than them at and they will pay money for.
The chasing of debt has never been more than a friendly reminder email and my paycheck has always been steady to the extent that I can decide how much I want to earn that week with a pretty handsome upper-bound. It may be the type of consulting that I do (it is not a saturated market) but my experience has been pretty good and I have been at this off and on for a while.
If I knew I could have a more reliable flow of income, freelancing/contracting would be amazing.
I will second that one. This seems to be about the norm for a developer turn consultant (at least in my group of freelancers) with a decade under their belt.
I don't think you are at your upper bound of your career level, but you are not far off, 150k seems to be the ceiling where you are going to start bouncing up and down.
A recruiter called me the other day to see if I had a flash developer in my network looking for a long term gig. They where offering 90k + 15% bonus for a flash developer with 3 years experience. So you are not that much higher than a mid level flash developer, I would not worry too much.