Back to Models
qwen logoQwen
qwen3.8-27b

Qwen3.8 27B

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

8/14/2026
1,000,000 tokens
Input: $0.211/M
Output: $2.64/M

Specifications

Modalities

Input
text
image
video
Output
text

Supported Parameters

frequency_penalty
include_reasoning
logprobs
max_tokens
presence_penalty
reasoning
reasoning_effort
repetition_penalty
response_format
seed
stop
structured_outputs
temperature
tool_choice
tools
top_k
top_logprobs
top_p

Max Output Tokens

131,072

Reasoning Configuration

Default
Thinking on (effort: xhigh)
Selectable effort levels
xhigh
medium
low
Turning thinking off
Possible (reasoning.enabled: false)

How to control thinking, and what it costs

Data policy

Prompt retention
Unknown — we could not confirm
Training
Not used for training

"Unknown" does not mean "safe". It means we could not confirm it.

Whether a provider trains on prompts is a declared value from our terms with them. Retention is determined from the upstream listing for every host this model can reach. Neither is guessed.

Measured performance

Time to first response (p50)413ms
Throughput (p50)76 tokens/s

    Measured through FastMetal's own gateway over the last 30 days (639 first-response samples).

    Throughput is sampled once a day: the median of 26 observations over the last 30 days.

    Time to first response is measured to the first streamed chunk; throughput counts all output tokens, including reasoning tokens. These are observations, not a performance guarantee.

    Code Examples

    curl https://api.fastmetal.ai/v1/chat/completions \
      -H "Content-Type: application/json" \
      -H "Authorization: Bearer YOUR_API_KEY" \
      -d '{
        "model": "qwen3.8-27b",
        "messages": [{"role": "user", "content": "Hello!"}]
      }'

    How Qwen3.8 27B actually answers

    Real responses to our standard prompts, recorded on FastMetal.

    Count the number of 'r's in 'strawberry'

    Count the number of 'r's in 'strawberry'. Explain your reasoning step by step.

    The word is: **strawberry** Break it into letters: 1. s 2. t 3. r 4. a 5. w 6. b 7. e 8. r 9. r 10. y Now count the **r**’s: - 3rd letter: **r** - 8th letter: **r** - 9th letter: **r** So, there are **3** r’s in **strawberry**.
    3.6s response239 output tokens

    Debug This Error

    I'm getting the following error in my Node.js application: TypeError: Cannot read properties of undefined (reading 'map') at UserList (/app/components/UserList.js:12:25) at renderWithHooks (/app/node_modules/rea…

    The error means that `users` is `undefined` when `UserList` renders: ```jsx {users.map(...)} ``` JavaScript cannot call `.map()` on `undefined`. For example, this would cause the error: ```jsx <UserList /> ``` because `users` is not being passed in. ## Simple fix: give `users` a default value ```jsx function UserList({ users = [] }) { return ( <ul> {users.map(user => <li key={user.id}>{user.name}</li>)} </ul> ); } ``` Now if `users` is not passed in, it defaults to an empty array. ## Better fix: make sure the parent passes an array Wherever you use `UserList`, pass `users`: ```jsx <UserList users={users} /> ``` If `users` comes from an API or state, make sure it…
    9.5s response601 output tokens

    Code Review

    Please review the following Python function and suggest improvements for readability, performance, and best practices: def get_data(url, retries=3): import requests import time for i in range(retries):…

    The function works at a basic level, but it has several readability, reliability, and best-practice issues. ## Main issues 1. **Imports inside the function** ```python import requests import time ``` Imports should normally be at the top of the module unless there is a specific reason to lazy-load them. 2. **Bare `except` is too broad** ```python except: time.sleep(2) ``` This catches almost everything, including `KeyboardInterrupt`, `SystemExit`, `KeyError`, `TypeError`, and other programming errors. It makes debugging harder and can retry failures that should not be retried. 3. **It retries on every non-`200` status** Retrying `401 Unauthorized`, `4…
    205.9s response13103 output tokens

    Compare these answers side by side with other models →

    Frequently asked questions

    How much does the Qwen3.8 27B API cost?
    On FastMetal, Qwen3.8 27B is billed per token: $0.211 per 1M input tokens and $2.64 per 1M output tokens on a US-dollar account, before tax. Usage is drawn from a prepaid balance; there is no subscription or monthly fee.
    Can I call Qwen3.8 27B with the OpenAI SDK?
    Yes. Point base_url at https://api.fastmetal.ai/v1 and pass "qwen3.8-27b" as the model; existing OpenAI-style code works unchanged, including streaming, tool calls and structured output.
    What is the context window of Qwen3.8 27B?
    1,000,000 tokens, shared between the prompt and the response.
    What do I need to try Qwen3.8 27B?
    Create an account and add credit; the model is then available both in the browser chat and over the API. There is no contract or minimum spend.

    Try Qwen3.8 27B right now

    Qwen3.8 27B is available on FastMetal through one API key. Start in the browser, or call it from the OpenAI SDK.