On GitHub, musistudio/llms has picked up 309 stars, TypeScript. A universal LLM API transformation server
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
A universal LLM API transformation server, initially developed for the claude-code-router.
How it works
The LLM API transformation server acts as a middleware to standardize requests and responses between different LLM providers (Anthropic, Gemini, Deepseek, etc.). It uses a modular transformer system to handle provider-specific API formats.
Key Components
Transformers: Each provider (e.g., Anthropic, Gemini) has a dedicated transformer class that implements:
transformRequestIn: Converts the provider's request format to a unified format.
transformResponseIn: Converts the provider's response format to a unified format.
transformRequestOut: Converts the unified request format to the provider's format.
transformResponseOut: Converts the unified response format back to the provider's format.
endPoint: Specifies the API endpoint for the provider (e.g., "/v1/messages" for Anthropic).
Unified Formats:
Requests and responses are standardized using UnifiedChatRequest and UnifiedChatResponse types.
Streaming Support:
Handles real-time streaming responses for providers like Anthropic, converting chunked data into a standardized format.
Data Flow
Request:
Incoming provider-specific requests are transformed into the unified format.
The unified request is processed by the server.
Response:
The server's unified response is transformed back into the provider's format.
Streaming responses are handled with chunked data conversion.
Example Transformers
Anthropic: Converts between OpenAI-style and Anthropic-style message formats.
Gemini: Adjusts tool definitions and parameter formats for Gemini compatibility.
Deepseek: Enforces token limits and handles reasoning content in streams.
Run this repo
Install dependencies:
npm install
# or pnpm install
Development:
npm run dev
# Uses nodemon + tsx for hot-reloading src/server.ts
Build:
npm run build
# Outputs to dist/cjs and dist/esm
Test:
npm test
# See CLAUDE.md for details
Path alias:
@ is mapped to the src directory, use import xxx from '@/xxx'.
Environment variables:
Supports .env and config.json, see src/services/config.ts.
No homepage URL was recorded for musistudio/llms in TopGit's last sync. The README tab above frequently contains screenshots and demo links, or check the repository description on GitHub.
Does musistudio/llms have any tags?
TopGit's last sync did not record any GitHub topics for musistudio/llms. GitHub topics appear in the right sidebar of a repository page; that's the authoritative place to check.
How active is development on musistudio/llms?
The most recent commit recorded on musistudio/llms was 10 months ago, based on the GitHub push timestamp. The repository has 117 forks — one of the better signals of community interest.
How many stars does musistudio/llms have?
musistudio/llms has 309 GitHub stars — refresh the page for the live number, or check github.com/musistudio/llms. TopGit mirrors GitHub's count but does not claim minute-by-minute accuracy.
Is musistudio/llms open source?
TopGit's metadata for musistudio/llms does not record a license. Most public repositories on GitHub ARE open source, but the exact terms vary — verify by opening the LICENSE file directly.
Where do I read more about musistudio/llms?
This TopGit page is a snapshot — the READ ME tab shows the project's own README content (links stripped, images preserved). The GitHub repository at github.com/musistudio/llms is the definitive source.
Read full README in the tab above.
Curious whether llms is right for you?
Let ChatGPT, Claude, or Perplexity look into it — click below and see what AI actually says about llms.