Home

Using your Gemini API key

A Gemini API key lets a tool send requests to Google under your project. You control the key and its budget. If a tool gives you a finished image prompt, you can also use it in your own image generator.

Connect your key to lkhir

Sign in to Google AI Studio, open API keys and choose Create API key. Select a project you own, or create one for lkhir. If an existing project is missing, import it under Projects. Copy the key. In a lkhir tool, open “AI key for all tools”, paste it, choose “Check entered key”, then “Save for all tools” to reuse it across sessions.

Start with the free tier

The Free plan includes US$0 in monthly API credits. Its free quota is measured in requests and tokens. An eligible free project can send requests to supported text models without enabling paid usage. Google may ask you to verify the project. In AI Studio, open Rate limits and select your project to see its allowances for requests and tokens. Keys in the same project share those limits. Some features, including Gemini 3.1 Flash Image generation, require a paid project.

If you already pay for Google AI Pro

You can create an API key without a Pro subscription. Gemini app and AI Studio subscription allowances are separate from API usage in lkhir. Eligible Pro subscribers can claim US$10 in monthly developer credits in AI Studio and apply them to a paid billing account. If Google assigns you to Prepay, first purchase credits and keep a positive prepaid balance.

Estimate the cost of a generation

Google’s standard paid rates on 27 November 2026 were US$0.30 per million text input tokens and US$2.50 per million output tokens, including thinking, for Gemini 3.5 Flash-Lite. A request with 1,000 input and 500 total output tokens costs about US$0.00155. For Gemini 3.1 Flash Image, a 1K image costs about US$0.067 for image output, plus input and any text or thinking charges. Check the model your tool uses before generating a batch.

Set a budget before enabling paid generation

In AI Studio Projects, select Set up billing and link your Cloud Billing account. If prompted to prepay, choose Buy credits. Google lists a US$5 minimum purchase; check the amount shown for your region. Under Billing, leave auto-reload off for manual top-ups, or set a monthly auto-charge limit. Under Spend, select your project, open Monthly spend cap, then Edit spend cap. Enter your monthly limit and save if the option is available. Allow some headroom for reporting delays of around ten minutes and work already running. An alerts-only budget sends notifications while usage continues.

Google’s visual walkthroughs
  1. Select Set up billing beside your project.
    Select Set up billing beside your project. © Google
  2. Choose a Cloud Billing account to link to this project.
    Choose a Cloud Billing account to link to this project. © Google
  3. Choose Buy credits and enter your own amount. Google’s demo shows $25.
    Choose Buy credits and enter your own amount. Google’s demo shows $25. © Google
  4. Choose Not now to keep top-ups manual.
    Choose Not now to keep top-ups manual. © Google
  5. Under Spend, select Edit spend cap to set your monthly project limit. The $10 cap is an example.
    Under Spend, select Edit spend cap to set your monthly project limit. The $10 cap is an example. © Google

Keep the key private

Use a dedicated lkhir key and keep its API restriction set to the Generative Language API. Paste the key only in the key field. Keep it out of prompts, screenshots and support messages. If it is exposed, revoke it in AI Studio, replace it in lkhir and review project usage. Removing a saved key from lkhir only removes the local account connection.

Turn an image prompt into an image

We recommend generating images in Ideogram. In lkhir, choose the prompt-only workflow when available. When a tool returns a written image prompt, copy it into Ideogram, ChatGPT, Google Gemini or Midjourney. Pick the aspect ratio and generate a first version there. Your account with that provider determines the options, limits and charges. You manage your own accounts and pay any provider fees. lkhir is independent and has no affiliation with Google or Ideogram.

Which tools need a key?

Gemini key required

The main AI output needs a key.

Gemini key optional

You can complete a workflow without a key. Gemini adds extra features.

No Gemini key needed

The tool works without Gemini.

Matching tools · 448 / 448

WordPress & websites · 34
Developer tools · 23
Music creation · 10
Language learning · 1
Education & classrooms · 16
Books & publishing · 95
Automotive design · 3
Art & home decor · 42
Clipart & digital products · 14
SEO & content strategy · 51
Commerce & product research · 39
Content & marketing · 97
SEO & implementation checklists · 14
Pinterest · 9