BotGem Γ AI Code With
Use AI Code With in BotGem: third-party relay setup guide
Use the AI Code With OpenAI-compatible API inside the BotGem client. Add an "OpenAI API Compatible" provider, enter your API key and Base URL, and use DeepSeek, Gemini, GLM, Kimi, and more models. This page covers the setup steps, common errors, and FAQ.
Download and install BotGem first (iOS, macOS, Android, or Windows), then add the AI Code With provider in Settings; the API key is only entered in BotGem, never on this page.
- Service Provider
- OpenAI API Compatible
- Base URL
- https://api.aicodewith.ai/v1
- API Key
- sk-xxxxxxxx
- Model
- deepseek-v4-flash
Quick setup
Add AI Code With as an OpenAI-compatible provider in BotGem settings, and use DeepSeek, Gemini, GLM, Kimi, and more models in about 3 minutes.
BotGem is a cross-platform personal AI assistant client. Add AI Code With once as an OpenAI-compatible provider, and every model is available β no plugin and no config file needed.
Download and install BotGem
Download the client for your platform (iOS, macOS, Android, or Windows) from the official website and install it. Launch BotGem and open Settings.
Add the OpenAI API Compatible provider
Open Settings β Service Provider and pick OpenAI API Compatible from the provider list. Complete three fields: β API Key β paste your AI Code With API key (it stays on your device only β never share your real key in screenshots or chats); β‘ Base URL β enter https://api.aicodewith.ai/v1 (no trailing / slash); β’ Model List β type the Model IDs you want to use.
Open Settings β Service Provider, pick OpenAI API Compatible, enter your AI Code With API key and Base URL https://api.aicodewith.ai/v1 (no trailing slash), and type the model IDs in the Model List. Check the connection and verify
Click Check Connection to test, then Save. Start a new conversation, pick a model, and send a test message. A normal reply means the setup works β then open the AI Code With usage records and match the request by time and model name.
Type the Model IDs you want into the Model List field (BotGem's OpenAI-compatible provider requires manual entry and does not auto-fetch the list; recommended models are ready to copy):
claude-sonnet-5
Claude Sonnet 5
claude-opus-5
Claude Opus 5
gpt-5.6-sol
GPT-5.6 Sol
deepseek-v4-flash
DeepSeek V4 Flash
glm-5.2
GLM 5.2
kimi-k2.7-code
Kimi K2.7 Code
The full model list follows the AI Code With docs and pricing page; this site does not maintain a separate model list.
After configuring, click Check Connection to test, then Save. Start a new conversation, pick the model, and send a message β a normal reply confirms the connection.
How does BotGem connect to AI Code With?
BotGem supports an "OpenAI API Compatible" provider. Connecting to AI Code With only needs 3 settings:
- Service Provider
- Open Settings β Service Provider, then pick OpenAI API Compatible from the provider list to add an OpenAI-compatible provider.
- API Key
- Paste your AI Code With API key. The key stays in BotGem on your device and is never sent to any third-party server.
- Base URL
- Enter https://api.aicodewith.ai/v1 (no trailing / slash). BotGem calls the AI Code With OpenAI-compatible API through this address.
Flow: BotGem client β Service Provider (OpenAI API Compatible) β AI Code With API. Everything is configured inside BotGem, no files to edit.
Frequently asked questions
New to BotGem?
BotGem is a cross-platform personal AI assistant client for iOS, macOS, Android, and Windows (no Linux build).
BotGem official website
Visit the BotGem website for platform downloads: macOS from the Mac App Store or the site, Windows from the Microsoft Store, iOS from the App Store, and Android from Google Play.
Open the BotGem websiteFull install guidance follows the BotGem official docs; this site does not host BotGem installers or images.
Common error troubleshooting
The most frequent problems fall into 4 categories.
401 / Invalid API Key
Symptom: Check Connection or sending a message returns 401, Unauthorized, or Invalid API Key.
Cause: Usually the API key is invalid, mistyped, or copied with extra characters.
- Re-paste the API key in the BotGem Service Provider settings (no extra spaces)
- Confirm the key is a valid AI Code With API key
- Click Check Connection again, then Save
Model Not Found / Wrong Model ID
Symptom: The request reports Model Not Found or an unknown model.
Cause: A Model ID in the Model List is mistyped, or the model is currently unavailable.
- Check the Model ID in the Model List matches the one on this page
- Confirm the key can access that model
- Confirm the model is available on the AI Code With pricing page
Base URL error
Symptom: Check Connection or sending a message fails.
Cause: The Base URL has a wrong path, or a trailing / slash was added.
- Confirm the value is https://api.aicodewith.ai/v1 (with /v1)
- Remove any trailing / slash from the Base URL
- Save the settings and run Check Connection again
Check Connection failed
Symptom: Check Connection fails or times out.
Cause: The Base URL is unreachable, the network is restricted, or the API key failed validation.
- Confirm the Base URL starts with https://api.aicodewith.ai/v1
- Switch network and retry
- Confirm the API key is correct, then Save
Need the full guide?
Every config parameter, the complete model list, and more troubleshooting live in the AI Code With docs.
Open the AI Code With docs