{"uid":"cap_LjCEr3JOzzgW5ntNDVNq3","slug":"citiview-qwen3-8-chat-completions-openai-compatible-246cb011","name":"Citiview Qwen3.8 Chat Completions (OpenAI-Compatible)","description":"OpenAI-compatible chat completions on Alibaba Qwen 3.8 27B, the newest Qwen with reasoning, tool calling and a 262K context. Set your OpenAI SDK base URL to https://agents.citiviewgroup.com/v1/qwen3.8 and pay per token with x402 instead of an API key: $0.9 per million input and $6.4 per million output tokens, minimum $0.002 a call, at most $0.1039. The 402 quotes your request's maximum; \"upto\" payers are charged only the tokens used. Same request/response shape as OpenAI (too","url":"https://agents.citiviewgroup.com/v1/qwen3.8/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":"qwen3.8-27b","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.015126","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.015126/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015126","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015126","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_EO5qp-GZtNavG0hwjVArz","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.015126","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs a user prompt through the Qwen3.8-27B language model and returns an OpenAI-compatible chat completion response, pay-per-call with no signup required.","exampleAgentPrompt":"Ask Qwen3.8-27B: 'Summarize the key differences between REST and GraphQL in three bullet points.' Keep the response under 300 tokens and use a neutral, technical tone.","exampleUseCases":[{"title":"Quick factual Q&A without an account","prompt":"I need a quick answer from an LLM — ask Qwen3.8: 'What are the main causes of the 2008 financial crisis?' Keep it concise, under 200 tokens."},{"title":"Drafting a short marketing copy snippet","prompt":"Use Qwen3.8-27B to write a two-sentence product tagline for a noise-cancelling headphone aimed at remote workers. Keep the temperature at 0.8 for creativity."},{"title":"Code explanation for a developer agent","prompt":"Send this to Qwen3.8: 'Explain what this Python decorator does: @functools.lru_cache(maxsize=128). Answer in plain English for a junior developer.' Limit to 150 tokens."}],"resultDescription":"Returns an OpenAI-compatible JSON object containing the generated assistant message text, finish reason (e.g. 'stop'), token usage breakdown (prompt tokens, completion tokens, total tokens), the model name ('qwen3.8-27b'), and a unique completion ID.","failureModes":["Missing required 'prompt' query parameter returns a 400 error","Payment not included or insufficient USDC via x402 returns a 402 Payment Required","Prompt or response exceeds max_tokens limit, truncating output with finish_reason='length'","Model unavailability or upstream inference timeout returns a 503 or 504","Malformed temperature or max_tokens values may return a 422 validation error"],"whenToPreferThis":"Choose this endpoint when you need a no-signup, no-API-key LLM call billed per-use in USDC via x402, specifically for the Qwen3.8-27B model. Prefer it over OpenAI or Anthropic direct APIs when you want micropayment billing without a subscription, or when you specifically need Qwen's reasoning capabilities in an OpenAI-compatible response format for easy drop-in integration.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T06:40:30.048Z","isFirstParty":false,"canonicalSlug":"citiview-qwen3-8-chat-completions-openai-compatible-246cb011"}