Skip to content
Hayonix

API reference · Schema

FineTuneBaseModel

  • objectstringrequired

    Always `fine_tune_base_model`: the type of this object

    One offine_tune_base_model

  • idstringrequired

    Unique ID (`mdl_…`)

    ID with prefix mdl_

  • modelstringrequired

    Model ID (`publisher/name`)

  • display_namestringrequired

    Name to show people

  • licensestring | nullrequired

    Licence of the model's weights; null when not recorded

  • methodsarray of stringrequired

    Training methods the model supports

  • adaptersarray of stringrequired

    Adapter types the model supports

  • max_seq_lengthintegerrequired

    Longest example in tokens; longer ones are truncated

  • hardwarearray of stringrequired

    SKUs it trains on (first = default)

  • priceTrainingPrice | any JSON | nullrequired

    The training price per token in the price book in force; null when fine-tuning this model is not priced (creating a job is refused)

    Show 5 fields of price
    • unit_pricestringrequired

      Integer nano-USD as a decimal string

      pattern ^-?[0-9]+$

    • unit_quantitystringrequired

      Tokens the unit price is for

    • per_million_tokensstringrequired

      Integer nano-USD as a decimal string

      pattern ^-?[0-9]+$

    • display_unitstring | nullrequired

      Label of the unit for display; null when none is set

    • price_book_versionintegerrequired

      Version of the price book the price comes from

  • pricing_placeholderbooleanrequired

    True while the model's prices are development placeholders

Example
{
  "object": "fine_tune_base_model",
  "id": "mdl_01jc5zq4m8k3v6x9t2w7r0b1e4",
  "model": "string",
  "display_name": "string",
  "license": "string",
  "methods": [
    "supervised"
  ],
  "adapters": [
    "lora"
  ],
  "max_seq_length": 1,
  "hardware": [
    "string"
  ],
  "price": {
    "unit_price": "1500000000",
    "unit_quantity": "string",
    "per_million_tokens": "1500000000",
    "display_unit": "string",
    "price_book_version": 1
  },
  "pricing_placeholder": true
}

Used by