Get started in 3 steps
This guide will get you from zero to making your first proxied ChatGPT request through Codex-LB.Run Codex-LB with Docker
The fastest way to get started is with Docker. Run these commands to launch Codex-LB:Verify it’s running:You should see:
Ports:
2455— Main API and dashboard1455— OAuth callback endpoint (required for account linking)
Add a ChatGPT account
Open the dashboard and add your first account:
- Navigate to http://localhost:2455
- Click Accounts in the sidebar
- Click Add Account
- Complete the OAuth flow to link your ChatGPT account
Make your first request
Now test the proxy with a simple request:You should receive a response from ChatGPT proxied through Codex-LB. Check the Request Logs page in the dashboard to see your request details.
API key authentication is disabled by default. To enable it, go to Settings → API Key Auth in the dashboard.
What just happened?
You’ve successfully:- ✅ Deployed Codex-LB with Docker
- ✅ Linked a ChatGPT account via OAuth
- ✅ Proxied a request through Codex-LB
- ✅ Tracked usage in the dashboard
Next steps
Configure a client
Set up Codex CLI, OpenCode, or another OpenAI-compatible client
Create API keys
Enable authentication and create API keys with rate limits
Add more accounts
Pool multiple ChatGPT accounts for higher capacity
Advanced installation
Explore uvx, local development, and production deployment options
Try with the OpenAI SDK
If you have the OpenAI Python SDK installed, you can test Codex-LB immediately:Troubleshooting
Port already in use
Port already in use
If port 2455 or 1455 is already taken, map to different ports:
Account link failed
Account link failed
If OAuth fails:
- Verify port 1455 is accessible
- Check that your firewall allows connections to localhost:1455
- Try accessing http://localhost:1455/auth/callback directly (should return 404 if reachable)
No models available
No models available
Models are fetched from your linked ChatGPT accounts. If no models appear:
- Ensure at least one account is successfully linked
- Wait a moment for the model sync to complete
- Check the account status in the dashboard
Need more help?
Visit our full troubleshooting guide for common issues and solutions