gitaiflow / User guide / Model Selection

Model Selection

For free models only:

1 min readApplies to v1.1.3
On this page ▾
  1. Browse the live OpenRouter catalog
  2. Compatibility rule
  3. Free-model rule
  4. Selecting a model
  5. Why the catalog is live

Browse the live OpenRouter catalog

bash
gitaiflow --list-models
bash
gitaiflow --list-models --free-only

For complete JSON metadata:

bash
gitaiflow --list-models --json

Compatibility rule

A model is considered compatible when its architecture metadata reports:

text
text input
text-only output

Free-model rule

--free-only additionally requires:

text
prompt price = 0
completion price = 0

Selecting a model

Set the returned model ID as:

bash
AI_PROVIDER=custom
AI_BASE_URL=https://openrouter.ai/api/v1
AI_API_KEY=<your-key>
AI_MODEL=<model-id>

Alternatively, openrouter/free can be used as an OpenRouter free-model router.

Why the catalog is live

OpenRouter's /models response is the source of truth. gitaiflow intentionally avoids maintaining a hard-coded model list so newly added or removed models are reflected automatically.