Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
陈曦
sub2api
Commits
58f21e4b
Commit
58f21e4b
authored
Feb 25, 2026
by
erio
Browse files
fix: correct gofmt alignment in gemini-3.1-pro fallback pricing
parent
5bd7408b
Changes
1
Hide whitespace changes
Inline
Side-by-side
backend/internal/service/billing_service.go
View file @
58f21e4b
...
@@ -139,9 +139,9 @@ func (s *BillingService) initFallbackPricing() {
...
@@ -139,9 +139,9 @@ func (s *BillingService) initFallbackPricing() {
// Gemini 3.1 Pro
// Gemini 3.1 Pro
s
.
fallbackPrices
[
"gemini-3.1-pro"
]
=
&
ModelPricing
{
s
.
fallbackPrices
[
"gemini-3.1-pro"
]
=
&
ModelPricing
{
InputPricePerToken
:
2e-6
,
// $2 per MTok
InputPricePerToken
:
2e-6
,
// $2 per MTok
OutputPricePerToken
:
12e-6
,
// $12 per MTok
OutputPricePerToken
:
12e-6
,
// $12 per MTok
CacheCreationPricePerToken
:
2e-6
,
// $2 per MTok
CacheCreationPricePerToken
:
2e-6
,
// $2 per MTok
CacheReadPricePerToken
:
0.2e-6
,
// $0.20 per MTok
CacheReadPricePerToken
:
0.2e-6
,
// $0.20 per MTok
SupportsCacheBreakdown
:
false
,
SupportsCacheBreakdown
:
false
,
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment