[Get a Gemini API Key](https://aistudio.google.com/apikey)

Gemini models can be used to advance foundational research across disciplines.
Here are ways that you can explore Gemini for your research:

- **Analyze and control model outputs** : For further analysis, you can examine a response candidate generated by the model using tools like `CitationMetadata`. You can also configure options for model generation and outputs, such as `responseSchema`, `topP`, and `topK`. [Learn more](https://ai.google.dev/api/generate-content).
- **Multimodal inputs** : Gemini can process images, audio, and videos, enabling a multitude of exciting research directions. [Learn more](https://ai.google.dev/gemini-api/docs/vision).
- **Long-context capabilities** : Gemini 3.0 Flash and Pro come with a 1-million-token context window. [Learn more](https://ai.google.dev/gemini-api/docs/long-context).
- **Grow with Google**: Quickly access Gemini models through the API and Google AI Studio for production use cases. If you're looking for a Google Cloud-based platform, Gemini Enterprise Agent Platform can provide additional supporting infrastructure.

To support academic research and drive cutting-edge research, Google provides
access to Gemini API credits for scientists and academic researchers through the
[Gemini Academic Program](https://ai.google.dev/gemini-api/docs/gemini-for-research#gemini-academic-program).

## Get started with Gemini

The Gemini API and Google AI Studio help you start working with Google's latest
models and turn your ideas into applications that scale.

### Python

    from google import genai

    client = genai.Client()
    response = client.models.generate_content(
        model="gemini-3.8-flash",
        contents="How large is the universe?",
    )

    print(response.text)

### JavaScript

    import { GoogleGenAI } from "@google/genai";

    const ai = new GoogleGenAI({});

    async function main() {
      const response = await ai.models.generateContent({
        model: "gemini-3.8-flash",
        contents: "How large is the universe?",
      });
      console.log(response.text);
    }

    await main();

### Java

    import com.google.genai.Client;
    import com.google.genai.gaos.models.operations.CreateInteractionRequestBody;
    import com.google.genai.gaos.models.interactions.CreateModelInteraction;
    import com.google.genai.gaos.models.interactions.InteractionsInput;
    import com.google.genai.gaos.models.interactions.Model;

    Client client = new Client();
    CreateModelInteraction req = CreateModelInteraction.builder()
        .model(Model.of("gemini-3.8-flash"))
        .input(InteractionsInput.of("How large is the universe?"))
        .build();
    var interaction = client.interactions.create(CreateInteractionRequestBody.of(req)).interaction().get();
    System.out.println(interaction.outputText().orElse(""));

### REST

    curl "https://generativelanguage.googleapis.com/v1beta/models/gemini-3.8-flash:generateContent" \
    -H "x-goog-api-key: $GEMINI_API_KEY" \
    -H 'Content-Type: application/json' \
    -X POST \
    -d '{
      "contents": [{
        "parts":[{"text": "How large is the universe?"}]
        }]
       }'

## Featured academics

![](https://ai.google.dev/static/site-assets/images/diyi-yang.png) "Our research investigates Gemini as a visual language model (VLM) and its agentic behaviors in diverse environments from robustness and safety perspectives. So far, we have evaluated Gemini's robustness against distractions such as pop-up windows when VLM agents perform computer tasks, and have leveraged Gemini to analyze social interaction, temporal events as well as risk factors based on video input."
[Diyi Yang's Website](https://cs.stanford.edu/~diyiy/) ![](https://ai.google.dev/static/site-assets/images/lerrel-pinto.png) "Gemini Pro and Flash, with their long context window, have been helping us in OK-Robot, our open-vocabulary mobile manipulation project. Gemini enables complex natural language queries and commands over the robot's "memory": in this case, previous observations made by the robot over a long operation duration. Mahi Shafiullah and I are also using Gemini to decompose tasks into code that the robot can execute in the real world."
[Lerrel Pinto's Website](https://www.lerrelpinto.com/)

## Gemini Academic Program

Qualified academic researchers (such as faculty, staff, and PhD students) in [supported
countries](https://ai.google.dev/gemini-api/docs/available-regions) can apply to receive Gemini API
credits and higher rate limits for research projects. This support enables
higher throughput for scientific experiments and advances research.

We are particularly interested in the research areas in the following section,
but we welcome applications from diverse scientific disciplines:

- **Evaluations and benchmarks**: Community-endorsed evaluation methods that
  can provide a strong performance signal in areas such as factuality, safety,
  instruction following, reasoning, and planning.

- **Accelerating scientific discovery to benefit humanity**: Potential
  applications of AI in interdisciplinary scientific research, including areas
  such as rare and neglected diseases, experimental biology, materials science,
  and sustainability.

- **Embodiment and interactions**: Utilizing large language models to
  investigate novel interactions within the fields of embodied AI, ambient
  interactions, robotics, and human-computer interaction.

- **Emergent capabilities**: Exploring new agentic capabilities required to
  enhance reasoning and planning, and how capabilities can be expanded during
  inference (e.g., by utilizing Gemini Flash).

- **Multimodal interaction and understanding**: Identifying gaps and
  opportunities for multimodal foundational models for analysis, reasoning,
  and planning across a variety of tasks.

Eligibility: Only individuals (faculty members, researchers or equivalent)
affiliated with a valid academic institution, or academic research organization
can apply. Note that API access and credits will be granted and removed
at Google's discretion. We review applications on a monthly basis.

### Start researching with the Gemini API

[Apply now](https://forms.gle/HMviQstU8PxC5iCt5)