Documentation Index
Fetch the complete documentation index at: https://docs.ntrp.io/llms.txt
Use this file to discover all available pages before exploring further.
Overview
ntrp supports any OpenAI-compatible API endpoint. Register custom models via~/.ntrp/models.json or the /add-model skill.
models.json
Create~/.ntrp/models.json with model IDs as top-level keys:
Fields
| Field | Required | Description |
|---|---|---|
| top-level key | Yes | Model identifier used in settings, e.g. deepseek-r1 |
base_url | Yes | Base URL of the OpenAI-compatible API |
context_window | Yes | Maximum context window for chat/completion models |
max_output_tokens | No | Maximum output tokens, defaults to 8192 |
api_key_env | No | Env var name containing the API key |
price_in / price_out | No | Price per million tokens for usage estimates |
embedding.<id>.dim | Yes | Embedding vector dimension for custom embedding models |
Using custom models
After adding tomodels.json, set the model in your environment or settings:
/settings.
Providers
OpenRouter
Ollama
api_key_env needed for local Ollama.
vLLM
Interactive setup
Use the/add-model skill in chat for guided model registration: