Qwen3.5 9B API

Qwen3.5 9B é um modelo de raciocínio multimodal compacto com 256K de contexto, entrada de imagem e vídeo, ferramentas de função e saída estruturada.

Alibaba CloudGeração de Texto256K contextoLançado Feb 23, 2026Inferência nativaNovo

About Qwen3.5 9B

Qwen3.5 9B é um modelo de raciocínio multimodal compacto com 256K de contexto, entrada de imagem e vídeo, ferramentas de função e saída estruturada.

Suporta entrada de texto, imagem e vídeo, streaming, ferramentas de função, saída JSON estruturada, controle de sementes e modo de pensamento por padrão. Use raciocination effort ou thinking budget para o pensamento limitado, ou ative thinking=false para respostas diretas. As leituras de cache automáticas são cobradas pela taxa de entrada em cache quando relatadas pelo serviço do modelo. Os controles de cache explícitos não são suportados.

Também conhecido como Alibaba Cloud Qwen3.5 9B, Qwen3.5-9B, qwen3-5-9b

reasoningvisionvideofunction callingstructured outputcachemultimodaljson modelogprobs

Qwen3.5 9B specs

ID do modelo
qwen3-5-9b
Provedor
Alibaba Cloud
Categoria
Geração de Texto
Released
Feb 23, 2026
Janela de contexto
256K tokens
Saída máxima
32,768 tokens
Entrada
TextImageVideo
Saída
Text
Endpoints
POST /v1/chat/completions
POST /v1/responses
POST /v1/messages
POST /v1/completions

Qwen3.5 9B API pricingSave up to 13%

Live pay-as-you-go rates from the EmpirioLabs catalog. You are billed only for what you use, with no monthly minimum.

Tipo
Especificação
Tarifa
Entrada
por fichas de alerta de 1M
$0.10$0.09
Saída
por tokens gerados 1M
$0.15$0.13
Leu a 'cache' implícita
por fichas de entrada em cache de 1M
$0.045
Web Search (Linkup)
per call when invoked
$0.013
Comparar na página completa de preços

How to call the Qwen3.5 9B API

Qwen3.5 9B serves the OpenAI-compatible Chat Completions API. Point any OpenAI SDK at https://api.empiriolabs.ai/v1 with your EmpirioLabs API key and use the model id qwen3-5-9b. Get an API key from the EmpirioLabs dashboard.

cURL
curl https://api.empiriolabs.ai/v1/chat/completions \
  -H "Authorization: Bearer $EMPIRIOLABS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "qwen3-5-9b",
    "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-5-9b",
    messages=[{"role": "user", "content": "Write a haiku about the ocean."}],
)
print(response.choices[0].message.content)
Full Qwen3.5 9B API reference

Qwen3.5 9B API parameters

Request parameters supported by the Qwen3.5 9B API on EmpirioLabs. Defaults apply when a field is omitted.

ParâmetroTipoPadrãoIntervalo / valoresDescrição
temperaturenumber0.70 to 2Sampling temperature. 0 is deterministic and 2 is maximum randomness.
top_pnumber0.950 to 1Nucleus sampling probability mass. Lower values make outputs more focused.
max_tokensinteger40961 to 32768Maximum output tokens.
stopstring--Up to 4 strings where the model will stop generating further tokens.
reasoning_effortenummediumnone, low, medium, high, maxReasoning effort. none disables thinking; low, medium, high, and max set bounded thinking budgets.
enable_thinkingbooleantrue-Enable the model reasoning channel before final output.
thinking_budgetinteger40961024 to 32768Maximum thinking tokens before the final answer. If max_tokens is lower, the service reserves room for the answer.
top_kinteger201 to 200Limit sampling to the top K candidate tokens when supported.
min_pnumber00 to 1Minimum probability threshold for token sampling.
presence_penaltynumber0-2 to 2Penalty for tokens that already appeared in the generated text.
frequency_penaltynumber0-2 to 2Penalty based on how often a token has already appeared.
repetition_penaltynumber10.1 to 2Penalty used by SGLang to reduce repeated text.
seedinteger-0 to 2147483647Optional random seed for reproducible sampling.
logprobsbooleanfalse-Return token log probabilities when supported.
8 more parameters in the docs

Bom saber

Suporta entrada de texto, imagem e vídeo, streaming, ferramentas de função, saída JSON estruturada, controle de sementes e modo de pensamento por padrão. Use raciocination effort ou thinking budget para o pensamento limitado, ou ative thinking=false para respostas diretas. As leituras de cache automáticas são cobradas pela taxa de entrada em cache quando relatadas pelo serviço do modelo. Os controles de cache explícitos não são suportados.

Qwen3.5 9B API: common questions

How much does the Qwen3.5 9B API cost?

On EmpirioLabs, Qwen3.5 9B is billed pay as you go: Entrada $0.09 (was $0.10) por fichas de alerta de 1M; Saída $0.13 (was $0.15) por tokens gerados 1M; Leu a 'cache' implícita $0.045 por fichas de entrada em cache de 1M. The live rate card on this page always matches what the API charges.

What is the context window of Qwen3.5 9B?

Qwen3.5 9B supports a 256K-token context window with up to 32,768 output tokens per response.

Is the Qwen3.5 9B API OpenAI-compatible?

Yes. Qwen3.5 9B serves the OpenAI-compatible Chat Completions API, so existing OpenAI SDKs work by pointing base_url at https://api.empiriolabs.ai/v1 and setting the model id to qwen3-5-9b.

Can I try Qwen3.5 9B in the browser before integrating?

Yes. The EmpirioLabs playground runs Qwen3.5 9B in the browser with the same parameters the API exposes, so you can test prompts before writing code.

How do I get a Qwen3.5 9B API key?

Create an EmpirioLabs account, then generate a key under API Keys in the dashboard. Billing is pay-as-you-go credits, so you only pay for the requests you make.

Ready to use better endpoints?

Check out our pricing or reach out if you want your own model deployed on our stack.