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

# How is Agent usage charged?

The Agent is charged for what it actually uses. There's no fixed price per message or per task.

## What each turn is charged for

Each time the Agent works on your message, it calls its AI model one or more times. Each call is charged for the tokens it processes. A token is a small piece of text, roughly three quarters of a word.

* **New input:** your message, attached files, tool results, and any part of the conversation the model hasn't seen recently.
* **Output:** everything the model writes, including its reasoning and its instructions to tools. Output costs more per token than input.
* **Saved context:** Magica saves the conversation so far, so the model doesn't need to read it in full again on every call. Reading saved context costs a small fraction of new input. On some models, saving it costs more than sending it once.
* **Tools:** images, videos, web searches, and other tools the Agent runs are charged separately, based on each tool's own price.

More capable models cost more per token. See [What models are used in Agent Chat?](https://helpdesk.magica.com/helpdesk/account-and-platform-features/what-models-are-used-in-agent-chat.md).

## Why turns cost more as a chat gets longer

Every call sends the whole conversation to the model. As a chat grows, each turn sends more context, so a short message late in a long chat can cost more than a long message early on.

To keep turns cheaper, start a new chat when you move on to a new topic.

## Why a turn after a break can cost more

Saved context expires when a chat is idle. Depending on the model, that happens after 5 minutes to 1 hour without activity.

Your next message then sends the whole conversation as new input and saves it again. In a long chat, that one turn can cost much more than the turns before it. The turns after it read the saved context again and cost less.

Before the Agent resumes a long chat after a break, Magica checks that your balance covers that first turn. If it doesn't, the Agent won't start, and you're asked to add credits.

## Can I see the cost before the Agent runs?

Not exactly. The cost depends on how many calls the Agent makes and how much it reads and writes, which depends on what it finds along the way. While the Agent works, Magica holds part of your balance. When it finishes, you're charged the actual amount and the rest is released.

For large or paid steps, the Agent asks you to approve the expected spend before it continues. See [Can I know upfront how many credits a task will use?](https://helpdesk.magica.com/helpdesk/credits-and-usage-tracking/can-i-know-upfront-how-many-credits-a-task-will-use.md).

## See what each turn cost

Check your credit usage at [magica.com/usage](https://magica.com/usage). See [Is there somewhere I can go to check credit usage?](https://helpdesk.magica.com/helpdesk/credits-and-usage-tracking/is-there-somewhere-i-can-go-to-check-credit-usage.md).

**Tips**

* For long research or coding tasks, keep working in one session rather than coming back after a long break.
* Use a faster model, such as **Magica Fast**, for simple questions.
* [Contact support](https://magica.com/support) if a charge looks wrong. Include [the chat's link](https://helpdesk.magica.com/helpdesk/troubleshooting-and-technical-issues/how-do-i-find-a-chats-link.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.