GET
/
v1
/
models
/
prices
curl --request GET \
  --url https://api.pulze.ai/v1/models/prices
[
  {
    "model": "<string>",
    "provider": "<string>",
    "owner": "<string>",
    "namespace": "<string>",
    "at": "<string>",
    "context_window": 123,
    "until": "2023-11-07T05:31:56Z",
    "description": "<string>",
    "url": "<string>",
    "api_target": "",
    "deprecated_on": "2023-11-07T05:31:56Z",
    "parent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "parent": {
      "supports_functions": true,
      "supports_json": true,
      "supports_n": true,
      "supports_penalties": true,
      "supports_stream": true,
      "supports_vision": true,
      "completion_token_cost": 123,
      "prompt_token_cost": 123,
      "base_cost": 123,
      "price_unit": "tokens",
      "model": "<string>",
      "provider": "<string>",
      "owner": "<string>",
      "namespace": "<string>",
      "at": "<string>",
      "context_window": 123,
      "until": "2023-11-07T05:31:56Z",
      "description": "<string>",
      "url": "<string>",
      "api_target": "",
      "deprecated_on": "2023-11-07T05:31:56Z",
      "parent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "parent": {},
      "prompt_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "is_rag": true,
      "is_ft": true,
      "is_open_source": true,
      "is_gdpr": true,
      "is_chat": true,
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "app_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "org_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "added_by": "<string>",
      "added_on": "2023-11-07T05:31:56Z",
      "modified_on": "2023-11-07T05:31:56Z",
      "is_public": true,
      "is_test_model": true,
      "is_pulze_owner": true,
      "default_active": true
    },
    "prompt_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "completion_token_cost": 123,
    "prompt_token_cost": 123,
    "base_cost": 123,
    "price_unit": "tokens"
  }
]

Response

200 - application/json
Successful Response
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

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
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