AI School · Level 4 · Lesson 8

An app with Google AI Studio and the free lite models

Léelo en español →

Google AI Studio is where you try a prompt out before turning it into anything, and where you get the key to call it from your own site. The screen is not the important part: what matters is that there is one afternoon between trying an idea and having it running, and that along the way there are three or four things that cost you a week if you do not know them.

ForWhere
Trying the prompt out and tuning itAI Studio, in the browser
Fixing how it must always answerAI Studio's system instructions
Getting the key for your siteAI Studio → "Get API key"
Letting people use itYour server, with the key hidden there
Everything you tune in AI Studio is what you then put in your code. The system instructions, the model and the length cap copy across as they are. So it pays to get the prompt right there before writing a single line: trying text changes on screen is instant, and trying them by deploying is glacial.

What "free lite model" actually means

The "lite" models are the small, fast versions of the family, and they come with a no-cost tier. But there are three things almost nobody explains, and they change how you design a whole application:

I am not putting quota figures or prices here: they change every few months and a lesson with stale numbers is worse than one with none. What does not change is the mechanics, which is the part worth learning.

And before you feed it anything: what you send to the API leaves your pharmacy. It is fine for campaign copy, for classifying your own sales, or for the opening-hours chatbot. It is not fine for a patient's report. The full reasoning is in the first lesson.

← Previous: a chatbot for your pharmacy Back to the school →