Setup
gdm routes your prompts to an AI model. You need at least one API key — pick the provider that suits your region and budget.
All providers work the same way inside gdm. Pick one, grab a key, and run gdm login.
Create an xAI account
Go to console.x.ai and sign in with your X (Twitter) account or email.
Open the API section
In the left sidebar choose API → API Keys.
Create a key
Click Create API Key, give it a name (e.g. gdm-local), and copy the key — it starts with xai-.
Store it in gdm
gdm login grok # Paste your key when prompted — it is saved to your OS keychain
Open Google AI Studio
Go to aistudio.google.com/apikey and sign in with your Google account.
Create an API key
Click Create API key. Choose an existing Google Cloud project or let Studio create one for you.
Copy and store the key
gdm login gemini # Paste your key when prompted — it starts with AIza…
Create an OpenAI account
Go to platform.openai.com and sign up or log in.
Add a payment method
Navigate to Settings → Billing and add a card. You only pay for what you use.
Create an API key
Go to platform.openai.com/api-keys → Create new secret key. Copy it — it starts with sk-.
Store it in gdm
gdm login codex
If your country restricts direct access to xAI Grok — or if you'd rather not manage API keys yourself — the gdmcode.com proxy routes requests through our relay server. One token gives you access to all supported models.
proxy.gdmcode.com instead of directly to xAI or OpenAI. The proxy server (hosted in an unrestricted region) forwards the call and returns the response. Your key never leaves your machine.Get a proxy token from gdmcode.com (sign-up → dashboard).
Store the token
gdm login proxy # Paste your gdmcode.com proxy token when prompted
Enable the proxy from inside the REPL
gdm › /proxy on Proxy enabled: https://proxy.gdmcode.com/v1
Or set it permanently in .gdm/config.toml:
[proxy] enabled = true url = "https://proxy.gdmcode.com/v1"
gdm responds in whatever language you write in — no configuration needed.
gdm "corrige le bug de connexion dans auth.py"Run gdm health to confirm everything is configured correctly before your first session.
fail, your key is missing or invalid. Re-run gdm login <provider> and try again.