Skip to main content
GET
/
pricing
/
models
List pricing models
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.phaseo.app/v1/pricing/models', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "ok": true,
  "models": [
    {}
  ]
}
  • models: one entry per visible provider/model/endpoint combination
  • meters: the active meter lines for that entry, including unit, unit size, currency, and price per unit
  • display_name: the visible public model name when the pricing rule maps to a canonical public model

Authorizations

Authorization
string
header
required

Bearer token authentication

Response

Pricing model list

ok
boolean
models
object[]
Last modified on May 19, 2026