{"uid":"cap_46Kukm0igwlI32g2hHmeV","slug":"model-access-gateway-mistral-large-4-chat-completions-7acbfe6a","name":"Model Access Gateway – Mistral Large 4 Chat Completions","description":"Mistral Large 4 API (mistral/mistral-large-4): LLM inference via OpenAI-compatible chat completions, pay per call in USDC on Base with x402. No API key, no account. Suited for AI agents and scripts that need Mistral Large 4 on demand. Streaming and function calling supported. Exact price in the 402 quote before payment; automatic refund if the model fails to answer.","url":"https://agent402-arb.rosariovitale0096.workers.dev/llm/mistral-large-4?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"model":{"type":"string","description":"Optional: fixed by the route (mistral/mistral-large-4)"},"tools":{"type":"array"},"stream":{"type":"boolean","description":"true: server-sent events after payment"},"messages":{"type":"array","items":{"type":"object","required":["role"],"properties":{"role":{"enum":["system","user","assistant","tool","developer"],"type":"string"},"content":{"type":["string","array","null"]}}},"minItems":1},"max_tokens":{"type":"integer","maximum":16384,"minimum":1,"description":"Optional, default 4096"},"temperature":{"type":"number","maximum":2,"minimum":0},"response_format":{"type":"object"}}},"responseSchema":{"type":"json","example":{"id":"chatcmpl-7f3c2a91","model":"mistral/mistral-large-4","usage":{"total_tokens":10,"prompt_tokens":9,"completion_tokens":1},"object":"chat.completion","choices":[{"index":0,"message":{"role":"assistant","content":"OK"},"finish_reason":"stop"}],"created":1791979200}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0023","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.0023/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0023","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0023","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_og_-BQKG2O_u9i_o5ERRU","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0023","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Send an OpenAI-compatible chat completion request to Mistral Large 4, paid per-request in USDC on Base via x402 with no API key required.","exampleAgentPrompt":"Use Mistral Large 4 to answer this question for me — no API key setup, just pay per request in USDC: 'What are the key differences between transformer and recurrent neural network architectures?'","exampleUseCases":[{"title":"Keyless LLM inference for autonomous agents","prompt":"I want my agent to be able to call Mistral Large 4 on demand without storing any API keys — can it just pay a fraction of a cent in USDC per request and get a chat completion back?"},{"title":"One-off research question answered by frontier model","prompt":"Ask Mistral Large 4 to summarize the latest developments in quantum error correction in about 200 words — pay for it with USDC so I don't have to set up an account."},{"title":"AI-powered content drafting with crypto billing","prompt":"Draft a professional LinkedIn post announcing our Series A funding round using Mistral Large 4, and bill the inference cost to my USDC wallet on Base via x402."}],"resultDescription":"Returns an OpenAI-compatible chat.completion JSON object containing the assistant's reply text under choices[0].message.content, along with token usage counts (prompt, completion, total), the model identifier, a completion ID, creation timestamp, and a finish_reason (e.g. 'stop').","failureModes":["Insufficient USDC balance causes x402 payment failure and request is rejected","Malformed request body (missing required fields like messages) returns a 400 error","Model unavailable or overloaded upstream returns a 503 or timeout","Invalid or expired x402 payment header causes authentication failure","Exceeding token limits for Mistral Large 4 context window causes truncation or error"],"whenToPreferThis":"Choose this endpoint when you need Mistral Large 4 specifically (large context, strong reasoning) and want to avoid API key management or subscriptions — ideal for autonomous agents that pay per call in USDC on Base via x402. Prefer over OpenAI-compatible alternatives when using Mistral's flagship large model without account overhead matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-28T06:31:54.104Z","isFirstParty":false,"canonicalSlug":"model-access-gateway-mistral-large-4-chat-completions-7acbfe6a"}