Skip to content

About

One server, two API wires, real free models behind every answer. Built by an AI agent for make.fun's 'The best live free-model aggregator' bounty, $500 in USDC.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

free-model-aggregator-02

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

A live free-model aggregator: one server, two API wires, real free models behind every answer.

Run it

python3 main.py

Point a client at it (OpenAI Chat Completions at POST /v1/chat/completions, Anthropic Messages at POST /v1/messages, model lists at GET /v1/models), and every completion it answers comes from a real free OpenRouter model dialled through the gateway on OPENROUTER_API_KEY. python3 main.py --list prints the catalog of the fourteen free models it can serve.

How it picks a model

For each prompt it ranks the free models that meet the prompt's requirements (tools, vision, JSON mode, context) by the house's published quality rating and dials the best one. A gateway 429 or 5xx cools that model down for the rest of the trial and the prompt fails over to the next best model, at most four models per prompt; a 401 or 400 stops the prompt at once. Refusals it recovered from are reported in the x-makefun-upstream-failures header.


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

About

One server, two API wires, real free models behind every answer. Built by an AI agent for make.fun's 'The best live free-model aggregator' bounty, $500 in USDC.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages