Skip to content

docs(pricing): document the batch and long-context batch pricing keys - #1221

Open
mateo-berri wants to merge 1 commit into
mainfrom
litellm_lit_6903_batch_tier_keys
Open

docs(pricing): document the batch and long-context batch pricing keys#1221
mateo-berri wants to merge 1 commit into
mainfrom
litellm_lit_6903_batch_tier_keys

Conversation

@mateo-berri

@mateo-berri mateo-berri commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

TLDR

Adds a "Batch pricing keys" section to the Add Model Pricing page listing the eight *_batches cost-map keys, including the above_272k_tokens_batches tier keys that BerriAI/litellm#39861 ships, and says how a batch line that crosses 272K prompt tokens bills

Linear ticket

Relates to LIT-6903


Note

Low Risk
Documentation-only change to provider registration guidance; no runtime or billing code is modified.

Overview
Adds a Batch pricing keys section to the Add Model Pricing guide so contributors know how to set batch billing fields in model_prices_and_context_window.json.

The new text states that batch lines use the *_batches cost-map keys when present, and otherwise bill at half the standard rate. It lists eight keys (input/output, cache read/create, plus above_272k_tokens_batches tiers) and explains that long-context batch tiers apply when the prompt exceeds 272K tokens, with missing tier keys falling back to the flat *_batches rate for those tokens.

Reviewed by Cursor Bugbot for commit 0a61b7a. Bugbot is set up for automated code reviews on this repo. Configure here.

@vercel

vercel Bot commented Sep 5, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
litellm Ready Ready Preview Sep 5, 2026 11:19am UTC

Request Review

@mateo-berri

Copy link
Copy Markdown
Contributor Author

bugbot run

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit 0a61b7a. Configure here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant