Intelligence infrastructure
for the next generation.
Wizzx provides the high-performance primitives you need to build reliable AI products. Sub-50ms latency, global edge caching, and simple composability.
1400">class=400">class="text-amber-400">"text-zinc-500 italic">// Initialize the client with your secure key2400">const wizzx = 400">new 400">WizzxClient({3 key: 400">process.400">env.400">WIZZX_KEY,4 region: 400">class="text-amber-400">'us-east-1'5});67400">class=400">class="text-amber-400">"text-zinc-500 italic">// Stream response with a single call8400">const stream = 400">await wizzx.400">chat.400">completions.400">create({9 model: 400">class="text-amber-400">'gemini-2.5-flash',10 messages: [{ role: 400">class="text-amber-400">'user', content: 400">class="text-amber-400">'Analyze 400">this data...' }],11 stream: 400">true,12});1314400">for 400">await (400">const chunk of stream) {15 400">process.400">stdout.400">write(chunk.400">choices[0].400">delta.400">content);16}