Glossary / Foundations
Context window
The context window is the maximum number of tokens a model can consider at once, counting the system prompt, conversation history, retrieved documents and the answer.
Definition
The context window is the maximum number of tokens a model can consider at once, counting the system prompt, conversation history, retrieved documents and the answer.
What it changes in your bill
A larger window does not cost more by itself, but it invites bigger prompts: every request that stuffs in 50,000 tokens of history is billed 50,000 input tokens every single call.
How to check it yourself
Log prompt_tokens per request; if it trends upward over a session, you are re-sending history that should be summarised or cached.
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