Quick calculator
What will this AI agent call cost?
Use a realistic token count, not the length of your prompt alone. Agent steps, tool results, and retries all add up.
Plain English averages about 1.3 tokens per word. This fills the input field; code and non-English text can vary.
GPT-4.1 mini
Input: $0.40 / 1M tokens
Output: $1.60 / 1M tokens
One call$0.00
Per month$0.00
Prices last verified on . Rates are standard API list prices and exclude cached-token, batch, tool, storage, and tax charges. Check the provider before committing spend: pricing source.
Why can a small prompt still cost more than expected? Read “Why inference is the expensive part.”