Skip to content

AI Configuration (OpenAI)

Quizora uses OpenAI's GPT-4o model to generate quiz questions from a text prompt.


Getting an OpenAI API Key

  1. Go to platform.openai.com and create an account.
  2. Navigate to API Keys in the left sidebar.
  3. Click Create new secret key and copy it.
  4. Add billing credits to your OpenAI account (AI generation is billed per token by OpenAI).

Entering the API Key in Quizora

  1. Go to Admin → Settings → AI
  2. Paste your OpenAI API key into the API Key field
  3. Click Save

That's it — creators can now use AI generation immediately.


Credit System

Quizora includes a built-in AI credit system so you can control how much free generation each creator gets, and charge for generations beyond the free quota.

How It Works

SituationWhat Happens
Creator has free credits remainingGeneration is free — no charge
Free credits exhaustedDeducted from creator's wallet balance
Wallet is emptyGeneration is blocked until the creator tops up

Configuring Credits (Admin Settings)

SettingDescriptionDefault
Free Generations per New UserHow many AI prompts each new creator gets for free10
Charge per GenerationAmount deducted per prompt beyond the free quota₹5.00

These defaults apply to all creators. You can override them per subscription plan — for example, Pro plan creators might get 50 free generations per month.


Per-Plan AI Quotas

When you create or edit a subscription plan (Admin → Plans), you can set:

  • AI Free Generations — monthly free quota for this plan tier
  • AI Charge per Generation — custom per-prompt rate for this plan tier

Monitoring AI Usage

Go to Admin → AI Generation Logs to see:

  • Which creators are generating the most
  • Token usage per generation
  • Success/failure status
  • Any error messages

This is useful for identifying high-usage accounts or debugging generation issues.


No OpenAI Key?

Quizora works without an OpenAI key. Creators can still build quizzes manually using the question editor. AI generation simply won't be available until a key is configured.

Quizora — AI-Powered Quiz Platform