Qwen3.8 27B API

Multimodal reasoner with 256K context, image and video input, function tools, structured JSON, and thinking on by default.

Alibaba CloudGeração de Texto256K contextoLançado 14 de ago. de 2026Inferência nativaNovo

Sobre Qwen3.8 27B

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.

Também conhecido como Alibaba Cloud Qwen3.8 27B

reasoningvisionvideofunction callingcachemultimodaljson modelogprobs

Especificações de Qwen3.8 27B

ID do modelo
qwen3-8-27b
Provedor
Alibaba Cloud
Categoria
Geração de Texto
Lançado
14 de ago. de 2026
Janela de contexto
256K tokens
Saída máxima
32.768 tokens
Entrada
TextoImagemVídeo
Saída
Texto
Saída estruturada
JSON Schema
Endpoints
POST/v1/chat/completionsPOST/v1/responsesPOST/v1/messagesPOST/v1/completionsPOST/v1beta/models/qwen3-8-27b:generateContent
IDs de modelo alternativos
qwen3.8-27bqwen/qwen3-8-27bqwen/qwen3.8-27b

Preços da API Qwen3.8 27BEconomize até 84%

Tarifas pay-as-you-go ao vivo do catálogo EmpirioLabs. Você paga só pelo que usa, sem mínimo mensal.

Tipo
Especificação
Tarifa
Entrada
per 1M prompt tokens
$0.45$0.17
Saída
per 1M generated tokens
$3.20$0.50
Implicit cache read
per 1M cached input tokens
$0.08
Web Search (Linkup)
per call when invoked
$0.013
Comparar na página completa de preços

Como chamar a API Qwen3.8 27B

Qwen3.8 27B atende a API Chat Completions compatível com OpenAI. Aponte qualquer SDK OpenAI para https://api.empiriolabs.ai/v1 com sua chave de API EmpirioLabs e use o id de modelo qwen3-8-27b. Obtenha uma chave de API no painel EmpirioLabs.

cURL
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."}
    ]
  }'
Python (OpenAI SDK)
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)
Referência completa da API Qwen3.8 27B

Parâmetros da API Qwen3.8 27B

Parâmetros de requisição suportados pela API Qwen3.8 27B na EmpirioLabs. Os padrões valem quando um campo é omitido.

ParâmetroTipoPadrãoIntervalo / valoresDescrição
temperaturenumber10 a 2Sampling temperature. 0 is deterministic and 2 is maximum randomness.
top_pnumber0.950 a 1Nucleus sampling probability mass. Lower values make outputs more focused.
max_tokensinteger40961 a 32768Maximum output tokens.
stopstring--Up to 4 strings where the model will stop generating further tokens.
enable_thinkingbooleantrue-Enable reasoning before answering.
reasoning_effortenumxhighnone, low, medium, xhighReasoning effort level. none disables thinking. low, medium, and xhigh select discrete thinking depths. There is no token budget control.
top_kinteger201 a 200Limit sampling to the top K candidate tokens when supported.
min_pnumber00 a 1Minimum probability threshold for token sampling.
frequency_penaltynumber0-2 a 2Penalty based on how often a token has already appeared.
presence_penaltynumber0-2 a 2Penalty for tokens that already appeared in the generated text.
repetition_penaltynumber10.1 a 2Penalty used by SGLang to reduce repeated text.
seedinteger-0 a 2147483647Optional random seed for reproducible sampling.
logprobsbooleanfalse-Return token log probabilities when supported.
top_logprobsinteger-0 a 20Return up to this many top token log probabilities.
7 parâmetros a mais na documentação

Bom saber

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.

API Qwen3.8 27B: perguntas frequentes

Quanto custa a API Qwen3.8 27B?

Na EmpirioLabs, Qwen3.8 27B é cobrado por uso. A tabela de tarifas ao vivo desta página sempre corresponde ao que a API cobra.

Qual é a janela de contexto de Qwen3.8 27B?

Qwen3.8 27B suporta uma janela de contexto de 256K tokens com até 32.768 tokens de saída por resposta.

A API Qwen3.8 27B é compatível com OpenAI?

Sim. Qwen3.8 27B atende a API Chat Completions compatível com OpenAI, então SDKs OpenAI existentes funcionam apontando base_url para https://api.empiriolabs.ai/v1 e definindo o id de modelo qwen3-8-27b.

Posso testar Qwen3.8 27B no navegador antes de integrar?

Sim. O playground da EmpirioLabs executa Qwen3.8 27B no navegador com os mesmos parâmetros que a API expõe, para você testar prompts antes de escrever código.

Como consigo uma chave de API Qwen3.8 27B?

Crie uma conta EmpirioLabs e gere uma chave em API Keys no painel. A cobrança usa créditos pay-as-you-go, então você paga apenas pelas requisições que faz.

Pronto para usar endpoints melhores?

Confira nossos preços ou entre em contato se quiser que seu próprio modelo seja implementado em nossa pilha.