thairouter
Overview

Models

Open-weight models, one endpoint, one credit balance.

Catalog

Live models can be called now. Coming-soon entries are listed so you can plan; the API returns 404 for them until they are served. Prices are Thai baht per one million tokens. Image, video and audio models will get their own OpenAI-style endpoints and per-output pricing at launch; they are never routed through chat completions.

Model idNameStatusModalityContextMax outputInput / Output
thairouter/glm-5.3-flashGLM 5.3 FlashliveText393.2K131.1K฿5 / ฿15
thairouter/deepseek-v4-proDeepSeek V4 Pro 0813coming soonText131.1K8.2KTBA
thairouter/qwen3.8-27bQwen3.8 27Bcoming soonText131.1K8.2KTBA
thairouter/inklingInklingcoming soonText131.1K8.2KTBA
thairouter/nemotron-3-ultraNemotron 3 Ultracoming soonText131.1K8.2KTBA
thairouter/muse-glimmerMuse Glimmer (high)coming soonText131.1K8.2KTBA
thairouter/gpt-oss-120bgpt-oss-120b (high)coming soonText131.1K8.2KTBA
thairouter/flux-2-klein-4bFLUX.2 [klein] 4Bcoming soonImage · text / image → imageTBA
thairouter/z-image-turboZ-Image Turbocoming soonImage · text → imageTBA
thairouter/qwen-imageQwen-Imagecoming soonImage · text → imageTBA
thairouter/hidream-i1HiDream-I1 Fullcoming soonImage · text → imageTBA
thairouter/wan-2.2-a14bWan 2.2 A14Bcoming soonVideo · text / image → videoTBA
thairouter/ltx-2.5LTX-2.5coming soonVideo · text / image → video + audioTBA
thairouter/hunyuanvideo-1.5HunyuanVideo 1.5coming soonVideo · text / image → videoTBA
thairouter/moss-tts-v1.5MOSS-TTS v1.5coming soonAudio · text → speechTBA
thairouter/qwen3-asr-1.7bQwen3-ASR 1.7Bcoming soonAudio · speech → textTBA
thairouter/typhoon-whisper-large-v3Typhoon Whisper large-v3coming soonAudio · speech → textTBA
thairouter/ace-step-v1ACE-Step v1 3.5Bcoming soonAudio · text → musicTBA

Model ids

Ids are namespaced thairouter/<model>. Send the full id in model. Responses echo the same id, never the upstream weight name. Ids are stable; when a newer revision replaces a model we add a new id rather than changing what an existing one points at.

Listing models

GET/v1/modelsAPI key

Returns only live, routable models in the OpenAI list shape, with ThaiRouter extras per entry: limits, pricing, the reasoning levels the model distinguishes (null for non-reasoning models) and the parameters it accepts.

curl https://api.thairouter.ai/v1/models -H "Authorization: Bearer $THAIROUTER_KEY"
{
  "object": "list",
  "data": [
    {
      "id": "thairouter/glm-5.3-flash",
      "object": "model",
      "created": 0,
      "owned_by": "thairouter",
      "context_length": 393216,
      "max_output_tokens": 131072,
      "pricing": { "promptPerMillion": 5, "completionPerMillion": 15 },
      "reasoning": { "efforts": ["low", "high", "max"], "default": "max", "optional": false },
      "supported_parameters": ["max_tokens", "temperature", "top_p", "stop", "seed",
        "frequency_penalty", "presence_penalty", "response_format", "stream",
        "reasoning", "reasoning_effort"]
    }
  ]
}

Unauthenticated catalog data, including coming-soon models and live performance stats, is available at GET /public/models. See the API reference.

Limits

LimitBehaviour
context_lengthPrompt + completion tokens the model accepts. We shrink max_tokens to the room left after the prompt; a prompt that already overflows gets a 400 from the model server, passed through and refunded.
max_output_tokensHard cap on max_tokens. Larger values are silently clamped. Omitting max_tokens means "as much as the model can give": this cap, further reduced so prompt + output fit in the context window.
request body1,000,000 bytes. Larger bodies get a 413 before anything is billed.
max_tokens also sizes the credit reservation. Omitting it reserves the full output budget (over ฿1.9 on GLM 5.3 Flash at 131K output tokens) until the request settles. Set it to what you actually need. See Billing.