Menu

glim.sh · Chat Completions

by glim.sh

POSTBaseSearch & web
$0.0054
per call · USDC on Base

LLM chat completion (OpenAI-compatible, streaming supported)

Endpoint
POST https://glim.sh/api/v1/inference/v1/chat/completions
156calls / 30dmeasured by x402.new
3paying wallets / 30dmeasured by x402.new
100%uptime · 208ms p95measured by x402-list.com
Acompliance grademeasured by x402-list.com

Listed in 3 directories: bazaar, x402-list, x402-new. First seen 5 Sept 2026.

Call this service

The endpoint answers an unpaid request with an HTTP 402 and a payment challenge. @x402/fetch signs it, pays in USDC, and retries — you get the result back in one call.

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const pay = wrapFetchWithPayment(fetch, account);

const res = await pay("https://glim.sh/api/v1/inference/v1/chat/completions", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({ /* see the 402 challenge for the shape */ }),
});

console.log(await res.json());
Open the endpoint ↗On OpenSea's x402 Bazaar ↗Everything from glim.sh

More from glim.sh

glim.sh · Twitter Search

glim.sh

Search tweets with advanced operators (recommended). Body param is `query` (not q), e.g. {"query":"from:elonmusk AI min_faves:100"}

BaseSearch & webA
4.1k calls / 30d · 100% up$0.005/ call
glim.sh · Amazon Search

glim.sh

Search Amazon by keyword or browse bestsellers by category slug

BaseSearch & webA
479 calls / 30d · 100% up$0.005/ call
glim.sh · WEB Search

glim.sh

Web search powered by Exa

BaseSearch & webA
207 calls / 30d · 100% up$0.01/ call
glim.sh · Youtube GET

glim.sh

Fetch a YouTube transcript from a video URL or 11-char id (video_id, also accepted as ref or url); returns a presigned download URL to the transcript

BaseSocial & communityA
115 calls / 30d · 100% up$0.01/ call
glim.sh · Reddit Search

glim.sh

Search Reddit posts

BaseSearch & webA
60 calls / 30d · 100% up$0.01/ call
glim.sh · WEB Fetch

glim.sh

Fetch a web page and extract clean content

BaseSearch & webA
34 calls / 30d · 100% up$0.002/ call

Uptime and compliance: x402-list.com (CC BY 4.0). Safety scores: x402.direct. Call and payer counts: x402.new. AMNT indexes this endpoint and does not host, operate or vouch for it.

Settings