MuiRouter

Gemini API Gateway

Use Gemini via one API

MuiRouter translates standard OpenAI-shaped chat requests into Gemini's native format and back, so you can call Gemini without learning a new SDK. Use native passthrough for the features the translation layer doesn't cover yet.

Everything you need to call Gemini

OpenAI-shaped requests, Gemini underneath

Send a standard chat completions request and MuiRouter translates it to Gemini's native format automatically, then translates the response back.

Native passthrough for full coverage

Tool calls and multimodal content aren't on the compatibility layer yet — reach them through native passthrough with the same key.

Long-context pricing that adapts

Eligible Gemini models switch to a long-context rate automatically once a request crosses the provider's context threshold, so short prompts don't overpay.

One wallet for every model

Mix Gemini calls with Claude, GPT or Grok under the same key, usage log and balance.

Gemini API gateway FAQ

Can I call Gemini with my existing OpenAI client?
Yes, for standard text chat completions — MuiRouter translates the request and response shapes automatically.
Does the OpenAI-compatible endpoint support tool calls or images with Gemini?
Not yet on the compatibility layer. Use native passthrough to reach those parts of Gemini's API with the same MuiRouter key.
How does long-context pricing work for Gemini?
Eligible models bill at a long-context rate once a request crosses the provider's token threshold — see the pricing page for current rates.

Start calling Gemini today

Create a free account, grab a key, and route your first Gemini request in minutes.