Seeing models and prices in the terminal: aio models and aio model

All in One AIThe aio Command·· 7 views· 3 min read

Before you chat or generate, it helps to know which models there are and what they cost. In the terminal, two commands do that: aio models and aio model. Neither spends credits.

The list: aio models

aio models
aio models --type image
aio models --search kimi

It shows a table with the type, the name and the price in credits of each model.

Option What for
--type One type only: text, image, video, audio or agent. With agent you see your agents.
--search Looks for a model, for example kimi.
--json The list as JSON, to use in another program.

One model: aio model

aio model moonshotai/kimi-k2.7-code

It shows one model. For image, video and voice models, it also shows the input fields you can use with --opt in aio generate. The path, for a video:

1 aio models --type video and pick a model by price.
2 Copy the id and run aio model <id> to see the fields.
3 Generate with that model and the fields you want: aio generate video "description" --model <id> --opt field=value.

The prices

They are the same as on the Models tab of All in One AI and in the API list, GET /v1/models. For generations, the price is per image, per second of video or per generation, depending on the model. In chat, tokens are paid at the model price and, with a Coding Plan, the plan models spend points instead of credits.

Check the price before a long video or many images. aio balance shows how much balance you have.

The right id

The id in the list is what goes in --model, in aio chat and in aio generate. Write it in full, with the slash. If aio says the model does not exist (404), look up the id with aio models --search.

The default chat model appears in aio help chat. To use another one without writing --model, put its id in the AIO_MODEL variable.

Want to see every model and price? Open the Models tab in All in One AI.

See All in One AI

SEE ALSO

Choosing a text model: price, context window and what each one is for

Choosing an image model in All in One AI: the Models tab, the price and the options

Generating images, videos and voice with aio generate: --opt, --out and --model

aio chat options: --system, --max-tokens, stdin and the chat in the terminal

All in One AI

RECOMMENDED PRODUCT

Web hosting with cPanel

Domain and SSL included, daily backups and the panel you already know. from 321,75 MT/mo (3-year plan, with coupon)

See plans
Was this answer helpful? Your answer helps us improve this article.