Skip to content

[Feat] Add vllm batch+files API support - #15823

Merged
ishaan-jaff merged 11 commits into
mainfrom
litellm_add_vllm_files_batch_apis
Dec 2, 2025
Merged

[Feat] Add vllm batch+files API support#15823
ishaan-jaff merged 11 commits into
mainfrom
litellm_add_vllm_files_batch_apis

Conversation

@ishaan-jaff

@ishaan-jaff ishaan-jaff commented Oct 23, 2025

Copy link
Copy Markdown
Contributor

[Feat] Add vllm batch+files API support

Fixes LIT-1202

  • Added support for hosted_vllm as an OpenAI-compatible provider for both Batch and Files APIs.
  • Updated function signatures across batch_utils.py, batches/main.py, and files/main.py to include hosted_vllm in custom_llm_provider literals.

Relevant issues

Pre-Submission checklist

Please complete all items before asking a LiteLLM maintainer to review your PR

  • I have Added testing in the tests/litellm/ directory, Adding at least 1 test is a hard requirement - see details
  • I have added a screenshot of my new test passing locally
  • My PR passes all unit tests on make test-unit
  • My PR's scope is as isolated as possible, it only solves 1 specific problem

Type

🆕 New Feature
✅ Test

Changes

@vercel

vercel Bot commented Oct 23, 2025

Copy link
Copy Markdown

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

Project Deployment Preview Comments Updated (UTC)
litellm Ready Ready Preview Comment Dec 2, 2025 4:40pm

@ishaan-jaff
ishaan-jaff merged commit 1bb9e1b into main Dec 2, 2025
20 of 59 checks passed
@ishaan-berri
ishaan-berri deleted the litellm_add_vllm_files_batch_apis branch March 26, 2026 21:51
fzowl pushed a commit to fzowl/litellm that referenced this pull request Jun 24, 2026
* add OPENAI_COMPATIBLE_BATCH_AND_FILES_PROVIDERS

* fix use OPENAI_COMPATIBLE_BATCH_AND_FILES_PROVIDERS

* add _get_batch_job_total_usage_from_file_content

* fixes for vLLM + 12 labs async invoke

* fix: vLLM Batch APIs

* afile_retrieve

* test_hosted_vllm_full_workflow

* fix SERVER_URL for test
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