← Back to library

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

  1. 01

    Obtain credentials through your model provider's official channels.

  2. 02

    Store API keys in environment variables.

  3. 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