Glossary / API mechanics
System prompt
The system prompt is the instruction block that sets role, constraints and format, sent ahead of user messages and repeated on every call in a stateless API.
Definition
The system prompt is the instruction block that sets role, constraints and format, sent ahead of user messages and repeated on every call in a stateless API.
What it changes in your bill
It is pure recurring input cost. A 2,000-token system prompt used 50,000 times a month is 100 million input tokens, and caching or trimming it is often worth more than any vendor discount.
How to check it yourself
Log system prompt length as a first-class metric; it should be reviewed whenever it grows.
Rule of thumb: compare providers on cost per completed task, not on the headline price per million tokens. Retries, truncation and verbosity all live in the difference.
Related terms
Try it on Tapix AI
Tapix AI exposes 100+ models behind one OpenAI-compatible endpoint. Prepaid from $1, no monthly minimum, live prices per model.
Get a key and run one real call See live prices