Skip to main content

Get model pricing

Get model pricing

Query Parameters
workspaceId cuid2 — REQUIRED

Possible values: Value must match regular expression ^[0-9a-z]+$

search string
limit integer

Possible values: 1 ≤ value ≤ 50

Responses
200

Successful response

Schema — OPTIONAL
providers object[]
id string
name string
api string — OPTIONAL
doc string — OPTIONAL
models object[]
id string
name string
attachment boolean — OPTIONAL
reasoning boolean — OPTIONAL
temperature boolean — OPTIONAL
tool_call boolean — OPTIONAL
knowledge string — OPTIONAL
release_date string — OPTIONAL
last_updated string — OPTIONAL
modalities object — OPTIONAL
input string[] — OPTIONAL
output string[] — OPTIONAL
open_weights boolean — OPTIONAL
cost object — OPTIONAL
input number — OPTIONAL
output number — OPTIONAL
cache_read number — OPTIONAL
limit object — OPTIONAL
context number — OPTIONAL
output number — OPTIONAL
400

Invalid input data

Schema — OPTIONAL
message string

The error message

code string

The error code

issues object[] — OPTIONAL

An array of issues that were responsible for the error

message string
401

Authorization not provided

Schema — OPTIONAL
message string

The error message

code string

The error code

issues object[] — OPTIONAL

An array of issues that were responsible for the error

message string
403

Insufficient access

Schema — OPTIONAL
message string

The error message

code string

The error code

issues object[] — OPTIONAL

An array of issues that were responsible for the error

message string
404

Not found

Schema — OPTIONAL
message string

The error message

code string

The error code

issues object[] — OPTIONAL

An array of issues that were responsible for the error

message string
500

Internal server error

Schema — OPTIONAL
message string

The error message

code string

The error code

issues object[] — OPTIONAL

An array of issues that were responsible for the error

message string