Skip to main content

Overview

OpenAI’s chat models on RouterBase, served through the standard OpenAI-compatible chat completions endpoint with streaming, tool calling, vision input, and per-user prompt caching. Covers the GPT-5 flagship family, the GPT-4 family, and the o-series reasoning models.

Models

  • openai/gpt-5.5
  • openai/gpt-5.4
  • openai/gpt-5.4-mini
  • openai/gpt-5
  • openai/gpt-5-nano
  • openai/gpt-4.1
  • openai/gpt-4.1-nano
  • openai/gpt-4o
  • openai/gpt-4o-mini
  • openai/o3
  • openai/o4-mini
Pricing is deliberately not reproduced here. Rates are set per model in the RouterBase catalogue and can be overridden per account, so any figure copied into this page is a snapshot that goes stale the next time a rate changes. Fetch the current rate for any model from the Models API:
URL-encode the slash in the model id — e.g. openai%2Fgpt-5.5.

Endpoint

Drop-in compatible with the OpenAI Chat Completions API — point your existing OpenAI client at https://routerbase.com/v1 with your RouterBase key. See the full Chat Completions reference for every supported parameter.

Quickstart

Set "stream": true for token streaming (Server-Sent Events), exactly like the OpenAI API. Swap model for any id from the table above.

Prompt caching

RouterBase routes every customer through a shared upstream account but isolates each customer’s prompt cache automatically — your cached prefixes are never shared with, or served to, another customer. You don’t set anything: caching is on by default.
Streaming responses carry the same breakdown on the final chunk’s usage. OpenAI’s automatic prefix cache needs a prompt of at least ~1024 tokens to take effect, so caching benefits long, stable system prompts and tool definitions.