跳到正文
TakoAPI
返回技能列表

mukt

由 hgosansn 提供

Browser & Automation
—暂无评分
你的评分

简介

Zero-cost OpenRouter responder that auto-discovers the best currently free model, retries on failures, and returns.

描述

该技能的功能

Sends prompts to OpenRouter using whichever models are currently free, with automatic fallback across multiple candidates. Retries on failures and returns structured JSON including the model used and response text.

Auto-discovery of free models means you don't need to manually track which OpenRouter models have a free tier or update your code when availability changes.

何时使用

  • Running LLM queries at zero cost during prototyping
  • Testing a prompt across multiple free models automatically
  • Integrating AI responses into scripts without a paid API plan
  • Getting a quick answer without choosing a specific model manually
  • Logging which free models are available and responding on a given day

示例工作流

输入

User asks: Summarize the history of the Unix operating system

智能体
  1. 1

    Set OPENROUTER_API_KEY in the environment

  2. 2

    Run openrouter_free_chat.py with --prompt containing the user's question

  3. 3

    Script fetches current free model list and ranks candidates

  4. 4

    Script attempts models in order, retrying on failures

  5. 5

    Parse stdout JSON for selected_model and response fields

输出

A text summary of Unix history, with a note that it was generated by e.g. meta-llama/llama-3-8b-instruct:free

前置要求

  • OPENROUTER_API_KEY environment variable
  • OpenRouter account (openrouter.ai)

安装

clawhub install hgosansn/mukt

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接