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

step-3.7-flash API

Use step-3.7-flash on APISea for text generation with large input limits and prompt-cache reads.

محادثةالمحادثة والنصمتزامنالتخزين المؤقت للمطالبات
معرّف النموذج
step-3.7-flash

تسعير API لنموذج step-3.7-flash

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

نوع الـ tokenAPISeaرسميوفّر
الإدخال لكل 1M رمز$0.176$0.20−12%
الإدخال المخزّن مؤقتًا لكل 1M رمز$0.0352$0.04−12%
الإخراج لكل 1M رمز$1.01$1.15−12%

ما هو step-3.7-flash؟

step-3.7-flash is a StepFun chat model in the Step family, available through APISea's OpenAI-compatible Chat Completions interface. Its Flash name positions it as a lighter, faster tier, rather than establishing a measured latency advantage. Developers can use it for conversational interfaces, document-based prompts, and text drafting workflows. It accepts conversation messages with system, user, and assistant roles and generates text responses, with maximum input of 262,144 tokens and maximum output of 131,072 tokens.

Use APISea's base URL, https://api.apisea.ai/v1, and select step-3.7-flash in the model parameter. The chat interface provides streaming or complete responses, output-length controls, and sampling parameters. Billing is pay-as-you-go and only for successful requests: input costs $0.176 per 1M tokens, cached input reads cost $0.0352 per 1M tokens, and output costs $1.01 per 1M tokens. The default configuration is about 12% below the provider list price.

أبرز مزايا step-3.7-flash

Large Input Allowance

Supply up to 262,144 input tokens for prompts that include substantial source text or conversation history.

Extended Text Output

The maximum output is 131,072 tokens. Use max_tokens to set a smaller generation budget for each request.

Prompt Cache Reads

The model supports prompt-cache reads, priced at $0.0352 per 1M tokens on APISea.

Configurable Chat Responses

Choose streaming or complete responses through stream. Adjust temperature or top_p to control output randomness and diversity.

كيفية استدعاء API الخاص بـ step-3.7-flash في 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": "step-3.7-flash" والمعلمات أدناه.

  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": "step-3.7-flash",
    "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

ما الذي يمكنك إنشاؤه باستخدام step-3.7-flash

Document Summaries

Build workflows that pass source documents as text and request summaries, using the input allowance to include more source material.

Multi-Turn Assistants

Supply user and assistant messages as conversation context, with a system message defining the assistant's behavior.

Content Drafting

Generate drafts from briefs and reference text, setting max_tokens to match the desired output budget.

Document-Based Q&A

Include relevant source passages in the prompt and ask the model to answer from that material. Instruct it to flag questions the supplied text does not resolve.

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

  • 01

    Set an Output Budget

    Choose max_tokens deliberately rather than targeting the maximum output allowance. Output is billed at $1.01 per 1M tokens.

  • 02

    Tune One Sampling Control

    Start with temperature or top_p rather than adjusting both at once, as recommended in the chat documentation. Lower temperature values make output more deterministic.

  • 03

    Check Cache Read Usage

    For workflows with repeated prompt material, review the prompt-cache documentation and confirm which requests qualify for cache reads. Cached input reads cost $0.0352 per 1M tokens.

  • 04

    Choose Streaming Explicitly

    Set stream to true for SSE streaming or false to receive the complete response at once. An explicit value avoids relying on endpoint defaults.

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

  • Maximum input is 262,144 tokens.

  • Maximum output is 131,072 tokens; a lower max_tokens setting can stop generation sooner.

  • The Flash name does not establish a measured speed or quality advantage over other models.

الأسئلة الشائعة حول API الخاص بـ step-3.7-flash

How much does step-3.7-flash cost on APISea?

Input costs $0.176 per 1M tokens, cached input reads cost $0.0352 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 step-3.7-flash through the API?

Use https://api.apisea.ai/v1 as your OpenAI-compatible base URL and send a Chat Completions request with model set to step-3.7-flash and a messages array. Authenticate with your APISea API key using Bearer Token authentication.

Which generation parameters can I use?

The documented chat interface includes temperature, top_p, max_tokens, stream, frequency_penalty, presence_penalty, stop, and n. Use stream to choose between SSE streaming and a complete response.

What are the input and output token limits?

step-3.7-flash supports a maximum input of 262,144 tokens and a maximum output of 131,072 tokens. It also supports prompt-cache reads.

Can I use step-3.7-flash commercially?

Commercial use is subject to the provider's terms. Review the applicable StepFun terms and APISea service terms before deploying it in a commercial product.

How does step-3.7-flash compare with higher-tier models?

The Flash name positions it as a lighter, faster, lower-cost tier, while names such as Pro or Max generally signal a higher capability tier. The supplied facts do not establish comparative speed or quality, so evaluate candidates on your own workload.

نماذج ذات صلة

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

ابدأ التطوير باستخدام step-3.7-flash

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