Seedance 2.5 — 15% below official pricing, 58% cheaper than fal. Wan 3.0 — 42% below official list price. Magi-2 is live. Seedream 5.5 — 50% off.

Guides, updates and engineering notes from ArgoLink on building with one API for every AI model. Blog

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.

ItemArgoLink rateOfficial priceYou save
Input tokens$0.09 / 1M tokens$0.15-40%
Cached input tokens$0.0096 / 1M tokens$0.016-40%
Cache write tokens$0.12 / 1M tokens$0.2-40%
Output tokens$0.282 / 1M tokens$0.47-40%

Reasoning tokens are billed as output tokens.

Create an API key

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.

Base URL

  • https://argolink.io/v1For OpenAI SDKs and OpenAI-compatible clients.
  • https://argolink.ioFor Anthropic SDKs, Claude Code and other Anthropic Messages clients. Leave out /v1: the client adds /v1/messages itself.

Endpoints

  • POSTRecommended/v1/chat/completionsQwen's own format.
  • POSTResponses/v1/responsesConverted to Chat Completions.
  • POSTAnthropic Messages/v1/messagesConverted to Chat Completions.

Authentication

Send your API key as a Bearer token in the Authorization header.

POST /v1/chat/completions
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
  }'

Protocols

Chat Completions

Recommended: the model's own format

Qwen's own format: every field reaches the model exactly as sent.

POST /v1/chat/completions
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."}]
  }'
With an imagePOST /v1/chat/completions
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"}}
      ]
    }]
  }'
FieldValue
messagessystem, user, assistant and tool turns; a user turn may carry image_url parts, each a public HTTPS URL or a data URL
reasoning_effortnot supported; leave it out
max_completion_tokensup to 131,072
streamtrue streams server-sent events
service_tiernot 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.

ResponsesPOST /v1/responses
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."
  }'
Anthropic MessagesPOST /v1/messages
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."}]
  }'
FieldValue
inputtext and input_image parts; input_file parts are dropped
messagestext, 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

ParameterTypeRequirementWhat it does
modelstringrequiredThe catalog identifier for this page: qwen3.8-flash.
messagesarrayrequiredSystem, user, assistant and tool turns. User content may carry image_url parts, each a public HTTPS URL or a data URL.
reasoning_effortstringnot supportedThis model takes no effort; leave it out.
max_completion_tokensintegeroptionalCaps the answer: up to 131,072. max_tokens works too.
tools · tool_choicearray · string or objectoptionalFunction tools and how the model picks one.
streambooleanoptionaltrue streams chunks whose choices[].delta carry the text.
service_tierstringnot supportedThere is no faster tier for this model; leave it out.

Create an API key

Qwen3.8-Flash API compared with similar models

ModelModel IDProviderRateBest for
Qwen3.8-Flashqwen3.8-flashQwen$0.09 / 1M input tokensAlibaba's fast multimodal Qwen model, pairing strong reasoning and generation with low cost
GPT-6 Astragpt-6-astraOpenAI$2.3 / 1M input tokensOpenAI's most capable model, built for the hardest end-to-end work
Claude Opus 5claude-opus-5Anthropic$1.75 / 1M input tokensFor complex agentic coding and enterprise work
Claude Fable 5.1claude-fable-5-1Anthropic$3.5 / 1M input tokensAnthropic's model for demanding reasoning and long-horizon agentic work

More models from this provider

Other models in this modality

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.

Create an API key

Welcome Builders

Who runs ArgoLink, refunds and how your data is handled

Request Refund

Submit a request and review its status in Top-up Orders.