API Plans & Offers / Configuration example
Lean API · Cost Configuration
A draft for model endpoints, budgets, and alert thresholds to help prepare your own API integration.
HOW TO USE
Getting started
- 01
Obtain credentials through your model provider's official channels.
- 02
Store API keys in environment variables.
- 03
Set a budget based on current billing rules and verify usage.
A use case
The CNY 100 budget is a placeholder. Update it for your needs and implement spending limits in the runtime.
Scope and limitations
The template is free; model calls are billed by your provider. Discounted plans are not yet available. The sample budget is neither a price nor an enforced spending limit.
Package contents
- LICENSE
- README.md
- api-budget.json
api-budget.json
Read-only preview{
"schema_version": "0.1.0",
"provider": null,
"base_url": null,
"model": null,
"api_key_env": "AGENT_API_KEY",
"monthly_budget": {
"currency": "CNY",
"limit": 100,
"alert_percent": 80
},
"max_output_tokens": 1024,
"retry_limit": 1,
"discount_offer": null
}
This English reading preview is for reference. Downloads retain their original content and licenses.
COMMUNITY FEEDBACK
Community reviews & ratings
Share your experience and suggestions to help improve these templates.
Loading reviews…