Overview
Screen Answerer supports multiple Google Gemini models, each offering different trade-offs between speed and capability. You can select your preferred model through the settings interface.The default model is
gemini-2.0-flash-lite, optimized for fast responses with good accuracy.Available models
Screen Answerer currently supports two Gemini models:gemini-2.0-flash-lite (Default)
Best for: Speed and efficiency
Best for: Speed and efficiency
Characteristics:
- Fastest response times
- Lower API quota consumption
- Excellent for straightforward quiz questions
- Optimized for multiple-choice and simple factual questions
- Real-time screen monitoring
- High-frequency question processing
- Simple quiz formats
- When API quota is a concern
server.js:173, this is the default model:
gemini-2.0-flash
Best for: Balanced performance
Best for: Balanced performance
Characteristics:
- Slightly slower than flash-lite
- More sophisticated reasoning capabilities
- Better context understanding
- Higher accuracy on complex questions
- Complex quiz questions with nuance
- Questions requiring interpretation
- Long-form answers
- When accuracy is prioritized over speed
Model selection interface
The model selection uses an intuitive slider interface that makes it easy to switch between models.Accessing model settings
Adjust the slider
Use the slider to choose between:
- Left position (Faster):
gemini-2.0-flash-lite - Right position (Balanced):
gemini-2.0-flash
Slider implementation
Fromindex.html:809-824, the slider provides visual feedback:
How model selection works
Storage and persistence
Your model preference is stored inlocalStorage under the key geminiModel. This ensures your selection persists across browser sessions.
From index.html:827-833:
API integration
When processing questions, Screen Answerer sends your selected model to the server:server.js:429):
Performance comparison
Performance metrics can vary based on network conditions, question complexity, and API load.
| Feature | gemini-2.0-flash-lite | gemini-2.0-flash |
|---|---|---|
| Response time | ~1-2 seconds | ~2-4 seconds |
| API quota cost | Lower | Standard |
| Simple questions | Excellent | Excellent |
| Complex questions | Good | Better |
| Context awareness | Good | Better |
| Best for | Speed & efficiency | Accuracy & nuance |
Optimized prompts
Screen Answerer uses carefully crafted prompts optimized for quick, accurate responses:Text questions
Fromserver.js:184-185:
Image questions
Fromserver.js:217:
Choosing the right model
Use gemini-2.0-flash-lite when:
- You’re using real-time screen monitoring
- Questions are straightforward and factual
- Speed is your top priority
- You want to conserve API quota
- Processing high volumes of questions
Use gemini-2.0-flash when:
- Questions require interpretation or context
- Dealing with ambiguous phrasing
- You need higher accuracy on complex topics
- Speed is less critical
- Processing fewer, more challenging questions
Rate limiting and retry logic
Regardless of model selection, Screen Answerer implements robust retry logic to handle API rate limits: Fromserver.js:86-102:
Testing model performance
To compare model performance for your specific use case:- Select
gemini-2.0-flash-liteand process several questions - Note the response times and accuracy
- Switch to
gemini-2.0-flashand test the same questions - Compare results and choose based on your priorities
You can change models at any time without affecting your saved API key or other settings.
Advanced configuration
For developers customizing Screen Answerer, both models support the same API interface:Next steps
Settings
Customize theme and other preferences
API key setup
Configure your Gemini API credentials