FastChat vs New API

A side-by-side comparison of two self-hosted local llm runners options — licensing, setup difficulty, resource needs, and what each one replaces.

Not the right match-up?
FeatureFastChatNew API
Deploy effortUnder-an-hour setupUnder-an-hour setup
Health score69 · Good100 · Excellent
CategoryLocal LLM RunnersLocal LLM Runners
LicenseApache-2.0MIT
LanguagePythonGo
Setup difficultyHardMedium
Min. RAM8,192 MB512 MB
Deploymentdocker, sourcedocker
GitHub stars★ 39,550★ 48,815
First released20232024
ReplacesOpenAI APIOpenRouter, OpenAI API

What are FastChat and New API?

FastChat

FastChat is an open platform for training, serving, and evaluating large language model chatbots. It powers the Chatbot Arena and provides an OpenAI-compatible API server for self-hosted models.

  • OpenAI-compatible API
  • Web UI for model chat
  • Distributed serving
  • Model evaluation tools

Read the full FastChat guide →

New API

New API is a large-model interface management and distribution system derived from One API, providing an OpenAI-compatible gateway with richer billing, rendering and provider support. It is designed for running a self-hosted AI relay service.

  • OpenAI-compatible relay
  • Multi-provider channels
  • Detailed billing
  • Modern dashboard

FastChat vs New API: key differences

FastChat is written in Python, while New API is built with Go. Licensing differs — Apache-2.0 for FastChat versus MIT for New API. New API is the lighter option, starting around 512 MB of RAM against 8,192 MB for FastChat.

Why pick each one

Choose FastChat if…

  • OpenAI-compatible API
  • Powers Chatbot Arena
  • Multi-model serving

Watch out for

  • GPU recommended
  • Steep learning curve
FastChat details

Choose New API if…

  • OpenAI-compatible gateway
  • Broad provider support
  • Built-in billing and quotas

Watch out for

  • Docs primarily Chinese
  • Niche relay use case
New API details

Frequently asked questions

Is FastChat or New API better?

New API is the stronger all-round pick: it has both the larger community and the simpler medium setup. Consider FastChat if its specific feature set fits your needs better.

Are FastChat and New API free and open-source?

Yes. FastChat is licensed under Apache-2.0 and New API under MIT. Both can be self-hosted at no software cost.

Can I run FastChat and New API with Docker?

FastChat: yes. New API: yes.

Which is lighter on resources, FastChat or New API?

New API has the smaller minimum footprint at 512 MB of RAM, compared to about 8,192 MB for FastChat. Real-world usage depends on library size, user count, and enabled features.

Related comparisons