Skip to content

Change the model

Change the model

By default, PFD Toolkit uses gpt-4.1. We love this model as it balances cost, speed, and accuracy. We also recommend its smaller equivalent, gpt-4.1-mini, which offers decent performance at a lower API cost.

llm_client = LLM(
    api_key=openai_api_key,
    model="gpt-4.1"     # Set model here
)

See OpenAI's documentation for a complete list of their models.