AI providers · Telemetry you send
Custom OpenAI-compatible endpoint
For self-hosted or gateway endpoints that speak the OpenAI API (vLLM, Ollama, Triton, LiteLLM and similar). There is no bill to read, so cost is an estimate: send request telemetry with the SDK or OTLP and enter your own price per million tokens as contract rates for each model. The compute bill behind the endpoint is infrastructure cost and is recorded separately.
- How data moves
- Your code, gateway or exporter sends request data to AI Spendbook with an ingestion key.
- Credential
- No vendor credential
- What it covers
- request telemetry, billed cost
- Money
- An estimate priced by AI Spendbook, never a bill
- Runs
- manual
- Freshness
- Telemetry: as ingested. Imports: as fresh as the uploaded file.
- Status
- No vendor API to read: cost is an estimate from request telemetry.
Set it up
- Send one event per model call with the SDK, POST /api/v1/ingest/events, or OTLP traces (POST /api/v1/ingest/otlp/v1/traces), with provider set to "your gateway's name, for example vllm".
- Tokens are priced from the model catalog, or from the contract rates you enter under Models → Contract rates. The result is an estimate, never a bill.
- To record what was actually charged, import the provider's invoice as a provider cost file (CSV / JSON import) with provider "your gateway's name, for example vllm". Billed cost then replaces the estimate for those days.
What it needs
An ingestion key for telemetry; the admin role for imports.