docs(proxy): add [Beta] Rust AI Gateway page - #626
Merged
Conversation
Co-Authored-By: Ishaan Jaffer <155045088+ishaan-berri@users.noreply.github.com>
Co-Authored-By: Ishaan Jaffer <155045088+ishaan-berri@users.noreply.github.com>
Contributor
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-Authored-By: Ishaan Jaffer <155045088+ishaan-berri@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
New docs page
proxy/rust_gatewaydocumenting how to adopt the Rust core, split into the two modes requestedMode 1 (low risk, on the existing Python server): enable the Rust path per model by setting
rust: truein a deployment'slitellm_params, or per process viaLITELLM_RUST=true(Anthropic/v1/messages) andLITELLM_USE_RUST_OCR=true(/ocr). The page shows validating the path from thex-litellm-rust: trueresponse header, and a table of what runs on Rust today (Anthropic/v1/messagesforanthropic/azure_ai,/ocrformistral/azure_ai/vertex_ai, Bedrock audio transcription, OpenAI Responses API WebSockets). The details are pulled from the litellm handlers (_maybe_rust_anthropic_messagesgating onlitellm_params.get("rust") is True,_rust_env_enabled,_RUST_OCR_PROVIDERS)Mode 2 (standalone Axum server): documented as pending since the Docker image is not published yet; the section is stubbed with a note to fill in the image reference and deployment example once it ships
Version note: the per-model
rust: trueflag for/v1/messagesfirst shipped inv1.94.0-rc.1(PR BerriAI/litellm#33616, merged 2026-07-18), so it goes live inv1.94.0-stable; called out in the page's info admonitionAdded to the sidebar under Proxy -> Setup & Deployment.
npm run buildpasses (only preexisting unrelated warnings)Link to Devin session: https://app.devin.ai/sessions/d16e781009c04998a6e6e7009fbfb483
Requested by: @ishaan-berri