Skip to main content

Quick start

  1. Install the Droid CLI: curl -fsSL https://app.factory.ai/cli | sh
  2. 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_key with 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 run droid to load the config. When prompted for a model, pick GLM 4.7 Nano (or whatever name you set in model_display_name) to use NanoGPT through Droid.