GET
/
v1
/
models
curl --request GET \
  --url https://api.lunary.ai/v1/models
[
  {
    "id": "<string>",
    "name": "<string>",
    "pattern": "<string>",
    "unit": "TOKENS",
    "inputCost": 123,
    "outputCost": 123,
    "tokenizer": "<string>",
    "startDate": "2023-11-07T05:31:56Z",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  }
]

Response

200 - application/json
Successful response
id
string
name
string
pattern
string
unit
enum<string>
Available options:
TOKENS,
CHARACTERS,
MILLISECONDS
inputCost
number
outputCost
number
tokenizer
string
startDate
string
createdAt
string
updatedAt
string