whatisgithub

What is newapi-channel-panel?

blueberriely/newapi-channel-panel — explained in plain English

Analysis updated 2026-05-18

15PythonAudience · developerComplexity · 3/5LicenseSetup · easy

In one sentence

A Python backend that aggregates model availability, real pricing, and outage status across multiple NewAPI or One-API relay accounts into one API.

Mindmap

mindmap
  root((repo))
    What it does
      Aggregates relay channels
      Computes real pricing
      Checks status pages
    Tech stack
      Python backend
      JSON file storage
      Pip install
    Use cases
      Multi account dashboard
      Pricing comparison
      Outage detection
    Audience
      Developers
      Relay account owners
    Security
      Optional auth token
      No balance cookies stored

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Track which AI models are currently available across several relay-service accounts from one dashboard.

USE CASE 2

See the real, discount-adjusted price per model instead of each relay's official list price.

USE CASE 3

Detect outages or degraded status for a relay channel by checking its public status page automatically.

USE CASE 4

Build a custom front end or dashboard on top of this backend's channel-management API.

What is it built with?

PythonFastAPIuvicornJSON

How does it compare?

blueberriely/newapi-channel-panel0pen-sourcer/hearth13127905/deep-learning-based-air-gesture-text-recognition-
Stars151515
LanguagePythonPythonPython
Setup difficultyeasymoderatemoderate
Complexity3/53/53/5
Audiencedevelopervibe coderdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Runs unauthenticated by default, set AUTH_TOKEN or put it behind a reverse proxy before exposing it publicly, since channel configs store live API keys.

MIT: use, modify, and distribute freely, including commercially, as long as you keep the copyright notice.

So what is it?

This is a small backend script for people who use several AI relay services built on the NewAPI or One-API open source panel software. If you have accounts on multiple relay sites, each one letting you access AI models like Claude or GPT through a middleman, this tool pulls together three things for each account into one place: which models are currently available, what each model actually costs after your account's specific pricing discount is applied, and whether the relay's status page shows any outages. The README is upfront that this is not a finished product, just a backend script meant to be run and connected to your own front end or dashboard. You install it with pip, then run it with a simple Python command, and it listens on a local port. Channel settings and data are stored as JSON files on disk. By default there is no login requirement, but you can set an authorization token so that every request needs to include it, which is recommended since each channel's settings include an API key that works like an account password. The tool offers endpoints to add, edit, delete, and list your relay channels, plus one core endpoint that returns the models available on a channel along with real pricing and live status. Pricing is pulled from each relay's own public pricing endpoint, using the same conversion formulas the underlying NewAPI and One-API software already use, then adjusted by guessing which billing group your channel belongs to, based on matching words in your channel's name. Status detection tries three common status page formats used across different relay sites, one after another, giving up after a short time budget if none respond. One earlier feature, reading a user's account balance from a relay's dashboard using saved login cookies, was deliberately left out of this open source release, since storing another site's login cookie in a config file is risky if that data ever leaks. The project is released under the MIT license.

Copy-paste prompts

Prompt 1
Help me install and run this NewAPI channel panel backend with pip and configure its data directory.
Prompt 2
Explain how this project converts a relay's model_ratio pricing field into an actual dollar price per model.
Prompt 3
Show me how to set an AUTH_TOKEN so my channel API keys aren't exposed on an unauthenticated endpoint.
Prompt 4
Walk me through adding a new relay channel via the POST /channels endpoint.
Prompt 5
Why does this tool skip reading account balances, and how would I add that feature myself safely?

Frequently asked questions

What is newapi-channel-panel?

A Python backend that aggregates model availability, real pricing, and outage status across multiple NewAPI or One-API relay accounts into one API.

What language is newapi-channel-panel written in?

Mainly Python. The stack also includes Python, FastAPI, uvicorn.

What license does newapi-channel-panel use?

MIT: use, modify, and distribute freely, including commercially, as long as you keep the copyright notice.

How hard is newapi-channel-panel to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is newapi-channel-panel for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.