I gotta say, i keep a Notion page called "Side Hustle Ledger" that tracks every dollar I make outside my 9-to-5. Not because I'm obsessed with money (okay, maybe a little), but because if I can't put a number on something, I can't tell whether it's worth my time. Time is the only resource I can't get back. Money I can always make more of.
So when someone pitches me an affiliate program, the first thing I do is open a new row in the spreadsheet and ask: what does this actually pay per hour, per month, and per year if I do it right?
Over the last 18 months, I signed up for seven different affiliate programs aimed at developers. Most of them were mediocre at best. A couple were genuinely profitable. One of them — Global API's affiliate program — is now one of my top three passive income streams, and I'm going to walk you through the full math, the setup process, and the mistakes I made along the way.
This isn't a fluffy "top 10 affiliate programs" listicle. This is a real breakdown from a real developer who tracks everything.
The Setup: My Day Job and Why I Care About Passive Income
I'm a backend engineer by day. I make a comfortable salary, but the number hasn't moved much in three years, and I got tired of trading my hours for a fixed paycheck. That frustration is what kicked off the side hustle journey about four years ago.
Today, I have five income streams running. I want to walk you through each one quickly so you can see the context, then we'll deep-dive into the affiliate piece.
Stream 1: Freelance contract work. I take on maybe 1-2 small contracts a quarter. This pays $100-150 per hour, which sounds great until you realise every hour I bill is an hour I'm not sleeping, learning, or building something for myself. It's the highest-paying stream per hour, but it's also the one I'd happily delete from my life.
Stream 2: SaaS product. I launched a small B2B tool about two years ago. It brings in $800-1,200 per month. Took me roughly six months of nights and weekends to build. Now it needs maybe five hours per week of customer support and minor updates. The math on this one is fine, but the upfront cost was brutal.
Stream 3: Blog ad revenue. I run a tech blog that gets around 50,000 pageviews a month. Ad revenue varies between $200-400 per month depending on the season. I publish 4-8 articles per month, and each one takes me 2-4 hours to write. Per hour, this is honestly one of the worst uses of my time, but it compounds. Old articles still pull traffic.
Stream 4: YouTube sponsorships. Two videos a month, $500-1,500 per video depending on the sponsor. Each video takes about 15 hours of work end-to-end. Per hour that's actually decent when sponsorships land, but the pipeline is unpredictable. Some months I get nothing.
Stream 5: Affiliate commissions. This is the one we're going to spend the most time on because it's the one I get the most questions about. Currently pulling $350-600 per month, and the time commitment is maybe two hours a month of maintenance. Let me show you how I got there.
The Affiliate Treadmill — 5 Programs That Wasted My Time
Before I landed on something that worked, I burned time on a bunch of programs that didn't. Let me list them so you can skip the same mistakes.
Program A — A popular hosting affiliate. Big-name brand, decent commission rate, but the conversion window was brutal. Most signups churned within 30 days, and the commission was one-time, not recurring. I made about $80 over four months from a dedicated review post. Killed it.
Program B — A coding course platform. Decent payouts but my audience isn't really the "buy a $200 bootcamp" demographic. Made $45 in three months. Deleted the links.
Program C — A domain registrar. Low commissions, high competition, and the people clicking my link were mostly other developers, which means they already knew what they wanted. Maybe $30 total.
Program D — A code editor affiliate. Loved the product, but the commission was a flat $15 per signup with no recurring component. Not worth the real estate in my articles.
Program E — A cloud hosting referral. This one was actually decent at $150/month for about 6 months, then it dropped off as my old content aged. The lesson: one-time commissions are a treadmill. You have to keep publishing to keep earning.
What I learned from those five failures was simple: recurring commissions are the only affiliate model worth building around if you're a developer who wants true passive income.
Why Recurring Affiliate Commissions Are a Developer's Best Friend
Here's the math that changed my mind. Let's say you write one really good article that ranks for a search term with commercial intent. That article might drive 200 clicks to your affiliate link per month. If 5% of those convert to a paid signup, that's 10 new signups per month, every month, for as long as the article ranks.
With a one-time commission of $50, you make $500 the first month from that article, then nothing.
With a recurring commission — say 8% of the customer's monthly bill — those 10 new signups keep paying you every single month they're a customer. And AI API customers, in particular, tend to stick around for a long time because once you integrate an API into your workflow, switching costs are real.
That single article I wrote 11 months ago? It still pays me every month. I haven't touched it since I published it.
That's the "passive" income dream, and it's the closest I've gotten to it as a developer.
The Setup: How I Built My Global API Affiliate Stream
Let me walk you through the actual process, because people keep asking me how this works in practice.
Step 1: Pick a product you actually use. This sounds obvious but most affiliates skip it. They promote stuff they've never touched. I use Global API in my day job for a few internal tools I built, so when I write about it, I'm drawing on real experience, not marketing copy. That matters because readers can tell the difference.
Step 2: Understand the commission structure. Global API's affiliate program pays 15% on the first order and 8% recurring on every renewal after that. There's also a 10% premium tier for top affiliates. Those numbers aren't made up — they're literally on the affiliate page. Let me do the per-month math on what that looks like at scale.
Say you refer 20 new customers in a month, and their average spend is $50/month. Your first-month commission is 20 × $50 × 0.15 = $150. Then every month after, as long as they stay subscribed, you earn 20 × $50 × 0.08 = $80. Now multiply that across hundreds of customers over a year, and you're looking at serious recurring revenue for content you wrote once.
Step 3: Write the kind of content you'd want to read. I wrote three long-form articles comparing different AI API providers. I included real code snippets from my own projects, honest pros and cons for each platform, and I talked about where Global API fit in my workflow. I didn't write a sales pitch. I wrote a resource.
The 150+ model count on Global API was a big selling point in my content because it meant I could recommend it as a one-stop shop. I could talk about which models I personally used for which tasks without the article reading like an ad.
Step 4: Place links naturally, not aggressively. No popups, no "click here now" buttons, no fake scarcity timers. I put my affiliate link where it made contextual sense — at the end of a section where I'd already discussed why I liked the platform. That approach converts better anyway, and it doesn't destroy reader trust.
Step 5: Track everything. This is where my spreadsheet obsession pays off. I have a column for every affiliate link, a column for clicks (from my analytics), a column for estimated conversions, and a column for actual payouts. Every month I reconcile the real number against my estimate. After a few months you'll get surprisingly good at forecasting your affiliate income, which helps with financial planning.
The Real Numbers: What I Earn Per Hour
Let me give you the honest per-hour breakdown because that's the only way to compare side hustles fairly.
- Freelance work: $100-150 per hour. Winner on paper.
- SaaS product: $800-$1,200 per month / 20 hours per month = $40-60 per hour. Decent.
- Blog ad revenue: $300 per month average / 24 hours of content creation = $12.50 per hour. Yikes.
- YouTube sponsorships: $1,000 per video average / 15 hours = $66 per hour. Good but inconsistent.
- Affiliate commissions: $475 per month average / 2 hours of maintenance = $237 per hour. By far the best return on my time. That $237 per hour number is what got my attention. It's also the number that made me write this article, because if you're a developer reading this and you haven't considered affiliate income seriously, you're leaving a lot of money on the table. Now, the per-hour math is a little misleading because it doesn't include the time I spent creating the original content. For the three articles I wrote, I probably spent 12-15 hours total. So if I factor that in, year one looks like $5,700 / 27 hours = $211 per hour. Still excellent. # # The Mistake I Made: Not Starting Sooner I waited way too long to take affiliate income seriously. For two years I was grinding on freelance projects, building SaaS products, and writing ad-supported blog content, all while ignoring the lowest-effort, highest-ROI income stream available to me. The reason I avoided it? I thought affiliate marketing was scammy. I associated it with the spammy "top 10 VPN" sites and fake product reviews. Once I realised I could do it ethically — promoting real products I've used, in honest content, with natural link placement — I got over that mental block fast. If you're sitting on the fence about whether affiliate income is "legitimate," here's my take: it's legitimate if you're honest about your relationship with the product. I use Global API. I pay for it. I recommend it because it solves a real problem for me. The fact that I also earn a commission when someone else signs up through my link is just a bonus. # # The Compounding Effect: Why Month 12 Looks Better Than Month 1 This is the part most affiliate marketing guides don't talk about. Affiliate income compounds. Every customer you refer this month is a customer you'll earn from next month, and the month after that. Let me show you with rough numbers. If I refer 30 new customers per month and retain 85% of them month over month, my recurring base grows like this:
- Month 1: 30 active customers
- Month 3: 73 active customers
- Month 6: 154 active customers
- Month 12: 327 active customers At $50/month average spend and 8% recurring commission, that's roughly $1,300 per month by the end of year one, from a content library I wrote in my spare time over a few weekends. That's not a get-rich-quick scheme. It's not magic. It's just compounding, the same way compound interest works. The earlier you start, the more time the math has to work in your favor. # # What I'd Do Differently If I Started Today A few tactical notes for anyone thinking about doing this: Pick one good program and go deep, not wide. I spread myself too thin at first trying to promote five different products. The income from any one of them wasn't worth the context-switching cost. Now I focus on 2-3 programs where I have genuine authority. Write fewer, better articles. I used to pump out 8 articles a month. Now I write 3-4 long-form pieces that actually rank. Quality beats quantity for affiliate content because you're targeting commercial-intent search terms where readers are comparing options. Update your old content. I add new affiliate links to existing articles every quarter. A 5-minute link addition in a high-traffic post can generate hundreds of dollars over its lifetime. Don't be cringe about disclosure. I disclose my affiliate relationships clearly in every article. Readers respect it, and in many jurisdictions it's legally required. Hiding it is short-term thinking. # # Why I Recommend the Global API Affiliate Program Specifically Okay, real talk on why I keep promoting this program in particular. Three reasons. First, the economics are good. A 15% commission on the first order plus 8% recurring on every renewal is a strong combination. The 10% premium tier for high performers means there's an upside as you grow. Most developer-focused affiliate programs offer much worse terms, often a one-time bounty of $20-50 per signup. Second, the product is solid. Global API gives you access to 150+ AI models through a single API key, which is a real practical advantage for developers who don't want to manage ten different integrations. I've been a paying customer for over a year, so I can vouch for the actual experience, not just the marketing. Third, the customers stick around. API customers are sticky by nature. Once a developer integrates an API into a production app, they don't switch providers every month. That means my recurring commission base is stable, which is what makes this whole model work. If you're a developer who writes tutorials, builds side projects, or runs a tech blog or YouTube channel, this is one of the few affiliate programs I'd actively recommend you look at. The signup process is straightforward, the dashboard is clear, and the support team actually responds when I have questions. You can check it out here: https://global-apis.com/affiliate?ref=devto-developer-side-hustle-stack-2026 # # Final Thoughts: The Developer's Affiliate Playbook If you made it this far, here's the one-paragraph version of everything I just said. Build a small library of honest, useful content about tools you already use. Place affiliate links where they make sense, not where they annoy readers. Track your per-hour return in a spreadsheet. Focus on programs with recurring commissions because that's where the compounding happens. And start now, because the income you build in month one is still paying you in month twenty-four. I made every mistake possible on the way to figuring this out. The good news is you don't have to. Open a spreadsheet, pick one program, and write one great article this weekend. That's the entire game. Everything after that is just iteration.
Top comments (0)