Ask the data

Ask a question in plain language. An AI model writes a database query, the query runs here in your browser on the HERD data (FY 2012 to FY 2024), and the model explains the result. You can always open the query to see exactly what was counted. AI can misread a question or write the wrong query, so check important numbers on the Trends or Compare pages.

No key yet. Your key stays in this browser tab and goes only to the provider it belongs to.
Don't have one? Get a free Gemini key
  1. Go to Google AI Studio and sign in with a Google account.
  2. On a first visit, a key is created for you. Otherwise, click Create API Key and choose a project with no billing account. A project linked to billing is charged at paid rates.
  3. Copy the key, paste it in the box above, and click Use key.

Free keys need no credit card, but they have limits per minute and per day, and one question can use several requests. Google may also use what you send to improve its products, and its reviewers may read it, so don't enter anything sensitive.

Which AI model answers

Your key decides the model:

  • Google Gemini key: , the best model on Google's free tier.
  • Anthropic key: . Billed per question.
  • OpenAI key: . Billed per question.
  • University of Idaho MindRouter key: .

Anthropic and OpenAI questions are billed to the account that owns the key, and a chat subscription doesn't include an API key.

How the key is handled
  • Kept in this tab. The key is held in session storage and clears when the tab closes.
  • No server of ours. This site is static files on GitHub Pages, so nothing here stores or sees your key.
  • Sent only to its provider, chosen by prefix. sk-ant- goes to Anthropic and other sk- keys go to OpenAI. mr2_ goes to University of Idaho MindRouter through the AI4RA lakehouse proxy. Anything else is treated as a Google Gemini key.
  • Removed from links. A key passed as ?key= on any page is read once and removed from the address bar.

Answers come from NCSES HERD Survey public microdata, FY 2012-2024, nominal dollars, with institution type from the 2021 Carnegie Classification. Queries are read-only and run in your browser; only your question and the query results (plus any help documents the model reads to answer a question about using the site) are sent to the AI provider you chose.