BYOK is live — 1,000,000 free BYOK requests every month, no top-up requiredLearn more

Model · Qwen (Alibaba)

qwen3.8-flash

qwen3.8-flash is served by Qwen (Alibaba) and available on BoostRail through the same OpenAI-compatible endpoint as every other model in the catalog. One key, per-token billing in USD, and no separate account with the provider.

LabAlibaba
Input$0.1425
Output$0.4465
Cache read$0.01425
Capabilities ⓘStreamingToolsJSON schema
On BoostRail since2026-10-22

USD per 1M tokens

About qwen3.8-flash

Alibaba describes Qwen3.8-Flash, released on 27 August 2026, as an early preview of the Qwen4 architecture: a 125-billion-parameter main model with 6 billion parameters active per token, 262K tokens of context extendable to one million, aimed at high-volume and tool-driven work.

Call it

Already using the OpenAI SDK? Change base_url and api_key, then set the model id. Nothing else in your code changes.

curl https://api.boostrail.com/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"qwen3.8-flash","messages":[{"role":"user","content":"hello"}]}'
from openai import OpenAI

client = OpenAI(api_key="YOUR_API_KEY", base_url="https://api.boostrail.com/v1")
response = client.chat.completions.create(
    model="qwen3.8-flash",
    messages=[{"role": "user", "content": "hello"}],
)
print(response.choices[0].message.content)
import OpenAI from "openai";

const client = new OpenAI({ apiKey: "YOUR_API_KEY", baseURL: "https://api.boostrail.com/v1" });
const completion = await client.chat.completions.create({
  model: "qwen3.8-flash",
  messages: [{ role: "user", content: "hello" }],
});
console.log(completion.choices[0].message.content);
// ~/.claude/settings.json
{
  "env": {
    "ANTHROPIC_BASE_URL": "https://api.boostrail.com",
    "ANTHROPIC_API_KEY": "YOUR_API_KEY",
    "ANTHROPIC_MODEL": "qwen3.8-flash",
    "CLAUDE_CODE_ATTRIBUTION_HEADER": "0",
    "CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS": "1",
    "CLAUDE_CODE_ENABLE_GATEWAY_MODEL_DISCOVERY": "1"
  }
}

// Verify: run claude, then /status —
// the base URL should show api.boostrail.com.

Use it in a coding agent

The model id goes wherever your tool takes a model name. Full per-tool configuration — Claude Code, Codex CLI, Cline, OpenCode, Continue, Aider — is on the coding tools page. Coding →

Documented capabilities

Capabilities Alibaba documents for this model that also pass our automated checks on every route serving it. Each links to the maker's own documentation.

If this is not the right fit

Switching model is a one-string change against the same key and endpoint.

FAQ

How much does qwen3.8-flash cost on BoostRail?

$0.1425 per 1M input tokens, $0.4465 per 1M output tokens and $0.01425 per 1M cached input tokens, billed per token from a USD balance. There is no subscription or monthly minimum.

Which API features does qwen3.8-flash support?

Streaming, Tool calling, Structured output (JSON schema). Alibaba documents each of these for qwen3.8-flash, and each passes our automated checks on every route serving it.

When was qwen3.8-flash added to BoostRail?

2026-10-22. It has been callable through the same key and endpoint as every other model since then.

Can I use qwen3.8-flash in Claude Code?

Yes. Point Claude Code at BoostRail's Anthropic-compatible endpoint and set ANTHROPIC_MODEL to qwen3.8-flash; the configuration is in the Claude Code tab above. How well a model works as the main model depends on its tool calling, so test it on your own tasks.

Is there a cheaper alternative to qwen3.8-flash?

qwen3.7-flash costs $0.10 input and $0.40 output per 1M tokens on BoostRail. Switching is a change to the model string; the key and endpoint stay the same.

Do I need an account with the provider?

No. A BoostRail account covers every model in the catalog with one key and one bill. If you would rather run on your own provider account and contract price, BYOK does that while keeping the same integration.

Is there a rate limit or usage window?

There is no subscription time window and no per-tier throttle standing between your client and the model. Capacity protections exist for abuse, not to ration normal usage.

How current is the price on this page?

Prices are rebuilt from the production catalog whenever they change; the date at the bottom of the page is the last rebuild. The price applied to each request is always the one shown in the console.

Last updated: 2026-11-22