awesome-ai-tokenomics

agent
Guvenlik Denetimi
Gecti
Health Gecti
  • License — License: CC-BY-4.0
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Community trust — 13 GitHub stars
Code Gecti
  • Code scan — Scanned 6 files during light audit, no dangerous patterns found
Permissions Gecti
  • Permissions — No dangerous permissions requested

Bu listing icin henuz AI raporu yok.

SUMMARY

A map of what AI tokens actually cost, and where they're wasted vs. well spent. Tools, research, practices, and copy-paste setups for token-efficient agentic coding.

README.md

Awesome AI Tokenomics Awesome

A map of what AI tokens actually cost, and where they're wasted vs. well spent.

"I feel nervous when I have subscription left over. That just means I haven't maximized my token throughput."

Andrej Karpathy, No Priors (2026)

As of 2026-07: 177 entries across five areas, 8 practices, 10 concepts, 8 claims, and 7 copy-paste setups.

Contents

Where to start

Just want the numbers: the five area sections below hold every entry. Want the method: read the practices first, then the concepts behind them. Building something: setups and skills holds runnable configurations.

Legend

Each entry ends with a kind badge: tool: MIT (blue, with the license when known), or a gray badge for paper, bench, data, co for companies, and report. Plain entries are articles. GitHub-hosted tools also carry live star and last-commit badges.

Monitor

Dashboards

  • ccusage - A widely adopted open-source CLI that reads local agent logs to report token usage and cost across 15 coding-agent sources, with caching-aware pricing. tool: MIT stars last commit
  • Claude Code Usage Monitor - The most-adopted Claude Code usage monitor: a live terminal dashboard with burn-rate analytics, P90 limit detection, and session-expiry forecasts. tool: MIT stars last commit
  • claude-usage - A local dashboard for Claude Code token usage, costs, and session history; Pro and Max subscribers get a quota progress bar. tool: MIT stars last commit
  • ClaudeBar - A macOS menu-bar app that monitors AI coding quotas across 11 providers; the README declares MIT but ships no license file, so the OSS grant is unconfirmed. tool: MIT declared in README stars last commit
  • CodeBurn - An open-source tracker for 36 coding tools whose optimize command flags named harness-waste patterns with dollar estimates it later checks against actuals. tool: MIT
  • Codex Usage Tracker - A local-first dashboard, CLI, and MCP tools indexing Codex CLI logs into SQLite to show where tokens, credits, and cost go, including cache ratios. tool: MIT stars last commit
  • CodeZeno Usage Monitor - A Windows-taskbar widget showing real-time Claude Code quota and usage at a glance, without opening a terminal. tool: MIT stars last commit
  • Datadog LLM Observability - Cost - Datadog's LLM Observability estimates per-request cost across 800+ models from token counts and public pricing; invoice reconciliation is a separate product. co
  • gh-aw (GitHub Agentic Workflows) - GitHub's agentic-workflows runtime with first-party per-run token and cost metering, plus budget caps that stop a workflow mid-run. tool: MIT stars last commit
  • Grafana Cloud GenAI Observability - Grafana Cloud's GenAI Observability ships a prebuilt dashboard for LLM cost, token usage, and latency, built on top of the OpenLIT SDK. co
  • OpenLIT - An open-source (Apache-2.0), OpenTelemetry-native platform with a self-hosted dashboard for LLM cost, token, and latency observability. tool: Apache-2.0 stars last commit
  • OpenUsage - A native Swift macOS menu-bar meter for 10 AI coding subscriptions, showing session and weekly limits, credits, and estimated spend from local credentials. tool: MIT stars last commit
  • TokenTracker - A local-first token and cost dashboard for 27 coding tools, with a desktop pet, native widgets, and achievements as a distinct gamified take on usage metering. tool: MIT stars last commit

Ebpf Kernel Capture

  • AgentSight - Uses eBPF to watch an AI agent from the kernel boundary, correlating what it said it would do against what it did, at under 3% overhead. tool: MIT stars last commit
  • OpenTelemetry eBPF Instrumentation (OBI) - GenAI / MCP - OBI is OpenTelemetry's zero-code eBPF instrumentation (formerly Grafana Beyla) that captures GenAI and MCP traces at the kernel layer with no SDK. tool: Apache-2.0

Observability

  • Langfuse - An open-source platform for tracing, evaluating, and analyzing LLM and agent transcripts, with a prompt-management layer on top. tool: MIT

Otel For Llms

  • OpenLLMetry - An open-source set of OpenTelemetry-based SDKs and instrumentations, built by Traceloop, for LLM apps. tool: Apache-2.0 stars last commit
  • OpenTelemetry GenAI Semantic Conventions - OpenTelemetry's GenAI Semantic Conventions define the vendor-neutral token, cost, and cache attribute names that OpenLLMetry and Phoenix both converge onto.

Tracing

  • Arize Phoenix - A source-available (Elastic License 2.0) LLM tracing platform recording per-span token counts and USD cost via OpenTelemetry. tool: Elastic-2.0 stars last commit
  • claude-tap - A local trace viewer intercepting API traffic from 14+ coding agents, showing per-request token breakdowns: input, output, cache read, cache creation. tool: MIT stars last commit
  • LangSmith - Cost Tracking - LangSmith is LangChain's commercial LLM/agent observability SaaS. co
  • Opik - Comet's open-source (Apache-2.0) LLM observability platform, highest-starred in its class, with per-span USD cost estimated from token usage. tool: Apache-2.0 stars last commit

Optimize

Caching

  • GPTCache - An open-source semantic cache returning a stored LLM response for a paraphrased repeat query via vector search, skipping the paid call. tool: MIT stars last commit

Cheap Local Models

  • llama.cpp - The foundational open-source (MIT) local LLM inference engine most of the local ecosystem runs on, with an OpenAI-compatible server built in. tool: MIT stars last commit
  • Ollama - The de facto runtime for running open-weight models like Qwen, DeepSeek, and GLM-5.1 locally, shifting inference onto hardware you already own. tool: MIT stars last commit

Context Engineering

Cost Controls

Gateways And Proxies

  • Bifrost (Maxim AI) - Bifrost is a Go-based AI gateway fronting 1000+ models that measured just 11 microseconds of added latency per request at 5,000 requests per second. tool: Apache-2.0 stars last commit
  • Cloudflare AI Gateway (Spend Limits) - Cloudflare AI Gateway is an edge-native LLM proxy that added dollar-denominated spend limits in June 2026, blocking or rerouting requests once a budget is hit. co
  • Helicone - An open-source (Apache-2.0) LLM proxy that logs every request's cost, latency, and tokens in one line of code; Mintlify acquired it in March 2026. tool: Apache-2.0
  • Kong AI Gateway - The AI layer of Kong's API-gateway platform: a proxy that meters LLM/agent/MCP traffic for billing, showback, and chargeback. co
  • LiteLLM - An open-source gateway fronting 100+ LLM APIs that computes real per-request dollar cost from a live pricing map, with spend limits. tool: MIT stars last commit
  • OpenRouter - A unified API gateway fronting 400+ models across 70+ providers that auto-routes each request by price, with fallback on outages. co
  • Portkey AI Gateway - Routes LLM traffic across providers and enforces hard USD budget limits on virtual keys, auto-expiring a key once its cap is hit. co

Multi Agent Overhead

Prompt Agent Loop

  • LOOP Skill Engine - LOOP records an agent's first run of a repetitive task with full LLM reasoning, then replays the extracted tool-call template without calling the LLM again. paper
  • Orchestrator-worker model tiering (frontier plans / cheap executes) - A capable model plans while cheaper agents execute; the pattern now ships as a vendor default, hitting 89.7% of LLM quality at 4% of the cost.
  • token-ninja - Intercepts deterministic commands like git status or npm test before they reach the model, running them locally and skipping the LLM call. tool: MIT stars last commit

Prompt Technique

Retrieval Memory

  • Cognee - An open-source (Apache-2.0) AI-memory platform giving agents persistent memory via a self-hosted knowledge graph, via remember/recall/forget. tool: Apache-2.0 stars last commit
  • Mem0 - An open-source memory layer that extracts salient facts from conversations and retrieves only the relevant ones per call, not the full history. tool: Apache-2.0 stars last commit

Retry And Reliability

Routing Model Selection

Serving Inference

  • RLM-Cascade - response-level speculative decoding at the gateway - RLM-Cascade, from a PayPal team, has a cheap draft model answer first and an Opus 4.8 verifier accept or rewrite it, at roughly 2% of Opus's cost. paper
  • SGLang - A high-performance serving framework for large language and multimodal models. tool: Apache-2.0 stars last commit
  • vLLM - The canonical open-source LLM serving engine, using PagedAttention to manage KV-cache memory in blocks so more requests batch at lower cost. tool: Apache-2.0 stars last commit

Test Time Compute

Tool Protocol Overhead

  • Code execution with MCP (Anthropic) - Anthropic proposes agents call MCP servers by writing and executing code instead of a tool call per step, so unused tool schemas skip the context window.
  • MCP Tool Descriptions Are Smelly! - This study found poorly-written MCP tool descriptions measurably hurt agent efficiency, using an LLM-jury scanner and an A/B protocol on MCP-Universe. paper
  • Tool Attention Is All You Need - MCP re-sends every tool's full schema on every turn, whether or not the agent needs it - a protocol tax known as the MCP/Tools Tax. paper

Govern

Allocation Chargeback

  • CloudZero - An established commercial cloud and AI cost-intelligence / FinOps platform that brands itself 'The AI ROI Company'. co
  • JetBrains AI moves business plans from monthly licenses to 12-month credits - JetBrains is moving business AI from monthly per-seat licenses to 12-month reallocatable credits plus a governance dashboard; personal Pro/Ultimate prices are…
  • Mavvrik (fmr. DigitalEx) - Mavvrik is an AI/hybrid-infrastructure cost governance and FinOps platform, rebranded from DigitalEx in February 2025. co
  • Pay-i - An SDK-based GenAI cost-observability platform that tracks token-level spend per call and rolls it up into cost-center allocation across orgs and apps. co

Anomaly Detection

Billing Audit Finops

Budgets Caps

Energy Carbon

Policy Enforcement

  • ActPlane - An eBPF-based, OS-level policy-enforcement engine for AI-agent harnesses like Claude Code and Codex. tool: MIT stars last commit
  • MCPGuard-Dynamic - Meta's open-source kernel-level eBPF sandbox built specifically for MCP. tool: MIT stars last commit

Spend Management

Understand

Buyer Incentives

Compression Efficacy

Consolidation

Market Competitors

Market Sizing

Model Economics

Pricing Models

Reliability Sla

Unit Economics

Measure

Benchmarks Evals

Cache Accounting

Cost Anatomy

Harness Overhead

Metering

  • Cross-vendor coding-agent usage trackers (AgentsView · caut) - AgentsView and caut are open-source tools that read local session logs to aggregate token usage and cost across roughly 20 coding-agent vendors. tool: MIT stars last commit
  • How Do AI Agents Spend Your Money? - This Stanford study is the first systematic look at token spend in agentic coding, running 8 frontier models on 500 SWE-bench Verified tasks. paper
  • tokview - A local, zero-config proxy showing a coding agent's token spend by session, model, and tool call, flagging re-sent results that multiply the bill. tool: MIT stars last commit

Transcript Analysis

Whole Bill Accounting

Practices

Tool-agnostic, evidence-grounded standards for token-efficient agentic coding. Each is one page: TL;DR, claim, evidence, links. Browse the practices.

Concepts

Short reference notes explaining the ideas behind the practices: cache economics, the harness-waste taxonomy, orchestration economics. Browse the concepts.

Claims

Confidence-scored beliefs, clearly labeled as beliefs rather than facts, each with its strongest evidence linked. Read the claims.

Setups and skills

Runnable, validated Claude Code and Codex configurations and skills for token-efficient agentic coding, each labeled with how it was validated. Browse the setups.


Text content: CC-BY 4.0 (LICENSE) · Code and configs: MIT (LICENSE-CODE). Maintained by the team at Quesma.

Yorumlar (0)

Sonuc bulunamadi