Skip to content
هذه الصفحة غير متاحة بلغتك بعد، لذا تُعرض باللغة الإنجليزية.
Alibaba · Qwen

qwen3.7-plus API

Generate chat responses with Alibaba’s qwen3.7-plus on APISea, with large input limits and prompt-cache reads.

محادثةالمحادثة والنصمتزامنالتخزين المؤقت للمطالبات
معرّف النموذج
qwen3.7-plus

تسعير API لنموذج qwen3.7-plus

جميع الأسعار بالدولار الأمريكي (USD). مقارنة أسعار APISea بالسعر الرسمي المعلن للوحدة نفسها.

نوع الـ tokenAPISeaرسميوفّر
الإدخال لكل 1M رمز$0.2515$0.2858−12%
الإدخال المخزّن مؤقتًا لكل 1M رمز$0.0503$0.05716−12%
الإخراج لكل 1M رمز$1.01$1.14−12%

ما هو qwen3.7-plus؟

qwen3.7-plus is Alibaba’s Qwen-family chat model, available through APISea for text generation and multi-turn conversations. Developers can use it to build assistants, draft text, and work with substantial text inputs: the listed maximum input is 991,808 tokens, with up to 131,072 output tokens. Requests use messages with system, user, and assistant roles in the OpenAI-compatible Chat Completions format. Generation controls include temperature, top_p, max_tokens, and stop sequences, with streaming or complete-response delivery.

Call the model through APISea’s base URL, https://api.apisea.ai/v1, using one API key and the model identifier qwen3.7-plus. Pricing is pay-as-you-go: $0.2515 per 1M tokens for input, $0.0503 per 1M tokens for cached input reads, and $1.01 per 1M tokens for output. The default configuration is about 12% below the provider list price, and APISea bills only for successful requests.

أبرز مزايا qwen3.7-plus

Large Text Input

Accepts up to 991,808 input tokens, allowing substantial text context in a chat request.

Extended Output Limit

Supports up to 131,072 output tokens. Use max_tokens to set a smaller generation budget for your application.

Prompt Cache Reads

Supports prompt-cache reads at $0.0503 per 1M tokens, compared with standard input pricing of $0.2515 per 1M tokens.

Configurable Chat Responses

Use temperature, top_p, and stop sequences to control generation. Choose streaming responses or receive the complete response at once.

كيفية استدعاء API الخاص بـ qwen3.7-plus في 4 خطوات

  1. 01

    احصل على API key

    سجّل الدخول إلى APISea، واشحن رصيدك بدءًا من $50، وأنشئ مفتاح sk-sea من وحدة التحكم.

  2. 02

    اضبط عنوان URL الأساسي

    استخدم https://api.apisea.ai/v1 عنوانًا أساسيًا في SDK أو عميل HTTP.

  3. 03

    أرسل الطلب

    استدعِ POST /v1/chat/completions مع "model": "qwen3.7-plus" والمعلمات أدناه.

  4. 04

    تعامل مع الاستجابة

    اقرأ الاستجابة (أو استقبل الـ tokens بالتدفق باستخدام stream: true). يظهر الاستخدام والتكلفة في وحدة التحكم.

curl https://api.apisea.ai/v1/chat/completions \
  -H "Authorization: Bearer $APISEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "qwen3.7-plus",
    "messages": [
      {"role": "system", "content": "You are a concise assistant."},
      {"role": "user", "content": "Explain what an AI API gateway does in two sentences."}
    ],
    "stream": false
  }'

المعلمات

المعلمةالنوعمطلوبافتراضيالوصف
modelstringمطلوبgpt-5Model name
messagesarrayمطلوب—List of conversation messages
rolestringمطلوبuserRole type
contentstringمطلوب—Message content
temperaturenumberاختياري—Controls output randomness, range 0-2
max_tokensintegerاختياري—Maximum number of tokens to generate
streambooleanاختياري—Whether to use streaming output
top_pnumberاختياري—Nucleus sampling parameter, range 0-1
frequency_penaltynumberاختياري—Frequency penalty, range -2.0 to 2.0
presence_penaltynumberاختياري—Presence penalty, range -2.0 to 2.0
stopstring or arrayاختياري—Stop sequences
nintegerاختياري—Number of completions to generate

ما الذي يمكنك إنشاؤه باستخدام qwen3.7-plus

Document-Based Assistants

Build a text assistant that receives extensive reference material alongside a user’s question. The large input limit provides room for source text and conversation instructions.

Multi-Turn Product Chat

Include prior user and assistant messages to build conversational workflows, with a system message defining the assistant’s behavior.

Long-Form Drafting

Request reports, guides, or other substantial drafts, setting max_tokens to match the desired output budget.

Text Review Workflows

Provide text and explicit review criteria to request summaries, edits, or structured written feedback through the chat interface.

نصائح للحصول على نتائج أفضل

  • 01

    Set an Output Budget

    Set max_tokens explicitly rather than treating the 131,072-token output maximum as a target. A smaller budget helps control output usage and cost.

  • 02

    Tune One Sampling Control

    Use either temperature or top_p to adjust generation diversity, as the documentation recommends. Lower temperature values make output more deterministic.

  • 03

    Account for Cache Reads

    Distinguish cached input reads from standard input in your cost estimates. The listed cache-read rate applies to prompt-cache reads, not every input token.

  • 04

    Choose Delivery Explicitly

    Set stream to true for SSE output or false for a complete response. Specifying it explicitly avoids relying on endpoint defaults.

القيود ومعلومات مهمة

  • Maximum input is 991,808 tokens.

  • Maximum output is 131,072 tokens; max_tokens sets the requested generation cap.

  • The documented interface covers text chat; other input modalities are not specified in these facts.

الأسئلة الشائعة حول API الخاص بـ qwen3.7-plus

How much does qwen3.7-plus cost on APISea?

Input costs $0.2515 per 1M tokens, cached input reads cost $0.0503 per 1M tokens, and output costs $1.01 per 1M tokens. The default configuration is about 12% below the provider list price, with pay-as-you-go billing only for successful requests.

How do I call qwen3.7-plus through the API?

Send a POST request to https://api.apisea.ai/v1/chat/completions with Bearer Token authentication using your APISea key. Set model to qwen3.7-plus and provide a messages array containing role and content fields.

Which generation parameters can I use?

The documented chat interface includes temperature, top_p, max_tokens, stream, frequency_penalty, presence_penalty, stop, and n. Temperature ranges from 0 to 2, top_p from 0 to 1, and stop accepts up to four sequences.

What are the input and output token limits?

The listed maximum input is 991,808 tokens, and the maximum output is 131,072 tokens. Use max_tokens to request an output budget within the output limit.

Does qwen3.7-plus support streaming and prompt caching?

The chat interface supports streaming via stream set to true and complete responses via stream set to false. This model supports prompt-cache reads, billed at $0.0503 per 1M tokens.

Can I use qwen3.7-plus commercially?

Commercial use is subject to the provider’s terms. Review Alibaba’s applicable terms and APISea’s terms before deploying your application.

نماذج ذات صلة

العمق: أكثر من 250 نموذجًا · الحد الأدنى لشحن الرصيد $50

ابدأ التطوير باستخدام qwen3.7-plus

مفتاح واحد، وادفع حسب الاستخدام بدءًا من $50؛ ولا تُحتسب الرسوم إلا على الطلبات الناجحة.