Query Hugging Face router metadata for provider availability, pricing, latency,
and capabilities. Router provider metadata is available for OpenAI-compatible
models; non-router task models return an empty tibble.
Usage
hf_list_providers(model_id, token = NULL)
Arguments
- model_id
Character string. Model ID.
- token
Character string or NULL. API token for authentication.
Value
A tibble with one row per provider.
Examples
if (FALSE) { # \dontrun{
hf_list_providers("Qwen/Qwen2.5-72B-Instruct")
} # }