Scope: These limits are enforced by Lithune. When you use the service through OpenRouter, OpenRouter may apply its own limits as well. OpenRouter listing is pending; pricing and public access will be available there after launch.
Model
| Model | Qwen3.8 27B (Text and image input) |
|---|---|
| OpenRouter model ID | qwen/qwen3.8-27b |
| Context window | 256k tokens (prompt and output together) |
| Maximum output | 128k tokens |
| Default output limit | 16k tokens when max_tokens is not set |
| Quantization | Text weights 5.7 bpw on average*, vision encoder BF16 (16 bpw) |
| KV cache | FP8 |
| API | OpenAI-compatible chat completions (/v1/chat/completions) and text completions (/v1/completions), streaming supported |
| Hardware location | Türkiye |
* Bits per weight averaged over all text weights. Transformer layers are INT4 with group size 32: 4.65 bpw including scales and zero points. Token embeddings and the output head are BF16. The multi-token prediction layer is not used.
Input
- Text and images are the only accepted inputs. PDFs, audio, video and other files are not accepted; render PDF pages to images first.
- Images are sent as
image_urlcontent parts, either as an HTTPS URL or as a base64 data URL. - Text completions (
/v1/completions) take a plain-textprompt. Images and the thinking controls below work only with chat completions. - Formats: PNG, JPEG, WEBP, GIF. The format is detected from the image bytes, not from the declared type. Animated GIF, WEBP and PNG images contribute only their first image. Transparent areas are filled with white.
- Up to 64 images per request, counted across all messages.
- Up to 64 MiB per image and 128 MiB for all images in a request, counted after base64 decoding. Base64 images also count toward the 100 MiB request body limit, so the 128 MiB total can be reached only when some images are sent as URLs.
- Up to 64M pixels per source image.
- Each image is resized for the model to between 64k and 16M pixels, with both sides a multiple of 32 and the aspect ratio kept as closely as possible. Aspect ratios above 200:1 are rejected. The image's token cost follows this processed size.
image_url.detailmay beauto,loworhigh; it does not change processing. Any other value is rejected.- The whole request body may be up to 100 MiB.
Image URLs
- Only HTTPS URLs on public internet addresses are fetched.
- URLs may be up to 4 KiB long, and up to 3 redirects are followed.
- Each image must be downloaded within 15 seconds, and all images of a request within 60 seconds.
- Downloads identify themselves with the user agent
Lithune-Media-Acquirer/1.
Thinking
- Thinking is on by default, with effort
xhigh. - Choose the effort with
reasoning.effortorreasoning_effort. Accepted values: none, low, medium, xhigh.noneturns thinking off;reasoning.enabled: falsedoes the same. - The reasoning is returned separately from the answer. Hide it with
include_reasoning: falseorreasoning.exclude: true. - Thinking budgets (
reasoning.max_tokens) are not supported. - Reasoning tokens count toward
max_tokensand are reported inusage.completion_tokens. With thinking on, the 16k-token default can be used up by reasoning alone, leaving the answer empty or cut off (finish_reason: "length"); setmax_tokenshigher for hard tasks.
Sampling parameters you leave unset take these defaults:
| Parameter | Thinking on | Thinking off |
|---|---|---|
temperature | 1.0 | 0.7 |
top_p | 0.95 | 0.80 |
top_k | 20 | 20 |
min_p | 0.0 | 0.0 |
presence_penalty | 0.0 | 1.5 |
repetition_penalty | 1.0 | 1.0 |
These defaults follow the model card's recommendation. frequency_penalty is not part of it and stays at 0 unless you set it.
Parameters
| Parameter | Accepted values |
|---|---|
temperature | 0 to 2 |
top_p | 0.01 to 1 |
top_k | 0 or more; 0 considers all tokens |
min_p | 0 to 1 |
frequency_penalty | -2 to 2 |
presence_penalty | -2 to 2 |
repetition_penalty | 0.01 to 2 |
logit_bias | -100 to 100 per token |
stop | Up to 4 sequences |
max_tokens, max_completion_tokens | 1 to 128k |
seed | Any 64-bit signed integer |
tools, tool_choice | Function calling |
response_format | JSON mode and JSON Schema structured outputs |
Values outside these ranges are rejected with an error instead of being clamped. If the prompt and max_tokens together exceed the 256k-token context window, the output limit is reduced to the remaining context instead of the request being rejected; a prompt that leaves no room for output is rejected. n greater than 1, logprobs, prompt_logprobs and echo are not supported. Some other inference-engine-specific request fields, such as request_id or return_token_ids, are rejected; fields the API does not use are ignored.
Prompt caching
Prompt prefixes are cached automatically; no request option is needed. The number of prompt tokens served from the cache is reported in usage.prompt_tokens_details.cached_tokens. Cached blocks stay only in volatile memory; see the Data Policy.