Skip to content
Blog

Notes from the gateway

Practical guides on building with AI APIs: architecture, model selection, cost control and async media pipelines.

TopicsGatewayArchitectureGetting startedLLMMigrationSDKImageVideoAsyncCostComparisonCoding agents
What Is an AI API Gateway? How One Endpoint Routes 250+ Models
November 26, 2026 · 8 min read

What Is an AI API Gateway? How One Endpoint Routes 250+ Models

An AI API gateway sits between your application and many AI models, giving you one place to authenticate, select models, and track usage.

Read article
One API Key for GPT, Claude and Gemini: A Practical Setup Guide
Nov 23, 2026 · 9 min read

One API Key for GPT, Claude and Gemini: A Practical Setup Guide

A team can start with one GPT integration and soon find itself maintaining separate credentials, clients, and billing workflows for Claude and Gemini.

Read article
Switch Your OpenAI SDK to Openrouter API in Two Lines: A base_url Migration Guide
Nov 20, 2026 · 7 min read

Switch Your OpenAI SDK to Openrouter API in Two Lines: A base_url Migration Guide

Moving an OpenAI SDK application to Openrouter API starts with two configuration changes: the API base URL and the API key.

Read article
Async Image and Video Generation: Task IDs, Polling and Webhooks Done Right
Nov 17, 2026 · 6 min read

Async Image and Video Generation: Task IDs, Polling and Webhooks Done Right

Image and video generation often takes seconds to minutes, so a successful submission is the start of a workflow—not the finished asset.

Read article
Prompt Caching and Token Budgets: Cutting LLM API Costs Without Losing Quality
Nov 14, 2026 · 8 min read

Prompt Caching and Token Budgets: Cutting LLM API Costs Without Losing Quality

LLM API costs grow when applications repeatedly send the same instructions, retrieve more context than a task needs, or let agents generate long answers across multiple steps.

Read article
Seedance vs Veo vs Kling vs Hailuo: Choosing a Video Generation API
Nov 11, 2026 · 7 min read

Seedance vs Veo vs Kling vs Hailuo: Choosing a Video Generation API

Choosing a video generation API starts with the job: generating from a prompt, animating a product image, editing footage, or producing a clip with audio.

Read article
GPT Image vs Nano Banana vs Seedream vs FLUX: Picking an Image Generation API
Nov 8, 2026 · 8 min read

GPT Image vs Nano Banana vs Seedream vs FLUX: Picking an Image Generation API

Picking an image generation API starts with the job: creating a new scene, keeping a product consistent across references, rendering readable text, or producing an asset with a transparent background.

Read article
Using Openrouter API with Claude Code, Cursor and Other Coding Agents
Nov 5, 2026 · 8 min read

Using Openrouter API with Claude Code, Cursor and Other Coding Agents

Coding agents can spend far more tokens than a chat session because they repeatedly send instructions, repository context, file contents, and tool results back to the model.

Read article
Depth: 250+ models · Minimum top-up $50

One key. Every model. Start shipping today.

Create an account, top up from $50, and point your existing OpenAI, Anthropic or Gemini SDK at Openrouter API. No subscriptions, no seat fees, no idle charges.