Skip to content
Browse the docs

API reference · Models

List models

GEThttps://api.useunbound.ai/v1/models

Returns the models this key can call. A model appears only when it has a provider route that is authorized for API resale, configured, tested and priced, so this list can be shorter than the one in the app. Prices are per one million tokens, as decimal strings.

Headers

  • Authorizationstringrequired

    Bearer <key>, with a key from Settings → API.

Response

The models available to this key.

  • objectstringrequired

    One oflist

  • dataobject[]required

    • idstringrequired

      The id to send as model.

    • objectstringrequired

      One ofmodel

    • createdintegerrequired

      Unix time the model was added.

    • owned_bystringrequired

      The lab that develops the model.

    • namestring

      Display name.

    • typestring

      Model category.

      One oftextimagevideottssttmusicsfxembeddingdecision

    • context_lengthinteger | null

      Context window in tokens, when verified.

    • max_output_tokensinteger | null

      Largest output the model can produce, when verified.

    • input_modalitiesstring[]

    • output_modalitiesstring[]

    • capabilitiesobject

      Verified capabilities, for example tools, vision or reasoning.

    • privacystring

      The privacy level its route can substantiate.

      One ofanonymizedprivatee2ee

    • simulatedboolean

      Present and true only for development models that call no real provider.

    • pricingobject

      Prices in USD as decimal strings. Null when the model is not priced by that meter.

      • currencystring

        One ofUSD

      • unitstring

        One ofper_1m_tokens

      • inputstring | null

        Per one million tokens.

      • outputstring | null

        Per one million tokens.

      • cached_inputstring | null

        Per one million tokens.

      • charactersstring | null

        Per one million characters said.

      • audio_minutestring | null

        Per minute of sound.

Errors

  • 401The API key is missing, revoked or expired.
  • 403The key does not have the scope this endpoint needs.
  • 429Too many requests for this key. Retry after the number of seconds in the Retry-After header.

All errors use the envelope described in the introduction. None of them result in a charge.