Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
new-api
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
638950c2
authored
Mar 27, 2025
by
1808837298@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: Add new cache ratios for o3-mini and gpt-4.5-preview models
parent
3b047b18
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
setting/operation_setting/cache_ratio.go
+4
-0
No files found.
setting/operation_setting/cache_ratio.go
View file @
638950c2
...
...
@@ -14,6 +14,8 @@ var defaultCacheRatio = map[string]float64{
"o1-preview"
:
0.5
,
"o1-mini-2024-09-12"
:
0.5
,
"o1-mini"
:
0.5
,
"o3-mini"
:
0.5
,
"o3-mini-2025-01-31"
:
0.5
,
"gpt-4o-2024-11-20"
:
0.5
,
"gpt-4o-2024-08-06"
:
0.5
,
"gpt-4o"
:
0.5
,
...
...
@@ -21,6 +23,8 @@ var defaultCacheRatio = map[string]float64{
"gpt-4o-mini"
:
0.5
,
"gpt-4o-realtime-preview"
:
0.5
,
"gpt-4o-mini-realtime-preview"
:
0.5
,
"gpt-4.5-preview"
:
0.5
,
"gpt-4.5-preview-2025-02-27"
:
0.5
,
"deepseek-chat"
:
0.25
,
"deepseek-reasoner"
:
0.25
,
"deepseek-coder"
:
0.25
,
...
...
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