qwen3.7-flash

Chat

Qwen3.7 系列轻量档视觉语言推理模型,擅长物体识别、空间理解与真实场景视觉感知。面向多模态 Agent、视觉 Coding、搜索与计算机操作。

Input price

$0.03

/ M

Output price

$0.13

/ M

Cache read

$0.006

/ M

Cache write

$0.038

/ M

Input

Text

Output

Text

Dynamic pricing

Prices vary by usage tier and request conditions

Tiered price table

  • baseLength < 32K
    Input$0.03
    Output$0.13
    Cache read$0.006
    Cache write$0.038
  • tier_2Length > 32K && Output < 256K
    Input$0.1
    Output$0.4
    Cache read$0.02
    Cache write$0.125
  • tier_3
    Input$0.2
    Output$0.8
    Cache read$0.04
    Cache write$0.25
TierInputOutputCache readCache write
baseLength < 32K
$0.03$0.13$0.006$0.038
tier_2Length > 32K && Output < 256K
$0.1$0.4$0.02$0.125
tier_3
$0.2$0.8$0.04$0.25

API

Quick Start

Drop-in code to call this model with EasyAPI's OpenAI-compatible API.

1

Get your API key

Create an API key from your dashboard and set it as an environment variable:

Replace sk-xxxxxxxx with your API token from the console (Bearer token).

Create API token
shell
export EASYAPI_API_KEY=sk-xxxxxxxx
2

Make your first request

Use qwen/qwen3.7-flash with the EasyAPI API:

cURL
curl https://token.easyapi.com/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $EASYAPI_API_KEY" \
  -d '{"model":"qwen/qwen3.7-flash","messages":[{"role":"user","content":"Hello!"}]}'
3

Enable streaming

Add "stream": true to your request body to receive responses as server-sent events:

curl
curl -N https://token.easyapi.com/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $EASYAPI_API_KEY" \
  -d '{"model":"qwen/qwen3.7-flash","messages":[{"role":"user","content":"Hello!"}],"stream":true}'

Endpoint

Sends a chat completion request. Supports streaming and non-streaming modes.

POSThttps://token.easyapi.com/v1/chat/completions
Authorization
Bearer $EASYAPI_API_KEY
Content-Type
application/json
Model
qwen/qwen3.7-flash

发送对话补全请求,支持流式与非流式。 Docs

GEThttps://token.easyapi.com/v1/models
Authorization
Bearer $EASYAPI_API_KEY

获取当前账户可用模型列表。 Docs

Parameters

NameTypeDefaultDescription
modelstring模型 ID,如 openai/gpt-4o、anthropic/claude-3-5-sonnet
messagesarray对话消息列表,每项含 role 与 content
streambooleanfalse设为 true 时以 SSE 流式返回
temperaturefloat1采样温度,越高越随机
max_tokensinteger单次回复最大生成 Token 数
top_pfloat1核采样,限制候选词累积概率
frequency_penaltyfloat0频率惩罚,降低重复用词
presence_penaltyfloat0存在惩罚,鼓励新话题

Using third-party SDKs

Official OpenAI and other SDKs work by swapping the base URL. See integration guide