ai-models

Add Openrouter Model

Changed on
post/v1/ai-models/openrouter/add

Request

  • Base URL: https://api.kodik.ru (the document declares no server; this is the origin it was published from)
  • URL: https://api.kodik.ru/v1/ai-models/openrouter/add
  • Auth: HTTP bearer

Request body

openrouter_model_idstring required
model_namestring required
descriptionstring required
context_windowinteger required
supports_imagesboolean required
thinkingboolean required
reasoning_mandatoryboolean required
is_activeboolean
enabledboolean
needs_proxyboolean required
statusstring required
sort_orderinteger nullable required
strength_factornumber required
multipliernumber required
input_price_per_1mnumber required

Input token price per 1M tokens (USD)

output_price_per_1mnumber required

Output token price per 1M tokens (USD)

cached_input_price_per_1mnumber nullable

Cached input token price per 1M tokens (USD)

temperaturenumber nullable
top_pnumber nullable
provider_onlystring nullable

Response

Successful Response

model_idstring required
model_namestring required
providerstring required
strength_factornumber required
supports_imagesboolean required
context_windowinteger required
thinkingboolean required
reasoning_mandatoryboolean required
reasoningobject nullable
is_activeboolean required
enabledboolean required
needs_proxyboolean required
statusstring required
sort_orderinteger nullable
multipliernumber required
input_price_per_1mnumber required
output_price_per_1mnumber required
cached_input_price_per_1mnumber nullable
temperaturenumber nullable
top_pnumber nullable
provider_onlystring nullable
messagestring required

Changes

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the optional property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status