Model Info

You can request model information with the model endpoint at /{type}/models. It will provide a JSON object of models. The following is the format of a model:

{
	"model_name": {
		"name": "Common name",
    "endpoint": "model/endpoint",
    "pricing": {
      "modeldiv": int,
      "promptm": int
    }
  }
}

You may understand how the name and endpoint work, but pricing is confusing. When modeldiv and promptm are int, the model is priced based on OpenAI's tokens. If they are None, then they use a separate pricing format which you can find at Pricing.