Configuration (Getting an API Key)
Gamedev AI does not have a proprietary backend to steal your data. It makes direct calls (switchable) to the top LLM servers you prefer to use. All indexed knowledge is saved locally on your machine for safety!
For the plugin to speak and respond to your code, we need to provide an API Key.
Using Google Tools (Gemini) - Free
The most popular, incredibly smart, and free way to use the plugin today is by using Google AI Studio with Gemini 2.5 Pro or Gemini 2.5 Flash. Gemini 3.0 and 3.1 pro are paid.
- Access Google AI Studio.
- Log in with your Google account (no credit card required on the Free Tier).
- Click on "Get API key" or "Create API key".
- Copy the generated long key
(example: AIzaSyD......).
Connecting the Key in the Editor
- Click on the hidden top tab called "Settings" inside the Gamedev AI panel in Godot.
- Make sure the selected Provider in the dropdown menu is "Gemini".
- In the API Key text field, paste your entire key, making sure there are no extra spaces.
- Type your preferred model in the Model Name field (the default is usually
gemini-2.5-proorgemini-2.5-flash).
💡 Golden Tip!

Using OpenRouter or OpenAI
Preference for GPT-5.4, Claude Opus 4.6, Qwen3 Coder. Gamedev AI supports the OpenAI/OpenRouter ecosystem without changing a single line of code:
- Go back to the Settings tab.
- Change the Provider in the dropdown from
GeminitoOpenAI / OpenRouter. - Add your OpenAI or OpenRouter key.
- In the extra field called
Base URL, enter:- For OpenAI:
https://api.openai.com/v1 - For OpenRouter:
https://openrouter.ai/api/v1
- For OpenAI:
- Change the model name (e.g.,
gpt-5.4oranthropic/claude-opus-4.6).
We are ready to chat!
