Skip to main content
Routeway is an API gateway that enables you to integrate and switch between 200+ AI models (including GPT-5.5, Claude Opus 4.8, Kimi K2.7, DeepSeek V4, Grok 4, and Gemini 3.1 Pro) using a single, unified, OpenAI-compatible API. Because it is fully compatible with OpenAI and Anthropic SDKs, migrating your existing applications takes only a few minutes. See the Migration Guide for step-by-step instructions. Instead of managing multiple SDKs, credentials, and billing accounts, you only need one client configuration and one API key.

Base URL

All API requests are routed through:

Quick Example (cURL)

Test your connection with a standard Chat Completions request:

Supported Endpoints

Chat Completions

Standard OpenAI-compatible endpoint supporting 200+ frontier LLMs.

Responses API

Stateful multi-turn conversations and built-in server tools.

Anthropic Messages

Native support for Anthropic SDKs and Claude models.

Image Generation & Edits

Create, edit, and inpaint images with Flux, SD 3.5, and Recraft.

Platform Features

Server Tools

Generate images and search the web in chat — just append @flux-2-turbo or @online to any model.

Web Search BYOK

Bring your own Tavily, Exa, or Valyu search key for zero Routeway search charges.

Reasoning Models

Use extended thinking models (DeepSeek R1, OpenAI o-series) for complex problem solving.

Prompt Caching

Automatic and explicit KV caching across Anthropic and OpenAI models for up to 90% cost savings.

Structured Outputs

Force models to return valid JSON matching an exact schema.

Tool Calling

Let models invoke your functions to fetch live data and take actions.

Multimodal Inputs

Send images, PDFs, and documents alongside text in a single request.

Streaming

Receive tokens in real-time as they are generated with SSE.

Presets

Bundle a model, system prompt, and parameters into a reusable preset ID.

Service Tiers

Optimize cost and latency with flex (50% discount) and priority tiers.