Pick a model

Note: Run on your machine. Try it Yourself does not call the models CLI.

List what you can use

The models command shows IDs grouped by provider. Filter when the list is long.

Example

praisonai models list
praisonai models list --provider openai
praisonai models list gpt

Describe and validate

Describe one ID before you put it on an Agent. Validate catches typos early.

Example

praisonai models describe gpt-4o-mini
praisonai models validate gpt-4o-mini

Example explained

  • describe — Shows capabilities, limits, and cost notes when available.
  • validate — Exits with an error if the ID is unknown.

Set it on an Agent

Pass the model ID as llm when you create the Agent in Python.

Example

from praisonaiagents import Agent

agent = Agent(
    name="Helper",
    instructions="Answer in one short paragraph.",
    llm="gpt-4o-mini",
)

Reference: documentation