Skip to content

Commit 2f2d0e0

Browse files
committed
update basicdata for ernie/gpt-image-1
1 parent 16ab92a commit 2f2d0e0

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/BE/DB/Init/BasicData.cs

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ private static void InsertModelProviders(ChatsDB db)
147147

148148
private static void InsertModelReferences(ChatsDB db)
149149
{
150-
// Generated from data, hash: 92ba6957efb12024ec75aaf6ec53193d646e0391d84c4e8e77f9bd755cb3957b
150+
// Generated from data, hash: 340bce5e9638ecbc2678c6f6ddc577d28e55875ee79e8cc0effa69b8818c2f07
151151
db.ModelReferences.AddRange(
152152
[
153153
new(){ Id=0, ProviderId=0, Name="Test", DisplayName=null, PublishDate=null, MinTemperature=0.00M, MaxTemperature=2.00M, AllowSearch=false, AllowVision=true, AllowSystemPrompt=true, AllowStreaming=true, ReasoningResponseKindId=0, ContextWindow=2048, MaxResponseTokens=2048, TokenizerId=1, InputTokenPrice1M=0.00000M, OutputTokenPrice1M=0.00000M, CurrencyCode="RMB", },
@@ -177,7 +177,7 @@ private static void InsertModelReferences(ChatsDB db)
177177
new(){ Id=123, ProviderId=1, Name="gpt-4.1-nano", DisplayName="gpt-4.1", PublishDate=new DateOnly(2025, 4, 14), MinTemperature=0.00M, MaxTemperature=2.00M, AllowSearch=false, AllowVision=true, AllowSystemPrompt=true, AllowStreaming=true, ReasoningResponseKindId=0, ContextWindow=1047576, MaxResponseTokens=32768, TokenizerId=2, InputTokenPrice1M=0.10000M, OutputTokenPrice1M=0.40000M, CurrencyCode="USD", },
178178
new(){ Id=124, ProviderId=1, Name="o3", DisplayName=null, PublishDate=new DateOnly(2025, 4, 16), MinTemperature=1.00M, MaxTemperature=1.00M, AllowSearch=false, AllowVision=true, AllowSystemPrompt=true, AllowStreaming=true, ReasoningResponseKindId=0, ContextWindow=200000, MaxResponseTokens=100000, TokenizerId=2, InputTokenPrice1M=10.00000M, OutputTokenPrice1M=40.00000M, CurrencyCode="USD", },
179179
new(){ Id=125, ProviderId=1, Name="o4-mini", DisplayName=null, PublishDate=new DateOnly(2025, 4, 16), MinTemperature=1.00M, MaxTemperature=1.00M, AllowSearch=false, AllowVision=true, AllowSystemPrompt=true, AllowStreaming=true, ReasoningResponseKindId=0, ContextWindow=200000, MaxResponseTokens=100000, TokenizerId=2, InputTokenPrice1M=1.10000M, OutputTokenPrice1M=4.40000M, CurrencyCode="USD", },
180-
new(){ Id=126, ProviderId=1, Name="gpt-image-1", DisplayName=null, PublishDate=new DateOnly(2025, 4, 16), MinTemperature=1.00M, MaxTemperature=1.00M, AllowSearch=false, AllowVision=true, AllowSystemPrompt=false, AllowStreaming=false, ReasoningResponseKindId=0, ContextWindow=65536, MaxResponseTokens=32768, TokenizerId=2, InputTokenPrice1M=5.00000M, OutputTokenPrice1M=40.00000M, CurrencyCode="USD", },
180+
new(){ Id=126, ProviderId=1, Name="gpt-image-1", DisplayName=null, PublishDate=new DateOnly(2025, 4, 16), MinTemperature=1.00M, MaxTemperature=1.00M, AllowSearch=false, AllowVision=true, AllowSystemPrompt=false, AllowStreaming=false, ReasoningResponseKindId=0, ContextWindow=65536, MaxResponseTokens=10, TokenizerId=2, InputTokenPrice1M=5.00000M, OutputTokenPrice1M=40.00000M, CurrencyCode="USD", },
181181
new(){ Id=200, ProviderId=2, Name="hunyuan-turbo", DisplayName=null, PublishDate=null, MinTemperature=0.00M, MaxTemperature=2.00M, AllowSearch=true, AllowVision=false, AllowSystemPrompt=true, AllowStreaming=true, ReasoningResponseKindId=0, ContextWindow=32768, MaxResponseTokens=4096, TokenizerId=null, InputTokenPrice1M=15.00000M, OutputTokenPrice1M=50.00000M, CurrencyCode="RMB", },
182182
new(){ Id=201, ProviderId=2, Name="hunyuan-pro", DisplayName=null, PublishDate=null, MinTemperature=0.00M, MaxTemperature=2.00M, AllowSearch=true, AllowVision=false, AllowSystemPrompt=true, AllowStreaming=true, ReasoningResponseKindId=0, ContextWindow=32768, MaxResponseTokens=4096, TokenizerId=null, InputTokenPrice1M=30.00000M, OutputTokenPrice1M=100.00000M, CurrencyCode="RMB", },
183183
new(){ Id=202, ProviderId=2, Name="hunyuan-standard-256K", DisplayName=null, PublishDate=null, MinTemperature=0.00M, MaxTemperature=2.00M, AllowSearch=true, AllowVision=false, AllowSystemPrompt=true, AllowStreaming=true, ReasoningResponseKindId=0, ContextWindow=262144, MaxResponseTokens=6144, TokenizerId=null, InputTokenPrice1M=15.00000M, OutputTokenPrice1M=60.00000M, CurrencyCode="RMB", },
@@ -227,7 +227,7 @@ private static void InsertModelReferences(ChatsDB db)
227227
new(){ Id=523, ProviderId=5, Name="gpt-4.1-nano", DisplayName="gpt-4.1", PublishDate=new DateOnly(2025, 4, 14), MinTemperature=0.00M, MaxTemperature=2.00M, AllowSearch=false, AllowVision=true, AllowSystemPrompt=true, AllowStreaming=true, ReasoningResponseKindId=0, ContextWindow=1047576, MaxResponseTokens=32768, TokenizerId=2, InputTokenPrice1M=0.10000M, OutputTokenPrice1M=0.40000M, CurrencyCode="USD", },
228228
new(){ Id=524, ProviderId=5, Name="o3", DisplayName=null, PublishDate=new DateOnly(2025, 4, 16), MinTemperature=1.00M, MaxTemperature=1.00M, AllowSearch=false, AllowVision=true, AllowSystemPrompt=true, AllowStreaming=true, ReasoningResponseKindId=0, ContextWindow=200000, MaxResponseTokens=100000, TokenizerId=2, InputTokenPrice1M=10.00000M, OutputTokenPrice1M=40.00000M, CurrencyCode="USD", },
229229
new(){ Id=525, ProviderId=5, Name="o4-mini", DisplayName=null, PublishDate=new DateOnly(2025, 4, 16), MinTemperature=1.00M, MaxTemperature=1.00M, AllowSearch=false, AllowVision=true, AllowSystemPrompt=true, AllowStreaming=true, ReasoningResponseKindId=0, ContextWindow=200000, MaxResponseTokens=100000, TokenizerId=2, InputTokenPrice1M=1.10000M, OutputTokenPrice1M=4.40000M, CurrencyCode="USD", },
230-
new(){ Id=526, ProviderId=5, Name="gpt-image-1", DisplayName=null, PublishDate=new DateOnly(2025, 4, 16), MinTemperature=1.00M, MaxTemperature=1.00M, AllowSearch=false, AllowVision=true, AllowSystemPrompt=false, AllowStreaming=false, ReasoningResponseKindId=0, ContextWindow=65536, MaxResponseTokens=32768, TokenizerId=2, InputTokenPrice1M=5.00000M, OutputTokenPrice1M=40.00000M, CurrencyCode="USD", },
230+
new(){ Id=526, ProviderId=5, Name="gpt-image-1", DisplayName=null, PublishDate=new DateOnly(2025, 4, 16), MinTemperature=1.00M, MaxTemperature=1.00M, AllowSearch=false, AllowVision=true, AllowSystemPrompt=false, AllowStreaming=false, ReasoningResponseKindId=0, ContextWindow=65536, MaxResponseTokens=10, TokenizerId=2, InputTokenPrice1M=5.00000M, OutputTokenPrice1M=40.00000M, CurrencyCode="USD", },
231231
new(){ Id=600, ProviderId=6, Name="ernie-4.0-turbo-128k", DisplayName="ERNIE-4.0-Turbo", PublishDate=null, MinTemperature=0.00M, MaxTemperature=1.00M, AllowSearch=true, AllowVision=false, AllowSystemPrompt=true, AllowStreaming=true, ReasoningResponseKindId=0, ContextWindow=8192, MaxResponseTokens=2048, TokenizerId=null, InputTokenPrice1M=20.00000M, OutputTokenPrice1M=60.00000M, CurrencyCode="RMB", },
232232
new(){ Id=601, ProviderId=6, Name="ernie-4.0-8k", DisplayName="ERNIE-4.0", PublishDate=null, MinTemperature=0.00M, MaxTemperature=1.00M, AllowSearch=true, AllowVision=false, AllowSystemPrompt=true, AllowStreaming=true, ReasoningResponseKindId=0, ContextWindow=8192, MaxResponseTokens=2048, TokenizerId=null, InputTokenPrice1M=30.00000M, OutputTokenPrice1M=90.00000M, CurrencyCode="RMB", },
233233
new(){ Id=602, ProviderId=6, Name="ernie-3.5-8k", DisplayName="ERNIE-3.5", PublishDate=null, MinTemperature=0.00M, MaxTemperature=1.00M, AllowSearch=true, AllowVision=false, AllowSystemPrompt=true, AllowStreaming=true, ReasoningResponseKindId=0, ContextWindow=8192, MaxResponseTokens=2048, TokenizerId=null, InputTokenPrice1M=0.80000M, OutputTokenPrice1M=2.00000M, CurrencyCode="RMB", },
@@ -246,6 +246,10 @@ private static void InsertModelReferences(ChatsDB db)
246246
new(){ Id=619, ProviderId=6, Name="deepseek-r1-distill-qwen-7b", DisplayName="DeepSeek-R1", PublishDate=null, MinTemperature=0.00M, MaxTemperature=2.00M, AllowSearch=false, AllowVision=false, AllowSystemPrompt=true, AllowStreaming=true, ReasoningResponseKindId=1, ContextWindow=64000, MaxResponseTokens=8192, TokenizerId=null, InputTokenPrice1M=0.00000M, OutputTokenPrice1M=0.00000M, CurrencyCode="RMB", },
247247
new(){ Id=620, ProviderId=6, Name="deepseek-r1-distill-llama-70b", DisplayName="DeepSeek-R1", PublishDate=null, MinTemperature=0.00M, MaxTemperature=2.00M, AllowSearch=false, AllowVision=false, AllowSystemPrompt=true, AllowStreaming=true, ReasoningResponseKindId=1, ContextWindow=64000, MaxResponseTokens=8192, TokenizerId=null, InputTokenPrice1M=2.00000M, OutputTokenPrice1M=8.00000M, CurrencyCode="RMB", },
248248
new(){ Id=621, ProviderId=6, Name="ernie-4.5-8k-preview", DisplayName="ERNIE-4.5", PublishDate=null, MinTemperature=0.01M, MaxTemperature=1.00M, AllowSearch=true, AllowVision=false, AllowSystemPrompt=true, AllowStreaming=true, ReasoningResponseKindId=0, ContextWindow=8192, MaxResponseTokens=2048, TokenizerId=null, InputTokenPrice1M=4.00000M, OutputTokenPrice1M=16.00000M, CurrencyCode="RMB", },
249+
new(){ Id=622, ProviderId=6, Name="ernie-x1-turbo-32k", DisplayName="ERNIE-X1", PublishDate=new DateOnly(2025, 4, 27), MinTemperature=1.00M, MaxTemperature=1.00M, AllowSearch=true, AllowVision=false, AllowSystemPrompt=true, AllowStreaming=true, ReasoningResponseKindId=1, ContextWindow=32768, MaxResponseTokens=12288, TokenizerId=null, InputTokenPrice1M=1.00000M, OutputTokenPrice1M=4.00000M, CurrencyCode="RMB", },
250+
new(){ Id=623, ProviderId=6, Name="ernie-4.5-turbo-vl-32k", DisplayName="ERNIE-4.5", PublishDate=new DateOnly(2025, 4, 27), MinTemperature=0.00M, MaxTemperature=1.00M, AllowSearch=true, AllowVision=true, AllowSystemPrompt=true, AllowStreaming=true, ReasoningResponseKindId=0, ContextWindow=32768, MaxResponseTokens=12288, TokenizerId=null, InputTokenPrice1M=3.00000M, OutputTokenPrice1M=9.00000M, CurrencyCode="RMB", },
251+
new(){ Id=624, ProviderId=6, Name="ernie-4.5-turbo-128k", DisplayName="ERNIE-4.5", PublishDate=new DateOnly(2025, 4, 27), MinTemperature=0.00M, MaxTemperature=1.00M, AllowSearch=true, AllowVision=false, AllowSystemPrompt=true, AllowStreaming=true, ReasoningResponseKindId=0, ContextWindow=131072, MaxResponseTokens=12288, TokenizerId=null, InputTokenPrice1M=0.80000M, OutputTokenPrice1M=3.20000M, CurrencyCode="RMB", },
252+
new(){ Id=625, ProviderId=6, Name="ernie-4.5-turbo-32k", DisplayName="ERNIE-4.5", PublishDate=new DateOnly(2025, 4, 27), MinTemperature=0.00M, MaxTemperature=1.00M, AllowSearch=true, AllowVision=false, AllowSystemPrompt=true, AllowStreaming=true, ReasoningResponseKindId=0, ContextWindow=32768, MaxResponseTokens=12288, TokenizerId=null, InputTokenPrice1M=0.80000M, OutputTokenPrice1M=3.20000M, CurrencyCode="RMB", },
249253
new(){ Id=700, ProviderId=7, Name="qwen-max", DisplayName=null, PublishDate=null, MinTemperature=0.00M, MaxTemperature=1.99M, AllowSearch=true, AllowVision=false, AllowSystemPrompt=true, AllowStreaming=true, ReasoningResponseKindId=0, ContextWindow=32768, MaxResponseTokens=8192, TokenizerId=null, InputTokenPrice1M=20.00000M, OutputTokenPrice1M=60.00000M, CurrencyCode="RMB", },
250254
new(){ Id=701, ProviderId=7, Name="qwen-plus", DisplayName=null, PublishDate=null, MinTemperature=0.00M, MaxTemperature=1.99M, AllowSearch=true, AllowVision=false, AllowSystemPrompt=true, AllowStreaming=true, ReasoningResponseKindId=0, ContextWindow=131072, MaxResponseTokens=8192, TokenizerId=null, InputTokenPrice1M=0.80000M, OutputTokenPrice1M=2.00000M, CurrencyCode="RMB", },
251255
new(){ Id=702, ProviderId=7, Name="qwen-turbo", DisplayName=null, PublishDate=null, MinTemperature=0.00M, MaxTemperature=1.99M, AllowSearch=true, AllowVision=false, AllowSystemPrompt=true, AllowStreaming=true, ReasoningResponseKindId=0, ContextWindow=131072, MaxResponseTokens=8192, TokenizerId=null, InputTokenPrice1M=0.30000M, OutputTokenPrice1M=0.60000M, CurrencyCode="RMB", },

0 commit comments

Comments
 (0)