Skip to content
StepFun

Configure StepFun

StepFun is an emerging AI company in China that provides the Step series of large language models. It focuses on long context capabilities, supporting up to 32K tokens context window, with fully OpenAI-compatible API format. Registration is simple and quick to get started.

1. Obtain StepFun API Key

1.1 Visit StepFun Open Platform

Visit the StepFun Open Platform and log in: https://platform.stepfun.com/

Visit StepFun Platform

1.2 Enter API Keys Page

After logging in, click API Keys in the left menu to enter the key management page.

Enter API Keys Page

1.3 Create New API Key

Click the Create New Key button in the upper right corner.

Note: When you register an account and enter, there will be a default key data named "Default Key".

Click Create Button

1.4 Set API Key Information

In the popup dialog:

  1. Enter the API Key name (e.g., CueMate)
  2. Click the OK button

Set API Key Information

1.5 Copy API Key

After successful creation, the system will display the API Key.

Important: This is the only time you can see the complete API Key, please copy and save it immediately.

Copy API Key

Click the copy button, and the API Key has been copied to the clipboard.

2. Configure StepFun Model in CueMate

2.1 Enter Model Settings Page

After logging into CueMate, click Model Settings in the dropdown menu in the upper right corner.

Enter Model Settings

2.2 Add New Model

Click the Add Model button in the upper right corner.

Click Add Model

2.3 Select StepFun Provider

In the popup dialog:

  1. Provider Type: Select StepFun
  2. After clicking, it will automatically proceed to the next step

Select StepFun

2.4 Fill in Configuration Information

Fill in the following information on the configuration page:

Basic Configuration

  1. Model Name: Give this model configuration a name (e.g., Step-1-32K)
  2. API URL: Keep the default https://api.stepfun.com/v1 (OpenAI-compatible format)
  3. API Key: Paste the StepFun API Key you just copied
  4. Model Version: Select the model ID you want to use. Common models include:
    • step-2-mini: Latest lightweight model, 32K max output
    • step-2-16k: New generation standard model, 16K max output
    • step-1-8k: Standard model, 8K max output
    • step-1-32k: Long context model, 32K max output
    • step-1-256k: Ultra-long context model, 256K max output

Fill in Basic Configuration

Advanced Configuration (Optional)

Expand the Advanced Configuration panel to adjust the following parameters:

CueMate Interface Adjustable Parameters:

  1. Temperature: Controls output randomness

    • Range: 0-2
    • Recommended Value: 0.7
    • Function: Higher values produce more random and creative output, lower values produce more stable and conservative output
    • Usage Suggestions:
      • Creative writing/brainstorming: 1.0-1.5
      • Regular conversation/Q&A: 0.6-0.9
      • Code generation/precise tasks: 0.3-0.5
  2. Max Tokens: Limits single output length

    • Range: 256 - 32768 (depending on model)
    • Recommended Value: 4096
    • Function: Controls the maximum word count of model's single response
    • Model Limits:
      • step-2-mini: max 32K tokens
      • step-2-16k: max 16K tokens
      • step-1-8k: max 8K tokens
      • step-1-32k: max 32K tokens
      • step-1-256k: max 256K tokens
    • Usage Suggestions:
      • Short Q&A: 1024-2048
      • Regular conversation: 4096-8192
      • Long text generation: 16384-32768
      • Ultra-long documents: 256K (step-1-256k only)

Advanced Configuration

Other Advanced Parameters Supported by StepFun API:

Although CueMate's interface only provides temperature and max_tokens adjustments, if you call StepFun directly through the API, you can also use the following advanced parameters (StepFun uses OpenAI-compatible API format):

  1. top_p (nucleus sampling)

    • Range: 0-1
    • Default Value: 1
    • Function: Samples from the smallest candidate set with cumulative probability reaching p
    • Relationship with temperature: Usually only adjust one of them
    • Usage Suggestions:
      • Maintain diversity but avoid absurdity: 0.9-0.95
      • More conservative output: 0.7-0.8
  2. frequency_penalty

    • Range: -2.0 to 2.0
    • Default Value: 0
    • Function: Reduces the probability of repeating the same words (based on word frequency)
    • Usage Suggestions:
      • Reduce repetition: 0.3-0.8
      • Allow repetition: 0 (default)
  3. presence_penalty

    • Range: -2.0 to 2.0
    • Default Value: 0
    • Function: Reduces the probability of words that have already appeared appearing again (based on whether they appear)
    • Usage Suggestions:
      • Encourage new topics: 0.3-0.8
      • Allow repeated topics: 0 (default)
  4. stream

    • Type: Boolean
    • Default Value: false
    • Function: Enables SSE streaming return, returning as it generates
    • In CueMate: Handled automatically, no manual setting required
No.Scenariotemperaturemax_tokenstop_pfrequency_penaltypresence_penalty
1Creative writing1.0-1.24096-81920.950.50.5
2Code generation0.2-0.52048-40960.90.00.0
3Q&A system0.71024-20480.90.00.0
4Long text processing0.6-0.816384-327680.90.30.0

2.5 Test Connection

After filling in the configuration, click the Test Connection button to verify if the configuration is correct.

Test Connection

If the configuration is correct, it will display a success message and return a model response example.

Test Success

2.6 Save Configuration

After a successful test, click the Save button to complete the model configuration.

Save Configuration

3. Use Model

Through the dropdown menu in the upper right corner, enter the system settings interface and select the model configuration you want to use in the Large Model Provider section.

After configuration, you can select to use this model in functions such as interview training and question generation, or you can individually select the model configuration for a specific interview in the interview options.

Select Model

4. Supported Model List

4.1 Step Series

No.Model NameModel IDMax OutputUse Case
1Step-2-Ministep-2-mini32K tokensLatest lightweight model, fast response, high cost-performance
2Step-2-16Kstep-2-16k16K tokensNew generation standard model, balanced performance and cost
3Step-1-8Kstep-1-8k8K tokensRegular conversation, fast response, cost-performance priority
4Step-1-32Kstep-1-32k32K tokensLong text processing, complex conversations, deep analysis
5Step-1-256Kstep-1-256k256K tokensUltra-long context, ultra-long document processing, deep analysis

5. Common Issues

5.1 Invalid API Key

Symptom: API Key error prompt during test connection

Solution:

  1. Check if the API Key format is correct
  2. Confirm that the API Key has not expired or been disabled
  3. Check if the account has available quota

5.2 Request Timeout

Symptom: No response for a long time during test connection or usage

Solution:

  1. Check if network connection is normal
  2. Confirm API URL address is correct: https://api.stepfun.com/v1
  3. Check firewall settings

5.3 Insufficient Quota

Symptom: Prompt that quota is exhausted or insufficient balance

Solution:

  1. Log in to StepFun platform to check account balance
  2. Recharge or apply for more quota
  3. Optimize usage frequency

Released under the GPL-3.0 License.