{"uid":"cap_FEfx0k1PhlwBv95P8ETOQ","slug":"sol-blockrun-ai-2c43ab06","name":"sol.blockrun.ai Chat Completions","description":"Access 66 frontier LLMs with OpenAI-compatible API. Price depends on model and token usage.","url":"https://sol.blockrun.ai/api/v1/chat/completions","method":"POST","headers":{},"bodySchema":{"type":"object","required":["model","messages"],"properties":{"model":{"enum":["openai/gpt-5.6-sol","openai/gpt-5.6-terra","openai/gpt-5.6-luna","openai/gpt-5.5","openai/gpt-5.5-pro","openai/chat-latest","openai/gpt-5.4","openai/gpt-5.4-pro","openai/gpt-5.3","openai/gpt-5.2","openai/gpt-5.4-mini","openai/gpt-5-mini","openai/gpt-5.4-nano","openai/gpt-5.2-pro","openai/gpt-5.3-codex","openai/gpt-4.1","openai/gpt-4.1-mini","openai/gpt-4.1-nano","openai/gpt-4o","openai/gpt-4o-mini","openai/o1","openai/o3","openai/o3-mini","openai/o4-mini","anthropic/claude-haiku-4.5","anthropic/claude-sonnet-5","anthropic/claude-sonnet-4.5","anthropic/claude-sonnet-4.6","anthropic/claude-opus-4.5","anthropic/claude-opus-4.7","anthropic/claude-fable-5","anthropic/claude-opus-4.8","anthropic/claude-opus-5","google/gemini-3.1-pro","google/gemini-3-flash-preview","google/gemini-3.5-flash","google/gemini-2.5-pro","google/gemini-2.5-flash","google/gemini-3.1-flash-lite","google/gemini-2.5-flash-lite","deepseek/deepseek-v4-pro","deepseek/deepseek-chat","deepseek/deepseek-reasoner","zai/glm-5.2","zai/glm-5.1","zai/glm-5","zai/glm-5-turbo","xai/grok-4.5","xai/grok-4.3","xai/grok-build-0.1","moonshot/kimi-k3","minimax/minimax-m3","minimax/minimax-m2.7","qwen/qwen3.7-max","tencent/hy3","xiaomi/mimo-v2.5-pro","nvidia/deepseek-v4-flash","nvidia/nemotron-3-nano-omni-30b-a3b-reasoning","nvidia/seed-oss-36b","nvidia/qwen3-next-80b-a3b-instruct","nvidia/mistral-nemotron","nvidia/step-3.7-flash","nvidia/nemotron-nano-9b-v2","nvidia/nemotron-nano-12b-v2-vl"],"type":"string","description":"Model ID to use for completion"},"stream":{"type":"boolean","description":"Enable streaming responses"},"messages":{"type":"array","items":{"type":"object","required":["role","content"],"properties":{"role":{"enum":["system","user","assistant"],"type":"string"},"content":{"type":"string","description":"Text content for this chat message."}}},"description":"Array of chat messages"},"max_tokens":{"type":"integer","maximum":128000,"minimum":1,"description":"Maximum tokens to generate"},"temperature":{"type":"number","maximum":2,"minimum":0,"description":"Sampling temperature (0-2)"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402","ai_ml"],"displayCostAmount":"0.02466","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.027925/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.027925","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.027925","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_JxrD4Hg-uasSYdcTG0Lku","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.027925","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Pay-per-request AI chat completions API billed in USDC on Solana, supporting multiple LLM models via a standard messages interface","exampleAgentPrompt":"Using the blockrun.ai chat completions API on Solana, send this conversation to openai/gpt-4o with temperature 0.7 and max 500 tokens — messages: system 'You are a helpful assistant', user 'Explain quantum entanglement in simple terms' — and pay the $0.001 USDC fee per request.","exampleUseCases":null,"resultDescription":"Returns a standard OpenAI-compatible chat completion object containing the assistant's generated message, model used, token usage counts, and finish reason. The response mirrors the OpenAI Chat Completions API response format.","failureModes":["Insufficient USDC balance on Solana wallet — payment fails with 402 status","Invalid or unsupported model ID — returns error indicating model not found","Malformed messages array (missing role or content) — returns validation error","Exceeded max_tokens limit for the selected model — truncated response or error","Network/RPC issues on Solana causing payment verification delays — timeout or retry needed","Stream mode connection drop — partial response received"],"whenToPreferThis":"Choose this endpoint when you need pay-per-call LLM access billed in USDC on Solana without a subscription, especially in web3 or agentic workflows that already hold Solana-based stablecoins. Ideal for low-frequency or bursty AI calls where per-request micropayment is preferable to a monthly API key billing model.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":1,"lastUsedAt":"2026-05-15T18:13:04.187Z","lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T00:34:56.200Z","isFirstParty":false}