{"uid":"cap_wIiAO4O-AA8y0VfxgbYDq","slug":"laminarity-relay-minimax-m2-7-chat-completions-621cb4bf","name":"Laminarity Relay – MiniMax M2.7 Chat Completions","description":"Pay-per-request LLM inference for AI agents, served by open-weight models (DeepSeek, GLM, MiniMax). OpenAI-compatible; paid in USDC via x402 — no signup, no API keys.","url":"https://api.laminarity.uk/v1/minimax-m2.7/chat/completions?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"model":{"enum":["MiniMaxAI/MiniMax-M2.7"],"type":"string","default":"MiniMaxAI/MiniMax-M2.7","description":"Model id from GET /v1/models."},"stream":{"type":"boolean","default":false},"messages":{"type":"array","items":{"type":"object","required":["role","content"],"properties":{"role":{"enum":["system","user","assistant"],"type":"string"},"content":{"type":"string"}}}},"max_tokens":{"type":"integer","minimum":1,"description":"Upper bound on completion tokens; lower values cost less."},"temperature":{"type":"number","maximum":2,"minimum":0}}},"responseSchema":{"type":"json","example":{"id":"chatcmpl-example","model":"MiniMaxAI/MiniMax-M2.7","usage":{"total_tokens":12,"prompt_tokens":9,"completion_tokens":3},"object":"chat.completion","choices":[{"index":0,"message":{"role":"assistant","content":"Hello!"},"finish_reason":"stop"}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.00123","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.00123/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.00123","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.00123","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_IaARm5iWUOy-F_QIxcAlQ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.00123","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Pay-per-request chat completions via MiniMax-M2.7, billed per call in USDC with no API key or signup required.","exampleAgentPrompt":"Send this conversation to MiniMax M2.7 and get a reply: system says 'You are a helpful assistant', user asks 'What is the capital of France?' — keep the response concise, cap it at 100 tokens.","exampleUseCases":[{"title":"Keyless LLM inference for autonomous agent","prompt":"I need to call a chat model right now without setting up any API keys — use MiniMax M2.7 via Laminarity, send the system prompt 'You are a coding assistant' and the user message 'Write a Python function to reverse a string', max 200 tokens."},{"title":"Cost-controlled summarization task","prompt":"Summarize this article using MiniMax M2.7 through Laminarity: 'Global temperatures rose 1.2°C above pre-industrial levels last year according to new data…' — keep it under 150 tokens and use a temperature of 0.3 for consistency."},{"title":"Multi-turn dialogue in agent pipeline","prompt":"Continue this conversation using MiniMax M2.7 on Laminarity — system: 'You are a customer support agent', user: 'My order hasn't arrived', assistant: 'I'm sorry to hear that, can you share your order number?', user: 'It's 48291' — stream off, max 300 tokens."}],"resultDescription":"Returns an OpenAI-compatible chat.completion JSON object containing the assistant's reply text, the model used, finish reason (e.g. 'stop'), and token usage breakdown (prompt tokens, completion tokens, total tokens).","failureModes":["Payment failure or insufficient USDC balance returns a 402 Payment Required with x402 payment details","Invalid or missing messages array returns a 400 Bad Request","Temperature or max_tokens out of range returns a 422 Unprocessable Entity","Model ID not matching the allowed enum returns a 400 error","Service overload or upstream model unavailability may return 503","Network timeout on large completions if max_tokens is very high"],"whenToPreferThis":"Choose this endpoint when you need OpenAI-compatible chat completions with no signup or API key management, want per-request USDC billing via the x402 protocol, or need access to the MiniMax M2.7 open-weight model specifically. Ideal for autonomous agents that manage their own wallets and need to pay programmatically for inference on demand.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-18T00:34:46.278Z","isFirstParty":false,"canonicalSlug":"laminarity-relay-minimax-m2-7-chat-completions-621cb4bf"}