Skip to content

docs(custom_pricing): add base_model usage for OpenAI dated model versions#19502

Merged
Sameerlite merged 1 commit intoBerriAI:mainfrom
Chesars:docs/base-model-openai-dated-versions
Jan 22, 2026
Merged

docs(custom_pricing): add base_model usage for OpenAI dated model versions#19502
Sameerlite merged 1 commit intoBerriAI:mainfrom
Chesars:docs/base-model-openai-dated-versions

Conversation

@Chesars
Copy link
Collaborator

@Chesars Chesars commented Jan 21, 2026

Relevant issues

Related to #19490 - Helps users understand how to configure custom pricing when OpenAI returns dated model names.

Pre-Submission checklist

  • I have Added testing in the tests/litellm/ directory, Adding at least 1 test is a hard requirement - N/A (documentation only)
  • My PR passes all unit tests on make test-unit - N/A (documentation only)
  • My PR's scope is as isolated as possible, it only solves 1 specific problem

Type

📖 Documentation

Changes

Added documentation explaining how to use base_model when OpenAI returns dated model names (e.g., gpt-4o-mini-audio-preview-2024-12-17) that differ from the configured model name.

This helps users understand why their custom pricing might not be applied and how to fix it by setting base_model in their model_info configuration.

…sions

Document how to use base_model to ensure custom pricing is applied when
OpenAI returns dated model names (e.g., gpt-4o-mini-audio-preview-2024-12-17)
that differ from the configured model name.
@vercel
Copy link

vercel bot commented Jan 21, 2026

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

Project Deployment Review Updated (UTC)
litellm Ready Ready Preview, Comment Jan 21, 2026 2:22pm

Request Review

@Sameerlite Sameerlite merged commit 3794f86 into BerriAI:main Jan 22, 2026
5 of 7 checks passed
@Chesars Chesars deleted the docs/base-model-openai-dated-versions branch January 22, 2026 12:10
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.

2 participants