惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

爱范儿
爱范儿
大猫的无限游戏
大猫的无限游戏
J
Java Code Geeks
MongoDB | Blog
MongoDB | Blog
Martin Fowler
Martin Fowler
GbyAI
GbyAI
Microsoft Azure Blog
Microsoft Azure Blog
Recent Announcements
Recent Announcements
F
Fortinet All Blogs
B
Blog
U
Unit 42
B
Blog RSS Feed
D
DataBreaches.Net
Google DeepMind News
Google DeepMind News
人人都是产品经理
人人都是产品经理
腾讯CDC
量子位
酷 壳 – CoolShell
酷 壳 – CoolShell
V
Visual Studio Blog
博客园 - 聂微东
MyScale Blog
MyScale Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
博客园 - 三生石上(FineUI控件)
Engineering at Meta
Engineering at Meta

博客园 - PetterLiu

OpenReel开源项目 OpenConnector 技术白皮书 汽车行业高效办公AI实践案例集 微软开源Flint语义驱动的图表项目 工业互联网零信任安全应用进展与挑战 开发思维导论:从大白话创意到AI全自动执行 从微服务到 Agent:我们到底在焦虑什么? Drain3与LogParser-LLM技术优劣势及适用场景对比 人机协作的工程化进化路线与落地案例 长视频如何实现信息压缩与细节 AI 站点可靠性工程 (SRE) Agent 苹果公司"中国+1"布局的逻辑重塑与风险对冲 训练 Agent 最怕什么?不是模型笨,是环境烂。 大语言模型自我验证机制与环境鲁棒性前沿技术研究报告 全球软件产业智能化范式转移与商业价值重构研究报告 基于AJ-Bench智能体自我验证场景案 物业行业 AI 落地避坑指南 AI 驱动的视频内容自动化创作框架ShortGPT 2026年6月份个人回顾 Skill不是长Prompt:如何写出工业级 Skill AI 驱动下的上下文治理与管理范式革命 为什么 FDE 正在成为商业落地的唯一解药 《不懂人性,就别做管理》:软件研发管理的核心洞察解读 四周实现非母语教学APP Agent Mail 产品介绍与 Trae Solo Agent 实测 AI时代团队效能的非线性陷阱与组织重构升级 AI落地三大误区与组织提效路径 AI工程化人才的角色演变与组织冲击 揭秘AI搜索时代的"GEO全链路技能库" AI领域值得关注的人与机构
Qwen Code免费额度到期后变更策略
PetterLiu · 2026-04-15 · via 博客园 - PetterLiu

Qwen Code 是一个面向终端场景的开源 AI 智能体(AI agent),专为通义千问(Qwen)系列模型优化,核心目标是帮助开发者理解大型代码库、自动化繁琐工作,提升开发效率。

2026-04-13:Qwen OAuth 免费额度调整为每日 100 次请求(原 1000 次),且免费层将于 2026-04-15 停用;

image

切换自定义OpenRouter API

/auth

│ Custom Configuration                                                                             │
│                                                                                                  │
│ 您可以在 settings.json 中配置 API Key 和模型                                                     │
│                                                                                                  │
│ 请参考文档了解配置说明                                                                           │
https://qwenlm.github.io/qwen-code-docs/en/users/configuration/model-providers/

配置文件settings.json参考

{
   "env": {
     "OPENROUTER_API_KEY": "xx-your-key"
   },
   "modelProviders": {
     "openai": [
       {
         "id": "qwen/qwen3-next-80b-a3b-instruct:free",
         "name": "qwen/qwen3-next-80b-a3b-instruct:free",
         "envKey": "OPENROUTER_API_KEY",
         "baseUrl": "https://openrouter.ai/api/v1",
         "generationConfig": {
           "timeout": 120000,
           "maxRetries": 3,
           "samplingParams": {
             "temperature": 0.7
           }
         }
       }
     ]
   },
   "$version": 3,
   "security": {
     "auth": {
       "selectedType": "openai"
     }
   },
   "model": {
     "name": "qwen/qwen3-next-80b-a3b-instruct:free"
   },
     "permissions": {
     "allow": [
       "Bash(dotnet *)",
       "Bash(get-content *)",
       "Bash(type *)",
       "Bash(del *)",
       "Bash(dir *)",
       "Bash(python *)",
       "Bash(pip list)",
       "Bash(select-string *)",
       "Bash(chcp *)",
       "Bash(powershell *)",
       "Bash(select-object *)",
        "Bash(findstr *)",
        "Bash(timeout *)",
       "Bash(taskkill *)",
        "Bash(mkdir *)"
      ]
    }
}

image

免费API始终有点儿限制

image

美团LongCat模型

image

配置参考

{
    "env": {
      "OPENROUTER_API_KEY": "XXXYOUREKEY"
    },
    "modelProviders": {
      "openai": [
        {
          "id": "LongCat-Flash-Chat",
          "name": "LongCat-Flash-Chat",
          "envKey": "OPENROUTER_API_KEY",
          "baseUrl": "
https://api.longcat.chat/openai",
          "generationConfig": {
            "timeout": 120000,
            "maxRetries": 3,
            "samplingParams": {
              "temperature": 0.7
            }
          }
        }
      ]
    },
    "$version": 3,
    "security": {
      "auth": {
        "selectedType": "openai"
      }
    },
    "model": {
      "name": "LongCat-Flash-Chat"
    },
      "permissions": {
      "allow": [
        "Bash(dotnet *)",
        "Bash(get-content *)",
        "Bash(type *)",
        "Bash(del *)",
        "Bash(dir *)",
        "Bash(python *)",
        "Bash(pip list)",
        "Bash(select-string *)",
        "Bash(chcp *)",
        "Bash(powershell *)",
        "Bash(select-object *)",
         "Bash(findstr *)",
         "Bash(timeout *)",
        "Bash(taskkill *)",
         "Bash(mkdir *)"
       ]
     }
  }

image

美团LONGCAT官方文档在https://longcat.chat/platform/docs/zh/#openai-api-%E6%A0%BC%E5%BC%8F

配置可以实际工作,今天先到这儿,希望对大家有帮助。