Prerequisites
- A Mac, Linux, or Windows machine with a terminal
- A GMI Cloud account at console.gmicloud.ai
- About 5 minutes
Step 1. Install Droid
Run this command in your terminal:PATH. Append it to your shell config and reload:
~/.zshrc instead of ~/.bashrc if you’re on zsh. On Linux, also install xdg-utils sudo apt-get install xdg-utils) so the browser sign-in works.
Verify the install worked:
Step 2. Sign in and choose BYOK
Launch Droid for the first time:Step 3. Connect GMI Cloud
Store your GMI Cloud key as an environment variable so it stays out of the config file:~/.factory/settings.json:
model to the exact model ID from the Text catalog. The example uses GLM-5.2; swap in any model from the table in Step 4. Add more entries to the customModels array to keep several models on hand.
Note: baseUrl is always https://api.gmi-serving.com/v1, and provider is generic-chat-completion-api because GMI Cloud is OpenAI-compatible. If ~/.factory/settings.json already has settings, add the customModels key alongside them instead of overwriting the file.
GMI Cloud is now connected.
Step 4. Pick a model
Start Droid in any project:| Model | Best for |
|---|---|
| Qwen3-Coder-480B | Best coding quality |
| DeepSeek V4 Pro | Complex reasoning & hard problems |
| Claude Sonnet 4.6 | Balanced quality + speed |
| Claude Opus 4.7 Fast | Fast, high-quality responses |
| DeepSeek V4 Flash | Lightweight, quick tasks |
Step 5. Start coding
You’re all set. Type any task in the prompt and hit Enter:Useful commands
| Command | What it does |
|---|---|
/model | Switch the active model |
/limits | Manage plan and usage preferences |
/auto | Set how much Droid can do without asking |
/model and the warning no longer applies to your session.
Next steps
- Try Claude Code, Codex, or Cursor with the same GMI account.
- Browse models in the Text catalog.
- Factory docs: docs.factory.ai