AIHubMix
How an agent gets a AIHubMix key through KeyKeeper, what to choose on aihubmix.com, and how KeyKeeper verifies it.
| Template id | aihubmix (also ai-hub-mix) |
|---|---|
| Field | aihubmix-api-key → AIHUBMIX_API_KEY · secret |
| Key looks like | whether it can be viewed again is unconfirmed |
| Created at | aihubmix.com |
| Verified by KeyKeeper | not verified |
| Template checked | 2026-09-15 |
What the agent does
keykeeper providers show aihubmix
keykeeper save --provider aihubmix --from-clipboard --create --purpose "what this task does"
keykeeper run -c aihubmix -- <your command>--provider aihubmix fills in the credential id and the field. The environment
variable is the one AIHubMix's own tools read, so nothing has to be mapped.
What only you can do
登录 AIHubMix
创建独立 API key
记录该 key 页面显示的有效期
确认使用限制和余额
Copy the key, then approve the save in KeyKeeper's window.
What to choose
为每个项目创建独立 key,并按创建页面的有效期和使用限制收窄风险。备用域名只在主域名访问异常时使用。
The agent is told the same thing. It opens the page for you and says what to pick; it never logs in, passes 2FA or pays on your behalf.
What KeyKeeper checks
- Before writing: the value must look like a AIHubMix key (whether it can be viewed again is unconfirmed). A wrong paste is refused before anything is stored, and the agent is told why — without the value.
- After saving: AIHubMix offers no read-only endpoint KeyKeeper can use, so the first real call is the test.
Endpoints
The key is a bearer token for these endpoints. keykeeper run sets only the variables above;
point your client at the base URL yourself.
- OpenAI compatible —
https://aihubmix.com/v1(Primary) - OpenAI compatible —
https://api.inferera.com/v1(Official backup)
Rotation and expiry
官方要求留意每个 key 的 validity period;具体日期以创建页面显示为准。 Rotate or revoke at aihubmix.com.