Skip to main content

Overview

Google’s Gemini models on RouterBase, served through the standard OpenAI-compatible chat completions endpoint (streaming, tool calling, vision, per-user prompt caching).

Models

  • google/gemini-2.5-pro
  • google/gemini-2.5-flash
  • google/gemini-2.5-flash-lite
  • google/gemini-3-flash-preview
  • google/gemini-3.1-pro-preview
  • google/gemini-3.1-flash-lite
Pricing is deliberately not reproduced here. Rates are set per model in the RouterBase catalogue and can be overridden per account, so any figure copied into this page is a snapshot that goes stale the next time a rate changes. Fetch the current rate for any model from the Models API:
URL-encode the slash in the model id — e.g. google%2Fgemini-2.5-pro.

Endpoint

Drop-in compatible with the OpenAI client — point it at https://routerbase.com/v1. See the full Chat Completions reference for every parameter, streaming, and prompt-caching details.

Quickstart

Live catalogue + current rates: the Models API.