Your keys first, then a cap: how one task is priced
Your own AI plans and keys are used first, and a receipt shows the cap and the model before anything runs.
By The Cortex66 team · · · 5 min read

Using an AI API key is one of the cheapest ways to get strong answers, until a loop, a very long document or a forgotten script runs longer than you planned. This guide shows how to price one task before it starts, with steps you can follow even if you never use Cortex66.
Step 1: Start with the plans and keys you already have
Before you spend anything new, list where your AI use already gets billed. You might have a monthly subscription, an API account, or both. Use what you already pay for first. It is often the simplest option, and you already know how it charges you.
Write down, for each one, what it covers and how it bills. Some plans have usage limits, and some API accounts charge per request. Knowing this is the first step to pricing a task.
Step 2: Set the limits your provider offers
Each provider has its own console, and most have some way to watch spending. Look for these and set them today:
- A monthly budget or spending limit on the account or project, where the provider offers one.
- Email alerts at a share of that budget, so you hear about a spike while it is still happening.
- One key per app or project, so one runaway script cannot use up the money for everything else, and you can revoke a single key without touching the rest.
Read your provider's own page to see what each setting really does. Some are hard limits. Others only send an alert after the money is already spent. The names and rules change, so check them yourself rather than trusting any article, this one included.
Step 3: Know where those limits fall short
Provider limits are useful, but they have three gaps:
- They count after the fact. Usage is added up as calls finish, so a burst of requests can get past the line before anything stops it.
- They are per provider. A budget at one company knows nothing about what you spend with another.
- They are per account, not per task. They cannot say, "this one job may cost no more than this much."
That last gap matters most. A job that summarises one report should not be able to cost the same as a job that rewrites a whole archive.
Step 4: Give every task a price before it runs
You can do a simple version by hand. For each job, write down:
- The model you plan to use, and its price from the provider's current price list.
- The most calls it may make, including retries. Set a fixed number of attempts, so a failing step cannot repeat forever.
- A rough size for the input and output, so you can estimate how many tokens it will read and write.
- A maximum, which is the price per call multiplied by the most calls, plus a margin.
If you cannot work out the price of a model, do not run the job on it. Use a smaller, cheaper model for small, simple jobs, and keep the strongest model for the step where it matters.
Write the maximum next to the job and decide in advance that you will stop if it goes past that line. A cap you set before the run is worth more than an alert you read after it.
Step 5: Look at the result and keep a note
When the job ends, compare what it cost with the maximum you wrote down. If the real cost is far below the cap, your estimate was too careful and you can lower it next time. If it is near the cap, find out why before you run it again. A short note per job is enough, and over a few weeks it shows you which tasks are cheap and which are not.
How Cortex66 helps
Cortex66 does the pricing step for you. It is one chat that connects the AIs you already use, and it uses your own plans and API keys first, so you keep the billing you already know. Before anything runs, a receipt shows the cost cap, the model, the reason it was picked and who checked the answer. The task runs only after you accept. Small jobs go to small, cheap models. You can read more about this on the bring your own key page, and the idea is explained step by step in one cap for every AI. Cortex66 is free to start, and it works on the web, as a Chrome extension and in the terminal with npx cortex66. It is not affiliated with the AI companies; their names appear only to say what it works with.
Read more
FAQ
Should I use my own key or a monthly plan?
Use whichever you already pay for first. A plan is simple to follow. A key lets you set a limit per project. The article on ChatGPT Plus or an API key compares the two.
Is a provider spending limit the same as a cap on one task?
No. A provider limit covers an account and is often counted after the calls finish. A cap on one task is set before it runs.
What happens if a task would pass its cap?
Set the rule in advance: stop and decide. With Cortex66 the cap is on the receipt before the task runs, and the task runs only after you accept.
Do I need Cortex66 to price a task?
No. You can follow the steps above by hand. A tool only saves you the repeated work.
Read next on this topic
How to cap OpenAI, Anthropic and Gemini API spending
Provider limits, alerts and their gaps, and how a cost cap that is checked before each call keeps AI API bills from surprising you.
· 3 min read
ChatGPT Plus or an API key: which costs you less?
A subscription is a flat monthly price; an API key is paid per use. How to tell which fits how you use AI, and how to use both.
· 2 min read
Bring your own key: what it costs and what it protects
Use the OpenAI, Anthropic, Gemini and xAI keys you already pay for in Cortex66: what a key costs you, how it is stored, and what it never does.
· 3 min read


