Google Gemini API
google.dev
Google developer API for Veo text- and image-to-video generation
- Free tier
- No
- Per month
- Free – Usage
- MCP
- No
Why it's here
Useful free tier, long context, and multimodal support make Gemini an accessible build-and-ship option.
Free tier
Free Gemini API tier; Veo video generation is not available free
Setup
npm install @google/genaiEnvironment variables
- GEMINI_API_KEY
- GOOGLE_API_KEY
Visit Google Gemini API(opens in a new tab)
Last verified
LLM APIs
#1 of 20Useful free tier, long context, and multimodal support make Gemini an accessible build-and-ship option.
| per month | FreeFree | PaidUsageGemini 3.8 Flash: $0.75/$3.75 per 1M tokens | EnterpriseCustom |
|---|---|---|---|
| Commercial use | |||
| Tool calling | |||
| OpenAI-compatible | |||
| No data training | |||
| Prod rate limits | |||
| JSON schema | |||
| Prompt caching | |||
| Image input | |||
| Context window | 1048576 tokens | 1048576 tokens | 1048576 tokens |
Video
#1 of 15Strong Veo API for agent-built products; pay per second, but no free video generation.
| per month | Free tierFreeVeo video generation unavailable | Pay as you goUsageVeo 3.1 Lite $0.05/sec 720p; Standard $0.40/sec |
|---|---|---|
| Commercial use | ||
| No watermark | ||
| API access | ||
| Native audio | ||
| Image to video | ||
| Consistent chars | ||
| AI editing | ||
| 4K export | ||
| Max clip length | 8 seconds |
Image
#3 of 19Gemini API combines image generation, editing and legible text with free AI Studio testing.
| per month | Free TierFree | Paid TierUsageNano Banana 2 Lite from $0.0336/image |
|---|---|---|
| Commercial use | ||
| API access | ||
| Legible text | ||
| IP indemnity | ||
| Private mode | ||
| Image editing | ||
| Consistent style | ||
| Transparent PNG | ||
| Unlimited gens | ||
| Cost per image | $0/image | $0.0336/image |