Skip to main content

openrouter_quota

Function openrouter_quota 

Source
pub async fn openrouter_quota(
    __arg0: State<UnifiedAppState>,
) -> Result<impl IntoResponse, StatusCode>
Expand description

GET /models/openrouter/quota

Queries https://openrouter.ai/api/v1/auth/key with the stored API key and returns the current usage / limit information.