01
provider
set provider id, api, endpoint
Presets set base URL, API type and defaults. Choose custom for your own endpoint.
Wire protocol pi should speak: Chat Completions, Responses, or Anthropic Messages.
02
model
model id + optional limits
Sent to the API as-is; select via pi --provider <id> --model <id> or /model.
Defaults: contextWindow 128000, maxTokens 16384. Set explicit values to help pi budget correctly.