Balance unit is incorrect for Chinese providers, such as DeepSeek and SiliconFlow
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 55/100
Research direction
Start by locating the balance-handling path used when requesting balances for SiliconFlow and DeepSeek channels. Reproduce the request with each provider and inspect how the returned CNY unit is represented; done means the balance is consistently reported as CNY or correctly converted to USD, with coverage for the affected providers.
Written by the indexing model from the issue text.
Description
例行检查
- 我已确认目前没有类似 issue
- 我已确认我已升级到最新版本
- 我已完整查看过项目 README,尤其是常见问题部分
- 我理解并愿意跟进此 issue,协助测试和提供反馈
- 我理解并认可上述内容,并理解项目维护者精力有限,不遵循规则的 issue 可能会被无视或直接关闭
问题描述
For Chinese providers, such as DeepSeek and SiliconFlow, the unit of balance is CNY.
But it's saved as unit USD.
复现步骤
Configure SiliconFlow or DeepSeek channel, and then request balance.
预期结果
Use unit CNY for SiliconFlow or DeepSeek, or transfer it to USD.
- Dominant language
- Go
- Stars
- 48.5k
- Forks
- 11.6k
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 58
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from QuantumNous/new-api
-
fix(relay): terminal stream chunk with finish_reason is dropped when client does not request usage Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
QuantumNous/new-api#7489 · 1 comment ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
QuantumNous/new-api#7479 · 1 comment ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
QuantumNous/new-api#7478 · 2 comments ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
QuantumNous/new-api#7467 · 1 comment ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
QuantumNous/new-api#7417 · 1 comment ·
All issues in QuantumNous/new-api
Similar issues
-
optimization optimization:agents-md-curator
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
githubnext/gh-aw-cao#13143 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
blinklabs-io/bursa#904 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
yanet-platform/ipfw-go#129 ·
-
bug confmap/provider/googlesecretmanagerprovider needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
open-telemetry/opentelemetry-collector-contrib#51273 · 2 comments ·
-
bug: AI Gateway client filter lists "Unknown" twice when NULL and literal Unknown clients coexist Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 90/100