Skip to content
Agentmart
Submit a tool

Fermat

OpenAI-compatible LLM gateway: pay per request with an API key, signed receipt for each call.

Connector by ai.phase.xyz · Domain verified by the MCP Registry

IndexedLicense unknownRemote (HTTP)
Write a review

Install

Works with Claude Code, VS Code, Cursor, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install connector/ai-phase-xyz-gateway

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Remote endpoint

  • https://mcp.fermat.ai.phase.xyz/mcp Remote (HTTP)

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

OpenAI-compatible LLM gateway: pay per request with an API key, signed receipt for each call.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this server can do and what it asks for, from its tool list and install config. Checked Oct 25, 2026.

Tools
7 read · 0 write · 4 delete
Secrets
3 (API keys, tokens or passwords)
Install scripts
Nothing to install (hosted)
Runs as
Hosted (remote endpoint)

Tools by what they do 11

From the running server's own tool list (tools/list) on Oct 25, 2026.

Read 7 · Look things up without changing anything.

  • docs
  • key
  • list_models
  • quote
  • receipt
  • route_explain
  • usage

Delete 4 · Delete, drop, revoke or wipe things.

  • chat
  • compare
  • embed
  • session

Secrets and settings it asks for

Secrets: values you paste in that let it act as you.

  • Authorization
  • X-Phase-BYOK-Anthropic
  • X-Phase-BYOK-OpenAI

Network hosts it talks to 1

  • mcp.fermat.ai.phase.xyz · found in remote endpoint, install command

Tools (11)

As the server listed them on Oct 25, 2026. Descriptions are the server’s own words; hidden characters are shown as [U+…].

  • chatChat with a model (spends credit)can change or delete data

    Run a chat completion on the Fermat gateway, paid from the Phase API key or the wallet this server uses (free models cost nothing). Returns the answer, actual price, task id for the receipt and usage.

  • compareCompare models on one prompt (spends credit)can change or delete data

    Run one prompt on 2 to 4 Fermat models or classes at once and compare answer, price, tokens and speed; returns the cheapest, the most expensive and how many times more the expensive one cost. Spends credit for each model. Default models: the cheapest paid chat model, auto, and the most expensive open chat model.

  • docsFermat documentationread-only

    Fermat documentation in short: connect, pricing (with the live price table), savings, mcp, byok, data, receipts, limits.

  • embedCompute embeddings (spends credit)can change or delete data

    Compute embeddings on the Fermat gateway (paid from the Phase API key or the wallet).

  • keyBalance and limits of the keyread-only

    Balance, daily cap and spend of the Phase API key this server pays with (key mode).

  • list_modelsList models and pricesread-only

    List models of the Fermat gateway with prices (USD per 1M tokens, fee per call) and layer (flagship | open | class | free).

  • quotePrice ceiling of a requestread-only

    Get the price ceiling for a chat request without paying (the gateway's 402 quote).

  • receiptRead a public receiptread-only

    Fetch the public receipt of a paid request by task id (model, provider, tokens, price, settlement tx, request/response hashes, signatures) and its Merkle proof once the weekly epoch is closed.

  • route_explainWhy this model and what it savedread-only

    Explain one Fermat request from its public receipt: the model or class it named, the complexity level, the model and provider that served it, the price, the price of the class baseline model and the saving in percent, and the providers tried.

  • sessionSaved chat sessionscan change or delete data

    Saved chat sessions on the Fermat gateway: create one (returns an id and a shareable /s/<id> link), read its thread, list the wallet's sessions (wallet mode only: signed with the wallet key, no transaction), or delete one. Pass the id as `session` to chat and the gateway carries the context between turns and visits.

  • usageSpend and savings of the keyread-only

    Spend and savings of the Fermat API key over the last N days (1 to 90, default 7): totals, per day and per model when the gateway has the history (source usage), otherwise the key's totals (source key). Key mode only.

Signals

Last release
Oct 22, 2026 (6 days ago)

Details

Registry name
xyz.phase.ai/gateway
Version
0.4.0
Auth
Bearer token, API key
License
License unknown
First seen
Oct 24, 2026
Last checked
Oct 25, 2026
Cite this page

Fermat MCP server. Agent Mart. https://agentmart.dev/connectors/ai-phase-xyz-gateway (last updated 2026-10-25)