Models
GET /v1/models lists every model you can use, with its limits and its rates in rupiah. It needs no API key, so any tool can read it. To browse the same list, go to indorouter.ai/models.
curl "https://api.indorouter.ai/v1/models?output_modalities=all"Filtering
Section titled “Filtering”Without a filter, the list has text models only, which is what most OpenAI-compatible tools expect. Add output_modalities to choose what the models produce: one or more of text, image, embeddings, speech, transcription and video, separated by commas, or all.
GET /v1/models/{model ID} returns one model, from the full list, whatever it produces:
curl https://api.indorouter.ai/v1/models/openai/gpt-4o-miniAn unknown ID returns 404 with model_not_found.
Response fields
Section titled “Response fields”The response is {"object": "list", "data": [...]}. Each entry has the fields OpenAI-compatible tools read, and an indorouter object with the rest.
| Field | Meaning |
|---|---|
id |
The model ID to put in model. |
name, description |
The model’s display name and an English description. |
serves |
What the model is for: chat, embeddings, images, speech, transcription or videos. It also tells you which endpoint to call. |
context_length |
The context window, in tokens. Empty for speech, transcription and video models. |
top_provider.max_completion_tokens |
The most output tokens one request can ask for. |
architecture |
input_modalities (for example text, image, audio, file) and output_modalities. |
pricing |
The rates of the route we use first for this model, in rupiah. See below. |
pricing_currency, pricing_unit |
Always "IDR" and "per_million". |
promo |
A cheaper rate that applies now, such as off-peak hours, or null. |
Reading the rates
Section titled “Reading the rates”Every rate is in whole rupiah per million of its own unit:
| Key | Per million |
|---|---|
prompt, completion |
input and output tokens |
input_cache_read, input_cache_write, input_cache_write_1h |
cached input tokens read, and written to a 5-minute or 1-hour cache |
image_input, image_output |
image tokens |
image_output_images |
pictures |
audio, audio_output |
audio tokens |
audio_seconds |
seconds of audio |
tts_characters |
characters of text read aloud |
video_output_seconds |
seconds of video |
So a prompt of 1790 means Rp1.790 per million input tokens, and a video_output_seconds of 7140000000 means Rp7.140 per second of video. See How billing works for the cost calculation.
The indorouter object
Section titled “The indorouter object”| Field | Meaning |
|---|---|
display |
The model’s name and its vendor’s name and slug. |
description |
Descriptions in English (en) and Indonesian (id). |
released_on, tags |
The vendor’s release date, and up to two tags for what the model is good at. |
reasoning, reasoning_off, tools |
Whether the model thinks before answering even when you don’t ask (measured live; null where not yet measured), the request fields that stop it (null where nothing does), and whether it accepts tools. Thinking counts against max_tokens and is billed. |
default_max_output_tokens, max_input_tokens |
The output cap used when you send none, and the largest prompt we accept. |
embedding_input_tokens_max, speech_input_characters_max |
Per-input limits for embeddings and speech models. |
routes |
Each way we can serve the model. |
Each route has provider, context_length, max_completion_tokens, pricing, and:
units: billing units and calculation parameters, for exampleimage_billing,audio_billing,speech_billing,max_images_per_requestoraudio_tokens_per_second.overrides: other rates and when they apply.kindsays which: a long-prompt tier withmin_prompt_tokens(a prompt that long is charged the tier’s rates for the whole request), an off-peakschedule, orbatch(only for batches).upcoming: rates that take effect on a future date,from.retires_on: the date the route stops, if one is announced.data_terms: what the provider does with your data. The same terms are on Data handling.
The list changes when we add or retire a model or change a price, so refresh your local catalog regularly.