SumoRouter
SumoRouter Customer API

Models

Server

The model catalog with prices and capabilities.


List models (OpenAI / Anthropic format)

GET
https://ai.brandkamu.id
/v1/models

Every active model. No authentication is required (SDKs may send their key anyway; it is ignored). Returns the OpenAI list with OpenRouter-style pricing (decimal strings, USD per token) plus mode, supports_reasoning and supports_vision. When the request carries an anthropic-version header, the Anthropic list shape is returned instead. The catalog is cached for up to 60 seconds.

List models (OpenAI / Anthropic format) › Headers

anthropic-version
​string

Sent by Anthropic SDKs (e.g. 2023-06-01). On GET /v1/models its presence switches the response to the Anthropic list shape.

List models (OpenAI / Anthropic format) › Responses

200

The model list.

oneOf
Exactly one variant must match.

Decision Table

VariantMatching Criteria
type = object · requires: object, data
type = object · requires: data, has_more
Properties for OpenAI list:
object
​string · const · required
Const value: list
​OpenAIModel[] · required

Get the model catalog (dashboard format)

GET
https://ai.brandkamu.id
/api/models

Public. Every active model with prices in nano-USD per 1M tokens and capabilities. Ordered by owned_by, then slug. Cached for up to 60 seconds.

Get the model catalog (dashboard format) › Responses

200

The catalog.

A catalog model (dashboard format). Prices are nano-USD per 1M tokens.
slug
​string · required

The id to send as model.

name
​string · required
description
​string · required
owned_by
​string · required
context_length
​integer · required
prompt_price_nano
​integer · int64 · required

Input price, nano-USD per 1M tokens.

completion_price_nano
​integer · int64 · required

Output price, nano-USD per 1M tokens.

cache_read_price_nano
​integer | null · int64 · required

Cached-input price, nano-USD per 1M tokens; null = same as the input price.

created
​integer · int64 · required

Unix seconds when the model was added.

mode
​string · enum · required

Which endpoints the model works on.

Enum values:
chat
embedding
decision
supports_reasoning
​boolean · required

Accepts reasoning_effort (thinking).

supports_vision
​boolean · required

Accepts image input.