ZenMux · Pay As You Go

How an agent gets a ZenMux · Pay As You Go key through KeyKeeper, what to choose on zenmux.ai, and how KeyKeeper verifies it.

Template idzenmux-payg (also zenmux)
Fieldzenmux-api-key → ZENMUX_API_KEY · secret
Key looks likewhether it can be viewed again is unconfirmed
Created atzenmux.ai
Verified by KeyKeepernot verified
Template checked2026-09-17

What the agent does

keykeeper providers show zenmux-payg
keykeeper save --provider zenmux-payg --from-clipboard --create --purpose "what this task does"
keykeeper run -c zenmux-payg -- <your command>

--provider zenmux-payg fills in the credential id and the field. The environment variable is the one ZenMux's own tools read, so nothing has to be mapped.

What only you can do

登录 ZenMux
选择 Pay As You Go 管理页而非订阅页
为独立项目创建按量 API key
核对账户余额和目标模型可用性
Copy the key, then approve the save in KeyKeeper's window.

What to choose

Only save a pay-as-you-go API key from this page. A Builder Plan subscription key uses a different billing balance; use zenmux-builder instead. No general key-scope guarantee is documented.

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 ZenMux · Pay As You Go 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: ZenMux · Pay As You Go 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://zenmux.ai/api/v1
  • Anthropic Messages — https://zenmux.ai/api/anthropic
  • Google Vertex AI compatible — https://zenmux.ai/api/vertex-ai

Rotation and expiry

未确认统一有效期;以创建页面显示的实际日期为准,未知时不要猜测。 Rotate or revoke at zenmux.ai.