bf16.ai LLM Catalog, Cost Estimator & ZDR Inference
MCP server for live LLM pricing, coding-agent cost estimates and zero-retention inference
bf16.ai LLM Catalog, Cost Estimator & ZDR Inference is an open-source MCP server for ai models and llm tooling. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- CLI, API, Web
- Runs
- Locally
- Version
- 0.1.1
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add bf16-mcp-server --env BF16_API_KEY='<BF16_API_KEY>' -- npx -y bf16-mcp-serverAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"bf16-mcp-server": {
"command": "npx",
"args": [
"-y",
"bf16-mcp-server"
],
"env": {
"BF16_API_KEY": "<BF16_API_KEY>"
}
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"bf16-mcp-server": {
"command": "npx",
"args": [
"-y",
"bf16-mcp-server"
],
"env": {
"BF16_API_KEY": "<BF16_API_KEY>"
}
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"bf16-mcp-server": {
"command": "npx",
"args": [
"-y",
"bf16-mcp-server"
],
"env": {
"BF16_API_KEY": "<BF16_API_KEY>"
}
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"bf16-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"bf16-mcp-server"
],
"env": {
"BF16_API_KEY": "<BF16_API_KEY>"
}
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add bf16-mcp-server --env BF16_API_KEY='<BF16_API_KEY>' -- npx -y bf16-mcp-serverOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.bf16-mcp-server]
command = "npx"
args = ["-y", "bf16-mcp-server"]
env = { BF16_API_KEY = "<BF16_API_KEY>" }Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"bf16-mcp-server": {
"command": "npx",
"args": [
"-y",
"bf16-mcp-server"
],
"env": {
"BF16_API_KEY": "<BF16_API_KEY>"
}
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "bf16-mcp-server": { "command": "npx", "args": [ "-y", "bf16-mcp-server" ], "env": { "BF16_API_KEY": "<BF16_API_KEY>" } } } }Or run: gemini mcp add -s user -e BF16_API_KEY='<BF16_API_KEY>' bf16-mcp-server npx -- -y bf16-mcp-server
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "bf16-mcp-server": { "command": "npx", "args": [ "-y", "bf16-mcp-server" ], "env": { "BF16_API_KEY": "<BF16_API_KEY>" } } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "bf16-mcp-server": { "command": "npx", "args": [ "-y", "bf16-mcp-server" ], "env": { "BF16_API_KEY": "<BF16_API_KEY>" } } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "bf16-mcp-server": { "command": "npx", "args": [ "-y", "bf16-mcp-server" ], "env": { "BF16_API_KEY": "<BF16_API_KEY>" } } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "bf16-mcp-server": { "command": "npx", "args": [ "-y", "bf16-mcp-server" ], "env": { "BF16_API_KEY": "<BF16_API_KEY>" } } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "bf16-mcp-server": { "command": "npx", "args": [ "-y", "bf16-mcp-server" ], "env": { "BF16_API_KEY": "<BF16_API_KEY>" } } } }The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.
Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "bf16-mcp-server": { "command": "npx", "args": [ "-y", "bf16-mcp-server" ], "env": { "BF16_API_KEY": "<BF16_API_KEY>" } } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "bf16-mcp-server": { "command": "npx", "args": [ "-y", "bf16-mcp-server" ], "env": { "BF16_API_KEY": "<BF16_API_KEY>" } } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
Configuration
BF16_API_KEYOptional API key from https://bf16.ai/dashboard/keys (only needed for bf16_complete; catalog, cost estimation, and setup tools work without a key).
About bf16.ai LLM Catalog, Cost Estimator & ZDR Inference
This server gives AI clients a way to look up current per-token prices for the uncensored models hosted on bf16.ai, including context window size and capabilities. It can estimate the dollar cost of a planned request, factoring in prompt-cache hit rates, which helps when budgeting a long coding-agent session.
It also outputs ready-to-paste configuration snippets for Claude Code, Codex CLI, OpenCode, Cursor, Cline and Roo Code, so a developer can point those tools at the bf16.ai endpoint without writing the setup by hand. Catalog, estimation and setup tools run without any credentials.
A separate completion tool sends a prompt through bf16.ai under its zero data retention policy, which needs a bf16.ai API key set in the environment. The server is aimed at developers who run agents on a per-token budget and want pricing and setup handled from inside their MCP client.
Tools this server provides (4)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 2 of 4 tools read data; 2 names don't say.
From the server's own tool labels and tool names; not verified by us.
- bf16_list_modelsName suggests: reads
- Fetches live 1M-context models, capabilities, and per-1M USD pricing.
- bf16_estimate_cost
- Calculates exact USD cost including prompt-cache hit rates using live pricing.
- bf16_get_client_setupName suggests: reads
- Outputs copy-paste configs for Claude Code, Codex CLI, OpenCode, Cursor, Cline, and Roo Code.
- bf16_complete
- Runs a strict Zero Data Retention completion on bf16.ai.
What it does
- Live model catalog
- Lists available models with context length, capabilities and per-million-token USD pricing pulled from the bf16.ai API.
- Cost estimator
- Calculates the exact USD cost of a request, including prompt-cache hit rates.
- Client setup generator
- Produces copy-paste configs for several popular coding agents and editors.
- Zero retention completions
- Runs completions under a zero data retention policy when an API key is provided.
- No-key core tools
- Catalog, estimation and setup tools work without any account or key.
Good for
- Compare per-token prices for long-context models before starting an agent run
- Estimate the cost of a coding session that relies on prompt caching
- Generate config files for Claude Code, Codex CLI or Cursor pointed at bf16.ai
- Send sensitive prompts through a zero retention completion tool from an MCP client
Pricing
Open source
Server is free to run; the completion tool uses bf16.ai prepaid per-token credit.
Prices change. Check bf16.ai before you buy.
bf16.ai LLM Catalog, Cost Estimator & ZDR Inference FAQ
Do I need an API key to use the server?
No. The catalog, cost estimation and client setup tools work without a key. Only the completion tool requires a BF16_API_KEY.
How is the server installed?
It runs as a stdio server through npx using the package bf16-mcp-server, with the key passed as an environment variable if you use completions.
Where does the model pricing come from?
The catalog and cost tools read live model data from the bf16.ai models endpoint.
How do I add bf16.ai LLM Catalog, Cost Estimator & ZDR Inference to Claude Code?
Run this command in your terminal: claude mcp add bf16-mcp-server --env BF16_API_KEY='<BF16_API_KEY>' -- npx -y bf16-mcp-server
What are the best alternatives to bf16.ai LLM Catalog, Cost Estimator & ZDR Inference?
The closest alternatives to bf16.ai LLM Catalog, Cost Estimator & ZDR Inference are Llm Advisor, Ai Economics, uplinkswitch, Tokencost Dev and Llm Cost Estimator.
Where this comes from
- Description: written from the project's README, the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.