开源版的claudecode,让你体验最好的大模型Open-source version of claudecode, letting you experience the best large models


AI free token/AI免费积分

大家都知道最好用的大模型--claude,然而claude不仅需要费用,而且有外网限制,很难用上。一般都是公司开的企业版的,下面这个是我的claude企业账号。

开源版的claudecode,让你体验最好的大模型

为了大家都能体验claude,我找到了开源版的claudecode--opencode,几乎引入了claudecode的所有功能。

现在来安装下opencode,跟claudecode的安装及使用方法是一样的。

一、安装二步

首先安装nodejs,然后打开cmd窗口执行如下命令:

npm i -g opencode-ai,有的电脑会报没有权限;

sudo npm i -g opencode-ai,加上管理员权限,成功安装。

二、常用使用方式

01、cmd窗口

如果是管理员权限,直接输入opencode

(1)选择模型:ctrl+p,或者/model

开源版的claudecode,让你体验最好的大模型

(2)接入其他模型:/connect

搜索xiaomi

开源版的claudecode,让你体验最好的大模型

然后进入xiaomi大模型官网:https://platform.xiaomimimo.com?ref=M648D7,申请api key,复制过来即可。

02、Opencode在vscode中的使用

开源版的claudecode,让你体验最好的大模型

(1)打开vscode,插件中搜索opencode,进行安装

(2)command+shift+p,输入opencode,即打开左侧的窗口

(3)默认体验MiMo V2.5的模型,使用体验目前没有发现与claude的差别。

开源版的claudecode,让你体验最好的大模型

快来试下与顶尖模型一样的体验吧,通过我的邀请码注册:双方各得 ¥10 API 体验金 + 首单 9 折。邀请码:M648D7。注册:https://platform.xiaomimimo.com?ref=M648D7(注册后自动填入 · 体验金 40 天有效)

 

Everyone knows the best large model—Claude, but Claude not only requires payment, but also has external network restrictions, making it difficult to use. Generally, it is a corporate version opened by a company, and this is my Claude corporate account.

In order for everyone to experience Claude, I found the open source version of ClaudeCode—OpenCode, which introduces almost all the functions of ClaudeCode.

Now let’s install OpenCode, the installation and usage methods are the same as ClaudeCode.

I. Installation in two steps

First install Node.js, then open the CMD window and execute the following command:

npm i -g opencode-ai, some computers will report no permission;

sudo npm i -g opencode-ai, add administrator permission, and the installation is successful.

II. Common usage methods

01. CMD window

If you have administrator permission, just enter opencode

(1) Select the model: CTRL+P, or /model

(2) Connect to other models: /connect

Search for Xiaomi

Then go to the Xiaomi large model official website: https://platform.xiaomimimo.com?ref=M648D7, apply for an API key, and copy it.

02. Use OpenCode in VSCode

(1) Open VSCode, search for OpenCode in the plug-ins, and install it

(2) Command+Shift+P, enter opencode, and the left window will open

(3) The default experience is the MiMo V2.5 model, and the experience has not found any difference from Claude at the moment.

Come and try the same experience as the top model, register with my invitation code: both parties will get ¥10 API experience gold + the first order will be discounted by 9%. Invitation code: M648D7. Register: https://platform.xiaomimimo.com?ref=M648D7 (The experience gold is valid for 40 days after registration)

Open-source version of claudecode, letting you experience the best large models

Open-source version of claudecode, letting you experience the best large models

Open-source version of claudecode, letting you experience the best large models

Open-source version of claudecode, letting you experience the best large models

Open-source version of claudecode, letting you experience the best large models

暂无评论,快来发表第一条评论吧!No comments yet. Be the first!

📮 需求咨询📮 Inquiry