Get an API key
When to use this page
Use this page when onboarding a new customer, workspace, or agent runtime.
Customer flow
- Ask your Quotaflow admin for a production
qf_...API key. - Confirm which protocol surface your client uses: OpenAI-compatible, Anthropic-compatible, or Gemini-compatible.
- Store the key as
QUOTAFLOW_API_KEYor your platform's equivalent secret. - Run the model list smoke test.
- Run one small non-streaming request.
- Switch your client or agent to the Quotaflow base URL.
Admin flow
- Create or select a customer organization and project.
- Fund the organization's balance. A project budget is an optional reporting target, not a funding account.
- Create the default all-model production key, unless the customer needs a product-scoped key for accounting or security.
- Enable the product access required by the customer.
- Enable agent-compatible payload handling when the key is intended for coding agents.
- Send the customer the key through a secure channel.
Balance semantics
A key is a credential, not a wallet. Every project and key in a customer organization spends from that organization's single balance. Usage is still reported by key, model, product, and project. A project budget is a reporting target and does not reserve funds or block requests.
When a partner funds a customer, the funding is recorded as an auditable credit to the customer organization's balance before use. Partner relationships, projects, and keys do not become separate wallets. Only insufficient organization balance blocks a funded request; optional project targets remain reporting-only.
Smoke test
curl https://api.quotaflow.ai/openai/v1/models \
-H "Authorization: Bearer $QUOTAFLOW_API_KEY"
A 200 response confirms the key is recognized.
Environment separation
Use production keys only with production endpoints. Old development keys are not guaranteed to work on production endpoints unless a migration was explicitly planned.