Skip to main content

Documentation Index

Fetch the complete documentation index at: https://env.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Gemini

Google’s Gemini models offer impressive context windows and strong multimodal capabilities.

Available Models

ModelContextBest For
Gemini 1.5 Pro1M tokensLong documents, large codebases
Gemini 1.5 Flash1M tokensFast responses, cost-effective

Setup

  1. Get an API key from aistudio.google.com
  2. Open env Settings (⌘ + ,)
  3. Add your key under Google
  4. Select a Gemini model to start chatting

Features

Million Token Context

Gemini 1.5 models support up to 1 million tokens of context — enough for entire books, large codebases, or hours of video.

Multimodal

Gemini natively understands images, audio, and video. Attach files directly to your messages.

Grounding

Gemini can ground responses in Google Search for up-to-date information.

Tips

Use Gemini when you need to analyze very long documents or entire codebases at once.
  • 1.5 Pro is better for complex tasks requiring reasoning
  • 1.5 Flash is faster and cheaper for straightforward tasks
  • Gemini excels when you need to reference large amounts of context

Keyboard Shortcut

Press ⌘ + 3 to quickly switch to Gemini.