4-Tier AI System
Last updated: 2026-07-06
4-Tier AI Overview
HaMi Code Việt offers four AI access tiers, from free to unlimited. Each tier has a daily conversation limit, different AI models, and a different set of available agents.
Tier Comparison
| Feature | Free | Starter | Pro | Unlimited |
|---|---|---|---|---|
| Price | $0 (auto) | $5/mo | $15/mo | $30/mo |
| Daily limit | 5 conv. | 50 conv. | 200 conv. | 1000 conv. |
| AI model | Llama | Llama | Claude Haiku (complex) / Llama (simple) | Claude Sonnet (complex) / Llama (simple) |
| AI Tutor | ✅ | ✅ | ✅ | ✅ |
| AI Quiz | ❌ | ✅ | ✅ | ✅ |
| AI Memory | ❌ | ✅ | ✅ | ✅ |
| AI Mentor | ❌ | ❌ | ✅ | ✅ |
| Code Reviewer | ❌ | ❌ | ✅ | ✅ |
| Content Creator | ❌ | ❌ | ✅ | ✅ |
| All agents | ❌ | ❌ | ✅ | ✅ |
| CodeLab + Piston | ❌ | ❌ | ✅ | ✅ |
| Queue priority | ❌ | ❌ | ❌ | ✅ |
| Early access | ❌ | ❌ | ❌ | ✅ |
Free Tier
Automatically granted to all users upon signup. Includes:
- 5 AI conversations per day
- AI Tutor only
- Llama model (Cloudflare Workers AI)
- No self-learning memory
Starter Tier ($5/month)
For learners getting serious. Includes:
- 50 AI conversations per day
- AI Tutor + AI Quiz + AI Memory
- Llama model
- Self-learning memory across conversations
Free when you subscribe to the learner bundle.
Pro Tier ($15/month)
For advanced learners and Creators. Includes:
- 200 AI conversations per day
- All AI Agents (12 agents)
- Claude Haiku for complex questions, Llama for simple ones
- CodeLab with Piston (code execution)
- Enhanced self-learning memory
Free when you subscribe to the creator bundle.
Unlimited Tier ($30/month)
For professional learners and Creators. Includes:
- 1000 AI conversations per day
- All AI Agents
- Claude Sonnet for complex questions (highest quality)
- Queue priority — faster responses
- Early access to new features
Free when you subscribe to the family bundle.
How to Upgrade
- Go to the billing page
- Select the subscription plan that fits your needs
- Pay via PayPal (see payment guide)
- AI access will be activated immediately after successful payment
Check your current AI tier
Call the GET /ai/quota API to see your AI tier, remaining quota, and available agents.
Fallback Behavior
When ANTHROPIC_API_KEY is not configured or Claude API is temporarily unavailable, the system automatically falls back to Workers AI (llama) for all tiers:
- Pro/Unlimited: Lower-quality responses (llama instead of Claude) but service remains available
- Free/Starter: Unaffected — always uses Workers AI
- Quota is still counted normally