DEV Community

brian austin
brian austin

Posted on

How to use Claude Code without paying $20/month for Claude Pro

How to use Claude Code without paying $20/month for Claude Pro

Claude Code is genuinely one of the best AI coding tools available right now. But the pricing has a problem.

To use Claude Code at full capacity, you need Claude Pro: $20/month. If you're already paying for GitHub Copilot ($10/month) or Cursor ($20/month), adding another $20 starts to feel like death by a thousand subscriptions.

Here's what most developers don't know: Claude Code supports custom API endpoints.

This means you can point Claude Code at any compatible API — including significantly cheaper ones — and get the same Claude models at a fraction of the price.

The setup (2 minutes)

Claude Code reads from environment variables. Add this to your shell profile (.bashrc, .zshrc, etc.):

# Claude Code custom endpoint
export ANTHROPIC_BASE_URL="https://api.simplylouie.com"
export ANTHROPIC_API_KEY="your-api-key-here"
Enter fullscreen mode Exit fullscreen mode

Then reload your shell:

source ~/.zshrc
Enter fullscreen mode Exit fullscreen mode

That's it. Claude Code will now route through the custom endpoint. Same models, same quality, different price.

What this actually costs

Option Monthly Cost
Claude Pro (official) $20/month
SimplyLouie API $2/month
Savings $18/month

$18/month saved is $216/year. For a solo developer or someone in a market where $20/month is a significant expense, that's real money.

Which Claude model does it use?

The API proxies to Claude claude-3-5-sonnet-20241022 by default — the same model Claude Code uses when you have a Pro subscription. There's no degraded experience.

You can also specify the model explicitly in your Claude Code settings:

// .claude/settings.json
{
  "model": "claude-3-5-sonnet-20241022",
  "apiBaseUrl": "https://api.simplylouie.com"
}
Enter fullscreen mode Exit fullscreen mode

The rate limits question

Fair question. Here's the reality:

  • Claude Pro: Anthropic enforces soft rate limits based on usage. Heavy users hit them.
  • SimplyLouie: $2/month tier has reasonable limits for daily coding work. If you're doing intensive agentic tasks across 8+ hours, you'll want to monitor usage.

For most developers doing code reviews, debugging sessions, and feature implementation — the $2/month tier is more than enough.

Who this is actually for

This setup makes sense if:

  1. You're in a country where $20/month is expensive — India, Nigeria, Philippines, Indonesia, Brazil, Kenya. The $2/month pricing is designed for global access.
  2. You're a solo dev or student — no budget for multiple $20/month subscriptions
  3. You want to try Claude Code before committing to a full Pro subscription
  4. You're running Claude Code in CI/scripts — automated usage where cost-per-run matters

The 7-day free trial

Before you pay anything: there's a 7-day free trial at simplylouie.com. Card required to start (standard SaaS), not charged for 7 days.

Set ANTHROPIC_BASE_URL to the endpoint, test it with your actual workflow, and see if it works for you.

# Test it immediately
curl https://api.simplylouie.com/v1/messages \
  -H "x-api-key: YOUR_KEY" \
  -H "anthropic-version: 2023-06-01" \
  -H "content-type: application/json" \
  -d '{
    "model": "claude-3-5-sonnet-20241022",
    "max_tokens": 100,
    "messages": [{"role": "user", "content": "hello"}]
  }'
Enter fullscreen mode Exit fullscreen mode

If you get a response back, the API is working and Claude Code will work with it.

One more thing

50% of revenue goes to animal rescue. Not a gimmick — it's in the terms of service. The $2/month pricing isn't a loss leader that gets jacked up later; it's the actual sustainable price for a lean API proxy.


The developer API is at simplylouie.com/developers. Country-specific pricing (₦3,200/month for Nigeria, ₹165/month for India, etc.) is at simplylouie.com/ng, simplylouie.com/in.

Top comments (0)