Skip to content

Commit

Permalink
perf: update built-in AI available models
Browse files Browse the repository at this point in the history
  • Loading branch information
tisfeng committed Apr 22, 2024
1 parent dd58d4a commit 9b6215f
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions Easydict/Swift/Service/BuiltInAI/BuiltInAIService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,20 @@ class BuiltInAIService: BaseOpenAIService {

override var availableModels: [String] {
[
// DashScope 限时免费开放中 https://help.aliyun.com/zh/dashscope/developer-reference/tongyi-qianwen-7b-14b-72b-metering-and-billing
"qwen1.5-32b-chat",
"qwen-turbo", // free until 8.12
"qwen-plus", // free until 8.12
"deepseek-7b-chat",
"internlm-7b-chat",

// Groq https://console.groq.com/docs/models
/**
阿里通义千问 DashScope 限时免费开放中 https://help.aliyun.com/zh/dashscope/developer-reference/tongyi-qianwen-7b-14b-72b-metering-and-billing

通义千问开源系列,开通DashScope即获赠总计 1,000,000 tokens 限时免费使用额度,有效期30天。(qwen1.5-32b-chat模型目前限时免费开放中)
*/
"qwen1.5-32b-chat", // 目前限时免费开放中
"qwen-turbo", // free total 2,000,000 tokens, until 8.12
"baichuan2-13b-chat-v1", // free until 8.12, total 1,000,000 tokens
"deepseek-7b-chat", // 开通DashScope即获赠总计 1,000,000 tokens 限时免费使用额度,有效期180天。
"internlm-7b-chat", // 开通DashScope即获赠总计 1,000,000 tokens 限时免费使用额度,有效期180天。

// Groq free models https://console.groq.com/docs/models
"mixtral-8x7b-32768",
"llama3-70b-8192",

// It seems that 5.2 will start charging 😥 https://ai.google.dev/pricing?hl=zh-cn
"gemini-pro",
Expand Down

0 comments on commit 9b6215f

Please sign in to comment.