Google: Gemini Pro 2.0 Experimental (free)

google/gemini-2.0-pro-exp-02-05:free

Gemini 2.0 Pro Experimental is a bleeding-edge version of the Gemini 2.0 Pro model. Because it's currently experimental, it will be **heavily rate-limited** by Google. Usage of Gemini is subject to Google's [Gemini Terms of Use](https://ai.google.dev/terms). #multimodal

Pricing

Price per input token: $0

Price per output token: $0

Usage Example

NOTE: BrainLink is compatible with the OpenAI API, which allows you to use the OpenAI SDK even with non-OpenAI models

import OpenAI from "openai";
const userAccessToken = await BrainLink.getUserToken();
const openai = new OpenAI({
    baseURL: "https://www.brainlink.dev/api/v1",
    apiKey: userAccessToken,
});
const completion = await openai.chat.completions.create({
    model: "google/gemini-2.0-pro-exp-02-05:free",
    messages: [
      { role: "user", content: "Hi! How are you today?" }
    ],
});