How to get a model name & API key
Registered accounts need your own AI provider credentials. Use a model ID (not your email) and a secret API key from one of the providers below.
You need paid credits — not just an API key
Creating an API key is only the first step. Stud will not work unless your chosen provider has billing enabled and enough credits or balance to run the model you select.
Before you start, open that provider's pricing page (linked on each card below). Costs vary widely by model — a fast/cheap model is usually best for Mediquest, Study, and Quiz.
How Stud stores your key
If you choose to save your API key, it is encrypted on our server before storage. You can also use a key for one session only without saving it.
OpenAI
Example model names — confirm cost on the provider's pricing page before use
- Sign in at platform.openai.com.
- Open API keys in the left sidebar (Settings → API keys).
- Click Create new secret key and copy it immediately — you will not see it again.
- Add billing and purchase credits (or set up prepaid balance) — a key alone is not enough without paid usage.
- Check current pricing at openai.com/api/pricing before choosing a model.
- Use a model name like gpt-4o-mini in Stud.
Google Gemini
Example model names — confirm cost on the provider's pricing page before use
- Go to Google AI Studio (aistudio.google.com).
- Click Get API key in the left menu.
- Create a key for your Google Cloud project and copy it.
- Enable billing on your Google Cloud project — free tiers are limited; paid usage requires credits/billing.
- Review Gemini API pricing on ai.google.dev/gemini-api/docs/pricing for your chosen model.
- Use a model name like gemini-2.0-flash in Stud.
Anthropic
Example model names — confirm cost on the provider's pricing page before use
- Create an account at console.anthropic.com.
- Open API Keys and create a new key.
- Copy the key and store it somewhere safe.
- Add a payment method and purchase credits — Anthropic bills per token usage; your key will not work without available credit.
- Compare model costs at anthropic.com/pricing before you pick a model.
- Use a model name like claude-3-5-sonnet-latest, or an OpenRouter ID anthropic/claude-3.5-sonnet.
OpenRouter
Example model names — confirm cost on the provider's pricing page before use
- Sign up at openrouter.ai.
- Open Keys and create an API key.
- Copy the key — it starts with sk-or-.
- Add credits to your OpenRouter account — even free models may require a topped-up balance for API access.
- Each model has its own price on openrouter.ai/models; filter by cost before you choose.
- Use the full model slug from openrouter.ai/models (provider/model-name).