> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fenra.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Fenra

> AI usage and cost tracking for teams that ship fast

You're shipping AI features. Your OpenAI bill tripled last month. Someone asks which feature is responsible, and you have no idea.

Fenra has your back.

## One API Call. Complete Visibility.

Send your AI usage to Fenra after each provider call. We handle the rest:

* **Automatic cost calculation**: No spreadsheets, no manual lookups. We know every provider's pricing.
* **Feature-level breakdown**: See exactly which features, users, and environments drive your costs.
* **Multi-provider support**: OpenAI, Anthropic, Google, Bedrock, xAI, DeepSeek. One dashboard for all of them.
* **Privacy by design**: We never store your prompts or outputs. Only usage context.

<CardGroup cols={2}>
  <Card title="Quickstart" icon="rocket" href="/quickstart">
    Send your first transaction in under 5 minutes.
  </Card>

  <Card title="API Reference" icon="code" href="/api-reference/introduction">
    Full documentation for the Fenra API.
  </Card>
</CardGroup>

***

## How It Works

```mermaid theme={null}
sequenceDiagram
    participant App as Your App
    participant AI as AI Provider
    participant Fenra as Fenra
    participant Dashboard as Dashboard
    
    App->>AI: API Call
    AI-->>App: Response + Usage
    App->>Fenra: Send Usage Data
    Fenra-->>App: 202 Accepted
    Fenra->>Dashboard: Cost Calculated
```

After your AI provider returns a response, extract the usage data and send it to Fenra. The ingest endpoint is designed for hot paths: it responds in 20-40ms, returns a `202 Accepted` immediately, and processes asynchronously. No blocking, no performance impact on your application.

**No prompts or outputs are ever stored.** We only track:

* Token counts (input, output, cached, reasoning)
* Model and provider
* Your custom context (feature, environment, user)

***

## Supported Providers

<CardGroup cols={3}>
  <Card title="OpenAI" icon="https://mintcdn.com/fenra/VOqg4VznN6ND94vF/images/ai-icons/openai.svg?fit=max&auto=format&n=VOqg4VznN6ND94vF&q=85&s=f6e98ee2bf4432ca8c12ece7d9b32e45" href="/integrations/openai" width="16" height="16" data-path="images/ai-icons/openai.svg">
    All models including gpt-4o, o1, o3, dall-e, whisper
  </Card>

  <Card title="Anthropic" icon="https://mintcdn.com/fenra/VOqg4VznN6ND94vF/images/ai-icons/claude.svg?fit=max&auto=format&n=VOqg4VznN6ND94vF&q=85&s=5f846967bce35409d9dfb2d3bbe2bd74" href="/integrations/anthropic" width="16" height="16" data-path="images/ai-icons/claude.svg">
    All Claude models including claude-3.5-sonnet, claude-3-opus
  </Card>

  <Card title="Google" icon="https://mintcdn.com/fenra/VOqg4VznN6ND94vF/images/ai-icons/gemini.svg?fit=max&auto=format&n=VOqg4VznN6ND94vF&q=85&s=1b3f689ba2c9b0dfad73c378fcf95e87" href="/integrations/google" width="16" height="16" data-path="images/ai-icons/gemini.svg">
    All Gemini models including gemini-2.0-flash, gemini-1.5-pro
  </Card>

  <Card title="AWS Bedrock" icon="https://mintcdn.com/fenra/VOqg4VznN6ND94vF/images/ai-icons/bedrock.svg?fit=max&auto=format&n=VOqg4VznN6ND94vF&q=85&s=511b40a7e042cbad4f35115f22214802" href="/integrations/bedrock" width="16" height="16" data-path="images/ai-icons/bedrock.svg">
    All Bedrock-hosted models
  </Card>

  <Card title="xAI" icon="https://mintcdn.com/fenra/VOqg4VznN6ND94vF/images/ai-icons/grok.svg?fit=max&auto=format&n=VOqg4VznN6ND94vF&q=85&s=c6cd15e69e2bcc3b77188fcf9564f5f3" href="/integrations/xai" width="16" height="16" data-path="images/ai-icons/grok.svg">
    All xAI models including grok-beta
  </Card>

  <Card title="DeepSeek" icon="https://mintcdn.com/fenra/VOqg4VznN6ND94vF/images/ai-icons/deepseek.svg?fit=max&auto=format&n=VOqg4VznN6ND94vF&q=85&s=0b440e19b48152f01a0036f6cd5d650f" href="/integrations/deepseek" width="16" height="16" data-path="images/ai-icons/deepseek.svg">
    All DeepSeek models including deepseek-chat, deepseek-reasoner
  </Card>
</CardGroup>

Need a provider we don't support yet? Use `custom` and define your own pricing.

***

## What You Can Do

### Track Costs in Real-Time

Every transaction is processed and costs are calculated within seconds. See your spending as it happens, not at the end of the month.

### Break Down by Anything

Group costs by any context you send: feature, environment, model, user, or any custom field.

### Get Alerts Before You Get Burned

Set spending thresholds and get notified before costs spiral.

### Generate Reports

On-demand or scheduled. CSV exports ready for your team or data pipelines.

***

## Start Tracking

Ready to see where your AI budget is actually going?

<CardGroup cols={2}>
  <Card title="Quickstart" icon="rocket" href="/quickstart">
    Get set up in 5 minutes.
  </Card>

  <Card title="View the Dashboard" icon="chart-line" href="https://app.fenra.io">
    Sign in to your account.
  </Card>
</CardGroup>
