llm-cost

Open repos and models their makers tagged llm-cost, most starred first. The same for everyone.

AI agentsRepo

bifrost

Open-source, high-performance AI gateway that works as your LLM gateway, MCP gateway and agent gateway. One OpenAI-compatible API for 10,000+ models, with failover, load balancing, semantic caching, virtual keys, budgets and MCP Code Mode. Works with any SDK or agent and adds under 200µs of overhead at 5k RPS.

  • 10k
  • Go
  • Apache-2.0
  • 13 h ago
maximhqTake it
AI on my own machineRepo

ai-gateway

Unified AI Gateway for 30+ LLMs (OpenAI, Anthropic, Bedrock, Azure etc) with Caching, Guardrails, A/B test & cost controls. Go-native Fastest & Scalable AI Gateway LiteLLM & Kong AI Gateway alternative.

  • 295
  • Go
  • Apache-2.0
  • 9 d ago
ferro-labsTake it
AI on my own machineRepo

awesome-ai-tokenomics

A curated list on AI token economics: what tokens cost, where they get wasted, and how to cut the bill. Tools, benchmarks, papers, and copy-paste configs for the token economy of LLMs and coding agents.

  • 221
  • Python
  • CC0-1.0
  • 11 h ago
QuesmaOrgTake it
Developer toolsRepo

bough

Claude Code, Codex and Pi write down everything you do. bough draws it and prices it: a day, the work inside it, every prompt, and what each piece cost. One Go binary, runs on your machine, sends nothing anywhere.

  • 133
  • Go
  • MIT
  • 5 d ago
nickelsecTake it
AI on my own machineRepo

dsh-sieve

dsh-sieve: context engineering & token optimization plugin for DeepSeek Harness (DSH) — tool output filtering, context pruning, progressive skill disclosure. 36% smaller payload in offline replay. DSH 上下文管理与 token 优化节省插件。

  • 113
  • TypeScript
  • MIT
  • 3 wk ago
Sev7eEn7Take it
AI agentsRepo

cloud-finops-skills

Cloud FinOps Skill & MCP by OptimNow. FinOps Foundation aligned knowledge for AI agents: cloud cost (AWS/Azure/GCP/OCI), AI inference economics, Kubernetes, data platforms, allocation, chargeback, anomaly management, waste detection, GreenOps. Installs into 12 AI tools, or connect the hosted MCP server by URL. Content refreshed weekly.

  • 75
  • Python
  • CC-BY-SA-4.0
  • 14 h ago
OptimNowTake it
AI agentsRepo

observer

Track what every AI coding agent costs and see the limit coming. Per-session, per-model cost for Claude Code, Codex, Cursor and 37 more tools from your provider's own token counts, plus limit gauges, a dangerous-command guard and dashboard terminals. Free, Apache-2.0, runs on your machine.

  • 62
  • Go
  • 2 d ago
AI agentsRepo

caprock

Agentic development environment: run Claude Code, Codex, OpenCode and Gemini CLI side by side, and follow every PR from agent to release with its cost. Desktop app for macOS, Windows and Linux, plus a Claude Code plugin. Local, free.

  • 50
  • Go
  • Apache-2.0
  • 56 min ago
dspvTake it
AI on my own machineRepo

rightsize

Make every Claude token count. rightsize picks the right model and effort for each prompt, while keeping cache and context costs low. It learns how you work and gets better over time.

  • 49
  • TypeScript
  • MIT
  • 4 d ago
archid21Take it
AI on my own machineRepo

sharur

Cut Claude Code token usage and cost with a one-line output style. Shorter replies than Concise on every Claude model: 29% fewer output tokens and 23% lower cost on Opus 5.5. Benchmarked.

  • 11
  • Python
  • MIT
  • 6 d ago
ilien-devTake it
AI on my own machineRepo

ai-api-pricing-data

LLM & AI API pricing data as JSON, CSV and a free static API: input, output, cached and batch prices for OpenAI, Claude, Gemini, Grok, DeepSeek, Mistral, Qwen, Kimi and more. Every price source-linked and dated, with history. npm package + MCP server.

  • 4
  • PLpgSQL
  • MIT
  • 3 d ago
aicostbudgetTake it
AI on my own machineRepo

llm-budget

AI agents have loop limits, not spending limits. Hard dollar caps for agents in Rust: refuse the call that would go over, fleet caps, kill switch.

  • 4
  • Rust
  • MIT
  • 4 d ago
MattbuselTake it
AI on my own machineRepo

NoRefund

Offline LLM cost calculator and token calculator with real tokenizers, for PDF, DOCX and PPTX files. Real context-window fit, API cost estimates. Nothing leaves your machine.

  • 3
  • TypeScript
  • MIT
  • 5 wk ago
Phantom-VKTake it
GitHubRepo

awesome-ai-api-cn

中文 AI API 选型指南:Claude、GPT、Gemini、聚合平台、会员算力共享与自建网关;含来源、价格比较、限制和成本计算器。 English: source-based AI API guide and cost calculator for Claude, GPT, Gemini, aggregators, member-session sharing, and self-hosted gateways.

  • 4
  • HTML
  • 4 wk ago
AI agentsRepo

savingrabbit

SavingRabbit: what your AI coding spend shipped, and where to save. Claude Code, Cursor, Codex and Copilot cost per merged PR, by model and team. Read-only, zero dependencies.

  • 1
  • Python
  • Apache-2.0
  • 4 d ago
BlockRunAITake it

Show 6 more

Search GitHub and Hugging Face for llm-cost

Get , open it once and sign in. Then come back here and press the button again.