StepFun · API

How an agent gets a StepFun · API key through KeyKeeper, what to choose on platform.stepfun.ai, and how KeyKeeper verifies it.

Template idstepfun-api (also StepFun pay-as-you-go, 阶跃星辰 API)
Fieldstep-api-key → STEP_API_KEY · secret
Key looks likewhether it can be viewed again is unconfirmed
Created atplatform.stepfun.ai
Verified by KeyKeepernot verified
Template checked2026-09-15

What the agent does

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

--provider stepfun-api fills in the credential id and the field. The environment variable is the one StepFun 阶跃's own tools read, so nothing has to be mapped.

What only you can do

登录 StepFun Open Platform
在 Account Management → Interface Keys 创建 key
Copy the key, then approve the save in KeyKeeper's window.

What to choose

用于标准按量 API;标准 API 与 Step Plan 共用兼容协议路径,但 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 StepFun · API 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: StepFun · API 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://api.stepfun.ai/v1
  • Anthropic compatible — https://api.stepfun.ai

Rotation and expiry

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