{"uid":"cap_BvIVe8fkoAenqJEWHAd8E","slug":"ask-session-withzero-ai-ask-session-parallel-multi-model-llm-runner-3ef0a2ef","name":"Ask Session – Parallel Multi-Model LLM Runner","description":"Run a prompt against 1-5 models in parallel. Per-voucher: $0.02. Buyer opens a session channel (recommended deposit $0.05) and signs cumulative vouchers per call. Each call advances the channel by $0.02. Close the session to get unspent deposit refunded. Pre-flight: free `GET /models` lists every supported model with per-million token costs and an estimated per-call cost — use it to choose the `models` array before opening the channel.","url":"https://ask-session.withzero.ai/run?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["prompt"],"properties":{"models":{"type":"array","items":{"type":"string"},"maxItems":5,"minItems":1,"description":"Model IDs to query (1-5). Defaults to GPT-4.1, Claude Sonnet 4.5, Gemini 2.5 Pro. Available: openai/gpt-4.1, openai/gpt-4.1-mini, openai/gpt-4.1-nano, anthropic/claude-opus-4-6, anthropic/claude-sonnet-4-5, anthropic/claude-haiku-4-5, google/gemini-2.5-pro, google/gemini-2.5-flash, meta-llama/llama-3.3-70b-instruct, mistralai/mistral-large, mistralai/mistral-small, deepseek/deepseek-v3, deepseek/deepseek-r1"},"prompt":{"type":"string","maxLength":10000,"minLength":1,"description":"The question or prompt to send to the models"},"maxTokens":{"type":"number","default":1024,"maximum":4096,"minimum":50,"description":"Max tokens per model response (default: 1024)"},"systemPrompt":{"type":"string","maxLength":2000,"description":"Optional system prompt to set context for all models"}},"additionalProperties":false},"responseSchema":{"type":"object","required":["prompt","responses","modelsQueried","modelsSucceeded","totalLatencyMs","totalCostUsd"],"properties":{"prompt":{"type":"string"},"responses":{"type":"array","items":{"type":"object","required":["model","response","inputTokens","outputTokens","latencyMs","costUsd"],"properties":{"error":{"type":"string"},"model":{"type":"string"},"costUsd":{"type":"number","description":"Actual cost for this model call in USD"},"response":{"type":"string"},"latencyMs":{"type":"number"},"inputTokens":{"type":"number"},"outputTokens":{"type":"number"}},"additionalProperties":false}},"totalCostUsd":{"type":"number","description":"Estimated raw token cost summed across all models (USD)"},"modelsQueried":{"type":"number"},"totalLatencyMs":{"type":"number"},"modelsSucceeded":{"type":"number"}},"additionalProperties":false},"example":null,"exampleRequest":null,"tags":[],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":{"amountUsd":"0.05","asset":"USDC"},"pricing":{"kind":"session","summary":"$0.02/call","primary":{"kind":"session","protocol":"mpp","network":"tempo","amountUsd":"0.02","per":"call","confidence":"exact","depositUsd":"0.05"},"accepted":[{"kind":"session","protocol":"mpp","network":"tempo","amountUsd":"0.02","per":"call","confidence":"exact","depositUsd":"0.05"}]},"paymentMethods":[{"uid":"pm_ru-NYfwrzJHAMBkebcuzS","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"session","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x20C000000000000000000000b9537d11c60E8b50","unit":"request","depositMicros":50000,"planRef":"ask-model:1"}],"brandName":"ask-session.withzero.ai","brandSlug":"ask-session-withzero-ai-mpp","brandBaseUrl":"https://ask-session.withzero.ai","brandDocsUrl":null,"whatItDoes":"Runs a single prompt against up to 5 LLMs in parallel and returns all responses, token counts, latencies, and costs in one call","exampleAgentPrompt":"Send this prompt to GPT-4.1, Claude Sonnet 4.5, and Gemini 2.5 Pro in parallel and show me all three responses side by side: 'Explain the key tradeoffs between microservices and monolithic architectures in 3 bullet points.'","exampleUseCases":[{"title":"Compare LLM answers on a coding question","prompt":"Ask GPT-4.1, Claude Haiku, and Mistral Large at the same time: 'Write a Python function that checks if a string is a palindrome' — show me all three answers and which one was fastest."},{"title":"Multi-model fact-check for research","prompt":"Run this question through GPT-4.1, Gemini 2.5 Pro, and DeepSeek V3 simultaneously and tell me if they all agree: 'What year was the Treaty of Westphalia signed and what did it establish?'"},{"title":"Pick best model for creative writing","prompt":"Send the prompt 'Write a two-sentence horror story about a lighthouse' to Claude Sonnet 4.5, Gemini 2.5 Flash, and Llama 3.3 70B at the same time so I can see which model produces the most compelling output."}],"resultDescription":"Returns an array of per-model objects each containing the model ID, the text response, input/output token counts, latency in milliseconds, and cost in USD. Top-level fields include the original prompt, number of models queried vs succeeded, total latency, and summed token cost across all models.","failureModes":["Individual model may fail (error field populated per model) while others succeed — modelsSucceeded < modelsQueried","Prompt exceeds 10,000 character limit — validation error","maxTokens outside 50–4096 range — validation error","Invalid or unrecognized model ID in models array — error per affected model","Insufficient channel deposit to cover voucher — payment rejected","Session channel not open or expired — authentication/payment failure"],"whenToPreferThis":"Choose this endpoint when you need to compare outputs from multiple LLMs on the same prompt in a single roundtrip, or when you want to pick the best model for a given task without running sequential calls. It is ideal for benchmarking, quality comparison, consensus checking, or any workflow where seeing 2–5 model responses side-by-side adds value. Prefer it over single-model endpoints when model diversity or redundancy matters more than minimizing cost.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:35:50.095Z","isFirstParty":true,"canonicalSlug":"ask-session-withzero-ai-ask-session-parallel-multi-model-llm-runner-3ef0a2ef"}