Qwen3.8-27B

qwen3.8-27b

by Alibaba Qwen Open weightsapache-2.0

Specifications

Input
Text + Image + Video
Output
Text
Context
128k tokens
Quantization
W4A16 (INT4)

Performance on Blade

Throughput
58 tok/s
First token
328 ms
Parameters
27B
Architecture
Dense
Indicative measurements per stream.

Pricing

From€0.136Input / 1M tokens

From€1.83Output / 1M tokens

Estimate a workload ↓

About this model

Qwen3.8-27B is Qwen’s 27-billion-parameter dense open-weight model for coding and reasoning. Blade serves it through an OpenAI-compatible API with 128k context, so you can build without managing a GPU deployment.

Technical specifications

Capabilities
ReasoningChatTool callingWeb search
Input modalities
Text, Image, Video
Output modalities
Text
Model family
Qwen
API model ID
qwen3.8-27b

Model timeline

Released
Aug 2026

Code generation, chat
and reasoning.

Start with a specific job. Supply the right context, define what success looks like and evaluate the result in your own workflow.

Generate code and tests.

Draft a function, suggest a fix or generate regression tests. Send the relevant files and acceptance criteria; run the patch through your tests before merging.

Bug fixes / tests / refactoring

Build a technical assistant.

Build a technical support assistant that works from your documentation, logs or product context. Your backend supplies the evidence and keeps the conversation under your control.

Developer support / product assistants

Plan complex changes.

Compare implementation options or turn a complex issue into a plan. For agent workflows, connect only tools supported by the endpoint and validate actions in your application.

Planning / analysis / coding agents

Coding quality

Qwen3.8-27B
coding benchmarks.

Qwen reports improvements in coding and multi-step tasks. Two results from its official model card make Qwen3.8-27B worth testing on your own codebase.

SWE-bench Pro

Agentic software engineering

61.7

Qwen-reported score using the Claude Code harness, a 256K context window and a corrected task set.

LiveCodeBench v6

Competitive coding

90.3

Qwen-reported score for coding problems. A different test from maintaining an existing application.

Benchmark source: Qwen’s official model card, checked 12 October 2026. These are publisher results, not benchmarks of Blade’s W4A16 (INT4) endpoint with 128k context. Quantization, settings and your task can change the outcome.

Test the patch. Use representative bugs and the same test suite you use in production.

Count the whole job. Compare retries, review time and total tokens, not just the first answer.

Keep the scope clear. A model can suggest code; your agent or application runs tools and checks permissions.

OpenAI-compatible API

Call Qwen3.8-27B
with the OpenAI SDK.

Create a Blade API key, check that qwen3.8-27b is available to your account, then call it from your backend.

  1. Install the Python client: pip install openai.
  2. Set BLADE_API_KEY in your server environment.
  3. Run the example. This sends a billed inference request.

Keep your API key on the server. For a production integration, handle timeouts, rate limits and truncated responses.

Follow the complete setup guide
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.models.blade.sh/v1",
    api_key=os.environ["BLADE_API_KEY"],
    timeout=120.0,
)

reply = client.chat.completions.create(
    model="qwen3.8-27b",
    messages=[{
        "role": "user",
        "content": "Write a retry function with exponential backoff and tests that do not sleep.",
    }],
    max_tokens=4096,
)
print(reply.choices[0].message.content)

Set BLADE_API_KEY before running the example. This sends a billed request. Check supported parameters and handle timeouts, rate limits and incomplete responses.

Use the Blade model ID, not the upstream repository name. Supported parameters are documented in the API reference.

Qwen3.8-27B
API pricing.

These starting rates are the lowest catalogue prices. The active rate may vary with GPU availability.

Input / 1M tokens
€0.136
Output / 1M tokens
€1.83

Catalogue updated 2026-12-06.

View the rate card ↗

10,000 input tokens + 2,000 output tokens = €0.005020 at the displayed rate.

In your coding workflow

Keep Claude Code or Codex.
Delegate to Qwen.

Use Qwen3.8-27B alongside your coding assistant through a skill or callable script that sends tasks to the Blade API. Your main assistant scopes the work, reviews the proposal and runs your checks.

01 / ScopeClaude Code or Codex

Choose a task and the relevant files.

02 / GenerateQwen3.8-27B

Return a proposed patch via Blade.

03 / ReviewYour coding assistant

Inspect the changes. Run the tests.

Start with one focused task.

Generate tests, draft documentation or refactor an isolated function. Configure the API runner with your Blade key and qwen3.8-27b, then connect it to your assistant using a skill.

Set up coding delegation
Delegate the retry function's tests to
Qwen through Blade. Share only the function
and its existing tests. Review the proposed
diff and run pytest before applying it.

Requires a configured skill or API tool; pasting this prompt alone does not install the integration. Blade API usage is billed separately. Your primary assistant keeps its existing model.

Integration building blocks: Claude Code skills and Codex skills.

Qwen3.8-27B API FAQ.

What is Qwen3.8-27B?

It is a 27-billion-parameter dense open-weight model from Qwen. On Blade, the catalogue lists it as a text reasoning model with 128k context and W4A16 (INT4) quantization. Use it through the Models API without serving the weights yourself.

Is Qwen3.8-27B good for coding?

Qwen’s published evaluations make it a candidate for code generation and agent-assisted development. They do not establish the success rate on your project. Evaluate bug fixes, tests and refactoring with your own files, review process and constraints.

Does Blade offer the full upstream context and vision features?

The hosted configuration matters. Blade currently lists 128k context for this model. Do not assume every capability of the upstream model is enabled on this endpoint; check supported inputs and parameters in the console before integrating image, video or reasoning controls.

Can I use Qwen3.8-27B with Claude Code or Codex?

Yes, through a delegation skill or API tool configured to call Blade. Claude Code or Codex sends a focused task to qwen3.8-27b, then reviews the returned code. This workflow keeps your assistant’s main model in place and bills the delegated requests through your Blade account. Follow the coding delegation setup.

Can I use it in a coding agent or with web search?

A tool that accepts a custom OpenAI-compatible provider can use Blade’s base URL, API key and model ID for supported calls. Agent behaviour depends on its integration and the endpoint’s capabilities. Flash by Staan search requires account access and a compatible tool-calling model, and is billed separately. See the tool-calling guide before wiring it in.

How much does the Qwen3.8-27B API cost on Blade?

Input starts at €0.136 per million tokens and output starts at €1.83 per million tokens, according to Blade’s catalogue dated 2026-12-06. These are dynamic pricing floors, not fixed rates. Check the applicable prices in the console and read how inference pricing works.

Compare coding and reasoning options. Browse all models ↗
Need your own runtime? Plan a Qwen3.8-27B GPU deployment ↗

Licence
apache-2.0

Contact the team

Loading the form…