Google Gemini
ModelGoogle's Gemini model API for text, images, audio and video
- Price
- Free tier, then paid
- Access
- API key
About
Google's Gemini API for text, code and multimodal input, plus image, video and speech generation. A free tier covers many models, but its content may be used to improve Google's products. 3.8 Flash costs $0.75 / $3.75 per 1M tokens until Dec 31, 2026, then $1.50 / $7.50.
What you can do with it
- Generate text and chat with Gemini Flash and Pro models
- Understand images, video, audio and PDFs in one request
- Generate images with Nano Banana and video with Veo
Get started
- Create a Gemini API key in Google AI Studio
- Set GEMINI_API_KEY in your environment
Example
curl -X POST "https://generativelanguage.googleapis.com/v1beta/interactions" \
-H "x-goog-api-key: $GEMINI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gemini-3.8-flash",
"input": "Explain how AI works in a few words"
}'Details
- Hosting
- Hosted service
- Available in
- Worldwide
- Official SDKs
- Python, JavaScript/TypeScript, Go, Java, C#
- MCP server
- None