//beforeyouship — LLM cost modeling from your editor
Model the realistic monthly cost of an LLM app before you build it.
Что умеет
- List Archetypes: List the seven beforeyouship app archetypes (preset LLM architecture patterns) with their default usage parameters. Use an archetype id as the starting point for estimate_cost.
- Get Model Prices: Current per-1M-token pricing for all models in the beforeyouship catalog (input, output, cached input, batch), with context windows and pricing-staleness metadata.
- Estimate Cost: Model the realistic monthly cost of an LLM app architecture across models. Pick an archetype (see list_archetypes), give calls_per_day, and optionally override token counts and multipli
Какие данные видит
Нужен ли аккаунт
Не нужен: сервер работает без входа
Model the realistic monthly cost of an LLM app before you build it. Not a token calculator: retries, prompt caching, batch discounts, infra overhead, and 3×/10× growth are modeled in, across GPT-5.x, Claude, Gemini, DeepSeek, and more.
Works without a key. Connect and ask — demo mode covers the six free-tier models. A Pro API key (beforeyouship.dev) unlocks the full 18-model catalog.
Tools
| Tool | What it does |
|---|
estimate_costFull cost model for an architecture at a given usage level. Returns Naive / Realistic / Worst Case $/mo per model, growth scenarios, and an opinionated recommendation. |get_model_pricesCurrent per-1M-token pricing (input, output, cached, batch) with context windows and staleness metadata. |list_archetypesSeven preset architecture patterns (chatbot, RAG pipeline, multi-step agent, …) used as starting points for estimates. |
Try it
Paste into Claude Code or Cursor after connecting:
Estimate the monthly cost of a RAG pipeline at 10,000 requests/day
Setup
claude mcp add --transport http beforeyouship https://beforeyouship.dev/api/mcp
Links
- Docs & tool reference: https://beforeyouship.dev/docs#mcp
- Live calculator: https://beforeyouship.dev
- Announcement: https://beforeyouship.dev/blog/query-llm-costs-from-claude-code
Как подключить
Как подключить //beforeyouship — LLM cost modeling from your editor к Claude
Адрес сервера, который нужно вставить в настройках Claude:
https://cost-model--beforeyouship.run.tools
- Откройте Claude (сайт claude.ai или приложение для компьютера).
- Перейдите в Настройки → Коннекторы (в английском интерфейсе: Settings → Connectors).
- Нажмите Добавить пользовательский коннектор (Add custom connector).
- Вставьте адрес сервера, скопированный ниже, в поле URL удалённого MCP-сервера и нажмите Добавить.
- В чате нажмите + → Коннекторы и включите новый коннектор.
Пользовательские коннекторы доступны на тарифах Free, Pro, Max, Team и Enterprise. На Free можно добавить только один. В Team и Enterprise коннектор сначала добавляет владелец организации в Настройки организации → Коннекторы.
Авторизация
После нажатия Добавить откроется окно входа в сервис. Войдите под своим аккаунтом и подтвердите доступ. Пароль Claude не видит.
Как подключить //beforeyouship — LLM cost modeling from your editor к ChatGPT
Адрес сервера, который нужно вставить в настройках ChatGPT:
https://cost-model--beforeyouship.run.tools
- Откройте ChatGPT в браузере (chatgpt.com). Нужен тариф Plus, Pro, Business, Enterprise или Edu.
- Один раз включите режим разработчика: Настройки → Приложения → Дополнительные настройки → Режим разработчика (Settings → Apps → Advanced settings → Developer mode).
- Откройте Настройки → Коннекторы и нажмите Создать (Create).
- Заполните форму: Название (любое), Описание (одна фраза, что делает сервис), URL MCP-сервера (скопируйте ниже).
- В поле Аутентификация выберите OAuth, если сервис требует вход, иначе Нет. Нажмите Создать.
- В новом чате откройте + → Приложения/Коннекторы и включите коннектор.
Название раздела у OpenAI менялось (Connectors → Apps/Plugins). Если пункт называется иначе, ищите «режим разработчика» в настройках. В рабочих пространствах Business/Enterprise администратор должен разрешить пользовательские коннекторы.
Авторизация
При первом использовании ChatGPT откроет окно входа в сервис. Войдите и подтвердите доступ.
Как подключить //beforeyouship — LLM cost modeling from your editor к Cursor
Адрес сервера, который нужно вставить в настройках Cursor:
https://cost-model--beforeyouship.run.tools
Быстрый способ: нажмите кнопку Открыть в Cursor ниже, Cursor сам предложит добавить сервер.
Вручную:
- В Cursor откройте Settings → Cursor Settings → MCP и нажмите Add new global MCP server.
- Вставьте JSON, скопированный ниже, в открывшийся файл
~/.cursor/mcp.json(для одного проекта:.cursor/mcp.jsonв корне проекта). - Сохраните файл. Сервер появится в списке MCP; при необходимости пройдите авторизацию по кнопке рядом с ним.
Авторизация
Если сервис требует вход, рядом с сервером в списке MCP появится кнопка авторизации.
Список инструментов сервера (3)
Технические названия из tools/list. Нужны только разработчикам.
| list_archetypes | List the seven beforeyouship app archetypes (preset LLM architecture patterns) with their default usage parameters. Use an archetype id as the starting point for estimate_cost. |
| get_model_prices | Current per-1M-token pricing for all models in the beforeyouship catalog (input, output, cached input, batch), with context windows and pricing-staleness metadata. |
| estimate_cost | Model the realistic monthly cost of an LLM app architecture across models. Pick an archetype (see list_archetypes), give calls_per_day, and optionally override token counts and multipliers. Returns Naive / Realistic / Worst Case monthly costs, growth scenarios, and an opinionated model recommendation. |