List models
const url = 'https://api.katara.com/v1/models';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.katara.com/v1/modelsThe model the API serves, katara/cortex, listed with cortex: true, the capabilities
and context its models offer, and its price ceiling (basis: ceiling). Any model name in a
request is accepted and served by it. Two more rows, katara/cortex-genius and
katara/cortex-smart, are sold only per request with x402 (billing_methods: [x402]): each
lists its first model’s price (basis: model) and its minimum_charge. Under /test/v1
those two rows carry no pricing.
Responses
Section titled “Responses”The model list.
object
object
katara/cortex, or an x402-only model: katara/cortex-genius or katara/cortex-smart.
object
True on a row Katara Cortex serves.
routed on a Cortex row: whichever provider or vendor Cortex picks answers.
Context window in tokens.
object
Reads image_url parts.
Reads input_audio parts.
Reads file parts carrying a video.
Reads file parts carrying a PDF.
Serves /v1/images/generations.
Serves /v1/images/edits.
Present when tools is true.
object
Accepted tool_choice values.
The longest tool name a candidate takes.
Cortex’s price ceiling (ceiling), or the price of an x402-only model’s own model (model), in USDC base units (6 decimals) per million tokens.
object
The token’s decimals, as a string.
One image at the default size.
For a model priced by size, the price of one image at each image_size.
object
Each picture sent to an edit.
The most pictures one edit takes.
Present on the x402-only models: they are sold only per request with x402.
The least one paid request to an x402-only model costs, in USDC base units.
Example
{ "object": "list", "data": [ { "id": "katara/cortex", "object": "model", "created": 0, "owned_by": "katara", "katara": { "cortex": true, "providerClass": "routed", "contextLimit": 1048576, "capabilities": { "workload": "chat", "tools": true, "structuredOutputs": true, "reasoning": true, "streaming": true, "vision": true, "audio": true, "video": true, "documents": true, "maxOutputTokens": 65536, "tool_contract": { "tool_choice": [ "auto", "none", "required", "named" ] } }, "pricing": { "input_price_per_mtok": "2400000", "output_price_per_mtok": "12000000", "currency": "USDC", "decimals": "6", "basis": "ceiling" } } }, { "id": "katara/cortex-genius", "object": "model", "created": 0, "owned_by": "katara", "katara": { "cortex": true, "providerClass": "routed", "contextLimit": 1048576, "capabilities": { "workload": "chat", "tools": true, "structuredOutputs": true, "reasoning": true, "streaming": true, "vision": true, "audio": true, "video": true, "documents": true, "maxOutputTokens": 65536, "tool_contract": { "tool_choice": [ "auto", "none", "required", "named" ], "max_tool_name_length": 128 } }, "pricing": { "input_price_per_mtok": "2400000", "output_price_per_mtok": "12000000", "currency": "USDC", "decimals": "6", "basis": "model" }, "billing_methods": [ "x402" ], "minimum_charge": "50000" } }, { "id": "katara/cortex-smart", "object": "model", "created": 0, "owned_by": "katara", "katara": { "cortex": true, "providerClass": "routed", "contextLimit": 1048576, "capabilities": { "workload": "chat", "tools": true, "structuredOutputs": true, "reasoning": true, "streaming": true, "vision": true, "audio": true, "video": true, "documents": true, "maxOutputTokens": 65536, "tool_contract": { "tool_choice": [ "auto", "none", "required", "named" ], "max_tool_name_length": 128 } }, "pricing": { "input_price_per_mtok": "360000", "output_price_per_mtok": "3000000", "currency": "USDC", "decimals": "6", "basis": "model" }, "billing_methods": [ "x402" ], "minimum_charge": "10000" } } ]}