
Multimodal reasoner with 256K context, image and video input, function tools, structured JSON, and thinking on by default.
Multimodal reasoner with 256K context, image and video input, function tools, structured JSON, and thinking on by default.
Supports text, image, and video input, streaming, function tools, structured JSON output, seed control, and thinking mode on by default. Use reasoning_effort (xhigh, medium, low) or enable_thinking=false for direct answers. Automatic cache reads are billed at the cached-input rate when reported by the model service. Explicit cache controls are not supported. Open-weight context is 256K; hosted 1M context and official built-in tools are not included.
也称为 Alibaba Cloud Qwen3.8 27B
qwen3-8-27b/v1/chat/completionsPOST/v1/responsesPOST/v1/messagesPOST/v1/completionsPOST/v1beta/models/qwen3-8-27b:generateContentqwen3.8-27bqwen/qwen3-8-27bqwen/qwen3.8-27b来自 EmpirioLabs 目录的实时按量计费价格。只为实际用量付费,没有月度最低消费。
Qwen3.8 27B 提供 OpenAI 兼容的 Chat Completions API。用你的 EmpirioLabs API 密钥把任意 OpenAI SDK 指向 https://api.empiriolabs.ai/v1,并使用模型 ID qwen3-8-27b。 在EmpirioLabs 控制台获取 API 密钥。
curl https://api.empiriolabs.ai/v1/chat/completions \
-H "Authorization: Bearer $EMPIRIOLABS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "qwen3-8-27b",
"messages": [
{"role": "user", "content": "Write a haiku about the ocean."}
]
}'from openai import OpenAI
client = OpenAI(
base_url="https://api.empiriolabs.ai/v1",
api_key="YOUR_EMPIRIOLABS_API_KEY",
)
response = client.chat.completions.create(
model="qwen3-8-27b",
messages=[{"role": "user", "content": "Write a haiku about the ocean."}],
)
print(response.choices[0].message.content)EmpirioLabs 上 Qwen3.8 27B API 支持的请求参数。省略字段时使用默认值。
| 参数 | 类型 | 默认值 | 范围 / 值 | 描述 |
|---|---|---|---|---|
| temperature | number | 1 | 0 到 2 | Sampling temperature. 0 is deterministic and 2 is maximum randomness. |
| top_p | number | 0.95 | 0 到 1 | Nucleus sampling probability mass. Lower values make outputs more focused. |
| max_tokens | integer | 4096 | 1 到 32768 | Maximum output tokens. |
| stop | string | - | - | Up to 4 strings where the model will stop generating further tokens. |
| enable_thinking | boolean | true | - | Enable reasoning before answering. |
| reasoning_effort | enum | xhigh | none, low, medium, xhigh | Reasoning effort level. none disables thinking. low, medium, and xhigh select discrete thinking depths. There is no token budget control. |
| top_k | integer | 20 | 1 到 200 | Limit sampling to the top K candidate tokens when supported. |
| min_p | number | 0 | 0 到 1 | Minimum probability threshold for token sampling. |
| frequency_penalty | number | 0 | -2 到 2 | Penalty based on how often a token has already appeared. |
| presence_penalty | number | 0 | -2 到 2 | Penalty for tokens that already appeared in the generated text. |
| repetition_penalty | number | 1 | 0.1 到 2 | Penalty used by SGLang to reduce repeated text. |
| seed | integer | - | 0 到 2147483647 | Optional random seed for reproducible sampling. |
| logprobs | boolean | false | - | Return token log probabilities when supported. |
| top_logprobs | integer | - | 0 到 20 | Return up to this many top token log probabilities. |
Supports text, image, and video input, streaming, function tools, structured JSON output, seed control, and thinking mode on by default. Use reasoning_effort (xhigh, medium, low) or enable_thinking=false for direct answers. Automatic cache reads are billed at the cached-input rate when reported by the model service. Explicit cache controls are not supported. Open-weight context is 256K; hosted 1M context and official built-in tools are not included.
在 EmpirioLabs,Qwen3.8 27B 按量计费。本页的实时价格表始终与 API 的实际计费一致。
Qwen3.8 27B 支持 256K token 的上下文窗口,每次响应最多 32,768 个输出 token。
兼容。Qwen3.8 27B 提供 OpenAI 兼容的 Chat Completions API,现有 OpenAI SDK 只需把 base_url 指向 https://api.empiriolabs.ai/v1 并把模型 ID 设为 qwen3-8-27b 即可使用。
可以。EmpirioLabs Playground在浏览器中以与 API 相同的参数运行 Qwen3.8 27B,你可以在写代码之前先测试提示词。
创建 EmpirioLabs 账户,然后在控制台的 API Keys生成密钥。计费使用按量付费的额度,只为实际发出的请求付费。