Qwen3.7 Flash API

Fast Qwen3.7 vision-language model for text, image, video, tool use, and agentic tasks, with implicit caching and a 1M token context.

Alibaba CloudGeração de Texto1M contextoLançado 15 de jul. de 2026SingaporeEndpoint proprietárioNovo

Sobre Qwen3.7 Flash

Fast Qwen3.7 vision-language model for text, image, video, tool use, and agentic tasks, with implicit caching and a 1M token context.

Supports text, image, and video inputs, thinking mode with enable_thinking and thinking_budget up to 131072 tokens, function calling, structured output, web search, web extractor, code interpreter, image search tools, prefix continuation, and implicit context caching. Web Search and image-search tools are billed per invoked call. Thinking tokens are billed as output tokens.

Também conhecido como Alibaba Cloud Qwen3.7 Flash, Qwen3.7-Flash, qwen3-7-flash

reasoningvisionvideoweb searchcode interpreterfunction callingprefix continuationcacheagentic coding

Especificações de Qwen3.7 Flash

ID do modelo
qwen3-7-flash
Provedor
Alibaba Cloud
Categoria
Geração de Texto
Lançado
15 de jul. de 2026
Janela de contexto
1M tokens
Saída máxima
65.536 tokens
Entrada
TextoImagemVídeo
Saída
Texto
Saída estruturada
Modo JSON
Região
Singapore
Endpoints
POST/v1/chat/completionsPOST/v1/responsesPOST/v1/messagesPOST/v1beta/models/qwen3-7-flash:generateContent
IDs de modelo alternativos
qwen3.7-flash

Preços da API Qwen3.7 Flash

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
<=32K $0.0332K-256K $0.10256K-1M $0.20
Saída
per 1M generated tokens
<=32K $0.1332K-256K $0.40256K-1M $0.80
Implicit cache read
per 1M cached input tokens
<=32K $0.00632K-256K $0.02256K-1M $0.04
Web search
per request when enabled
$0.03
Image Search
per call
$0.03
Comparar na página completa de preços

Como chamar a API Qwen3.7 Flash

Qwen3.7 Flash 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-7-flash. 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-7-flash",
    "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-7-flash",
    messages=[{"role": "user", "content": "Write a haiku about the ocean."}],
)
print(response.choices[0].message.content)
Referência completa da API Qwen3.7 Flash

Parâmetros da API Qwen3.7 Flash

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

ParâmetroTipoPadrãoIntervalo / valoresDescrição
temperaturenumber0.70 a 2Sampling temperature. 0 is deterministic and 2 is maximum randomness.
top_pnumber0.90 a 1Nucleus sampling probability mass. Lower values make outputs more focused.
max_tokensnumber40961 a 65536Maximum output tokens.
stopstring--Up to 4 strings where the model will stop generating further tokens.
enable_thinkingbooleantrue-Enable reasoning before answering.
reasoning_effortenummediumnone, low, medium, high, maxReasoning effort level. none disables thinking. low, medium, high, and max set bounded thinking budgets sized to the selected model.
thinking_budgetnumber327681 a 131072Maximum tokens reserved for reasoning when thinking is enabled.
vl_high_resolution_imagesbooleantrue-Use higher resolution processing for image inputs.
max_pixelsnumber26214404096 a 16777216Maximum pixel count per image when high resolution processing is disabled.
video_fpsnumber20.1 a 10Frames per second to sample from video inputs.
treat_images_as_videobooleanfalse-Treat a sequence of images as video frames.
tool_web_searchbooleantrue-Search the web for real-time information. Adds $0.03 to the request cost for each invoked call.
tool_web_extractorbooleantrue-Extract and read content from URLs. Requires Web Search and Thinking.
tool_code_interpreterbooleantrue-Run Python code in a sandbox. Requires Thinking.
4 parâmetros a mais na documentação

Bom saber

Token pricing is tiered by prompt size and steps up above 32K and again above 256K input tokens. Cached prompt tokens are billed at the implicit cache rate for the matching tier. Web Search, Text-to-Image Search, and Image-to-Image Search are billed only when invoked.

Text-to-Image Search and Image-to-Image Search use the Image Search pricing row. Thinking tokens are billed as output tokens.

Per-tool billing (usage.tool_usage)

When this model invokes built-in tools inside a single request, the response carries a normalized usage.tool_usage map alongside the token counts. Tool counts are already factored into cost_usd and are surfaced for transparency.

:variant1

China pricing is discounted versus Singapore. Token pricing is tiered by prompt size and steps up above 32K and again above 256K input tokens. Implicit cache input uses the cached-token row. Web Search, Text-to-Image Search, and Image-to-Image Search are billed only when invoked.

Text-to-Image Search and Image-to-Image Search use the Image Search pricing row. China paid tool calls are $0.01 each. Thinking tokens are billed as output tokens.

Variantes de Qwen3.7 Flash

Variantes são versões alternativas de Qwen3.7 Flash com id de modelo próprio. Dependendo da variante, podem diferir em região de serviço, preços ou parâmetros suportados; todo o resto funciona igual.

Qwen3.7 Flash :variant1Economize até 18%

ID do modelo
qwen3-7-flash:variant1
Região
China
Janela de contexto
1M tokens
Saída estruturada
Modo JSON
Tipo
Especificação
Tarifa
Entrada
per 1M prompt tokens
$0.03<=32K $0.028$0.1032K-256K $0.083$0.20256K-1M $0.165
Saída
per 1M generated tokens
$0.13<=32K $0.11$0.4032K-256K $0.33$0.80256K-1M $0.66
Implicit cache read
per 1M cached input tokens
<=32K $0.006$0.0232K-256K $0.017$0.04256K-1M $0.033
Web search
per request when enabled
$0.01
Image Search
per call
$0.01
Testar :variant1 no playground

API Qwen3.7 Flash: perguntas frequentes

Quanto custa a API Qwen3.7 Flash?

Na EmpirioLabs, Qwen3.7 Flash é 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.7 Flash?

Qwen3.7 Flash suporta uma janela de contexto de 1M tokens com até 65.536 tokens de saída por resposta.

A API Qwen3.7 Flash é compatível com OpenAI?

Sim. Qwen3.7 Flash 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-7-flash.

Quais variantes de Qwen3.7 Flash estão disponíveis?

Qwen3.7 Flash está disponível como 2 ids de modelo: o padrão qwen3-7-flash mais qwen3-7-flash:variant1 (China). Variantes podem diferir em região de serviço, preços ou parâmetros suportados; as tabelas de tarifas de cada uma estão nesta página.

Posso testar Qwen3.7 Flash no navegador antes de integrar?

Sim. O playground da EmpirioLabs executa Qwen3.7 Flash 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.7 Flash?

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.