Model format
Models use theprovider/model syntax:
Built-in providers
Auto-inference
If you don’t specify a provider, Polpo infers it from the model name:Custom providers
Point to any OpenAI-compatible endpoint by adding a provider in.polpo/polpo.json:
"model": "my-provider/model-name"
API modes
Custom model definitions
Define model metadata for accurate context window and cost tracking:Model Gateways
Polpo can route all model calls through a gateway configured insettings.gateway (see Model Gateway). You can also register gateways as custom providers for model-level routing: