HodlAI 简介
HodlAI 是一个将 Web3 经济模型与 AI API 使用结合的平台。持有 $HODLAI 代币即可获得每日免费额度,用于调用 200+ 顶级 AI 模型,包括 GPT-5.2 、Claude 4.5 、Gemini 3 Pro 等。AI API 兼容 OpenAI 、Anthropic 和其他主流接口。
核心特点
经济机制
| 平台 | 链接 |
|---|---|
| 🌐 官网 | https://hodlai.fun/ |
| https://x.com/hodlai_bsc | |
| 💬 Telegram | https://t.me/hodlai_fun |
我是这么配的:
export OPENAI_BASE_URL=https://api.hodlai.fun/v1
export OPENAI_API_KEY=sk-<api-key>
{
"OPENAI_API_KEY": "sk-<api-key>"
}
同样的配置在 mac 上可以工作,在 linux 上不工作,错误信息是:
■ stream disconnected before completion: error sending request for url ( https://api.hodlai.fun/v1/responses)
而用下面的 curl 命令可以工作:
curl https://api.hodlai.fun/v1/responses \
-H "Authorization: Bearer $OPENAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-5.2",
"input": "Hello!"
}'
codex 版本都是 0.93.0. 有大佬知道原因吗?
1
andy777x 1 天前 先清空原本的
rm -rf ~/.codex/auth.json # 编辑配置文件 nano ~/.bashrc # 在文件末尾添加以下两行 export OPENAI_API_KEY="你的 HODLAI-API-KEY" export OPENAI_BASE_URL="https://api.hodlai.fun/v1" #保存生效 source ~/.bashrc |
4
daj2 1 天前
OP 你的环境会不会报错 `Reason: Encrypted content organization_id did not match the target organization.`,多次重试有概率可以工作
|