LibreChat Free API: FreeTheAI Custom Endpoint (librechat.yaml)
LibreChat adds FreeTheAI as a custom endpoint in librechat.yaml. With fetch on, it lists every model your key can use.
Before you start
- Create a free account and an API key. Create an account
- Check in once a day to unlock the free models. Daily check-in
- Pick a model ID from the models page. Browse models
Settings
- baseURL
https://api.freetheai.org/v1- apiKey
${FREETHEAI_API_KEY}- Model
fta/zai/glm-5.3
Steps
Add your key to .env
Put your key in LibreChat's .env file.
bashFREETHEAI_API_KEY=ftai_your_key_hereAdd the endpoint to librechat.yaml
Add FreeTheAI under endpoints.custom.
yamlendpoints: custom: - name: 'FreeTheAI' apiKey: '${FREETHEAI_API_KEY}' baseURL: 'https://api.freetheai.org/v1' models: default: ['fta/zai/glm-5.3'] fetch: true titleConvo: true titleModel: 'current_model' modelDisplayLabel: 'FreeTheAI'Restart LibreChat
Restart the server (or the Docker containers) so it reads the new config, then pick FreeTheAI in the endpoint menu.
How this guide was checked: Checked against LibreChat's librechat.example.yaml (custom endpoints) on 2026-09-29.
Tips
- With Docker, make sure librechat.yaml is mounted into the container.
Troubleshooting
LibreChat does not show the FreeTheAI endpoint. Why?
LibreChat only reads librechat.yaml at startup. Restart it and check the logs for YAML errors.
Common errors
- 401: the key is wrong or incomplete. Paste the whole key.
- 403: check in for today, or confirm your email.
- 404: the model ID or URL is wrong.
- 429: daily limit reached, or too many requests at once.