Học nèHọc nè
Help CenterAccount, privacy & data

Get a free AI key: Gemini, Mistral, Groq

Step by step, get a free AI key from Gemini, Mistral and Groq, then add it to Học nè.

4 min readUpdated

Many things on Học nè use AI: reading an exam from a photo, drawing figures, writing answers and solutions. To use AI, you need an AI key. Three places give free keys: Gemini (from Google), Mistral and Groq. Follow the steps below; each one takes only a few minutes.

If you are under 18, ask a parent or a teacher to do this with you.

What is an AI key?

An AI key is like a house key: whoever holds it can open the door. An AI key lets Học nè call the AI for you.

  • A key is a long string of letters and numbers. Keep it to yourself: don't show it to anyone, don't post it online.
  • Học nè stores keys encrypted and never shows a whole key again.
  • On a free plan, the place that gave you the key may use what you send to improve its AI. So don't send private information (phone numbers, home addresses...) to the AI.

Which one should I pick?

  • Gemini: the one you need, and Gemini alone is enough. It reads exam photos and draws figures well.
  • Mistral: optional. When Gemini is busy, Học nè still has another AI to carry on.
  • Groq: optional. Very fast, good for solving questions and rating their difficulty.

More AIs are better: when one runs out of requests, Học nè moves on to another AI in the group by itself.

Gemini

  1. Open aistudio.google.com/apikey and sign in with your Google (Gmail) account.

  2. The first time, Google asks whether you accept its terms. Tick the first box, then press Continue.

  3. Press Create API key at the top right.

  4. Name the key, for example Học nè, then press Create key.

  5. The key appears. Press Copy key to copy it.

Done! Now add the key to Học nè.

Mistral

  1. Open admin.mistral.ai/organization/api-keys and sign in (with Google or an email). Create the key on this exact page, Organization API keys.

  2. Press New key.

  3. Name it, for example Học nè. Leave the other fields as they are, then press New key.

  4. Press Copy key to copy it. A new key may take a few minutes to start working.

  5. Worth doing too: press Privacy in the left column, then turn off Allow the use of your API calls to train Mistral's AI models. Mistral then won't use what you send to train its AI.

Done! Now add the key to Học nè.

Groq

  1. Open console.groq.com/keys. Press Continue with Google to sign in with Gmail (or use GitHub or an email).

  2. Press Create API Key.

  3. Name it, for example Học nè. If you see a Verify you are human box, tick it. Then press Submit.

  4. Press Copy to copy it. Groq shows the key only once.

Done! Now add the key to Học nè.

Add the key to Học nè

  1. Open Settings, then choose AI configuration.
  2. No AI group yet? Press Create, then Create in the box that opens.
  3. Press Add AI and choose where you just got the key: Gemini, Mistral or Groq.
  4. Paste the key into the Key field, then press Add. Học nè tries the key before saving it.

The first time you use Học nè, the guide walks you through these steps. You can open it again from Help → Getting started.

Other AI providers

Already have a key for ChatGPT (OpenAI), Claude (Anthropic) or another service? In Add AI, press Have another AI key? and choose where the key is from. These keys usually need a paid plan from that provider:

Contact the Học nè team

Still need an answer? Leave your question below and the Học nè team will get back to you as soon as possible.

Loading support form