프로토타입 · 미리 보기: 공식 레지스트리의 모든 서버를 담고 있으며 30분마다 동기화해요. Google로 로그인하면 리뷰를 쓸 수 있어요.프로토타입 · 30분마다 업데이트
PopNx MCPAI를 쓰는 사람을 위한 MCP 서버 · 쉬운 말로 설명해요 로그인

FiscaLLM

제작자: magna56버전 1.0.0i★ 1i클라우드에서 실행공식 사이트 ↗
레지스트리 이름io.github.magna56/fiscallm

설치 방법

할 수 있는 일

LLM prices, cost estimates and break-even, plus your app's AI cost and margin per user.

제작자가 쓴 원문

  • 연결 방식 클라우드에서 실행
  • 계정 또는 키 키 없이 사용 가능 · Authorization가 있으면 입력(보통 한도가 늘어남)
  • 분류 검색 및 AI 기억

함께 쓰기

이런 작업을 AI에게 가르치는 Skill, 이것과 함께 쓸 수 있습니다

timesfm

TimesFM (Time Series Foundation Model) is a pretrained time-series foundation model developed by Google Research for time-series forecasting.

제작자: google-research★ 35,638skill 1개

Skill · 안내서

Shadowbroker

Open-source intelligence for the global theater. Track everything from the corporate/private jets of the wealthy, and spy satellites, to seismic events in one unified interface. Hook an AI agent up to have it parse through data and find previously unseen correlations. The knowledge is available to…

제작자: BigBodyCobain★ 11,605skill 1개

Skill · 안내서

google-maps-scraper

scrape data from Google Maps. Extracts data such as the name, address, phone number, website URL, rating, reviews number, latitude and longitude, reviews,email and more for each place

제작자: gosom★ 8,236skill 1개

Skill · 안내서

이 순위인 이유

목록은 사용 점수(100점 만점)로 정렬되며 구성은 다음과 같습니다

인기4/80GitHub 별 또는 주간 다운로드: 큰 쪽 60, 작은 쪽 20
최신성12/1230일 안에 릴리스나 코드 변경이 있으면 만점
응답 중8/8마지막 점검 때 클라우드 엔드포인트가 응답
사용 점수24/100

품질: 기본 점검 5/5개 통과(표시만, 정렬에는 안 씀) · 상승세: 데이터 없음 (급상승 탭에서만 사용)

설치

쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.

한 문장으로 AI에게 설치 맡기기

FiscaLLM 설치해 줘. https://mcp.popnx.com/i/magna56-fiscallm.md 를 따라 하고, 명령을 먼저 보여 주고 내가 승인하면 실행해.

내 컴퓨터에서 작업하는 AI(Claude Code, Cursor 등)에 붙여 넣으세요. 단계를 읽고 명령을 보여 준 뒤 승인을 기다립니다. 키도 가입도 필요 없습니다. · AI가 읽을 전체 내용 보기

검사 5/5 통과 · 내가 묻는 내용은 제작자 서버(fiscallm.com)를 거쳐요 · ✓ 명령 확인 2026년 11월 20일

먼저: 어떤 AI를 쓰시나요?

쓰는 앱을 고르면 아래에 단계가 나옵니다.

Claude에 연결할 수 있어요 · 약 2분

키 필요 없음, 설치 필요 없음 · claude.ai나 데스크톱 앱에서 한 번 설정하면 채팅에서 쓸 수 있어요 · 무료 계정은 1개까지 · Team/Enterprise는 소유자(Owner)가 추가

  1. Claude의 Connectors 페이지 열기

    CustomizeConnectors

    CustomizeConnectors1Add2https://…3Add4
  2. “Add” → “Custom” → “Web”를 누르고 이 2칸 채우기

    여기서 복사해 Claude의 같은 이름 칸에 붙여 넣고 Continue를 누르세요

    Name · 이름FiscaLLM
    Remote MCP server URL · 주소https://fiscallm.com/api/mcp

    Claude가 찾은 로그인 설정 화면에서 Continue를 누르고 · Authentication은 제작자 안내대로(Sign in now, Sign in when needed, No sign in) 고른 뒤 Add를 누르세요

  3. 채팅에서 켜기

    +ConnectorsFiscaLLM

  4. 해 보기

    FiscaLLM을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ Claude가 FiscaLLM을 쓰고 있다고 하거나 답에 FiscaLLM 도구 이름이 나오면 연결된 거예요

메뉴 이름은 2026년 11월 11일에 Anthropic 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요

ChatGPT 연결은 요금제에 따라 달라요

전체 MCP: 웹 ChatGPT Business, Enterprise, Edu · Pro: 읽기/가져오기 권한으로 연결, 데이터를 바꾸는 도구는 안 될 수 있어요 · Plus: 공식 문서 미확인, 플러그인 화면에 사용자 지정 MCP 추가 항목이 보이면 시도해 볼 수 있어요 · 웹만

  1. 웹 ChatGPT에서 MCP 추가 페이지 열기

    Plugins+Add custom MCP server

    ChatGPTPlugins1+2https://…3Create4
  2. 이름과 주소 입력

    이름을 넣고 Connection에 주소를 붙여 넣은 뒤 경고에 체크하고 Create as a plugin을 누르세요

    Name · 이름FiscaLLM
    Connection · 주소https://fiscallm.com/api/mcp
  3. 채팅에서 FiscaLLM 고르기

    새 채팅을 열고 입력 전에 플러그인 목록에서 FiscaLLM을 고르세요

  4. 해 보기

    FiscaLLM을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ ChatGPT가 FiscaLLM을 쓰고 있다고 하거나 답에 FiscaLLM 도구 이름이 나오면 연결된 거예요

메뉴 이름은 2026년 11월 11일에 OpenAI 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요

Claude Code에 연결할 수 있어요 · 약 2분

키 필요 없음, 설치 필요 없음

  1. 터미널 열기

    Mac: Command+스페이스를 누르고 Terminal 입력 · Windows: PowerShell 열기

  2. 이 명령을 붙여 넣고 Enter

    claude mcp add --transport http --scope user fiscallm https://fiscallm.com/api/mcp
  3. Claude Code에서 /mcp 입력

    FiscaLLM이 목록에 있고 연결됨으로 보이면 돼요

  4. 해 보기

    FiscaLLM을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ Claude Code가 FiscaLLM을 쓰고 있다고 하거나 답에 FiscaLLM 도구 이름이 나오면 연결된 거예요

메뉴 이름은 2026년 11월 11일에 Anthropic 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요

Cursor에 연결할 수 있어요 · 약 2분

키 필요 없음, 설치 필요 없음

  1. 이 버튼으로 Cursor 열기

    Cursor에서 열기

    Cursor가 설치를 확인하면 Install을 누르세요

  2. Cursor에서 AI 채팅을 Agent 모드로 열기

  3. 해 보기

    FiscaLLM을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ Cursor가 FiscaLLM을 쓰고 있다고 하거나 답에 FiscaLLM 도구 이름이 나오면 연결된 거예요

메뉴 이름은 2026년 11월 11일에 Cursor 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요

VS Code에 연결할 수 있어요 · 약 2분

키 필요 없음, 설치 필요 없음

  1. 이 버튼으로 VS Code 열기

    VS Code에서 열기

    VS Code가 설치를 확인하면 Install을 누르세요

  2. VS Code에서 AI 채팅을 Agent 모드로 열기

  3. 해 보기

    FiscaLLM을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ VS Code가 FiscaLLM을 쓰고 있다고 하거나 답에 FiscaLLM 도구 이름이 나오면 연결된 거예요

메뉴 이름은 2026년 11월 11일에 VS Code 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요

Windsurf, Zed, Gemini CLI 같은 다른 MCP 앱은 추가 방법이 저마다 달라요. 앱 목록에서 확인하세요

MCP를 쓰는 앱 모두 보기 →

웹으로 연결하는 앱용 주소

주소https://fiscallm.com/api/mcp

JSON 설정은 아래 “개발자용”에 있어요

막혔나요? FiscaLLM을 쓰는 사람에게 물어보세요💬 토론 →
개발자용: 터미널 명령과 JSON 설정

웹으로 연결

Claude Code

claude mcp add --transport http --scope user fiscallm https://fiscallm.com/api/mcp

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "fiscallm": {
      "url": "https://fiscallm.com/api/mcp"
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "fiscallm": {
      "type": "http",
      "url": "https://fiscallm.com/api/mcp"
    }
  }
}

직접 입력할 값

  • Authorization 비밀 HTTP header
    선택 사항. FiscaLLM 앱의 "Bearer "입니다. 해당 앱의 비용과 마진을 읽는 도구에 사용됩니다. 가격 및 추정 도구에는 키가 필요하지 않습니다.
    영어 원문 보기Optional. "Bearer " of a FiscaLLM app, for the tools that read that app's cost and margins. The price and estimate tools need no key.

설명은 자동 번역이며 변수 이름은 원문 그대로입니다. 확실하지 않으면 원문을 확인하세요.

이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.

한눈에 보기

주간 다운로드i
npm/PyPI에 없음
연결 방식
클라우드에서 실행
전송 방식
streamable-http
최신 버전i
1.0.0
레지스트리 공개i
2026년 11월 11일
코드 마지막 변경i
2026년 11월 17일
마지막 확인
2026년 11월 16일
제작자
magna56
웹사이트
fiscallm.com
레지스트리 상태
활성

어떤 앱에서 쓸 수 있나요

이 서버의 연결 방식과 각 앱의 공식 문서를 바탕으로 했어요. 2026년 11월 10일 확인.

인터넷으로 연결하는 앱

ClaudeChatGPTGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast

모든 앱과 장단점 →

할 수 있는 일

도구 이름과 설명은 서버가 2026년 11월 16일에 알려 준 그대로예요. 우리가 아니라 제작자가 쓴 글이고, 일반 텍스트로만 보여 드려요.

  • list_llm_prices

    Current list prices (USD per 1M tokens: input, cached input, output) for OpenAI, Anthropic and Google models, with announced price changes. Use it to find a model id or to compare prices.

  • get_llm_price

    Current list price of one model by id, e.g. "gpt-4o-mini" or "claude-sonnet-4-5". Includes the long-context rate and any announced change.

  • estimate_llm_cost

    USD cost of a call to a model from its token counts, at list price, and the total for a number of such calls.

  • compare_llm_costs

    USD cost of the same call (same token counts) on each of several models, cheapest first. Use it to pick a model or to price a switch.

  • subscription_break_even

    How many AI messages a month a subscriber can send before the model cost uses up what the plan earns, after the store or payment fee. Answers: does this plan price cover this model?

  • fiscallm_setup_guide

    What FiscaLLM is and the ways to send it AI usage (OpenTelemetry, LiteLLM, SDK, HTTP), connect revenue, and read margins back.

  • get_margin_overview

    The app's AI cost, revenue, margin, share of revenue spent on AI, request count and daily series over a period. Needs the app's key.

  • list_users_by_margin

    Each user's AI cost, revenue and margin over a period, the users losing the most money first. Needs the app's key.

  • get_plan_margins

    AI cost, revenue and margin of each plan or product over a period. Needs the app's key.

  • get_cost_breakdown

    The app's AI cost over a period split by model and by feature. Needs the app's key.

기본 점검i

누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 20일 점검

  • ✓ 통과

    제작자와 저장소 일치

    레지스트리 이름이 GitHub 계정 magna56 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요

  • ✓ 통과

    계속 관리되고 있음

    코드 마지막 변경: 3일 전

  • ✓ 통과

    라이선스 있음

    MIT 사용

  • ✓ 통과

    엔드포인트 응답

    1240ms 만에 응답(HTTP 200)

  • – 해당 없음

    OAuth로 로그인

    로그인 필요 없음

  • ✓ 통과

    도구 설명에 숨겨진 지시 없음

    도구 설명 10개를 읽었고, AI에게 보내는 숨겨진 지시는 없었어요

우리가 확인하는 것 → · JSON

제작자: 재확인 요청 또는 잘못된 정보 신고
제작자용: README에 배지 달기

제작자라면 이 코드를 README에 붙여 넣으세요. 배지는 이 페이지로 연결됩니다.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/magna56-fiscallm.svg)](https://mcp.popnx.com/en/servers/magna56-fiscallm)

토론

질문하고, 팁을 나누고, 안 되는 점을 알려 주세요. "도움이 됨"이 많은 순서예요.

아직 글이 없어요. 처음으로 질문하거나 공유해 보세요.

이곳의 글은 사용자가 쓴 것으로, PopNx 팀의 글이 아니에요.

로그인하고 글쓰기

사용자 리뷰

아직 리뷰가 없어요

로그인하고 리뷰 쓰기

검색 및 AI 기억 카테고리의 다른 서버와 비교i

  • 이 카테고리의 다른 서버 6470개 중 76%보다 스타가 많아요
  • 이 카테고리의 다른 서버 6470개 중 82%보다 최근에 레지스트리에 공개됐어요
  • 기본 점검 결과가 이 카테고리의 다른 서버 6470개 중 99%와 같거나 더 좋아요

레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.

자주 묻는 질문

FiscaLLM, 안전한가요?

해당하는 기본 점검 5개 중 5개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.

어떤 키나 코드가 필요한가요?

레지스트리에 필수 키가 나와 있지 않아요. 다만 처음 쓸 때 로그인을 요구하는 서버도 있어요.

내 컴퓨터에서 실행되나요, 클라우드에서 실행되나요?

제작자의 클라우드에서 실행돼요. 설치 없이 인터넷으로 연결하지만, 보내는 내용은 제작자의 서버를 거쳐요.

아직 관리되고 있나요?

GitHub 저장소는 마지막으로 3일 전 변경됐고, 최신 버전(1.0.0)은 9일 전 레지스트리에 올라왔어요.

어떤 앱에서 쓸 수 있나요?

Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. URL로 연결되므로 원격 MCP를 받는 앱에서도 쓸 수 있어요. 예: 웹 ChatGPT(Business 이상은 전체 MCP, Pro는 읽기 전용).

대신 쓸 수 있는 건 뭐가 있나요?

같은 카테고리에는: OpenSEO, Exa, Microsoft Learn MCP, Docs, COTAL actions (cotal.ai)

비슷하게 동작하는 다른 것

같은 카테고리, 다른 제작자, 명령 확인 완료. 공식이 먼저, 그다음 스타 순.

카드 보는 법:↓ 주간 다운로드i★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i

OpenSEO

Keyword research, site audits, rank tracking and AI visibility for your AI agent.

제작자: every-app널리 사용됨★ 2.8만6일 전 업데이트

클라우드에서 실행✓ everyapp.com

Exa

Official Exa MCP for web search, content fetching, and multi-step research.

제작자: exa-labs널리 사용됨★ 5.2천오늘 업데이트

클라우드에서 실행✓ 서비스 회사 · exa.aiPopNx 팀이 직접 써 봄

Microsoft Learn MCP

Official Microsoft Learn MCP Server – real-time, trusted docs & code samples for AI and LLMs.

제작자: MicrosoftDocs널리 사용됨★ 2천12개월 전 업데이트

클라우드에서 실행✓ 서비스 회사 · microsoft.comPopNx 팀이 직접 써 봄

Docs

Search and read Empryo's documentation. Read-only, no auth, no local access.

제작자: proxysoul성장 중★ 1.6천2개월 전 업데이트

클라우드에서 실행✓ empryo.com
비슷한 항목과 비교
이 항목
FiscaLLM
OpenSEOExaMicrosoft Learn MCPDocsCOTAL actions (cotal.ai)
실행 위치클라우드에서 동작, 설치 불필요클라우드에서 동작, 설치 불필요클라우드에서 동작, 설치 불필요클라우드에서 동작, 설치 불필요클라우드에서 동작, 설치 불필요클라우드에서 동작, 설치 불필요
키 필요아니요아니요아니요아니요아니요아니요
Claude에서 +로 추가아니요예예예아니요아니요
기본 점검5/55/52/44/44/44/4
라이선스MITMITMITCC-BY-4.0NOASSERTIONApache-2.0
가격등록 정보에 비용 없음등록 정보에 비용 없음등록 정보에 비용 없음등록 정보에 비용 없음등록 정보에 비용 없음등록 정보에 비용 없음

제작자의 README

README 열기

제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.

FiscaLLM

See what every developer spends on AI (Claude Code, Codex, Cursor, Gemini CLI, the OpenAI and Anthropic APIs), and what every user of your AI product costs you.

For engineering teams: add five settings to Claude Code and its built-in OpenTelemetry export sends each model call to FiscaLLM: spend per developer and per team, budget alerts, and a warning when an agent loops. No proxy, nothing to install, prompts and code never stored. Setup and what Anthropic already gives you

Other tools are turned on the same way, each on the app's Sources page (beta): Codex CLI and Gemini CLI from their own OpenTelemetry export; Cursor, the OpenAI API and the Anthropic API with a read-only admin key; ElevenLabs, Perplexity and any other AI API with one SDK call. Each source is one file.

{ "env": {

"CLAUDE_CODE_ENABLE_TELEMETRY": "1", "OTEL_LOGS_EXPORTER": "otlp", "OTEL_EXPORTER_OTLP_LOGS_PROTOCOL": "http/json", "OTEL_EXPORTER_OTLP_LOGS_ENDPOINT": "https://fiscallm.com/api/v1/otel/v1/logs", "OTEL_EXPORTER_OTLP_LOGS_HEADERS": "Authorization=Bearer " } }

For AI products: give free, trial and paid plans their own AI allowance (10 messages a day on free, 500 a month on Pro, $8 of AI a month on any paid plan). FiscaLLM knows each user's plan from RevenueCat or Stripe, counts their usage, and answers one call from your backend: allow or refuse, and how much is left. It also adds up what each user costs you in AI and sets it next to what they pay you, so you can see who is profitable and who is losing you money.

const { allow, plan, limits } = await meter.check(userId);

if (!allow) return respond(402, { paywall: true, plan, resetsAt: limits[0]?.resetsAt }); // ... make the AI call, then meter.trackOpenAI(res, { userId }) return { reply, remaining: limits[0]?.remaining }; // "3 left today"

Limits are settings on the app's Limits page, not code. How to limit AI usage per plan · reference

Open source (MIT) and free. Use the hosted service at fiscallm.com (free under fair use, best effort), or run your own.

Live demo (no sign-up) · LLM pricing and cost-per-user calculator · Compare with alternatives · Docs · How it works · What it covers · Accuracy · Roadmap (board) · Changelog · Self-hosting · Contributing

*Sample data from the demo, not a real customer.*

Get started with a product in three steps

For Claude Code, the five settings above are the whole setup. For a product you sell:

  1. Create an app at fiscallm.com (or your own copy) and copy the ingest key.
  2. Add one line after each AI call (it reads only the model name and token counts, never prompts or answers):
   import { createMeter } from "fiscallm"; // npm install fiscallm   (Python: pip install fiscallm)

const meter = createMeter({ apiKey: process.env.FISCALLM_KEY, waitUntil });

const res = await openai.chat.completions.create({ model, messages }); meter.trackOpenAI(res, { userId, feature: "chat" });

Already tracing or using a gateway? Skip the SDK. Point an OpenTelemetry trace exporter at https://fiscallm.com/api/v1/otel (guide, Vercel AI SDK), or add one callback to your LiteLLM config (guide).

  1. Connect revenue: press Connect RevenueCat (one click: adds the webhook and imports past subscribers), connect Stripe (webhook, plus a 12-month history import; with a read-only key, Stripe's exact fee, any currency and lost disputes), upload a CSV from any billing system, or send payments yourself with the revenue API.

Tracking a team's coding agents instead? Point Claude Code's built-in OpenTelemetry export at FiscaLLM for spend per developer and team: five environment variables, no proxy, prompts never stored (guide).

No AI key handy? FISCALLM_KEY=fsk_... node examples/send-sample-data.mjs fills a test app with sample users so you can see it working.

For AI agents

  • MCP server (remote, read-only): https://fiscallm.com/api/mcp. Current LLM prices, cost estimates, model comparison and subscription break-even with no key; your app's cost and margin per user, plan, model and feature with its key. claude mcp add --transport http fiscallm https://fiscallm.com/api/mcp · details
  • Free LLM pricing API (no key): GET https://fiscallm.com/api/v1/prices, /api/v1/prices/ , /api/v1/estimate?model=&input=&output= · details
  • Price table as code: import { priceOf, estimateCost } from "fiscallm/prices" (npm, no network call, no dependencies)
  • Read API: GET /api/v1/metrics/overview, /users, /plans, /breakdown with the app's key · openapi.json
  • Setup skill for coding assistants: fiscallm.com/skill.md

The problem

AI apps charge a flat price but pay a variable cost. One user costs $0.20 a month in AI, another costs $25. Your AI provider's bill shows tokens, your subscription tool shows payments, and neither shows the user.

How it works

import { createMeter } from "fiscallm";

const meter = createMeter({ apiKey: process.env.FISCALLM_KEY, waitUntil });

const res = await openai.chat.completions.create({ model, messages }); meter.trackOpenAI(res, { userId, feature: "chat" });

from fiscallm import Meter

meter = Meter(api_key=os.environ["FISCALLM_KEY"]) res = client.chat.completions.create(model=model, messages=messages) meter.track_openai(res, user_id=user_id, feature="chat")

  • The SDK reads only the model name and token counts from the response. Never prompts or answers.
  • Events are batched and sent in the background. Tracking never throws and never blocks your response.
  • Each event has a client-generated UUID, so retries cannot double count.
  • Revenue comes from RevenueCat (one-click OAuth connect, or a webhook you add by hand), or from your own code with trackRevenue / track_revenue.
  • Both are joined on the user ID. RevenueCat aliases are resolved, so anonymous and logged-in users merge.
  • Budgets and alerts: email, Slack or signed webhooks when a user goes over budget, when a paying user loses money, or when one user burns a huge number of tokens in 5 minutes (a runaway loop).
  • Jobs (pay-per-job apps, e.g. credits for a video render): tag AI calls with a jobId and report each job as pending, captured or refunded with meter.trackJob / track_job. The Jobs page shows the AI cost of refunded jobs and of jobs that never resolved, per user.
  • Spending caps: mark a per-user budget as Block and call meter.check(userId) before an AI call (TypeScript, Python). It says no once the user reaches the amount, If FiscaLLM is slow or down, a user it already refused stays refused; anyone else is allowed by default (or refused, with checkOnError: "deny"). An optional local limit counts each user's calls and tokens in your process, so a runaway loop is stopped even with no network.

Cost is priced on arrival: exact costUsd if given, otherwise per-token (input, output, cache read and cache write priced separately) or per-unit (images, audio, video) from a price table. Unknown models are flagged as unpriced, never counted as zero.

Net revenue is price × (1 − tax − store commission).

Layout

PathWhat it is
apps/webNext.js site and dashboard
apps/apiHono API: ingest, RevenueCat webhook and OAuth callback, revenue API, cron jobs
packages/sharedDrizzle schema, pricing, metrics, alerts
packages/sdkTypeScript SDK (fiscallm on npm)
packages/sdk-pythonPython SDK (fiscallm on PyPI)

Stack: TypeScript, Next.js, Hono, Postgres (Supabase) with Drizzle, hosted on Vercel.

Limits

  • It needs a backend between your app and the AI provider. Apps that call a provider straight from the phone are not covered yet.
  • Revenue comes from RevenueCat, Stripe (any currency with a read-only key, otherwise USD) or the revenue API. Direct App Store and Google Play connections are not built yet.

Try it in ten minutes

  • No AI key needed: FISCALLM_KEY=fsk_... node examples/send-sample-data.mjs fills the dashboard with sample users (one heavy user who loses money).
  • Copy-paste starting points for Next.js and FastAPI, see examples.
  • Run your own copy: (create a Supabase project first, see SELF-HOSTING.md).

Development

pnpm install

pnpm dev:web # http://localhost:3000 pnpm dev:api # http://localhost:8787/api/health pnpm test

Copy .env.example to apps/web/.env.local and packages/shared/.env and fill in the values.

pnpm db:generate

pnpm db:migrate

Contributing

Issues and pull requests are welcome. Read CONTRIBUTING.md first (it includes a short contributor agreement). The plan, including what we only build if there is demand, is in ROADMAP.md, with a public board. Vote with a 👍 on roadmap issues or share ideas in Discussions.

Where help is most wanted: prices for more models and providers (data only, no code knowledge needed), connectors for other billing systems (Adapty, Superwall), examples for AI frameworks, and a comparison of computed costs with a real provider invoice. See the good first issues.

Built by

Built and maintained by Mayur as an independent, open-source side project. Questions, bugs and ideas: open an issue or email theaicommit@gmail.com.

Contributors

Thank you t

앞부분만 보여 드려요. 나머지는 저장소에서 읽어 보세요