• BALANCE
  • DAILY
  • MODELS
  • HUMAN

How to track AI model spending with your AI

Connect CometAPI to your agent once. After that, your AI handles the math on your model costs and credit usage.

Ask AI about this page

Short answer

How can I track my AI model spending?

Your agent uses CometAPI to pull real-time credit balances and daily cost totals. This lets you monitor usage and set limits without checking multiple dashboards. You get a clear view of where your money is going.

Where your data lands.

Budgeting outcomes

The AI organizes your spending data into these specific views.

BALANCE

Current credit status

The AI pulls your remaining credits from CometAPI. You'll know exactly how much runway you have left.

DAILY

Daily cost tracking

Your agent calculates how much you've spent in the last 24 hours. This helps you spot sudden spikes in usage.

MODELS

Model-specific costs

The AI breaks down spending by individual model. You can see which specific model is eating your budget.

HUMAN

Manual budget adjustments

The AI identifies when you're nearing a limit. You decide when to add more credits or change your settings.

The workflow

What your AI does when you ask about costs.

The agent moves from checking your status to analyzing your specific usage patterns.

  1. Check available models

    The agent identifies which models you are currently using to ensure it tracks the right accounts.

    list_available_ai_models
  2. Pull credit data

    The AI fetches your current balance to show you how much credit remains in your account.

    list_available_ai_models
  3. Calculate daily spend

    Your agent looks at the cost history to tell you what you've spent today.

    list_available_ai_models
  4. Flag budget risks

    The AI compares your current spending rate against your remaining credits to warn you of potential overages.

    list_available_ai_models

Try it

Copy these to start.

Use these prompts to begin monitoring your budget.

Starting points

These are basic requests. You can add specific model names or timeframes to get more detail.

CometAPI Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_aRnxBAFzBnvbR5tv29h0trO8c9QsQr2X4CF1eULU/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — CometAPI capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "cometapi-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_aRnxBAFzBnvbR5tv29h0trO8c9QsQr2X4CF1eULU/mcp"
    }
  }
}
Copy into chat04
  • How many credits do I have left in my CometAPI account?

  • How much have I spent on models today?

  • Which model is costing me the most right now?

  • Check my balance and tell me if I'm spending too fast.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect CometAPI once, then ask.

Just link your account once. Your credentials stay encrypted, and you can immediately start asking your agent about your costs.

Connect CometAPI to your AI

FAQ

Common questions

  • 01

    Can the AI add more credits to my account?

    No. The AI can only read your current balance and cost data. You must handle all payments and credit additions yourself.

  • 02

    Can the AI change my model settings?

    No. The AI can report on what you are spending, but it cannot modify your model configurations or limits.

  • 03

    How often does the AI see my spending updates?

    The AI sees the most recent data available through the API every time you ask it a question.

  • 04

    Does this work with any AI client?

    Yes, it works with any MCP-compatible client like Claude, Cursor, or Windsurf.

  • 05

    Can I see a breakdown of costs by specific model?

    Yes, the AI can identify which models are driving your costs based on the available data.

  • More questions about CometAPI? The Connector page answers them. See everything the CometAPI Connector can do

Connect CometAPI to Claude, Cursor, ChatGPT & more