Prerequisites
- Node.js 18+ — verify with
node --version - A KiosAPI API key (starts with
sk-) from the Dashboard → Token Management
Usage
Switching Models
Change the default model in~/.gemini/settings.json:
Available Models
Troubleshooting
Authentication failed
- Ensure you selected API Key (not Google Login) during setup
- Verify your API key is correct and starts with
sk- - Re-run
geminiand re-select the auth method if needed
Connection error
- Check that
GOOGLE_GEMINI_BASE_URLin~/.gemini/.envishttps://kiosapi.com/— with a trailing slash - Ensure
base_urlinsettings.jsonalso includes the trailing slash - Verify your network connection
Model not found
- Check the model ID matches exactly (e.g.,
gemini-2.5-pro, notgemini-pro) - Confirm the model is available on KiosAPI by checking the models list