Skip to main content
Google AI Studio provides access to Google’s Gemini models through an OpenAI-compatible API. It offers a free tier that works well with Coreply for everyday use.
AI Studio’s free tier has rate limits. If you see the error Unexpected JSON token at offset 0: Expected start of the object '{', but had '[' instead — this is a rate limit response from Google, not a bug in Coreply. Wait a moment and try again, or switch to a paid tier.

Setup

1

Get your API key

Go to aistudio.google.com/apikey and create a new API key.
2

Enter your credentials in Coreply

Open Coreply’s settings and fill in the following values:
FieldValue
API URLhttps://generativelanguage.googleapis.com/v1beta/openai/
API KeyYour key from AI Studio
Model NameSee recommended models below
3

Choose a model

The following models are recommended for use with Coreply on AI Studio:
gemini-2.0-flash
gemini-2.0-flash-lite
gemini-2.5-flash-lite

Caveats

gemini-2.5-flash reasons by default in AI Studio. This adds latency before each suggestion and is not recommended for real-time use.
The gemma-3 family in AI Studio does not support system instructions, which Coreply requires. These models are not compatible.