Skip to main content
Connect Aider to Floodgate with the OpenAI-compatible API. Use the openai/ prefix before the Floodgate model ID.

Before you connect

Add funds to your balance, then configure your API key with routing groups and a spending limit. Use Model Square to find models, prices, and supported APIs.

1. Install Aider

2. Configure the endpoint and API key

3. Start Aider

Change to your git repository and prefix the Floodgate model ID with openai/:

Other models

To use another model:
Aider may show a notice when it does not recognize a model ID. Check your base URL, API key, and model ID against this guide and your key’s model list.

Generate images, speech, and video

Add a script, function, or MCP tool that calls Floodgate’s image, speech, or video API and saves the result. Your coding client can call this tool while you work. See Function tools for tool setup and Coding tools for the media workflow. The endpoint variables and model prefix follow Aider’s compatible API guide.