ProviderSortConfig - Python SDK

ProviderSortConfig method reference

The Python SDK and docs are currently in beta. Report issues on GitHub.

The provider sorting strategy (price, throughput, latency)

Fields

FieldTypeRequiredDescriptionExample
byOptionalNullable[components.By]The provider sorting strategy (price, throughput, latency)price
partitionOptionalNullable[components.Partition]Partitioning strategy for sorting: “model” (default) groups endpoints by model before sorting (fallback models remain fallbacks), “none” sorts all endpoints together regardless of model.model