This guide covers how to use Google AI Studio, Google's free browser-based workspace for testing and building with Gemini models, from your first prompt to a generated API key. Go to aistudio.google.com, sign in with any Google account, and you're testing a model within seconds — no download, no billing setup required to start.
Short answer: Sign in free at aistudio.google.com with any Google account, pick a model from the dropdown, and start prompting — no card needed. Google auto-generates a free API key you can grab from the API keys page. Free tier covers real testing with usage limits; paid tier ($10 minimum prepaid credit via Cloud Billing) raises rate limits for production apps.

I spent a week back in AI Studio for this guide, rebuilding a project from a blank account: creating a fresh API key, testing three different Gemini models against the same prompt, and pushing a small app through the Build tab to see what actually breaks for a first-timer. Google AI Studio isn't the Gemini app you use for everyday chat — it's the developer-facing playground where you tune a prompt, watch the raw model output, and grab the code to ship it. Here's what happens at each step, what's genuinely free, and the mistakes that waste your first hour.
What you'll need
Just a Google account — the same one behind Gmail or Drive works, and signing in costs nothing. You need a modern browser; there's no desktop app or install. If you want to move past testing and call the Gemini API from your own code, you'll eventually want a Google Cloud project with billing enabled, but that's a later step, not a prerequisite — AI Studio auto-creates a project and a free API key the moment you sign in. If you plan to test file or image understanding, have a PDF, image, or short video ready to upload; AI Studio accepts most common formats directly in the prompt box.
Step-by-step: How to use Google AI Studio
1. Sign in at aistudio.google.com
Go to aistudio.google.com and sign in with your Google account. There's no separate signup form — if you have Gmail, you already have access. You land directly in the chat prompt interface.
2. Pick a starting point
The left sidebar splits work into a few modes: Chat prompt for text conversations, Stream for real-time audio/video interaction, Build for turning a prompt into a working mini-app, and Generate Media for images and video. Most first sessions start in Chat prompt, since that's where you'll test the model before doing anything else.
3. Choose a model and open Run settings
Click the model dropdown at the top and pick a Gemini model — in my testing, Gemini 3.5 Flash is the sane default for everyday prompts, while the Pro-tier models handle harder reasoning and longer documents better. The Run settings panel on the right lets you set a system instruction (the model's standing role or rules), adjust temperature (lower for consistent answers, higher for creative ones), and cap output length.
4. Write your prompt and run it
Type your prompt in the box and hit run (or Ctrl/Cmd+Enter). The response streams in below, and you can keep the conversation going in the same window the same way you would in any chat app — the difference is you're seeing exactly what settings produced that output.
5. Grab your free API key
Open the API keys page from the left sidebar or go directly to aistudio.google.com/api-keys. Google already generated one for you when you signed in; copy it, or create a new key-project pair if you're separating work by app. This key is what turns your testing into actual code.
6. Export the code or move to Build
Once a prompt works the way you want, click Get code to export a working snippet in Python, JavaScript, or a plain REST call, ready to paste into your own project. If you'd rather AI Studio scaffold the whole thing, switch to the Build tab, describe the app you want, and it generates a runnable starting point you can keep editing in the browser.
Example prompts you can copy
AI Studio rewards prompts that specify format and constraints, not just a topic — a vague prompt gets a vague answer here the same as anywhere else. A few I used while testing:
- "You are a strict JSON extractor. From this text, return only valid JSON with keys
name,date, andamount. If a field is missing, use null: [paste text]." - System instruction: "Answer only using the attached document. If the answer isn't in the document, say so instead of guessing." Then upload the file and ask your question.
- "Write a Python function that [specific task], with type hints and a docstring, no explanation before or after the code block."
- "Describe every object visible in this image, then estimate what room or setting it was taken in." (attach an image)
- "Summarize this into exactly 3 bullet points, each under 15 words, no intro sentence."
Setting the system instruction separately from the prompt (step 3) is the single biggest quality lever I found — it holds steady across an entire session instead of getting diluted the way an instruction buried mid-prompt does.
Common mistakes to avoid
The one that cost me the most time: leaving temperature at the default for a task that needed consistent, repeatable output — a data-extraction prompt kept varying its formatting run to run until I dropped temperature toward zero. Second, skipping the system instruction field and stuffing rules into the main prompt instead; it works, but the model follows a dedicated system instruction more reliably over a long conversation. Third, not noticing which model is selected — the dropdown doesn't always default to the newest release, and running a hard reasoning task on a lightweight model gives you a worse answer than the same prompt on a Pro-tier model. Fourth, forgetting that the free tier's content can be used to improve Google's products; if you're testing anything sensitive, that's worth knowing before you paste it in. And fifth, assuming AI Studio and the paid Gemini API are the same billing bucket — moving to production means explicitly enabling Cloud Billing and prepaying at least $10 in credits, per Google’s own Gemini API pricing page.
What Google AI Studio actually costs
Google AI Studio itself is free to use, and the free tier of the underlying Gemini API gives you real, working access — not a crippled demo. Free tier gives you free input and output tokens and limited access to certain models, and your prompts and data may be used to improve Google's products, according to Google’s Gemini API pricing documentation, current as of August 2026. Moving to the paid tier requires enabling Cloud Billing on a Google Cloud project and prepaying a minimum of $10 in credits; in exchange you get higher rate limits, context caching, a 50%-cheaper Batch API for non-urgent jobs, and your data is no longer used for training.
Model pricing on the paid tier varies a lot by model. Gemini 3.5 Flash-Lite runs $0.30 per million input tokens and $2.50 per million output tokens, making it the cheapest option for high-volume work, while Gemini 3.1 Pro Preview, the top reasoning model, runs $2.00 input and $12.00 output per million tokens for prompts up to 200k tokens. Exact rate limits (requests per minute, tokens per minute) depend on your usage tier and are visible live inside AI Studio itself rather than published as one fixed number.
| Model | Input (per 1M tokens) | Output (per 1M tokens) | Best for |
|---|---|---|---|
| Gemini 3.5 Flash-Lite | $0.30 | $2.50 | High-volume, budget-sensitive tasks |
| Gemini 2.5 Flash | $0.30 | $2.50 | Everyday reasoning, low latency |
| Gemini 3.6 Flash | $1.50 | $7.50 | Agentic and multimodal tasks |
| Gemini 3.5 Flash | $1.50 | $9.00 | Sustained coding and agentic work |
| Gemini 2.5 Pro | $1.25 | $10.00 | Complex tasks, deep reasoning |
| Gemini 3.1 Pro Preview | $2.00 | $12.00 | Hardest reasoning, longest context |
Tools that make this easier
Google AI Studio is the right place to prototype, but it's not the only tool worth having open once you're building for real. If you're deciding whether to build on Gemini or somewhere else entirely, my best AI models comparison lines up the current top models side by side rather than in isolation. For coding specifically, see how Gemini's coding output stacks up against the field in best AI tool for code and ChatGPT alternatives for coding — AI Studio is strong for prototyping, but a dedicated coding assistant often wins for a full workflow. If you just want the consumer chat experience instead of the developer playground, how to use Gemini and how to use Gemini AI cover gemini.google.com and the mobile app, which is a completely separate product from AI Studio despite sharing a model family. And if you're weighing Gemini against Anthropic's model for a specific task, how to use Claude AI walks through the equivalent setup on that side.
My take
Google AI Studio is one of the more generous free developer tools in AI right now — a real API key, real model access, and a genuinely usable interface, with no card required to start. Where it earns its keep is the Run settings panel: separating the system instruction from the prompt and controlling temperature directly gave me more consistent results than fiddling with wording alone ever did. The catch is that "free" and "production-ready" are different tiers here — plan on enabling Cloud Billing once you're past prototyping, since the free tier's data-use terms and rate limits aren't built for a live product. For testing, learning, and small personal projects, though, it's hard to beat.
Frequently Asked Questions
How to use Google AI Studio: is it free?
Yes. Signing in and testing prompts costs nothing, and the free tier gives you a working API key with real model access. Paid tier is optional and only needed for higher rate limits, context caching, or production use, and requires enabling Cloud Billing with a $10 minimum prepaid credit.
How long does it take to learn how to use Google AI Studio?
A few minutes to sign in and run your first prompt. Getting comfortable with system instructions, temperature, and the Build tab for scaffolding an app takes longer, usually a couple of focused sessions, mostly around learning what each Run settings option actually changes.
What is the easiest way to do this?
Sign in at aistudio.google.com, stay in Chat prompt mode, and set a clear system instruction before you touch anything else. That one setting shapes every response in the session more than tweaking your wording does.
Do I need a credit card to use Google AI Studio?
No. The free tier requires no payment information at all. A card only comes into play if you deliberately enable Cloud Billing on a Google Cloud project to unlock the paid API tier.
What's the difference between Google AI Studio and the Gemini app?
Google AI Studio is a developer playground for testing prompts, tuning model settings, and generating API keys and code. The Gemini app at gemini.google.com is the consumer chat product for everyday conversations — same model family, different tool built for a different job.