Models

Model catalogue

Every model has its own id. Put the id in the model field of either API style. The catalogue and prices below come straight from the API.

kd-auto

Not sure which model to pick?

Send kd-auto instead of a model id: a light request goes to a fast model, a heavy one to the strongest, and a busy model hands the request to the next. You pay the price of the model that answered.

"model": "kd-auto"
How kd-auto chooses →
Prices in USD per 1 million tokens (input / output)
ModelDescriptionAPI stylesContext · max outputCapabilitiesPrice
Loading models…

Full prices, including cache reads and writes: pricing.

List models from the API

GET /v1/models lists the models your key may use, in the Chat Completions list format (add ?format=messages for the Messages format).

GET /public/v1/models needs no key and returns the public catalogue with prices: the same data as this page.

Model ids in the docs

GET /v1/models
curl "$KEYDAN_API_BASE/v1/models" \
  -H "Authorization: Bearer $KEYDAN_API_KEY"