# Inference providers

OpenRouter, Together AI, Fireworks AI, DeepInfra and Baseten billing connections, and the providers that have telemetry or an import only.

AI Spendbook documentation, Billing sources. Web page: https://www.aispendbook.com/docs/openrouter-and-inference-providers

Beyond [Anthropic](https://www.aispendbook.com/docs/anthropic), [OpenAI](https://www.aispendbook.com/docs/openai) and [Google Gemini](https://www.aispendbook.com/docs/google-gemini), five inference providers have a billing connection, and the rest are brought in as telemetry or a file. Each provider has its own page with its setup steps. A workspace can hold several connections of one kind, and their records are kept apart.

## Read directly with a key

| Provider | What is read | Notes |
| --- | --- | --- |
| [OpenRouter](https://www.aispendbook.com/integrations/openrouter) | Daily spend and tokens by model, endpoint, workspace and API key, and the credit balance. | A reseller: charges are billing for the provider openrouter, never OpenAI or Anthropic spend. Last 30 completed days only. |
| [Together AI](https://www.aispendbook.com/integrations/together) | Daily cost by product, model, project and API key. | Experimental: the billing endpoint is in beta and Together must enable it for your organization. Charges before credits. |
| [Fireworks AI](https://www.aispendbook.com/integrations/fireworks) | Daily rated cost by billing category and model. | Before credits and invoice adjustments, so a month can differ from its invoice. Tokens come from telemetry. |
| [DeepInfra](https://www.aispendbook.com/integrations/deepinfra) | Billed cost per model and pricing type. | The API reports months, so the cost sits on the first day of each month. Open months are read again until invoiced. |
| [Baseten](https://www.aispendbook.com/integrations/baseten) | Daily Model APIs cost per model, and dedicated deployments and training as infrastructure cost. | Amounts are before credits. |

## Telemetry or a file

These have no usage or billing API that a connector can read. Each still has its own page explaining the path.

| Provider | How cost arrives |
| --- | --- |
| [Groq](https://www.aispendbook.com/integrations/groq) | Request telemetry priced at the contract rates you enter (Groq publishes no per-token prices we can read), plus the invoice imported for billed cost. |
| [Cerebras](https://www.aispendbook.com/integrations/cerebras) | Request telemetry priced from the model catalog (gpt-oss-120b; other models need a contract rate), plus the invoice imported for billed cost. |
| [Cohere](https://www.aispendbook.com/integrations/cohere) | Request telemetry priced from the model catalog (Command R and R+), plus the invoice imported for billed cost. |
| [Replicate](https://www.aispendbook.com/integrations/replicate) | Request telemetry priced at contract rates for run time, plus the invoice imported for billed cost. |
| [Hugging Face Inference](https://www.aispendbook.com/integrations/huggingface) | Request telemetry priced at contract rates, plus the invoice imported for billed cost. |
| [Mistral AI](https://www.aispendbook.com/integrations/mistral) | Telemetry and an invoice import. Mistral's usage API needs an Enterprise Admin key and its fields are not documented. |
| [Gemini API without BigQuery](https://www.aispendbook.com/integrations/gemini-api-direct) | Telemetry. Billed Gemini cost comes from the Google connector's BigQuery export. |
| [Custom OpenAI-compatible endpoint](https://www.aispendbook.com/integrations/openai-compatible) | Telemetry priced at the contract rates you enter. For vLLM, Ollama, Triton and similar. |

- Telemetry comes from the [Python SDK](https://www.aispendbook.com/docs/python-sdk), the [Node.js SDK](https://www.aispendbook.com/docs/node-sdk), the [ingestion API](https://www.aispendbook.com/docs/ingestion-api) or [OpenTelemetry](https://www.aispendbook.com/docs/opentelemetry). Its cost is an estimate, never a bill.
- An invoice or usage export is uploaded as a [provider cost or monthly invoice import](https://www.aispendbook.com/docs/csv-imports). Billed cost then replaces the estimate for those days.
- GPU clouds and dedicated hardware are on [Cloud and GPU billing](https://www.aispendbook.com/docs/cloud-billing-exports) and [Infrastructure](https://www.aispendbook.com/docs/infrastructure). Gateways are on [AI gateways](https://www.aispendbook.com/docs/ai-gateways).

The direct connectors were built from each provider's public documentation and tested with recorded responses. None has been run against a live account yet.
