# AirRouter

> The Project tab that shows your app's AirRouter Balance, today's spending against the daily limit, and every AI call your app makes.

Source: https://air.build/docs/screens/platform/airrouter/

The **AirRouter** tab shows what the AI in your app costs: the Team owner's **AirRouter Balance** that pays for it, today's spending against the daily limit, and the app's AI calls, the people who made them and the spending over 30 days. What AirRouter is and who pays is in [Add AI to your app (AirRouter)](https://air.build/docs/services/add-ai-to-your-app/).

> [!NOTE]
> **Add Funds** is only in the TestFlight and direct-download builds. In the App Store build the owner's balance card has **Manage Billing** alone.

## Open it

**iPhone**

Open the Project's chat, tap the tabs button (four squares) in the top-right corner, then tap **AirRouter** in the list under the tab cards.

**Mac**

Open the Project's chat and choose **View › Go To › AirRouter**, or open the inspector (**View › Show Inspector**, ⌥⌘I), click **New Tab** (**+**) and click **AirRouter**.

A member who taps an **AirRouter Billing** card in the chat also lands here.

## What it shows first

| AirRouter is | The tab shows |
| --- | --- |
| Off | AirRouter's page with **Turn On AirRouter**. Anyone in the Team can turn it on; see [Turn AirRouter on](https://air.build/docs/services/add-ai-to-your-app/#turn-airrouter-on). **Turn On AirRouter** doesn't ask first: once AirRouter is on, "Add AirRouter to the app" goes into the Project's chat as your message, with the AirRouter strip under it, and the chat comes to the front. |
| On, no calls yet | **AirRouter Is On**, "Pay only for your app’s AI usage." and **Ask Agents to Add**. It asks first: **Ask Agents to Add**, with the message it will send, "Add AirRouter to the app", and **Cancel** or **Send**. **Send** puts the message in the Project's chat as your own, with a strip under it showing AirRouter's image, its name and an arrow that opens this tab, and brings the chat to the front (the tab then says "Sent to the project chat" and offers **Open Chat**). Under it, the balance card and **Turn Off**. |
| On, with calls | The balance card, then the dashboard below, then **Turn Off**. |

## The balance card

| Part | Who sees it | What it shows or does |
| --- | --- | --- |
| **Balance** | Everyone | The AirRouter Balance, in dollars. |
| **Manage Billing** | Owner | Opens the billing page in your browser, signed in. The button spins while the page is fetched. |
| **Add Funds** | Owner (not the App Store build) | Opens [Add Funds](https://air.build/docs/screens/platform/add-funds/). |
| **AI Is Available** / **AI Is Paused** | Members | Whether the app's AI calls go through right now. |
| Today's line | Everyone | The owner's reads "_$1.20_ spent today", with ", daily limit _$10_" when there is a limit. A member's reads "Paid by the Team owner. _$1.20_ spent today, daily limit _$10_." |
| **Daily Limit** | Everyone | Opens [Daily Limit](https://air.build/docs/screens/platform/daily-limit/). Dimmed until the balance has loaded. |
| Bar | Everyone, with a limit | Today's spending against the limit; the bar is full once the limit is reached. |
| Paused line | Owner, when AI is paused | Why AI stopped (see [Messages](https://air.build/docs/screens/platform/airrouter/#messages)). |

The tab reads the balance again when you come back to AirBuild, for example after paying in the browser. Pull down on the page (iPhone, iPad) to read it again yourself.

## The dashboard

| Part | What it shows or does |
| --- | --- |
| **Today** | Spending today, with the number of calls. |
| **30 Days** | Spending in the last 30 days, with the number of calls. |
| **Users** | How many people in your app made calls in 30 days. |
| **Failed** | The share of calls that failed. "Not charged": a failed call costs nothing. |
| **Spend (Last 30 Days)** | A chart of spending per day, with the 30-day total. |
| **Recent Calls** | The newest calls: what was called, who made it or why it failed, and its cost (**Settling** while it's still running). Tap one for [Call Details](https://air.build/docs/screens/platform/call-details/), whose **Status** names the outcome, for example **Succeeded** or **Failed**. |
| **Top Spending Users** | The five people in your app who spent most, with their calls, when they last called, and their spend. They're named when they're one of the app's [App Users](https://air.build/docs/screens/platform/app-users/); otherwise a short ID shows. Tap one for their [AI user page](https://air.build/docs/screens/platform/ai-user-page/). |
| **All Users** | At the end of **Top Spending Users**, when there are five or more. Opens [All Users](https://air.build/docs/screens/platform/all-users/). |
| **By Provider** | Spending split by the AI service that answered. Nothing opens from it. |

To turn it off, see [Turn AirRouter off](https://air.build/docs/services/add-ai-to-your-app/#turn-airrouter-off).

## Messages

| Message | When | What to do |
| --- | --- | --- |
| "AI is paused until tomorrow. Today’s limit is reached." | Today's spending reached the daily limit (owner). | Wait for tomorrow, or raise it in [Daily Limit](https://air.build/docs/screens/platform/daily-limit/). |
| "AI in this app is paused. Top up to turn it back on." | AI stopped for another reason, such as an empty balance (owner). | Tap **Add Funds**, or **Manage Billing**. |
| **AI Is Paused** | AI is paused (member). | Ask the Team owner to top up or raise the limit. |
| The reason, with a warning triangle, on the card | **Manage Billing** couldn't open the billing page. | Tap it again. |
| The reason, with **Try Again** | The usage couldn't be read; the whole page waits on it. | Tap **Try Again**. |
| **That Didn’t Work**, with the reason | Saving the daily limit was refused or AirBuild couldn't be reached. | Tap **OK** and set it again. |
| "Select a project in the sidebar to manage its app services." | The tab isn't showing a Project. | Pick a Project. |
