> LLM chat completion
// Sends messages to a large language model and returns generated text responses
Sends messages to a large language model and returns generated text responses. Agents can request it by capability ID ai.chat_completion, or by plain intent — EntRoute resolves phrases like “chat completion”, “llm completion” and “gpt” to this capability.
EntRoute currently lists 10+ endpoints from 4 providers for ai.chat_completion, priced from $0.001 to $0.006 per call, settled in USDC on Base. The quickest responds in about 25ms at the 95th percentile. Every endpoint below is re-probed every 10 minutes for a valid 402 payment challenge; the ordering blends measured success rate, latency and price rather than provider claims.
These phrases resolve to this capability with intent-based discovery.
curl -X POST https://api.entroute.com/discover \ -H "Content-Type: application/json" \ -d '{"capability_id": "ai.chat_completion"}'
https://ged-x402-chat.jvalamis.workers.dev/v1/chat/completions https://api.x402node.dev/market/fear-greed https://api.x402node.dev/chain/contract-creation https://api.x402node.dev/crypto/eip712-hash https://api.x402node.dev/weather/current https://httpay.xyz/api/gateway/groq/%7B*path%7D/* https://api.x402node.dev/crypto/address-checksum https://api.x402node.dev/market/long-short-ratio https://httpay.xyz/api/gateway/openrouter/v1/chat/completions https://minifetch.com/api/v1/x402/extract/url-content Use this capability in your agent or application:
Frequently asked questions about LLM chat completion
How much does a llm chat completion API call cost?
Endpoints listed for ai.chat_completion on EntRoute are priced from $0.001 to $0.006 per call. Payment is per request — there is no subscription, account or API key. Prices shown are read from each endpoint's live 402 response, not from a provider-supplied catalogue.
How do AI agents pay for llm chat completion endpoints?
Via the x402 protocol. The agent calls the endpoint, receives an HTTP 402 Payment Required response describing the price and recipient, signs a stablecoin payment (USDC on Base), and retries the request with proof of payment. The whole exchange takes seconds and needs no human approval.
How many providers offer llm chat completion?
10+ endpoints are currently listed for ai.chat_completion across 4 providers. That number moves as endpoints are added and as failing ones are demoted.
Are these llm chat completion endpoints verified?
Each one is probed every 10 minutes to confirm it still returns a well-formed 402 challenge on a payable network. Endpoints whose 7-day success rate drops below 50% are moved out of the ranked list into fallbacks with an explicit exclusion reason, so an agent can decide whether to retry them.