v1
protected
model-specs

List Model Specs

List model specifications with optional filtering.

get/v1/model-specs/

Query parameters

provider_spec_idstring uuid nullable
is_activeboolean nullable

Response

Successful Response

context_windowinteger required
created_atstring required
default_context_strategystring nullable required
descriptionstring nullable required
display_namestring required
idstring required
input_cost_per_tokennumber nullable
is_activeboolean required
max_output_tokensinteger nullable
model_namestring required
output_cost_per_tokennumber nullable
provider_keystring nullable
provider_namestring nullable
provider_spec_idstring required
supports_function_callingboolean nullable
supports_reasoningboolean nullable
supports_visionboolean nullable
updated_atstring required

Changes

Changed in 4 of the 20 revisions of this API.269

    • the input_cost_per_token response's property default value 0 was removed for the status 200

      response-property-default-value-removed

    • the max_output_tokens response's property default value 4096 was removed for the status 200

      response-property-default-value-removed

    • the output_cost_per_token response's property default value 0 was removed for the status 200

      response-property-default-value-removed

    • the items/created_at response's property type/format changed from string/date-time to string/ for status 200

      response-property-type-changed

    • the items/updated_at response's property type/format changed from string/date-time to string/ for status 200

      response-property-type-changed

    • added the optional property items/input_cost_per_token to the response with the 200 status

      response-optional-property-added

    • added the optional property items/max_output_tokens to the response with the 200 status

      response-optional-property-added

    • added the optional property items/output_cost_per_token to the response with the 200 status

      response-optional-property-added

    • added the optional property items/supports_function_calling to the response with the 200 status

      response-optional-property-added

    • added the optional property items/supports_reasoning to the response with the 200 status

      response-optional-property-added

    • added the optional property items/supports_vision to the response with the 200 status

      response-optional-property-added

    This revision also has 8 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • removed the optional property items/input_cost_per_token from the response with the 200 status

      response-optional-property-removed

    • removed the optional property items/max_output_tokens from the response with the 200 status

      response-optional-property-removed

    • removed the optional property items/output_cost_per_token from the response with the 200 status

      response-optional-property-removed

    • removed the optional property items/supports_function_calling from the response with the 200 status

      response-optional-property-removed

    • removed the optional property items/supports_reasoning from the response with the 200 status

      response-optional-property-removed

    • removed the optional property items/supports_vision from the response with the 200 status

      response-optional-property-removed

    This revision also has 133 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog