Quick start
- Install the Droid CLI:
curl -fsSL https://app.factory.ai/cli | sh - Grab your NanoGPT API key from nano-gpt.com/api.
Configure NanoGPT as a custom model
Add (or merge) the following block into~/.factory/config.json:
- Replace
api_keywith your NanoGPT key and keep it secret. - If you already have other
custom_models, just append this object instead of removing the existing ones. - Keep the trailing slash on
base_url—Droid expects it when talking to OpenAI-compatible APIs.
Use it
Start a new terminal and rundroid to load the config. When prompted for a model, pick GLM 4.6 Nano (or whatever name you set in model_display_name) to use NanoGPT through Droid.