it's free*.ai

Google AI Studio

Gemini API with a generous free quota and 1M of context.

Google AI Studio is the console for the Gemini API. A free key is an email away, no card, and it is one of the few endpoints here that treats images, audio, video and PDFs as first-class input. The current Flash is Gemini 3.7 — still a million tokens of context on that tier.

The published ceiling is 15 requests a minute and 1,500 a day, reset at midnight Pacific. Point the OpenAI SDK at generativelanguage.googleapis.com/v1beta/openai and keep the rest of your code. The trade: free-tier prompts and responses may be used to improve Google’s models, so nothing confidential belongs here.

Free models
17
Max context
1M
Free tier
1,500 requests per day
Requirement
Email account, no card

Endpoint

Base URLhttps://generativelanguage.googleapis.com/v1beta/openai
Env varGEMINI_API_KEY
Rate limit15 requests/minute, 1,500 requests/day

Code examples

npm install openai
import OpenAI from 'openai'

const client = new OpenAI({
  baseURL: 'https://generativelanguage.googleapis.com/v1beta/openai',
  apiKey: process.env.GEMINI_API_KEY
})

const response = await client.chat.completions.create({
  model: 'gemini-3.7-flash',
  messages: [{ role: 'user', content: 'Explain closures in one paragraph.' }]
})

console.log(response.choices[0].message.content)

Worth knowing

Models you get for free17