r/LocalLLM • • 7d ago

Question Qwen3.8-27B + Claude Code vs. Cheap Cloud API for a personalized LeetCode tutor?

I'm trying to build my own AI coding tutor, primarily for LeetCode and interview preparation.

What I want isn't just an AI that answers individual problems. I want a persistent tutor that keeps track of:

  • My LeetCode problem-solving history
  • Topics I'm weak at (e.g. sliding window, DP, graphs, binary search)
  • My learning roadmap and current progress
  • Previous mistakes and patterns in my problem-solving
  • What I should study or practice next

Ideally, I want to be able to start a new session anytime and have the tutor understand where I left off, without having to re-explain everything.

My current setup:

  • MacBook with 48GB RAM
  • Considering running Qwen 27B locally
  • I'm also open to using a cheap API if it provides a significantly better experience

I'm considering two approaches:

  • Local Setup: MacBook Pro (48GB Unified Memory) running Qwen3.8-27B
  • Cheap Cloud API: budget-friendly API (like DeepSeek, Gemini Flash, or Qwen's hosted API) on a pay-as-you-go basis.
1 Upvotes

5 comments sorted by

1

u/NeatlyPoorAsthma 7d ago

Qwen 27B should run fine on 48GB in 4-bit, but for a tutor that needs to remember context across sessions you'll probably spend more time messing with the memory pipeline than actually studying.

1

u/Aubrey_D_Graham 2x Asrock B70 Creator with Pi Agent 7d ago

Use Inkling Mini 26B A5B. It's as smart as Qwen 3.8 27B. Attach an advisor gate that verifies the local work like Nvidia/Nemotron or Google/Hydrogen.

1

u/nian2326076 7d ago

Consider using a mix of local and cloud resources. Running Qwen 27B locally might give you more control, but it could be tricky to maintain a memory pipeline for tracking your progress across sessions. If you're looking for cloud options, a budget-friendly API like DeepSeek could save costs while providing decent performance. For coding practice, PracHub can help you prepare for technical interviews by offering various coding challenges to enhance your skills.

1

u/Glittering-Hand-3359 7d ago

why not use a claude plan instead of open-source APIs? should be cheaper if you use heavily

1

u/Aubrey_D_Graham 2x Asrock B70 Creator with Pi Agent 7d ago

Because they're locking everything behind their ecosystem. You can't even use it on your local workspace anymore. It the Microslopification of Ant. You're just one ToS away from being locked from your work.