{"uid":"cap_VBufJJhUPnpbv4bZ8NjDE","slug":"glianaai-llm-chat-completions-x402-pay-per-call-c0250442","name":"GlianaAI LLM Chat Completions (x402 Pay-per-Call)","description":"GlianaAI - pay-per-call AI: LLM chat (OpenAI-compatible), image, video, music, speech - 100+ models, no signup, USDC. This resource: LLM chat — pass any catalog model id in the body (default minimax-m3). Priced PER REQUEST from the model and input you send, from $0.002000; send the body to read its exact price off the 402. https://ai.glianalabs.com","url":"https://api.glianalabs.com/x402/chat/completions?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"model":{"type":"string","description":"Any catalog model id for llm chat. Defaults to minimax-m3. GET /v1/models lists them."},"tools":{"type":"array","description":"OpenAI-style function tools: [{ type: \"function\", function: { name, description, parameters } }]. The response returns tool_calls (finish_reason \"tool_calls\"); send results back as { role: \"tool\", tool_call_id, content }."},"top_p":{"type":"number","description":"Nucleus sampling. Passed through where the provider supports it."},"stream":{"type":"boolean","description":"true → Server-Sent Events in the OpenAI chunk format (on /v1/chat/completions)."},"messages":{"type":"array","description":"OpenAI-style chat messages: [{ role: \"user\" | \"system\" | \"assistant\" | \"tool\", content }]. Vision: content may be a parts array with { type: \"image_url\", image_url: { url } } (public URL — upload via POST /v1/media)."},"max_tokens":{"type":"integer","description":"Output-token cap — bounds the pre-charged price ceiling. Default 1024."},"temperature":{"type":"number","description":"Sampling temperature. Passed through where the provider supports it."},"tool_choice":{"type":"string","description":"\"auto\" (default) | \"none\" | \"required\" | { type: \"function\", function: { name } }."}}},"responseSchema":{"type":"json","example":{"model":"minimax-m3","output":{"url":"https://api.glianalabs.com/v1/media/<id>"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_pOh3_1C0Ynd3uXMNZF8CD","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs an LLM chat completion request against 90+ generative AI models via an OpenAI-compatible endpoint, billed per-request in USDC with no signup required.","exampleAgentPrompt":"Send a chat completion request to GlianaAI using the minimax-m3 model and ask it: 'Summarize the key differences between transformer and diffusion architectures in three bullet points.' Pay the per-call fee in USDC.","exampleUseCases":[{"title":"Anonymous LLM inference with crypto payment","prompt":"Use GlianaAI to run a chat completion with the minimax-m3 model — ask it to write a short product description for a wireless ergonomic keyboard, and pay the request fee in USDC on Base. No account setup needed."},{"title":"AI agent sub-task delegation","prompt":"I need to call GlianaAI's chat completions endpoint to have one of their 90+ models answer this question for my workflow: 'What are the top 5 programming languages for data science in 2025?' Use whatever model is cheapest and pay per call."},{"title":"Rapid prototyping with pay-per-use LLM","prompt":"Hit the GlianaAI chat completions API with a prompt asking it to classify this customer message as complaint, inquiry, or compliment: 'I still haven't received my refund after two weeks.' Pay in USDC and give me the model's response."}],"resultDescription":"A JSON object containing the model's chat completion output, including generated text or a media URL (e.g. https://api.glianalabs.com/v1/media/<id>), along with the model name used for the request.","failureModes":["Insufficient USDC balance — payment rejected before inference runs","Unsupported model name specified — 402 or 400 error returned","Malformed request body — missing required fields like type, method, or bodyType","Rate limiting or quota exceeded on the selected model","Network timeout if the selected model has high latency","Invalid blockchain/chain specified for payment"],"whenToPreferThis":"Prefer this endpoint when you need anonymous, no-signup LLM inference billed at the per-call level in USDC stablecoin, especially when integrating with x402 payment flows on Base, Solana, Algorand, Tempo, or BNB Chain. It is ideal for agents that need access to a wide roster of 90+ models (including niche or emerging ones) under a single OpenAI-compatible interface without committing to a subscription. Choose it over OpenAI or Anthropic direct APIs when crypto-native micropayment billing is a requirement or when model diversity across a single endpoint matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-27T19:22:34.342Z","isFirstParty":false,"canonicalSlug":"glianaai-llm-chat-completions-x402-pay-per-call-c0250442"}