Open weight model chat completion
● Livefmf-x402.workers.dev
Run an OpenAI-style chat completion with an open-weight model (gemma-4-26b-a4b default, granite-4-micro, gpt-oss-20b). Send messages[] or a prompt; returns the assistant reply, token usage and finish reason. Flat price per call.
- Price
- $0.002
- Asked in its payment challenge
- Chain
- Base
- Paid in
- USDC
- Live
- 2 of 2 checks
Endpoints
$0.002 asked in its payment challenge on 1 Dec 2026
- modelquerymodel
- promptqueryprompt (default: What is the Machine Payments Protocol?)
- systemquerysystem
- reasoningqueryinclude the model reasoning text if it produces one (default false)
- max_tokensquery1-1024 (default 512)
- temperaturequery0-2 (default 0.6)
curl -i 'https://mpp-ai.fmf-x402.workers.dev/mpp/chat'
26 more endpoints · on x402 Bazaar
Checks and payment terms on this page refer to the first endpoint's example. Other endpoints have not been checked individually.
Base URLhttps:
- POST/chat$0.002Run an OpenAI-style chat completion with an open-weight model (gemma-4-26b-a4b default, granite-4-micro, gpt-oss-20b). Send messages[] or a prompt; returns the assistant reply, token usage and finish reason. Flat price per call.
Example
curl -i -X POST 'https://mpp-ai.fmf-x402.workers.dev/mpp/chat' \ -H 'Content-Type: application/json' \ -d '{"prompt":"What is the Machine Payments Protocol?","system":"Answer in one sentence.","max_tokens":200}' - GET/classify$0.001Classify a text into caller-supplied labels with no training (zero-shot, BAAI bge-m3 embedding similarity, multilingual). Returns the labels ranked with a probability and cosine score.
3 parameters and an example
- textquery, requiredMy card was charged twice for one order.text to classify, up to 4,000 chars (default: My card was charged twice for one order.)
- labelsquery, requiredbilling,shipping,technical issue,praise2-20 labels (array, JSON array string or comma list) (default: billing,shipping,technical issue,praise)
- multi_labelquerymulti_label (default: false)
curl -i 'https://mpp-ai.fmf-x402.workers.dev/mpp/classify?text=My+card+was+charged+twice+for+one+order.&labels=billing%2Cshipping%2Ctechnical+issue%2Cpraise'
- POST/embeddings$0.001Return L2-normalised text embeddings (BAAI bge-m3, 1024 dimensions, 100+ languages) for up to 100 texts per call, in an OpenAI-style response (data[i].embedding). Use for semantic search, RAG retrieval, clustering or similarity.
Example
curl -i -X POST 'https://mpp-ai.fmf-x402.workers.dev/mpp/embeddings' \ -H 'Content-Type: application/json' \ -d '{"texts":["machine payments","pay per call API"]}' - POST/embeddings
/bge-base$0.001Return L2-normalised text embeddings with BAAI bge-base-en-v1.5 (768 dimensions, English) for up to 100 texts per call, in an OpenAI-style response (data[i].embedding). Use for semantic search, RAG retrieval or similarity. Example
curl -i -X POST 'https://mpp-ai.fmf-x402.workers.dev/mpp/embeddings/bge-base' \ -H 'Content-Type: application/json' \ -d '{"text":"pay per call API for agents"}' - POST/embeddings
/bge-large$0.001Return L2-normalised text embeddings with BAAI bge-large-en-v1.5 (1024 dimensions, English, highest quality of the BGE English models) for up to 100 texts per call, in an OpenAI-style response (data[i].embedding). Use for semantic search, RAG retrieval or similarity. Example
curl -i -X POST 'https://mpp-ai.fmf-x402.workers.dev/mpp/embeddings/bge-large' \ -H 'Content-Type: application/json' \ -d '{"text":"pay per call API for agents"}' - POST/embeddings
/bge-small$0.001Return L2-normalised text embeddings with BAAI bge-small-en-v1.5 (384 dimensions, English, fastest) for up to 100 texts per call, in an OpenAI-style response (data[i].embedding). Use for semantic search, RAG retrieval or similarity. Example
curl -i -X POST 'https://mpp-ai.fmf-x402.workers.dev/mpp/embeddings/bge-small' \ -H 'Content-Type: application/json' \ -d '{"text":"pay per call API for agents"}' - POST/embeddings
/qwen3$0.001Return L2-normalised text embeddings with qwen3-embedding-0.6b (1024 dimensions, 100+ languages) for up to 100 texts per call, in an OpenAI-style response (data[i].embedding). Use for multilingual semantic search, RAG retrieval or similarity. Example
curl -i -X POST 'https://mpp-ai.fmf-x402.workers.dev/mpp/embeddings/qwen3' \ -H 'Content-Type: application/json' \ -d '{"text":"pay per call API for agents"}' - GET/keywords$0.001Extract ranked keywords and key phrases (RAKE-style scoring) from up to 50,000 characters of text. Returns phrase, score and count. Deterministic, no model call.
2 parameters and an example
- topquery1-50 (default 10)
- textqueryup to 50,000 characters (default: Agents pay per call with the Machine Payments Protocol. Pay per call APIs need no API keys and settle in stablecoins on Tempo.)
curl -i 'https://mpp-ai.fmf-x402.workers.dev/mpp/keywords'
- POST/language
/detect$0.001Detect the language of up to 100 texts per call (franc trigram model, 80+ languages, MIT). Short texts (<20 chars) are flagged as low confidence. No model call, instant. Example
curl -i -X POST 'https://mpp-ai.fmf-x402.workers.dev/mpp/language/detect' \ -H 'Content-Type: application/json' \ -d '{"text":"Bonjour tout le monde, comment allez-vous aujourd'\''hui ?"}' - GET/pii
/detect$0.001Detect PII and secrets in text (emails, phone numbers, Luhn-checked card numbers, IBANs, US SSNs, IP addresses, Ethereum addresses, API keys, token-bearing URLs) with offsets, and return a redacted copy. Pattern based; nothing stored. 3 parameters and an example
- maskqueryreplacement style: type (default, e.g. [EMAIL]) or char
- textqueryup to 100,000 characters (default: Contact [email protected] or +1 416 555 0199; card 4111 1111 1111 1111.)
- redactqueryredact (default: true)
curl -i 'https://mpp-ai.fmf-x402.workers.dev/mpp/pii/detect'
- POST/pro
/embeddings$0.001Return L2-normalised text embeddings (BAAI bge-m3, 1024 dimensions, 100+ languages) for up to 100 texts per call, in an OpenAI-style response (data[i].embedding). Use for semantic search, RAG retrieval, clustering or similarity. Example
curl -i -X POST 'https://mpp-ai.fmf-x402.workers.dev/mpp/pro/embeddings' \ -H 'Content-Type: application/json' \ -d '{"texts":["machine payments","pay per call API"]}' - GET/pro
/embeddings /bge-base$0.001 2 parameters and an example
- textqueryone text (or a JSON array string of texts) (default: pay per call API for agents)
- normalizequerynormalize (default: true)
curl -i 'https://mpp-ai.fmf-x402.workers.dev/mpp/pro/embeddings/bge-base'
- POST/pro
/embeddings /bge-base$0.001Return L2-normalised text embeddings with BAAI bge-base-en-v1.5 (768 dimensions, English) for up to 100 texts per call, in an OpenAI-style response (data[i].embedding). Use for semantic search, RAG retrieval or similarity. Example
curl -i -X POST 'https://mpp-ai.fmf-x402.workers.dev/mpp/pro/embeddings/bge-base' \ -H 'Content-Type: application/json' \ -d '{"text":"pay per call API for agents"}' - GET/pro
/embeddings /bge-large$0.001 2 parameters and an example
- textqueryone text (or a JSON array string of texts) (default: pay per call API for agents)
- normalizequerynormalize (default: true)
curl -i 'https://mpp-ai.fmf-x402.workers.dev/mpp/pro/embeddings/bge-large'
- POST/pro
/embeddings /bge-large$0.001Return L2-normalised text embeddings with BAAI bge-large-en-v1.5 (1024 dimensions, English, highest quality of the BGE English models) for up to 100 texts per call, in an OpenAI-style response (data[i].embedding). Use for semantic search, RAG retrieval or similarity. Example
curl -i -X POST 'https://mpp-ai.fmf-x402.workers.dev/mpp/pro/embeddings/bge-large' \ -H 'Content-Type: application/json' \ -d '{"text":"pay per call API for agents"}' - GET/pro
/embeddings /bge-small$0.001 2 parameters and an example
- textqueryone text (or a JSON array string of texts) (default: pay per call API for agents)
- normalizequerynormalize (default: true)
curl -i 'https://mpp-ai.fmf-x402.workers.dev/mpp/pro/embeddings/bge-small'
- POST/pro
/embeddings /bge-small$0.001Return L2-normalised text embeddings with BAAI bge-small-en-v1.5 (384 dimensions, English, fastest) for up to 100 texts per call, in an OpenAI-style response (data[i].embedding). Use for semantic search, RAG retrieval or similarity. Example
curl -i -X POST 'https://mpp-ai.fmf-x402.workers.dev/mpp/pro/embeddings/bge-small' \ -H 'Content-Type: application/json' \ -d '{"text":"pay per call API for agents"}' - GET/pro
/keywords$0.001Extract ranked keywords and key phrases (RAKE-style scoring) from up to 50,000 characters of text. Returns phrase, score and count. Deterministic, no model call. 2 parameters and an example
- topquery1-50 (default 10)
- textqueryup to 50,000 characters (default: Agents pay per call with the Machine Payments Protocol. Pay per call APIs need no API keys and settle in stablecoins on Tempo.)
curl -i 'https://mpp-ai.fmf-x402.workers.dev/mpp/pro/keywords'
- GET/pro
/pii /detect$0.001Detect PII and secrets in text (emails, phone numbers, Luhn-checked card numbers, IBANs, US SSNs, IP addresses, Ethereum addresses, API keys, token-bearing URLs) with offsets, and return a redacted copy. Pattern based; nothing stored. 3 parameters and an example
- maskqueryreplacement style: type (default, e.g. [EMAIL]) or char
- textqueryup to 100,000 characters (default: Contact [email protected] or +1 416 555 0199; card 4111 1111 1111 1111.)
- redactqueryredact (default: true)
curl -i 'https://mpp-ai.fmf-x402.workers.dev/mpp/pro/pii/detect'
- GET/pro
/sentiment$0.001 1 parameter and an example
- textquerytext (default: I love how fast this API is.)
curl -i 'https://mpp-ai.fmf-x402.workers.dev/mpp/pro/sentiment'
- POST/pro
/sentiment$0.001Score the sentiment of up to 25 texts per call as POSITIVE or NEGATIVE with a confidence score (DistilBERT SST-2). English works best. Example
curl -i -X POST 'https://mpp-ai.fmf-x402.workers.dev/mpp/pro/sentiment' \ -H 'Content-Type: application/json' \ -d '{"text":"I love how fast this API is."}' - POST/rerank$0.001Rerank up to 100 documents by relevance to a query with a cross-encoder (BAAI bge-reranker-base). Returns index, relevance score (0-1) and text, best first. Use after search or embeddings retrieval.
Example
curl -i -X POST 'https://mpp-ai.fmf-x402.workers.dev/mpp/rerank' \ -H 'Content-Type: application/json' \ -d '{"query":"how do agents pay for APIs?","documents":["MPP lets agents pay per HTTP call.","Bananas are rich in potassium."]}' - POST/sentiment$0.001Score the sentiment of up to 25 texts per call as POSITIVE or NEGATIVE with a confidence score (DistilBERT SST-2). English works best.
Example
curl -i -X POST 'https://mpp-ai.fmf-x402.workers.dev/mpp/sentiment' \ -H 'Content-Type: application/json' \ -d '{"text":"I love how fast this API is."}' - GET/similarity$0.001Score semantic similarity between a query and up to 32 candidate texts with BAAI bge-m3 multilingual embeddings. Returns each candidate with a cosine score, best first.
3 parameters and an example
- queryquery, requiredhow do agents pay for APIs?query (default: how do agents pay for APIs?)
- top_nquerytop_n
- candidatesquery, required["MPP lets agents pay per HTTP call.","Bananas are rich in potassium."]up to 32 texts (or a JSON array string / comma list), 2,000 chars each (default: ["MPP lets agents pay per HTTP call.","Bananas are rich in potassium."])
curl -i 'https://mpp-ai.fmf-x402.workers.dev/mpp/similarity?query=how+do+agents+pay+for+APIs%3F&candidates=%5B%22MPP+lets+agents+pay+per+HTTP+call.%22%2C%22Bananas+are+rich+in+potassium.%22%5D'
A dash means the listing gives no price or method. {Braces} mark a value you fill in. Copy buttons copy an example URL.
Showing 25 of 27 endpoints. Next endpoints
Agents can find it through the Superstables MCP server and JSON API: GET /api/v1/services/mpp-ai.fmf-x402.workers.dev
Recent checks
- Median response
- 390 ms
- Last checked
- 1 Dec, 09:24 UTC
Our probes look for a payment challenge. They don't test payment or delivery.
All 2 checks
| When (UTC) | Result | HTTP | Response |
|---|---|---|---|
| 1 Dec, 09:24 UTC | Live | 402 | 447ms |
| 29 Nov, 19:59 UTC | Live | 402 | 333ms |
Questions
Did our last probe detect a payment challenge?
At our last probe on 1 Dec, 09:24 UTC, it returned HTTP 402 or another detected payment-challenge signal.
What payment terms does LLM chat completion advertise?
The listing advertises x402, Base and USDC. It names cdp as its facilitator. Check the seller's current payment challenge and authentication requirements before paying.
Something wrong on this page? Tell us.