POST
/
v1
/
internal
/
models

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
is_public
boolean | null
default_active
boolean | null
context_window
integer | null
url
string | null
description
string | null
until
string | null
owner
string | null
model
string | null
at
string | null
provider
string | null
prompt_token_cost
string | null
completion_token_cost
string | null
base_cost
string | null
default:
0
deprecated_on
app_id
string | null
org_id
string | null
is_chat
boolean | null
is_gdpr
boolean | null
is_open_source
boolean | null
supports_functions
boolean | null
default:
false
supports_penalties
boolean | null
default:
false
supports_n
boolean | null
default:
false
supports_stream
boolean | null
default:
false
supports_json
boolean | null
default:
false

Response

200
application/json
supports_functions
boolean
required

True if the model supports function/tool call

supports_json
boolean
required

True if the model supports json-formatted responses

supports_n
boolean
required

True if the model supports n and best_of -- i.e, multiple responses

supports_penalties
boolean
required

True if the model supports frequency_penalty and presence_penalty

supports_stream
boolean
required

True if the model supports streaming responses

supports_vision
boolean
required

True if the model supports image recognition (vision)

completion_token_cost
number
required

The cost of a completion token, in USD

prompt_token_cost
number
required

The cost of a prompt token, in USD

base_cost
number
required

A (usually 0) cost added on top of a request. Some models charge per request, not only per token

price_unit
enum<string>
required

The unit of billing for this model

Available options:
tokens,
characters
model
string
required

The name of the model. Can belong to many providers

namespace
string
required

The fully qualified (namespaced) model name

context_window
integer
required

The max_tokens for this model

until
string | null
required

The most recent data this model has been trained with

description
string
required

A description of the model

url
string
required

A URL to the model's page or more informatino

is_rag
boolean
required

Whether it's rag-tuned or not

is_ft
boolean
required

Whether it's fine-tuned or not

is_open_source
boolean
required

True if the model is open source

is_gdpr
boolean
required

True if the model complies with GDPR

is_chat
boolean
required

True if the model is of type Chat Completions, False if it's a Text Completion model.

id
string | null
required

The ID of this model

app_id
string | null
required

The app_id that has access to this model (if only one)

org_id
string | null
required

The org_id that has acccess to this model

added_by
string | null
required

The user (auth0_id) who created the model

added_on
string | null
required

When the model was added. Auto-populated in DB

modified_on
string | null
required

When the model was updated. Auto-populated in DB

is_public
boolean
required

True if the model is publicly accessible to all

is_test_model
boolean
required

Test models are only used for testing and do not perform any LLM requests

is_pulze_owner
boolean
required

Model has been created and shared by Pulze

default_active
boolean
required

This determines if the model will be available + pre-selected when users create new apps.

provider
string | null

The provider for the model.

owner
string | null

The owner of the model. Sometimes, for a provider/model combination, many instances exist, trained on different data

at
string | null

Extra model settings inferred from namespace

api_target
string
default:

Store the name of the model the API requires

deprecated_on
string | null

For models whose deprecation date is known (past or future), to show errors and deny service, or show warnings

parent_id
string | null

The ID of parent, in case it's not a base model

parent
object | null
prompt_id
string | null

The ID of prompt, used for this model