Models

Token budget

A token budget is the maximum tokens allowed for prompt and response.

Quick definition

A token budget is the maximum tokens allowed for prompt and response.

  • Category: Models
  • Focus: model capability and fit
  • Used in: Choosing a model that fits latency and cost constraints.

What it means

Budgets control cost and prevent exceeding model limits. In models workflows, token budget often shapes model capability and fit.

How it works

Model architecture and scale determine capability. Context length, parameter count, and modality support vary across models.

Why it matters

Model architecture affects capability, context length, and speed.

Common use cases

  • Choosing a model that fits latency and cost constraints.
  • Selecting longer context for document-heavy workflows.
  • Using specialized models for code, vision, or speech.

Example

Use 2,000 tokens for context and 500 for output.

Pitfalls and tips

Bigger is not always better. Match the model to the task and evaluate in production.

In BoltAI

In BoltAI, this shows up in model selection and configuration.