API keys
OpenAI-compatible
API access for your agents
Create a key for each app. Choose its models and spending limit, then connect it to your wallet's AI credit.
One wallet balance for Chat and API requests.
Read API docsConnect your app
Start with the model catalog
Set these variables in your server environment. Use a model ID returned by the catalog for chat completions.
AGENTPASS_BASE_URL
/api/v1AGENTPASS_API_KEY is the key you saved after creation. Listing models does not spend AI credit.
GET
/modelscurl "$AGENTPASS_BASE_URL/models" \
-H "Authorization: Bearer $AGENTPASS_API_KEY"