models

Get closest competitors

Returns closest competitors for a model, enriched with live pricing data. Each competitor entry includes name, provider, current_price, last_price and price_delta_ratio. current_price is null when the competitor has no current price (retired or withdrawn); last_price then carries the last price it charged and its last day (effective_to), and is never a live price. price_delta_ratio (competitor/source current price) is null when either side has no current price or the units differ.

get/v1/models/{modelId}/competitors

Request

  • Base URL: https://modelglass-api.vercel.app
  • URL: https://modelglass-api.vercel.app/v1/models/{modelId}/competitors
  • Auth: HTTP bearer

Path parameters

modelIdstring required

Cross-host model id, e.g. 'bfl/flux-1-schnell'.

Response

Enriched competitor list (empty array if none defined for this model).

oktrue required

Changes

No recorded changes to this operation across all 1 revision of this API.