> ## Documentation Index
> Fetch the complete documentation index at: https://docs.siliconflow.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Other Issues

## 1. Model Output Encoding Issues

Currently, some models are prone to encoding issues when parameters are not set. In such cases, you can try setting the parameters such as `temperature`, `top_k`, `top_p`, and `frequency_penalty`.

Modify the payload as follows, adjusting as needed for different languages:

```python theme={null}
    payload = {
        "model": "Qwen/Qwen2.5-Math-72B-Instruct",
        "messages": [
            {
                "role": "user",
                "content": "1+1=?",
            }
        ],
        "max_tokens": 200,  # Add as needed
        "temperature": 0.7, # Add as needed
        "top_k": 50,        # Add as needed
        "top_p": 0.7,       # Add as needed
        "frequency_penalty": 0 # Add as needed
    }
```

## 2.Explanation of max\_tokens

The max\_tokens is equal to the context length. Since some model inference services are still being updated, please do not set max\_tokens to the maximum value (context length) when making a request. It is recommended to reserve around 10k as space for input content.

## 3.Explanation of context\_length

The context\_length varies for different LLM models. You can search for the specific model on the [Models](https://cloud.siliconflow.com/models) to view the model details.

## 4. Are There Any Time and Quality Requirements for Custom Voice Samples in the Voice Models

* For cosyvoice2, the custom voice sample must be less than 30 seconds.

To ensure the quality of the generated voice, it is recommended that users upload a voice sample that is 8 to 10 seconds long, with clear pronunciation and no background noise or interference.

## 5. Output Truncation Issues in Model Inference

Here are several aspects to troubleshoot the issue:

* When encountering output truncation through API requests:
  * Max Tokens Setting: Set the max\_token to an appropriate value. If the output exceeds the max\_token, it will be truncated. For the deepseek R1 series, the max\_token can be set up to 16,384.
  * Stream Request Setting: In non-stream requests, long output content is prone to 504 timeout issues.
  * Client Timeout Setting: Increase the client timeout to prevent truncation before the output is fully completed.
* When encountering output truncation through third-party client requests:
  * CherryStdio has a default max\_tokens of 4,096. Users can enable the "Enable Message Length Limit" switch to set the max\_token to an appropriate value.

## 6. Troubleshooting 429 Error During Model Usage

Here are some areas to check for the issue:

* General Users: Verify your user tier and the corresponding Rate Limits (rate limits) for the model. If the request exceeds the Rate Limits, consider retrying after some time.
* Dedicated Instance Users: Dedicated instances typically do not have Rate Limits. If a 429 error occurs, first confirm whether the correct model name for the dedicated instance is being called, and check if the api\_key used matches the dedicated instance.

## 7. Account Balance Insufficient Despite Successful Recharge

Here are some areas to check for the issue:

* Ensure the api\_key being used matches the account that was just recharged.
* If the api\_key is correct, there may be a network delay during the recharge process. Consider waiting a few minutes and then retry.
