The TokenRex Blog
Guides for developers, honest cost comparisons across frontier models, and product notes from the team.
TutorialsGenerate and save your first AI image, choose GPT or Gemini settings, check live prices and troubleshoot transparent output or incorrect resolution.
TutorialsIngestion, chunking, embedding, retrieval, reranking, generation — the full stack.
TutorialsSTT → LLM → TTS is the old shape. Here's what teams are shipping now.
TutorialsArchitecture for a scalable image gen product — queueing, storage, CDN, moderation.
TutorialsPer-customer keys, per-customer billing, and how to mark up AI cost.
TutorialsHow to structure keys across environments and teams.
TutorialsNever ship a key to the browser. Here's the full playbook.
TutorialsReal, measured cost reductions from teams shipping in production.
TutorialsGo standard library + go-openai client, wired to TokenRex.
TutorialsTurbo Streams + TokenRex for a Ruby-native chat UI.
TutorialsPython-side streaming with FastAPI and the OpenAI SDK.
TutorialsA complete Next.js 15 chatbot with server-sent streaming and message history.
TutorialsUse TokenRex as Cursor's model provider for at market price tab autocomplete and chat.
TutorialsUse the AI SDK's OpenAI provider with a custom base URL.
TutorialsPoint LlamaIndex's OpenAI class at TokenRex and keep every downstream RAG pattern.
TutorialsHow to point LangChain's ChatOpenAI class at TokenRex.
TutorialsA 200-line agent that browses the web, writes code, and reports back. Complete source.
TutorialsPractical transcription: chunking, diarization, and cost per minute.
TutorialsHow to wire a diff-based code editor to GPT-5 Codex without breaking user files.
TutorialsURL, base64, batch — the three ways to hand a model a picture.
TutorialsA step-by-step migration guide. Zero code changes beyond the base_url and key.
TutorialsWire a business WhatsApp number to GPT-5 in under 15 minutes with Twilio + TokenRex.