Qwenqwen3.8-flash
Alibaba's fast multimodal Qwen model, pairing strong reasoning and generation with low cost
$0.09/ 1M input tokens-40%$0.15official price
- 1M context
- Up to 128K output
- Reads images
- Modality
- Text
- Endpoint
- /v1/chat/completions
- Model ID
- qwen3.8-flash
- Provider
- Qwen
Qwen3.8-Flash API overview
Documented endpoint
Requests go to /v1/chat/completions in Qwen's own format; /v1/responses and /v1/messages are converted to it.
Model provider
Qwen3.8-Flash is published by Qwen and is called through the API model ID qwen3.8-flash.
Output and limits
1,000,000-token context, up to 983,616 of it prompt; up to 131,072 output tokens; text and images in, text out.
Qwen3.8-Flash API pricing
Qwen3.8-Flash is billed 40% below the official list price on every metered dimension below.
| Item | ArgoLink rate | Official price | You save |
|---|---|---|---|
| Input tokens | $0.09 / 1M tokens | -40% | |
| Cached input tokens | $0.0096 / 1M tokens | -40% | |
| Cache write tokens | $0.12 / 1M tokens | -40% | |
| Output tokens | $0.282 / 1M tokens | -40% |
Reasoning tokens are billed as output tokens.
Qwen3.8-Flash API reference
Quick start
Create an API key in the console, then use the Base URL, endpoint, and request body shown on this page.
curl -sS https://argolink.io/v1/chat/completions \
-H "Authorization: Bearer $ARGOLINK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "qwen3.8-flash",
"messages": [{"role": "user", "content": "Explain what this model is good at in one sentence."}],
"stream": false
}'
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["ARGOLINK_API_KEY"],
base_url="https://argolink.io/v1",
)
response = client.chat.completions.create(
model="qwen3.8-flash",
messages=[{"role": "user", "content": "Explain what this model is good at in one sentence."}],
)
print(response.choices[0].message.content)
import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.ARGOLINK_API_KEY,
baseURL: "https://argolink.io/v1",
});
const response = await client.chat.completions.create({
model: "qwen3.8-flash",
messages: [{ role: "user", content: "Explain what this model is good at in one sentence." }],
});
console.log(response.choices[0].message.content);
Protocols
Chat Completions
Recommended: the model's own format
Qwen's own format: every field reaches the model exactly as sent.
curl https://argolink.io/v1/chat/completions \
-H "Authorization: Bearer $ARGOLINK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "qwen3.8-flash",
"messages": [{"role": "user", "content": "Compare optimistic and pessimistic locking in three bullet points."}]
}'
curl https://argolink.io/v1/chat/completions \
-H "Authorization: Bearer $ARGOLINK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "qwen3.8-flash",
"messages": [{
"role": "user",
"content": [
{"type": "text", "text": "What does this chart show?"},
{"type": "image_url", "image_url": {"url": "https://example.com/chart.png"}}
]
}]
}'
| Field | Value |
|---|---|
messages | system, user, assistant and tool turns; a user turn may carry image_url parts, each a public HTTPS URL or a data URL |
reasoning_effort | not supported; leave it out |
max_completion_tokens | up to 131,072 |
stream | true streams server-sent events |
service_tier | not supported; leave it out |
Thinking is on by default. Send enable_thinking: false to turn it off. Leave room in max_tokens: thinking counts toward it, and a small cap can end the reply before any answer.
Responses and Anthropic Messages
Converted to Chat Completions
Codex, Claude Code and other clients that send these formats reach the model through Chat Completions, which the gateway converts them to.
curl https://argolink.io/v1/responses \
-H "Authorization: Bearer $ARGOLINK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "qwen3.8-flash",
"input": "Compare optimistic and pessimistic locking in three bullet points."
}'
curl https://argolink.io/v1/messages \
-H "x-api-key: $ARGOLINK_API_KEY" \
-H "anthropic-version: 2023-06-01" \
-H "Content-Type: application/json" \
-d '{
"model": "qwen3.8-flash",
"max_tokens": 4000,
"messages": [{"role": "user", "content": "Compare optimistic and pessimistic locking in three bullet points."}]
}'
| Field | Value |
|---|---|
input | text and input_image parts; input_file parts are dropped |
messages | text, tool and base64 image blocks; image URLs are dropped |
Web search and other server-side tools are dropped in both conversions.
Qwen3.8-Flash full request parameters
| Parameter | Type | Requirement | What it does |
|---|---|---|---|
model | string | required | The catalog identifier for this page: qwen3.8-flash. |
messages | array | required | System, user, assistant and tool turns. User content may carry image_url parts, each a public HTTPS URL or a data URL. |
reasoning_effort | string | not supported | This model takes no effort; leave it out. |
max_completion_tokens | integer | optional | Caps the answer: up to 131,072. max_tokens works too. |
tools · tool_choice | array · string or object | optional | Function tools and how the model picks one. |
stream | boolean | optional | true streams chunks whose choices[].delta carry the text. |
service_tier | string | not supported | There is no faster tier for this model; leave it out. |
Qwen3.8-Flash API compared with similar models
| Model | Model ID | Provider | Rate | Best for |
|---|---|---|---|---|
| Qwen3.8-Flash | qwen3.8-flash | Qwen | $0.09 / 1M input tokens | Alibaba's fast multimodal Qwen model, pairing strong reasoning and generation with low cost |
| GPT-6 Astra | gpt-6-astra | OpenAI | $2.3 / 1M input tokens | OpenAI's most capable model, built for the hardest end-to-end work |
| Claude Opus 5 | claude-opus-5 | Anthropic | $1.75 / 1M input tokens | For complex agentic coding and enterprise work |
| Claude Fable 5.1 | claude-fable-5-1 | Anthropic | $3.5 / 1M input tokens | Anthropic's model for demanding reasoning and long-horizon agentic work |
More models from this provider
Other models in this modality
- GPT-6 AstraOpenAI's most capable model, built for the hardest end-to-end work$2.3 / 1M input tokens
- Claude Opus 5For complex agentic coding and enterprise work$1.75 / 1M input tokens
- Claude Fable 5.1Anthropic's model for demanding reasoning and long-horizon agentic work$3.5 / 1M input tokens
- Claude Fable 5Anthropic's Fable model for long-running agentic work$3.5 / 1M input tokens
Qwen3.8-Flash API FAQ
How do I call Qwen3.8-Flash?
Create an API key in the console and POST https://argolink.io/v1/chat/completions with model set to qwen3.8-flash and your key in the Authorization header as a Bearer token. /v1/responses and /v1/messages work too; the gateway converts them to Chat Completions.
How much does Qwen3.8-Flash cost?
$0.09 per million input tokens and $0.282 per million output tokens, 40% below the official rates. Cached input costs $0.0096 per million. Reasoning tokens are billed as output tokens.
What are Qwen3.8-Flash's context and output limits?
1,000,000-token context, up to 983,616 of it prompt; up to 131,072 output tokens; text and images in, text out.
How do I control Qwen3.8-Flash's reasoning?
It takes no reasoning effort. Thinking is on by default. Send enable_thinking: false to turn it off.
Can Qwen3.8-Flash read images?
Yes: send them as image_url parts, each a public HTTPS URL or a data URL, on /v1/chat/completions. On Anthropic Messages only base64 images carry over.