|
| 1 | +# 🚀 Free Trial Setup Guide |
| 2 | + |
| 3 | +Get started with Roo Code in minutes using free AI provider trials! No credit card required for initial setup. |
| 4 | + |
| 5 | +## Quick Start Options |
| 6 | + |
| 7 | +### Option 1: OpenRouter (Recommended - Easiest Setup) |
| 8 | + |
| 9 | +OpenRouter offers **$1 in free credits** upon signup - enough for hundreds of interactions! |
| 10 | + |
| 11 | +1. **Sign up** at [openrouter.ai](https://openrouter.ai/auth/signup) |
| 12 | +2. **Get your API key** from [openrouter.ai/keys](https://openrouter.ai/keys) |
| 13 | +3. **Configure in Roo Code**: |
| 14 | + - Open VS Code Command Palette (`Cmd/Ctrl + Shift + P`) |
| 15 | + - Type "Roo Code: Open Settings" |
| 16 | + - Select "OpenRouter" as your provider |
| 17 | + - Paste your API key |
| 18 | + - Choose a model (we recommend `claude-3.5-sonnet` for best results) |
| 19 | + |
| 20 | +### Option 2: Google Gemini (Most Generous Free Tier) |
| 21 | + |
| 22 | +Google offers **free usage** of Gemini 1.5 Flash with generous rate limits. |
| 23 | + |
| 24 | +1. **Get API key** at [aistudio.google.com](https://aistudio.google.com/app/apikey) |
| 25 | + - Sign in with your Google account |
| 26 | + - Click "Get API Key" |
| 27 | + - Create a new API key |
| 28 | +2. **Configure in Roo Code**: |
| 29 | + - Open VS Code Command Palette (`Cmd/Ctrl + Shift + P`) |
| 30 | + - Type "Roo Code: Open Settings" |
| 31 | + - Select "Google Gemini" as your provider |
| 32 | + - Paste your API key |
| 33 | + - Select `gemini-1.5-flash` (free tier) |
| 34 | + |
| 35 | +### Option 3: Groq (Fastest Responses) |
| 36 | + |
| 37 | +Groq provides **free tier access** with extremely fast inference speeds. |
| 38 | + |
| 39 | +1. **Sign up** at [console.groq.com](https://console.groq.com/signup) |
| 40 | +2. **Create API key** at [console.groq.com/keys](https://console.groq.com/keys) |
| 41 | +3. **Configure in Roo Code**: |
| 42 | + - Open VS Code Command Palette (`Cmd/Ctrl + Shift + P`) |
| 43 | + - Type "Roo Code: Open Settings" |
| 44 | + - Select "Groq" as your provider |
| 45 | + - Paste your API key |
| 46 | + - Choose `llama-3.1-70b` for best performance |
| 47 | + |
| 48 | +## Provider Comparison |
| 49 | + |
| 50 | +| Provider | Free Credits | Best For | Setup Difficulty | |
| 51 | +| ----------------- | ---------------------- | --------------------- | ---------------- | |
| 52 | +| **OpenRouter** | $1 free credits | Trying premium models | ⭐ Easiest | |
| 53 | +| **Google Gemini** | Generous free tier | Extended usage | ⭐⭐ Easy | |
| 54 | +| **Groq** | Free tier | Fast responses | ⭐⭐ Easy | |
| 55 | +| **Anthropic** | $5 free (with phone) | Claude models | ⭐⭐⭐ Moderate | |
| 56 | +| **OpenAI** | $5 free (new accounts) | GPT models | ⭐⭐⭐ Moderate | |
| 57 | + |
| 58 | +## Configuration Tips |
| 59 | + |
| 60 | +### Setting Up Your First Model |
| 61 | + |
| 62 | +1. After adding your API key, Roo Code will show available models |
| 63 | +2. For best results, we recommend: |
| 64 | + - **Code generation**: Claude 3.5 Sonnet or GPT-4 |
| 65 | + - **Quick tasks**: Gemini 1.5 Flash or Llama 3.1 |
| 66 | + - **Budget-conscious**: Gemini Flash (free) or Claude Haiku |
| 67 | + |
| 68 | +### Switching Between Providers |
| 69 | + |
| 70 | +You can easily switch providers or use multiple providers: |
| 71 | + |
| 72 | +1. Open Roo Code settings |
| 73 | +2. Click "Add Provider" to configure additional providers |
| 74 | +3. Use the provider dropdown in the chat interface to switch |
| 75 | + |
| 76 | +## Troubleshooting |
| 77 | + |
| 78 | +### "Invalid API Key" Error |
| 79 | + |
| 80 | +- Double-check you've copied the entire key |
| 81 | +- Ensure no extra spaces before/after the key |
| 82 | +- Verify the key is active in your provider's dashboard |
| 83 | + |
| 84 | +### "Rate Limit Exceeded" |
| 85 | + |
| 86 | +- Free tiers have usage limits |
| 87 | +- Wait a few minutes and try again |
| 88 | +- Consider upgrading or switching providers |
| 89 | + |
| 90 | +### "Model Not Available" |
| 91 | + |
| 92 | +- Some models require paid accounts |
| 93 | +- Switch to a free-tier model in settings |
| 94 | + |
| 95 | +## Next Steps |
| 96 | + |
| 97 | +Once configured, try these to get started: |
| 98 | + |
| 99 | +1. **Test your setup**: Type "Hello, can you see this?" in Roo Code |
| 100 | +2. **Try Code mode**: Ask Roo to create a simple HTML file |
| 101 | +3. **Explore Architect mode**: Plan your next project |
| 102 | +4. **Use Debug mode**: Fix an existing code issue |
| 103 | + |
| 104 | +## Need Help? |
| 105 | + |
| 106 | +- **Documentation**: [docs.roocode.com](https://docs.roocode.com) |
| 107 | +- **Discord Community**: [discord.gg/roocode](https://discord.gg/roocode) |
| 108 | +- **Video Tutorials**: [YouTube Channel](https://youtube.com/@roocodeyt) |
| 109 | + |
| 110 | +--- |
| 111 | + |
| 112 | +💡 **Pro Tip**: Start with OpenRouter for the easiest setup experience. You can always add more providers later! |
0 commit comments