Skip to content

LiteLLM Rust Migration - the fastest and litest AI Gateway (sub 1ms overheads) #31263

Description

@ishaan-berri

Starting this issue as the parent ticket for our rust migration, please post questions or issues here related to the rust migration

Blog Post: https://docs.litellm.ai/blog/litellm-rust-launch

Sign up for early Beta Tester Group: here

TLDR: Over the past year, we have heard the same thing from our users and our community: they want the fastest, most lightweight AI gateway they can run. We have heard you. We are addressing it by moving LiteLLM to Rust, and committing to sub-1ms overhead with a sub-100MB memory binary you can deploy. By the end of this migration, you will get a pure Rust server that can serve 100% of your AI traffic, with every hot path operation, including auth and rate limiting, running in Rust.

Note: FYI - if users want new features / models / providers on AI Gateway I'm happy to add it for them

Timeline

Aug 15, 2026 litellm.ocr() for Mistral, then all of litellm.ocr(), then the /ocr route
Sep 1, 2026 Same pattern for /messages, then /chat/completions
Sep 15, 2026 The router: load balancing, fallbacks, retries, cooldowns
Dec 1, 2026 The full server: FastAPI thin shell, then pure Rust (axum)

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions