Qwen 3.8 27B API

Qwen3.8 27B is an open-weight dense vision-language model from Qwen. It accepts text, image and video inputs and is suited for coding, professional workflows, research, multimodal interaction and long-running agent tasks, with flexible thinking that can be tuned per request.

Modalities
Image, Text, VideoText
In / Out price
$0.4761/$3.39per 1M
Context window
256K tokens
Released
Aug 14, 2026

Qwen 3.8 27B overview

Qwen 3.8 27B by Alibaba Cloud

Meet Qwen3.8-27B - a multimodal open-weight model built for coding, research, and agent workflows.

Qwen 3.8 27B specs

Model ID
alibaba/qwen3.8-27b
Developer
Alibaba Cloud
Context window
262,144 tokens
Max output
131,072 tokens
Input
Image, Text, Video
Output
Text
API
OpenAI-compatible, base URL https://api.aimlapi.com/v1

What Is Qwen3.8-27B API?

Qwen3.8-27B is Alibaba Cloud's latest open-weight, dense vision-language model. It accepts text, image, and video input and is built for coding, professional workflows, research, multimodal interaction, and long-running agent tasks, with reasoning effort that can be tuned per request.

Technical Reference

Specification Details
Developer Alibaba Cloud (Qwen)
Model ID alibaba/qwen3.8-27b
Release Date August 14, 2026
Architecture Dense, open-weight vision-language model
Context Window 262,144 tokens (~256K)
Max Output Tokens 131,072
Modalities (input) Text · Image · Video
Modalities (output) Text
Capabilities Vision, tunable reasoning, streaming, structured output

Native multimodal input

Text, images, and video are all first-class inputs, so the model can be used for document QA, visual analysis, and video-aware tasks without bolting on a separate vision pipeline.

Tunable reasoning per request

Reasoning effort can be adjusted low, medium, or high depending on the task, fast and cheap for simple queries, deeper and slower when a problem needs more careful multi-step thinking.

Structured output and streaming

Responses can be returned as strict structured JSON or streamed token-by-token, making the model workable both for user-facing chat interfaces and for backend pipelines that need machine-readable output.

Multimodal document and video analysis

Native text, image, and video input means it can be used directly on screenshots, scanned documents, or video frames without a separate vision model in front of it.

Use cases

Qwen3.8 27B is documented as suited to coding and software engineering tasks, including repository-level code generation, refactoring, bug fixing, and multi-file edits.

It is also documented as suited to long-horizon agentic work, such as autonomous planning, multi-step task execution, and tool orchestration across long sessions.

The model is documented for multimodal vision-language use, including image and video understanding, OCR, visual question answering, and chart, diagram, and document understanding.

It is also documented for complex problem solving and professional work, including multi-step reasoning, mathematical problem solving, research, and decision support.

Capabilities

  • Vision
  • Reasoning
  • Streaming
  • Structured outputs

Qwen 3.8 27B benchmarks by Artificial Analysis

See how Qwen 3.8 27B compares in intelligence, generation speed, cost per task and latency. Data retrieved Nov 3, 2026.

Intelligence

Index v5.0

Speed

Output tokens / second

Cost per task

USD / benchmark task

Benchmark results

Compare 13 models available on AI/ML API across 5 independent benchmarks.

Humanity's Last Exam

Expert-written questions across academic subjects.

Qwen 3.8 27B API pricing

Qwen 3.8 27B pricing in US dollars
UsagePriceUnit
Input$0.47611M tokens
Output$3.391M tokens

Prices from the AI/ML API price list, checked on Nov 4, 2026.

Qwen 3.8 27B vs other models: token prices

AI/ML API input and output rates for 5 models, per million tokens.

AI/ML API model prices in USD per million tokens
ModelInputOutput
Qwen 3.8 27B$0.4761$3.39
Qwen3.8 Omni Flash$0.15$0.47
Qwen3.8-Flash$0.16$0.47
Qwen3.8 2.4T A95B$2.65$6.61
Qwen3.8 Max Prime$4.23$12.7

How to use the Qwen 3.8 27B API

View docs

Build with your agent

Give your agent the model details, code and documentation.

1Get your API key

Create API key
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"

2Make your first request

curl 'https://api.aimlapi.com/v1/chat/completions' \
  -H "Authorization: Bearer $AIMLAPI_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
  "model": "alibaba/qwen3.8-27b",
  "messages": [
    {
      "role": "user",
      "content": "Write a haiku about the ocean."
    }
  ]
}'

Related articles

All posts

Qwen 3.8 27B FAQ

What is the context window of Qwen 3.8 27B?

Qwen 3.8 27B has a 262,144 tokens context window and can return up to 131,072 tokens.

What inputs and outputs does Qwen 3.8 27B support?

Qwen 3.8 27B takes image, text, video as input and returns text.

What is the model ID for Qwen 3.8 27B?

Use alibaba/qwen3.8-27b as the model id. Requests go to https://api.aimlapi.com/v1/chat/completions.

When was Qwen 3.8 27B released?

Qwen 3.8 27B became available on August 14, 2026.

How much does Qwen 3.8 27B cost?

Qwen 3.8 27B costs $0.4761 input and $3.39 output per 1M tokens on AI/ML API, billed as you go with no subscription.

Does Qwen 3.8 27B support streaming?

Yes, Qwen 3.8 27B can stream responses as they are generated.

Can Qwen 3.8 27B read images?

Yes, Qwen 3.8 27B accepts image input alongside text.

Who created Qwen 3.8 27B?

Qwen 3.8 27B was built by Alibaba Cloud.

What kind of model is Qwen 3.8 27B?

It is an open-weight dense vision-language chat model from Alibaba Cloud, designed for coding, research, multimodal interaction and long-running agent tasks.

Can Qwen 3.8 27B process video as well as images?

Yes, it accepts image and video inputs in addition to text, and produces text output.

Start building with Qwen 3.8 27B

Qwen 3.8 27B API

alibaba/qwen3.8-27b

Build with your agent

Give your agent the model details, code and documentation.

1Get your API key

Create API key
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"

2Make your first request

curl 'https://api.aimlapi.com/v1/chat/completions' \
  -H "Authorization: Bearer $AIMLAPI_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
  "model": "alibaba/qwen3.8-27b",
  "messages": [
    {
      "role": "user",
      "content": "Write a haiku about the ocean."
    }
  ]
}'