---
title: "Qwen3.8 27B API: Arabic-tested vision and text model"
description: "Qwen3.8 27B through an OpenAI-compatible API: text and vision, tools, structured output and reasoning, 262K context, tested in Arabic and Gulf and Egyptian dialects."
url: https://broadrouter.com/models/qwen3.8-27b/
lang: en
updated: 2026-11-16
publisher: BroadRouter (a BroadNet site); API by BroadNet Inference, https://inference.broadnet.ai
---

# Qwen3.8 27B API

Updated 2026-11-16

Qwen3.8 27B runs on BroadNet Inference as `broadnet/qwen3.8-27b` through the OpenAI-compatible `https://inference.broadnet.ai/v1`. It costs $0.175 input, $0.0435 cached input and $2.17 output per 1M tokens, with a 262,144-token context. It needs a qualifying top-up (not the starting credit), and inference content is not retained.

## At a glance

-   Text
-   Vision (image input)
-   Tool calling
-   Reasoning
-   Structured output

-   262,144-token context
-   Text and image input
-   Tools, structured output and reasoning
-   BroadNet test: fluent Arabic writing, Gulf and Egyptian dialects understood, accurate Arabic–English translation

| Price and limits |  |
| --- | --- |
| Model ID | `broadnet/qwen3.8-27b` |
| Endpoint | `/v1/chat/completions` |
| Supported inputs | text, image (vision: understanding, not generation) |
| Context | 262,144 tokens, prompt and answer together |
| Input | $0.175 per 1M tokens |
| Cached input | $0.0435 per 1M tokens (reported cache hits only) |
| Output | $2.17 per 1M tokens |
| Pay-as-you-go limits | 30 requests a minute, 4 in flight per key |
| Access | Top-up required: opens after a qualifying top-up; the starting credit does not cover it |

Prices on this page are from BroadNet's price feed snapshot dated 2026-11-14, not checked live here. See [official pricing](https://inference.broadnet.ai/pricing?utm_source=broadrouter&utm_medium=referral&utm_campaign=models-qwen3.8-27b&utm_content=feed-status) for current rates.

[Open the comparison](https://broadrouter.com/models/#compare)

[Report a wrong price or number](mailto:info@broadnet.ai?subject=Wrong%20price%20or%20number%20on%20Qwen3.8%2027B%20on%20BroadNet%20Inference&body=Page%3A%20https%3A%2F%2Fbroadrouter.com%2Fmodels%2Fqwen3.8-27b%2F%0A%0AWhat%20looks%20wrong%20(model%2C%20figure%20shown%2C%20correct%20figure%20and%20a%20source%20link%20if%20you%20have%20one)%3A%0A) (email to info@broadnet.ai, with this page's link filled in).

## What does BroadNet publish about Qwen3.8 27B?

From [BroadNet's model catalogue](https://www.broadnet.ai/inference/models), checked 15 November 2026. Measurements are BroadNet's, on its hardware, unless a public leaderboard is named; we have not reproduced them.

| What BroadNet publishes about this model |  |
| --- | --- |
| Serving in BroadNet's lab | GGUF Q4\_K\_M with a vision projector and MTP drafter on llama.cpp; AWQ INT4 on BroadNet's patched vLLM for AMD ROCm |
| Context on the API | 262,144 tokens (pricing.json) |

### BroadNet's measurements

-   55 tokens per second on a single stream with multi-token prediction, and 92% MTP acceptance on ROCm.

How BroadNet chooses and serves models: [its GPU hardware and serving approach](https://broadrouter.com/blog/broadnet-gpu-fleet-and-serving/) and [the models it evaluated and ruled out](https://broadrouter.com/blog/models-broadnet-ruled-out/).

## Published benchmark results

BroadNet did not run these benchmarks; results are as published by the Qwen model card and may use different settings. BroadRouter is BroadNet's site. They refer to the published model [`Qwen/Qwen3.8-27B`](https://huggingface.co/Qwen/Qwen3.8-27B); not measured on BroadNet's serving.

Published benchmark results for Qwen3.8 27B, with sources
| Benchmark | Result | Setting or note | Source |
| --- | --- | --- | --- |
| GPQA Diamond | 89.2 | not stated | [Qwen model card](https://huggingface.co/Qwen/Qwen3.8-27B), checked 2026-11-16 |
| LiveCodeBench v6 | 90.3 | not stated | [Qwen model card](https://huggingface.co/Qwen/Qwen3.8-27B), checked 2026-11-16 |
| SWE-bench Pro | 61.7 | not stated | [Qwen model card](https://huggingface.co/Qwen/Qwen3.8-27B), checked 2026-11-16 |
| Terminal Bench 2.1 (Terminus) | 73.0 | not stated | [Qwen model card](https://huggingface.co/Qwen/Qwen3.8-27B), checked 2026-11-16 |
| IFBench | 79.5 | not stated | [Qwen model card](https://huggingface.co/Qwen/Qwen3.8-27B), checked 2026-11-16 |
| OSWorld-Verified | 84.3 | not stated | [Qwen model card](https://huggingface.co/Qwen/Qwen3.8-27B), checked 2026-11-16 |
| OmniDocBench 1.5 | 91.1 | not stated | [Qwen model card](https://huggingface.co/Qwen/Qwen3.8-27B), checked 2026-11-16 |

Side by side: [Qwen3.8 27B vs DeepSeek V4.1 Flash](https://broadrouter.com/compare/deepseek-v4.1-flash-vs-qwen3.8-27b/), [Qwen3.8 27B vs GLM 5.3](https://broadrouter.com/compare/glm-5.3-vs-qwen3.8-27b/) and [Qwen3.8 27B vs BroadNet Gemma 4 VL 26B](https://broadrouter.com/compare/gemma-4-vl-26b-vs-qwen3.8-27b/), with prices, context and workload costs. Qwen3.8 27B is also sold by 15 other providers, from $0.039 input and $1.25 output per 1M tokens on their own pricing pages: [Qwen3.8 27B API pricing by provider](https://broadrouter.com/llm-api-pricing/qwen3.8-27b/). The same text is a different number of tokens on each model: see how Qwen3.8 27B's tokenizer compares on Arabic, English and code in the [tokenizer efficiency dataset](https://broadrouter.com/data/tokenizer-efficiency/).

## Call it in Python

Install the OpenAI SDK with `pip install openai`, export `BROADNET_API_KEY`, then run:

Python

```python
from openai import OpenAI
import base64, os

client = OpenAI(base_url="https://inference.broadnet.ai/v1", api_key=os.environ["BROADNET_API_KEY"])
image = base64.b64encode(open("invoice.jpg", "rb").read()).decode()

response = client.chat.completions.create(
    model="broadnet/qwen3.8-27b",
    max_tokens=2000,
    messages=[{"role": "user", "content": [
        {"type": "text", "text": "What is the total on this invoice?"},
        {"type": "image_url", "image_url": {"url": "data:image/jpeg;base64," + image}},
    ]}],
)
print(response.choices[0].message.content)
```

## Or with curl

curl

```bash
curl https://inference.broadnet.ai/v1/chat/completions \
  -H "Authorization: Bearer $BROADNET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"broadnet/qwen3.8-27b","messages":[{"role":"user","content":"Reply with one short sentence."}]}'
```

Qwen3.8 27B reasons before it answers. The reasoning counts toward `max_tokens` and is reported as `usage.completion_tokens_details.reasoning_tokens`, inside the completion (output) token count, so budget for it as output. Leave 1,000 tokens or more, or set `reasoning_effort` to `low`, or the answer can come back empty. [Why answers come back empty](https://broadrouter.com/guides/reasoning-tokens-empty-response/).

## Guides for Qwen3.8 27B

-   [Use the OpenAI Python SDK with BroadNet Inference](https://broadrouter.com/guides/openai-python-sdk/)
-   [Use the OpenAI Node.js SDK with BroadNet Inference](https://broadrouter.com/guides/openai-node-sdk/)
-   [First request to BroadNet Inference with curl](https://broadrouter.com/guides/curl-quickstart/)
-   [Stream chat completions and handle dropped connections](https://broadrouter.com/guides/streaming-chat-completions/)
-   [Why a reasoning model returns an empty answer](https://broadrouter.com/guides/reasoning-tokens-empty-response/)
-   [Use LangChain with BroadNet Inference](https://broadrouter.com/guides/langchain-openai-base-url/)
-   [Use Cline with BroadNet Inference (OpenAI Compatible provider)](https://broadrouter.com/guides/cline-openai-compatible/)
-   [Use Roo Code with BroadNet Inference (OpenAI Compatible)](https://broadrouter.com/guides/roo-code-openai-compatible/)
-   [Use Continue with BroadNet Inference (config.yaml and apiBase)](https://broadrouter.com/guides/continue-dev-openai-compatible/)
-   [Add BroadNet Inference to opencode as a custom provider](https://broadrouter.com/guides/opencode-custom-provider/)
-   [Connect Open WebUI to BroadNet Inference](https://broadrouter.com/guides/open-webui-openai-api/)
-   [Add BroadNet Inference to LibreChat as a custom endpoint](https://broadrouter.com/guides/librechat-custom-endpoint/)
-   [Use BroadNet Inference in n8n (OpenAI credential, Base URL)](https://broadrouter.com/guides/n8n-openai-compatible/)
-   [Use the Vercel AI SDK with BroadNet Inference](https://broadrouter.com/guides/vercel-ai-sdk-openai-compatible/)
-   [Route LiteLLM to BroadNet Inference (SDK and proxy)](https://broadrouter.com/guides/litellm-proxy-custom-provider/)
-   [Run the OpenAI Agents SDK on BroadNet Inference](https://broadrouter.com/guides/openai-agents-sdk-custom-provider/)
-   [Read Arabic invoices and receipts with a vision model](https://broadrouter.com/guides/read-arabic-invoices-with-vision/)
-   [Use Zed with BroadNet Inference as an OpenAI-compatible provider](https://broadrouter.com/guides/zed-openai-compatible-provider/)
-   [Use Kilo Code with BroadNet Inference (OpenAI Compatible provider)](https://broadrouter.com/guides/kilo-code-openai-compatible/)
-   [Add BroadNet Inference to goose as a custom provider](https://broadrouter.com/guides/goose-custom-provider/)
-   [Use Pydantic AI with BroadNet Inference (OpenAICompatibleProvider)](https://broadrouter.com/guides/pydantic-ai-openai-compatible/)
-   [Use CrewAI with BroadNet Inference as a custom OpenAI endpoint](https://broadrouter.com/guides/crewai-custom-openai-endpoint/)
-   [Use LlamaIndex with BroadNet Inference through OpenAILike](https://broadrouter.com/guides/llamaindex-openailike/)
-   [Add BroadNet Inference to Dify with the OpenAI-API-compatible plugin](https://broadrouter.com/guides/dify-openai-api-compatible/)
-   [Use Jan with BroadNet Inference as a custom OpenAI-compatible provider](https://broadrouter.com/guides/jan-custom-endpoint/)
-   [Connect SillyTavern to BroadNet Inference (Custom OpenAI-compatible)](https://broadrouter.com/guides/sillytavern-custom-openai-endpoint/)
-   [Use Spring AI with BroadNet Inference (OpenAI base-url)](https://broadrouter.com/guides/spring-ai-openai-base-url/)
-   [Call BroadNet Inference from Go with the openai-go SDK](https://broadrouter.com/guides/openai-go-sdk/)
-   [Build LangGraph agents on BroadNet Inference](https://broadrouter.com/guides/langgraph-openai-compatible/)
-   [Use Haystack pipelines and agents with BroadNet Inference](https://broadrouter.com/guides/haystack-openai-compatible/)
-   [Use Semantic Kernel with BroadNet Inference](https://broadrouter.com/guides/semantic-kernel-openai-compatible/)
-   [Use Mastra agents with BroadNet Inference](https://broadrouter.com/guides/mastra-openai-compatible/)
-   [Get structured output with Instructor on BroadNet Inference](https://broadrouter.com/guides/instructor-structured-output/)
-   [Use DSPy with BroadNet Inference (set model\_type="chat")](https://broadrouter.com/guides/dspy-openai-compatible/)
-   [Evaluate BroadNet models with promptfoo](https://broadrouter.com/guides/promptfoo-openai-compatible/)
-   [Run smolagents on BroadNet Inference with OpenAIModel](https://broadrouter.com/guides/smolagents-openai-compatible/)
-   [Connect Flowise to BroadNet Inference (OpenAI Custom Model)](https://broadrouter.com/guides/flowise-openai-compatible/)
-   [Connect Langflow to BroadNet Inference](https://broadrouter.com/guides/langflow-openai-compatible/)

## Use Qwen3.8 27B in the console

The BroadNet console on inference.broadnet.ai manages accounts and keys. It does not receive your choice from this page, so:

1.  Sign in or create an account.
2.  Add a qualifying top-up (the starting credit does not cover this model), then create a pay-as-you-go key.
3.  Send this model ID as `model` to `/v1/chat/completions`: `broadnet/qwen3.8-27b`

[Open the BroadNet console](https://inference.broadnet.ai/account/?utm_source=broadrouter&utm_medium=referral&utm_campaign=models-qwen3.8-27b&utm_content=model-console) · [Estimate the cost](https://broadrouter.com/pricing/?model=qwen3.8-27b#estimate) · [Read the API reference](https://inference.broadnet.ai/docs?utm_source=broadrouter&utm_medium=referral&utm_campaign=models-qwen3.8-27b&utm_content=docs#models) ·

## Compare Qwen3.8 27B

-   [DeepSeek V4.1 Flash vs Qwen3.8 27B](https://broadrouter.com/compare/deepseek-v4.1-flash-vs-qwen3.8-27b/)
-   [GLM 5.3 vs Qwen3.8 27B](https://broadrouter.com/compare/glm-5.3-vs-qwen3.8-27b/)
-   [BroadNet Gemma 4 VL 26B vs Qwen3.8 27B](https://broadrouter.com/compare/gemma-4-vl-26b-vs-qwen3.8-27b/)

Free tools for Qwen3.8 27B

-   [LLM API cost calculator](https://broadrouter.com/tools/llm-api-cost-calculator/) Price a workload on every model at once, with cache hits, reasoning and a flat-plan check.
-   [LLM token counter](https://broadrouter.com/tools/token-counter/) Exact token counts with each model's real tokenizer, with a token view and cost.
-   [Context window calculator](https://broadrouter.com/tools/context-window-calculator/) Will it fit? Window used per model, room left for output, cost to send.

[All free tools](https://broadrouter.com/tools/)

## Questions

### What is the model ID for Qwen3.8 27B?

Pass `broadnet/qwen3.8-27b` as `model` to `/v1/chat/completions`. The base URL is `https://inference.broadnet.ai/v1`.

### How much does Qwen3.8 27B cost?

$0.175 input, $0.0435 cached input and $2.17 output per 1M tokens, from your account balance.

### What is the context window of Qwen3.8 27B?

262,144 tokens per request, prompt and answer together.

### Can I use Qwen3.8 27B without a top-up?

No. Qwen3.8 27B opens after a qualifying top-up. The starting credit covers BroadNet Gemma 4 VL 26B, BroadNet Transcribe Arabic, BroadNet Transcribe and Gemma hourly keys.

### How does Qwen3.8 27B score on benchmarks?

As published, [the Qwen model card](https://huggingface.co/Qwen/Qwen3.8-27B) reports 89.2 on GPQA Diamond, 90.3 on LiveCodeBench v6 and 61.7 on SWE-bench Pro (checked 2026-11-16). BroadNet did not run these benchmarks, and sources may use different settings, so the figures are not directly comparable. Every published result we found, with its setting and source.

### Is my data stored?

Inference content is not retained: prompts, images and answers are processed for the request only. Necessary account, billing and security metadata, such as timings, token counts and cost, is retained as described in BroadNet's privacy statement. [Read how](https://broadrouter.com/zero-data-retention/).

Try it on your real workload. New accounts start with $5 of credit for Gemma and transcription. DeepSeek, GLM and Qwen3.8 need a top-up.

[Get started](https://inference.broadnet.ai/account/?utm_source=broadrouter&utm_medium=referral&utm_campaign=models-qwen3.8-27b&utm_content=page-cta) ·

**Sources**

-   [BroadNet Inference pricing](https://inference.broadnet.ai/pricing?utm_source=broadrouter&utm_medium=referral&utm_campaign=models-qwen3.8-27b&utm_content=sources)
-   [Model IDs and request shapes](https://inference.broadnet.ai/docs?utm_source=broadrouter&utm_medium=referral&utm_campaign=models-qwen3.8-27b&utm_content=sources#models)
-   [BroadNet's model catalogue (checked 2026-11-15)](https://www.broadnet.ai/inference/models)
