Google Gemini
What is Google Gemini?
Why Use Gemini with CodinIT?
Fast Responses
Get quick AI responses for your app development needs
Smart AI
Access Google's latest AI technology for complex reasoning
Free to Start
Begin with Google's generous free tier
Great for Code
Excellent at helping you build and debug applications
Getting Your Google API Key
Visit Google AI Studio
Go to aistudio.google.com and sign in with your Google account.
Create Your API Key
- Click "Get API Key" in the sidebar
- Choose "Create API key in new project"
- Copy your new API key and save it somewhere safe
Keep It Secure
Never share your API key publicly or put it in your code where others can see it.
Available Gemini Models
Choose the right model for your needs:
Model | Speed | Intelligence | Best For | Cost |
---|---|---|---|---|
Gemini 2.5 Flash | ⚡⚡⚡ | ⭐⭐⭐ | Quick responses, chat | Low |
Gemini 2.5 Pro | ⚡⚡ | ⭐⭐⭐⭐⭐ | Complex tasks, reasoning | Medium |
Gemini 2.0 Flash | ⚡⚡⚡ | ⭐⭐⭐⭐ | Latest features | Low |
Setting Up Gemini in CodinIT
Step 1: Open Project Settings
In your CodinIT project, click the Settings button (⚙️) to open your project configuration.
Step 2: Choose Gemini as Your AI Provider
Find AI Provider Settings
Look for the "AI Provider" or "Model" section in your project settings.
Select Google Gemini
Choose "Google Gemini" from the provider dropdown menu.
Enter Your API Key
Paste the API key you got from Google AI Studio into the API key field.
Pick Your Model
Select which Gemini model you want to use (we recommend starting with Gemini 2.5 Flash).
Save Your Settings
Click Save to apply your changes.
Step 3: Test Your Connection
Try a Simple Prompt
In your CodinIT chat, try asking: "Help me create a simple login form"
Check the Response
If everything is working, you'll get a helpful response from Gemini!
Troubleshoot if Needed
If it doesn't work, double-check your API key and make sure you copied it correctly.
Understanding Usage and Costs
Free Tier Limits
Daily Free Usage
Up to 1 million tokens per day at no cost
Rate Limits
15 requests per minute on free tier
What Counts as Usage?
- Input tokens: The text you send to the AI
- Output tokens: The AI's response back to you
- Longer conversations = more tokens used
Managing Your Usage
Monitor Usage
Check your usage in Google AI Studio dashboard
Be Concise
Keep prompts clear and specific to save tokens
Set Alerts
Set up notifications before hitting your limits
Tips for Better Results
Writing Good Prompts
Getting the Most from Gemini
- Start with simple requests
- Ask for step-by-step explanations
- Request comments in your code
- Ask "why" questions to learn more
- Describe your app's purpose clearly
- Ask for complete, working examples
- Request different design options
- Get help with specific features
- Share your error messages
- Explain what you expected vs. what happened
- Ask for alternative approaches
- Request testing suggestions
Common Questions
What if I hit my rate limit?
Is my data safe with Google?
Yes! Google doesn't use your API conversations to train their models. Your project data stays private.
Can I switch between different Gemini models?
Absolutely! You can change models anytime in your project settings. Different models might give different results, so feel free to experiment.
What if Gemini isn't working?
Check Your API Key
Make sure you copied it correctly and it's still valid
Check Your Connection
Ensure you have a stable internet connection
Try Again
Sometimes a simple retry solves temporary issues
Getting Help
Need more assistance? Here are your options:
CodinIT Support
Contact our support team for CodinIT-specific issues