explainx.ai0k
TrendingAI News TodayPathwaysSkills
Pricing
explainx.ai

Upskill in AI — 16 free pathways, live workshops & bootcamps, and 50+ courses from practitioners. Plus the skills, tools, and MCP servers to practice on.

follow us

follow on google

Add explainx.ai as a preferred source

corporate training

support@explainx.ai

get started

Find your pathTake Free Evaluation

community

Join the community

learn

mind: share how you thinkpathways — start freeworkshopsbootcampscoursescompare Explainxcertificationsmock testsexplainx universitycorporate traininglearn skills & mcp

discover

skillsmcp serversexplainx mcptoolsmdx readeragentsllmsdesignsdictionarypeopleagi trackerfelony benchranks

company

aboutvisionmissionteaminstructorsteach on explainxpartnershipscommunityhackathonscareers

content

daily AI newsstate of AI — live resultsblogreleasespromptsgeneratorsresource libraryfor LLMsexplainx.ai kids

solutions

all solutionsdeveloper upskillingmarketing upskillingproduct manager upskillingleadership upskilling

newsletter · weekly

Get AI news, tools, and insights in your inbox.

supportcontactprivacytermsdata rightshow we create contentsubmission guidelines

© 2026 AISOLO Technologies Pvt Ltd

explainx.ai

On this page

  • TL;DR: what Folkbench is
  • What is an AI API relay?
  • How do the Folkbench rankings work?
  • What does Folkbench Switch do to your config?
  • What are the real risks of using a relay?
  • Relay versus gateway versus direct: how do they compare?
  • How should you try it, if you do?
  • Why is this trending now?
  • What we do not know yet
  • Related reading
← Back to blog

explainx / blog

Folkbench: The Open-Source Ranking of AI API Relays, and the Risks of Using Them

Claude Code, AI Agents, Open Source, API Keys, Developer Tools

Part of Claude Code

Folkbench ranks third-party AI API relay stations on uptime, latency and price and ships a switcher for Claude Code and Codex. What it does and the risks.

Oct 18, 2026·10 min read·Yash Thakker
add explainx.ai
go deep
Folkbench: The Open-Source Ranking of AI API Relays, and the Risks of Using Them

Folkbench is a small open-source project that has gained about 1,664 stars since its creation on October 2, 2026. It does two things: it publishes public rankings of third-party AI API "relay" stations, resellers that sit between you and a model provider, and it ships Folkbench Switch, a desktop app that rewrites the endpoint and API key in coding agents such as Claude Code and Codex with one click.

The pitch is simple and the risks are not. A relay can be cheaper and easier to pay for than going direct, but it also sees all of your prompts. This post explains how Folkbench works, what its rankings do and do not show, and what to check before pointing an agent at a relay. It is a trending repo built around coding agents, so we state the terms-of-service and data issues plainly.

Weekly digest3.6k readers

Catch up on AI

Curated AI updates on agents, skills, and MCP — delivered to your inbox. Unsubscribe anytime.

TL;DR: what Folkbench is

table · 2 cols
QuestionAnswer
What is it?A ranking site for AI API relay stations plus an open-source desktop switcher
Who runs it?Operated by "Folkbench"; no named individuals or company on the pages we reviewed
Where?GitHub repo and the rankings site
What does Switch support?Claude Code, Codex, Gemini CLI, Aider, OpenCode, Kimi CLI and a DeepSeek harness; others in progress
Platforms?macOS (Apple Silicon and Intel, dmg) and Windows x64 (exe)
License?Apache-2.0 for the Switch code under apps/switch; content and brand excluded
Where do keys go?The README says keys and configs stay on your device and are not uploaded
Biggest caveat?Relay operators can read your traffic, and the ranking is sponsored by relays

Source: the project's README, reviewed October 18, 2026. We did not install or run the app.

What is an AI API relay?

A relay station, the community term from the Chinese-language ecosystem is zhongzhuan zhan, is a service that exposes an OpenAI-compatible or Anthropic-compatible endpoint, takes your requests, and forwards them to a model provider or to other upstream sources. You pay the relay, often in local currency or with invoices, and get an API key that works with your tools.

Why people use them:

  • Payment and access. Paying a foreign provider can be hard from some countries. A relay accepts local payment and offers invoices, which the Folkbench sponsor blurbs highlight.
  • Price. The ranking lists per-million-token prices far below list rates. For example, the table we saw for GPT 6.1 Sol listed the top station at 0.16 yuan input and 0.80 yuan output per million tokens.
  • One key, many models. Relays advertise a single key for GPT, Claude, Gemini, Grok and DeepSeek models.
  • Fallbacks and logs. Sponsor descriptions mention ordered fallbacks, per-key quotas and request logs.

The price gap is the first thing to question. When a reseller sells a flagship model at a small fraction of the provider's list price, the usual explanations are discounted bulk capacity, promotional credits, pooled consumer subscriptions, or lower-quality models served under a premium name. Folkbench does not say which applies to which station.

An evaluation chart, representing the latency and uptime measurements Folkbench publishes for relay stationsAn evaluation chart, representing the latency and uptime measurements Folkbench publishes for relay stations

How do the Folkbench rankings work?

According to the site, Folkbench compares stations only for the same model using the same metrics, shows the detection time of each result, leaves missing data blank rather than estimating it, and keeps commercial display separate from ranking order. The metrics are availability, response speed, price, errors and timeouts, and whether a report exists. For image and video models it lists success rate and p95 generation time, though most of those fields were not yet published.

Three boards exist: an overall board, a stability board and a value board, plus per-model pages for GPT 6 Sol, GPT 6 Astra, Claude Fable 5.1, Grok 4.7 and DeepSeek V4.1 Flash.

On the GPT 6.1 Sol page, the top five stations were CheapAI, Modelflare, IKunCode, Jing Ai and Apiporter, four of them with 100% availability. Each station carries a "data security" level from 0 to 4. The page does not define the scale, and the three lowest-ranked of those five were at level 0 with their outbound links marked as a risk reminder with a not verified status.

Read the methodology limits plainly:

  1. Live probing is not yet enabled for self-service tests; the quick test is described as a beta preparation flow, so the numbers come from Folkbench's own scheduled checks.
  2. Availability is not correctness. A relay can return a response quickly and still serve a different or cheaper model than the one requested. We saw nothing on the pages about model-substitution checks, so we cannot say whether the measured stations return the model they claim.
  3. Sponsors appear on the table. The README lists sponsor relays, including Modelflare, CheapAI, Apiporter, Cloudbridge, IKunCode, Jing Ai and FluxLane, and says they support the ongoing evaluations. Two sponsors sat at ranks one and two when we looked. Folkbench says commercial relationships do not directly change the order, but outbound station links carry referral parameters, which suggests affiliate relationships exist. The revenue terms are not disclosed.

A podium with a green star, standing for the top-ranked relay stations on the Folkbench leaderboardA podium with a green star, standing for the top-ranked relay stations on the Folkbench leaderboard

What does Folkbench Switch do to your config?

The client is the part you can inspect, since the code is in the repo under apps/switch. Its job is mundane but useful: coding agents read an endpoint and credential from files, and editing them by hand across several tools is error-prone.

table · 3 cols
ToolFile Switch editsBehavior per README
Claude Code~/.claude/settings.jsonWrites base URL, handles token versus API-key credential types
Codex~/.codex/config.tomlAdds a custom provider, stashes official ChatGPT OAuth credentials, restores on switch back
Gemini CLI~/.gemini/.env and settings.jsonSyncs environment variables and auth method
Aider~/.aider.conf.ymlWrites model and endpoint
OpenCode~/.config/opencode/Injects service mapping and auth key
Kimi CLI~/.kimi-code or ~/.kimiHandles old and new directories

Other features listed: a config diff preview before applying, public live availability and latency inside the app, and local token usage estimates using public reference prices. Everything is stored locally, per the README.

The practical value is the switch-back. If you want to alternate between an official subscription and a third-party endpoint, a tool that backs up and restores your Codex sign-in is safer than editing TOML by hand. It does not change the trust question about whichever endpoint you pick.

What are the real risks of using a relay?

This is where we part from the README's tone.

Your traffic is visible to the relay. Prompts, pasted code, file contents sent by an agent, and model responses all pass through the operator. The site's own data security level exists because that is a real concern, yet the level scale is not explained and several stations have level 0. For a coding agent that reads your repository, a relay is effectively a third party with read access to whatever the agent sends.

Keys can be stolen or abused. Relays that store upstream provider keys are an attractive target. We have seen what that looks like in practice: the OpenCode Console breach, where stored provider keys were reportedly used to run up bills. Never hand a relay a key that has broad scope or no spend cap.

A key beside an open pocket with green drops, illustrating provider API keys leaking through a third-party serviceA key beside an open pocket with green drops, illustrating provider API keys leaking through a third-party service

Terms of service. Anthropic, OpenAI and Google publish usage policies, and arrangements that resell access or pool credentials can violate them. We are not offering legal advice and we cannot tell which stations use official enterprise keys. The consequences we have seen discussed include provider account suspensions; see our coverage of how Codex usage limits and sub2api raised fraud-versus-OAuth questions, and of Claude Code's plan limit changes, which are part of why cheap routes look attractive.

Model substitution. A relay may return a smaller or older model while billing for a larger one. Quality changes would not show up in an uptime chart. If you evaluate a relay, run your own fixed prompts and compare against the official API.

Continuity. Small stations can disappear. Folkbench itself notes that some listed stations are new and have limited long-term data.

Relay versus gateway versus direct: how do they compare?

A relay is not the same as a legitimate router like OpenRouter, where the operator is a named company with published terms and data policies. Our OpenRouter guide for enterprises and the OpenRouter versus direct provider APIs decision guide cover that category.

table · 4 cols
RouteWho sees your dataPriceMain risk
Direct provider APIThe provider onlyList priceCost, regional payment
Established routerRouter plus providerList price plus feeRouter policy, outage
Unaudited relayRelay plus unknown upstreamOften far below listData exposure, substitution, terms, disappearance

How should you try it, if you do?

If you decide to experiment, reduce the blast radius:

  1. Use a throwaway project. Do not point an agent that sees private repositories at a relay.
  2. Keep secrets out of context. Make sure .env files, tokens and customer data are not readable by the agent; configure ignore rules.
  3. Prefer pay-as-you-go with a small balance. Top up the minimum and cap it.
  4. Verify the model. Run a few of your own tasks, compare outputs and token counts with the official endpoint, and check that latency and refusals look right.
  5. Back up first. Use Switch's diff preview and keep a copy of your own settings files.
  6. Read the provider terms. If your employer or client requires an official vendor, a relay is probably out.

For AI agent runtimes in general, the same least-privilege habits apply: see AgentBeam, the agent security platform from the explainx.ai team, at agentbeam.com, for blocking dangerous agent actions before they run.

Why is this trending now?

Folkbench sits at the intersection of three things people are talking about: coding agents that need lots of tokens, subscription limits that feel tight, and models priced for enterprise budgets. A ranking with a one-click switcher gives a newcomer a way to try a cheaper route without hand-editing config files, and the project is bilingual, with Chinese, English, Japanese and Spanish READMEs. The star growth, 1,664 in about two weeks, reflects that demand, not an endorsement of any station.

The rankings are also a useful signal in the other direction. A public table of what resellers charge for each flagship model, next to official list prices, tells you how large the gap is between wholesale-style capacity and retail prices. That information is useful even if you never use a relay.

What we do not know yet

  • Who operates Folkbench and how the site is funded beyond sponsors and referral links.
  • What the data security levels 0 to 4 mean and how they are assigned.
  • Whether any station is checked for model substitution or response quality.
  • Which stations use official provider keys versus pooled accounts.
  • Whether providers will act against resale of their models.

We will update this post if the project publishes methodology details or the maintainers explain their funding.

Related reading

  • OpenCode Console breach: stored provider keys and what to do
  • Codex usage limits and sub2api: fraud versus OAuth
  • Claude Code limits drop 17% on Sept 14
  • What is OpenRouter? The enterprise guide
  • OpenRouter vs direct provider APIs
  • Free Claude Code proxy: terms and data risks
  • OpenRouter GPT-5.6 Sol 50% off: a promo, not a price cut

Details are accurate as of October 18, 2026. Rankings, prices and repository details change quickly.

Spotted something out of date? Let us know.
Yash Thakker

Written by

Yash Thakker

Yash is an AI expert with over 300K learners. Join his workshops →

View Yash Thakker in People in AI →

Related posts

Oct 9, 2026

Agent Swarm by Desplega: Open-Source "Company OS" for Claude Code and Codex Workers

Desplega Labs re-shared Agent Swarm on Hacker News: an open-source, self-hosted operating system where a lead agent takes work from Slack or GitHub and delegates to harness-agnostic workers in Docker. Here is what it does, how to start, and what to question.

Oct 9, 2026

Reverse Engineering Is Now a Prompt: What REA's Case Studies Show

REA (Reverse Engineer Anything) went from a Hopper wrapper to about 170k stars and 35 releases. This post skips the tooling and looks at what its published case studies actually prove: a sound-pan formula checked against 3,205 original-code cases, a Notion clipboard bridge, and a 1990s PC-98 bullet pattern.

Jul 22, 2026

Jack Dorsey's Buzz: Team Chat, AI Agents, and Git Hosting in One Nostr-Signed Workspace

Jack Dorsey announced Buzz on July 21, 2026 — a self-hostable, open-source workspace where humans and AI agents share one identity system across chat, Git, and workflows. Every message and code event is a signed Nostr event. Here's what's real, what's early, and why it matters for anyone running Claude Code, Codex, or Goose on a team.