Models

deepseek-v4.1-flash (DeepSeek V4.1 Flash), deepseek-v4-pro (DeepSeek V4 Pro), glm-5.3-flash (GLM-5.3 Flash), and glm-5.3 (GLM-5.3) each have a 1M-token context window and fixed per-token prices.

On this page

Laras Router serves four models: deepseek-v4.1-flash (DeepSeek V4.1 Flash), deepseek-v4-pro (DeepSeek V4 Pro), glm-5.3-flash (GLM-5.3 Flash), and glm-5.3 (GLM-5.3). Send the one you want as "model": "deepseek-v4.1-flash", "model": "deepseek-v4-pro", "model": "glm-5.3-flash", or "model": "glm-5.3".

A model ID names the model and its version, the way the model's maker writes it. Each model also answers to its family name, which always points to the newest version of that family:

Model IDFamily name (always the newest version)
deepseek-v4.1-flashdeepseek-flash
deepseek-v4-prodeepseek-pro
glm-5.3-flashglm-flash
glm-5.3glm-pro

Both names are the same model at the same price, and a reply's model field names the ID you sent. Use the model ID to stay on a version; use the family name to move to a new version as soon as we serve it (announced in the changelog). GET /v1/models lists the model IDs only.

deepseek-v4.1-flash

PropertyValue
Model IDdeepseek-v4.1-flash
VersionDeepSeek V4.1 Flash — the current release of the V4.1 Flash generation; upgrades are announced in the changelog
Context window1M tokens
Maximum output384K tokens (max_tokens up to 384,000)
Default output cap8,192 tokens when max_tokens is omitted
InputText and images (PNG, JPEG, GIF, WebP, sent inline as base64)
StreamingYes, Server-Sent Events
Tool callingYes
JSON outputYes, response_format: {"type": "json_object"}
ReasoningYes, returned in reasoning_content

deepseek-v4-pro

PropertyValue
Model IDdeepseek-v4-pro
VersionDeepSeek V4 Pro — the current release of the V4 Pro generation; upgrades are announced in the changelog
Context window1M tokens
Maximum output384K tokens (max_tokens up to 384,000)
Default output cap8,192 tokens when max_tokens is omitted
InputText only
StreamingYes, Server-Sent Events
Tool callingYes
JSON outputYes, response_format: {"type": "json_object"}
ReasoningYes, returned in reasoning_content

glm-5.3-flash

PropertyValue
Model IDglm-5.3-flash
VersionGLM-5.3 Flash, by Z.ai — the current release of the GLM-5.3 Flash generation; upgrades are announced in the changelog
Context window1M tokens
Maximum output128K tokens (max_tokens up to 128,000)
Default output cap8,192 tokens when max_tokens is omitted
InputText and images (PNG, JPEG, GIF, WebP, sent inline as base64)
StreamingYes, Server-Sent Events
Tool callingYes
JSON outputYes, response_format: {"type": "json_object"}
ReasoningYes, always on, returned in reasoning_content and billed as output. It cannot be turned off: reasoning_effort ("minimal", "low", "medium", "high", "max") sets how much it reasons, and without it the model reasons as much as at "max". Use "minimal" or "low" for short, fast answers, and stream: true for long reasoning answers. glm-5.3-flash may use a few reasoning tokens even with thinking off (thinking: {"type": "disabled"} or reasoning_effort: "none"); use max_tokens of 256 or more

glm-5.3

PropertyValue
Model IDglm-5.3
VersionGLM-5.3, by Z.ai — the current release of the GLM-5.3 generation; upgrades are announced in the changelog
Context window1M tokens
Maximum output128K tokens (max_tokens up to 128,000)
Default output cap32,768 tokens when max_tokens is omitted
InputText only
StreamingYes, Server-Sent Events
Tool callingYes
JSON outputYes, response_format: {"type": "json_object"}
ReasoningYes, always on, returned in reasoning_content and billed as output. glm-5.3 always reasons: reasoning_effort ("low", "high", "max") sets how much, and without it the model reasons as much as at "max". With thinking off (thinking: {"type": "disabled"} or reasoning_effort: "none") it uses minimal reasoning, billed as output. Use "low" for short, fast answers, and stream: true for long reasoning answers

Pricing

Prices are per 1M tokens, in USD, and do not change by time of day.

Token typedeepseek-v4.1-flashdeepseek-v4-proglm-5.3-flashglm-5.3
Input, cache hit$0.010$0.060$0.040$0.312
Input, cache miss$0.400$1.760$0.200$1.680
Output (including reasoning)$1.600$5.280$0.667$5.280

The provider caches repeated prompt prefixes automatically. The usage object of each response tells you how many input tokens were a cache hit (prompt_cache_hit_tokens) and how many were not (prompt_cache_miss_tokens). See Billing for a worked example.

Images have no separate price: they are billed as input tokens at the model's input price. On deepseek-v4.1-flash one image costs roughly 190 to 1,000 input tokens: the provider downscales large images, so a large screenshot comes to about 1,000 tokens. On glm-5.3-flash a 1080p screenshot is about 2,700 tokens and the largest images about 8,000 (about $0.0016 at its input price).

Output length

If you omit max_tokens, the gateway applies a cap of 8,192 output tokens, or 32,768 on glm-5.3, which always reasons at full effort unless you ask for less. Reasoning tokens count toward the cap, so a long answer to a hard question can stop with finish_reason: "length". Raise max_tokens when you expect long output — up to 384,000 on the DeepSeek models and 128,000 on the GLM models. A larger value is rejected with 400 max_tokens_exceeded; it is never reduced silently.

max_completion_tokens is accepted as an alias. If you send both, the smaller value applies.

Images

deepseek-v4.1-flash and glm-5.3-flash accept images in a user message and inside tool results. Send each image inline as base64, as an image_url part with a data URL:

{"type": "image_url", "image_url": {"url": "data:image/png;base64,..."}}

PNG, JPEG, GIF, and WebP are accepted. GET /v1/models shows which models take images: capabilities.vision is true for deepseek-v4.1-flash and glm-5.3-flash, and false for deepseek-v4-pro and glm-5.3.

  • An image URL (https://...) is rejected with 400 unsupported_image_url. Download the image and send it as base64.
  • On glm-5.3-flash, an image inside a tool result is moved into a user message right after the tool results, and the tool result says [image moved to the next message]: the model reads images reliably there, not inside a tool result. You are billed for the same image either way.
  • An image sent to deepseek-v4-pro or glm-5.3 is rejected with 400 unsupported_content. An image inside a tool result is replaced with the text [image omitted: this model does not accept image input] instead, so an agent session keeps working.
  • Nothing is held or charged for a rejected request.

What is not supported

  • Documents. No model reads PDFs or other documents. See the Messages API reference for how document blocks are handled.
  • Other model IDs. Names such as deepseek-v4-flash, z-ai/glm-5.3-flash, or gpt-4o return 404 model_not_found. Use deepseek-v4.1-flash, deepseek-v4-pro, glm-5.3-flash, or glm-5.3.

List models from the API

GET /v1/models returns the models your key can call, in the OpenAI list format:

bash
curl https://api.larasrouter.com/v1/models \
  -H "Authorization: Bearer $LARAS_API_KEY"
Response
{
  "object": "list",
  "data": [
    {
      "id": "deepseek-v4.1-flash",
      "object": "model",
      "created": 1760241600,
      "owned_by": "larasrouter",
      "context_length": 1000000,
      "max_output_tokens": 384000,
      "default_output_tokens": 8192,
      "capabilities": { "streaming": true, "tools": true, "json_output": true, "thinking": true, "vision": true },
      "pricing": { "version": "deepseek-flash-2026-09-v1", "currency": "USD", "unit_tokens": 1000000, "input_cache_hit": "0.010", "input": "0.400", "output": "1.600" }
    }
  ]
}

Each entry also carries the model's limits (context_length, max_output_tokens, default_output_tokens), its capabilities, and its pricing in USD per 1M tokens, so a tool can configure itself from the API. See the List models reference for the full object.

Updated Nov 2026