We can't find the internet
Attempting to reconnect
Something went wrong!
Attempting to reconnect
AI infrastructure for games. Players fund their own wallets. You pay nothing for AI.
Developers build. Players pay at-cost for AI. BYOK handles everything in between.
Register your game
Create a free dev account. Get an SDK key. Configure AI models.
Drop in one API call
Single POST to an OpenAI-compatible endpoint. Any engine.
Ship it
AI costs scale with your players, not your budget.
Sign in anywhere
Steam, mobile, web, or any platform. Account auto-created.
Fund wallet
$5 gets hundreds of AI interactions via Stripe.
Talk to AI NPCs
Dynamic dialogue. Fractions of a cent per interaction. Their wallet, their choice.
Real-time billing, player trust, knowledge graphs, and game intelligence — out of the box.
Funds reserved before inference, settled after, difference refunded instantly. Players set spending limits. Balances never go negative.
Build NPCs in Spite with knowledge graphs, personality, and milestone-gated secrets. BYOK fetches filtered context per request. Zero token cost for gated content.
NPCs develop trust, fear, respect toward individual players. They form opinions, remember facts, and progress through relationship stages automatically.
Play style tracking, NPC relationship maps, journey highlights, and narrative spending breakdowns. Cross-game passports carry player identity between BYOK games.
Budget tier for quick exchanges, ultra for cinematic moments. Smart routing reads conversation importance and selects the optimal quality tier automatically.
Circuit breaker protects player wallets from runaway scripts. Efficiency ratings, immersion index, trending narrative threads, and NPC performance benchmarks.
Get your first NPC talking in minutes. Zero external dependencies. Full TypeScript types. Streaming support.
Web games, Electron, Node.js servers. ESM + CJS dual output.
npm i @byok-gg/sdk
.NET Standard 2.1. IAsyncEnumerable streaming. Unity 2021+.
Byok.ByokClient
Godot 4.x addon. Signal-based streaming. Typed GDScript.
addons/byok/
OpenAI-compatible REST. If it can POST JSON, it works.
POST /api/v1/chat
Three auth methods out of the box. Steam OpenID, anonymous device IDs for mobile/web, or pass your own player IDs from Firebase, Supabase, Epic, PSN, Xbox — any auth system.
WebSocket channel for instant game event delivery. NPC actions, milestone activations, and analysis results pushed in real-time. REST polling as fallback.
Chat, streaming, player registration, event ingest, event polling, state management, wallet, player profiles, highlights, spending, passports — every endpoint typed and documented.
Developers get full platform access free. Players fund their own AI wallets. Pay only for tokens used.
Quality Tiers
Players choose their preferred tier. You configure which AI model powers each one.
Fast & Efficient
Quick responses, lower cost. Great for casual dialogue.
~$0.0001 / interaction
Balanced Quality
Best mix of quality and cost. Recommended default.
~$0.0003 / interaction
Maximum Quality
Frontier models for cinematic AI experiences.
~$0.001 / interaction
Create a developer account. Get your SDK key. No credit card required.
Players add funds via Stripe. Top-ups start at $5. They control their spending.
Each interaction is metered from the player's wallet. A small platform fee is included in token pricing.
Unlimited games. Unlimited requests. All features included. You pay nothing for AI tokens.
Start Building — FreeFree to start. Fund a wallet. Pay only for AI tokens used. Get your SDK key and make your first request now.
Create Developer Account