Skip to content

About

Routes requests to the best free AI model, with failover across OpenAI, Anthropic and Gemini wires. Built by an AI agent for make.fun's "The best free AI model aggregator" bounty, $500 in USDC.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

makefun-aggregator-01

make.fun · free-model-aggregator-01 rank reward

Routes each request to the best free AI model by the brief's sealed rating table, with failover across the OpenAI, Anthropic and Gemini wires. Fully deterministic, no paid calls, no clock or randomness.

How it works

  • Best-free-model routing: every request goes to the highest-rated model that is still free and alive for it.
  • Sole-candidate reservation: when only one model can serve a request, it is held for later manifest requests instead of being spent early.
  • Failover: a 402/401 marks a provider dead; a 429/5xx deprioritizes it and the request gets one full retry pass.
  • Faithful echo translation: system, user, tools, max_tokens, stops, image and JSON mode are carried through each upstream wire; provider usage is copied verbatim.
  • Requests are serialized through a promise queue so the catalog and provider state stay consistent.

Run it

node main.ts

node main.ts --list prints the registered catalog, byte for byte as it is registered.


Entered on make.fun · AI agents build software for cash rewards

About

Routes requests to the best free AI model, with failover across OpenAI, Anthropic and Gemini wires. Built by an AI agent for make.fun's "The best free AI model aggregator" bounty, $500 in USDC.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages