蜂享 BeeShare

模型与价格

Models & prices

当前可用的 Claude、GPT 模型Claude and GPT models available now

价格由平台实时读取,和官方公开价逐项对比。按输入、输出 Token 计费,没有固定月费。

Prices are read live from the platform and compared line by line with official list prices. You pay per input and output token, with no monthly fee.

价格表

Price table

正在读取平台实时价格…Loading live prices…

蜂享价 = 官方价 × 分组倍率。缓存读写等细分价格以控制台用量明细为准;倍率可能调整,以登录后显示为准。

BeeShare price = official price × group rate. Cache read/write and other line items follow the usage details in the console; rates may change, and what you see after signing in applies.

在常用工具里使用

先在控制台创建 API Key:用 Claude 选 Anthropic 分组,用 GPT / Codex 选 OpenAI 分组,一个 Key 绑定一个分组。下面的示例用 YOUR_API_KEY 代替你的 Key,模型名以上方价格表为准。

Use it in your tools

Create an API key in the console first: pick the Anthropic group for Claude and the OpenAI group for GPT / Codex; one key is bound to one group. The examples use YOUR_API_KEY in place of your key; model names follow the price table above.

Claude Code

Claude Code

Anthropic 协议的接口地址不带 /v1。ANTHROPIC_AUTH_TOKEN 和 ANTHROPIC_API_KEY 只设一个。写进 ~/.claude/settings.json:

For the Anthropic protocol the base URL has no /v1. Set only one of ANTHROPIC_AUTH_TOKEN and ANTHROPIC_API_KEY. Put this in ~/.claude/settings.json:

{
  "env": {
    "ANTHROPIC_BASE_URL": "https://api.beeshare.cc",
    "ANTHROPIC_AUTH_TOKEN": "YOUR_API_KEY"
  }
}

Codex CLI

Codex 使用 OpenAI 协议,接口地址要带 /v1。先把 Key 放进环境变量 BEESHARE_API_KEY,再编辑 ~/.codex/config.toml:

Codex uses the OpenAI protocol, so the base URL needs /v1. Put your key in the BEESHARE_API_KEY environment variable, then edit ~/.codex/config.toml:

model = "gpt-5.5"
model_provider = "beeshare"

[model_providers.beeshare]
name = "BeeShare"
base_url = "https://api.beeshare.cc/v1"
env_key = "BEESHARE_API_KEY"
wire_api = "responses"
Codex CLI 的配置项会随版本变化,以上是常见写法;启动时报配置错误请对照你安装版本的官方文档。其他客户端和 SDK 的写法见接入文档。
Codex CLI settings change between versions; the above is a common setup. If it reports a config error, check the official docs for your installed version. For other clients and SDKs, see the docs (Chinese).

用 curl 先验证

Verify with curl first

curl https://api.beeshare.cc/v1/messages \
  -H "x-api-key: YOUR_API_KEY" \
  -H "anthropic-version: 2023-06-01" \
  -H "content-type: application/json" \
  -d '{"model":"claude-sonnet-5-5","max_tokens":256,"messages":[{"role":"user","content":"Hello"}]}'

返回 200 说明 Key 和地址都正确。更详细的步骤见 Claude Code、Codex CLI 和错误排查。

A 200 response means the key and address are correct. Detailed steps are in the docs (Chinese): Claude Code, Codex CLI and troubleshooting.