{"uid":"cap_aD227BNYJQ6jLYk9p0Vu0","slug":"agentrxi-mistral-small-3-1-24b-chat-completions-c5e7f197","name":"AgentRXI Mistral Small 3.1 24B Chat Completions","description":"OpenAI-compatible chat completions on Mistral Small 3.1 24B, tool calling and image input. Set your OpenAI SDK base URL to https://agentrxi.com/v1/mistral and pay per token with x402 instead of an API key: $1.053 per million input and $1.665 per million output tokens, minimum $0.002 a call, at most $0.0124. The 402 quotes your request's maximum; \"upto\" payers are charged only the tokens used. Same request/response shape as OpenAI (tool calling, image input, streaming supporte","url":"https://agentrxi.com/v1/mistral/chat/completions?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["prompt"],"properties":{"prompt":{"type":"string","description":"User message"},"system":{"type":"string","description":"Optional system message"},"max_tokens":{"type":"integer"},"temperature":{"type":"number"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"id":"chatcmpl-...","model":"mistral-small-3.1-24b","usage":{"total_tokens":18,"prompt_tokens":14,"completion_tokens":4},"object":"chat.completion","choices":[{"index":0,"message":{"role":"assistant","content":"Bonjour !"},"finish_reason":"stop"}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003727","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.003727/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003727","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003727","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_T4I94lagQtMXwLFVkIJC4","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003727","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"OpenAI-compatible chat completions using Mistral Small 3.1 24B, supporting tool calling and image input, billed per-token via x402 micropayments","exampleAgentPrompt":"Ask Mistral Small 3.1 24B: 'Summarize the key points in this image of a financial report and list any action items' — keep the response under 300 tokens and use a temperature of 0.3.","exampleUseCases":[{"title":"Multimodal product description generation","prompt":"Look at this product image I'm uploading and write a compelling 150-word e-commerce description for it using Mistral Small — keep the tone professional and highlight key visual features."},{"title":"Tool-calling agent for data lookup","prompt":"Use Mistral Small 3.1 to answer 'What is the current weather in Paris?' and make sure it can call external tools to fetch the data if needed."},{"title":"Low-cost batch question answering","prompt":"I have 50 short customer support questions I need answered — can you run them through Mistral Small 3.1 24B one by one, paying only for the tokens used each call, with a max of 200 output tokens per response?"}],"resultDescription":"Returns an OpenAI-compatible chat.completion JSON object containing the assistant's message content, finish reason, model name, and token usage (prompt, completion, and total tokens). Tool call responses and streamed chunks follow the same OpenAI schema.","failureModes":["402 Payment Required if x402 payment is not attached or insufficient","prompt parameter missing returns a validation error","max_tokens exceeded for model context window","image input too large or unsupported format","network timeout on long completions","temperature out of range causes parameter rejection"],"whenToPreferThis":"Choose this endpoint when you need a cost-effective, OpenAI-compatible LLM with vision and tool-calling support, billed purely per token via x402 micropayments with no subscription or API key required. It is ideal for agents that need to pay only for what they use, integrate with existing OpenAI SDK tooling, or process image inputs alongside text. Prefer it over GPT-4o or Claude when budget efficiency matters and Mistral Small's capability level is sufficient.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T06:38:51.249Z","isFirstParty":false,"canonicalSlug":"agentrxi-mistral-small-3-1-24b-chat-completions-c5e7f197"}