Skip to content

Provider like SiliconFlow show wrong tokens number on task header #959

@misskanagi

Description

@misskanagi

Which version of the app are you using?

v3.3.18

Which API Provider are you using?

OpenAI Compatible

Which Model are you using?

DeepSeek-V3

What happened?

I am using SiliconFlow (OpenAi Compatible) as API provider and DeepSeek-V3 model. Token usage statistics is wrong (shows several millions actually just thousands) which caused cost statistics is also wrong.

Image

Steps to reproduce

  1. API Provider set as OpenAi Compatible
  2. Base URL set as https://api.siliconflow.cn/v1
  3. Fill in API key
  4. Model set as deepseek-ai/DeepSeek-V3
  5. Start any chat to see tokens statistics

Relevant API REQUEST output

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue - In ProgressSomeone is actively working on this. Should link to a PR soon.enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions