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, 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:
https://api.routeway.ai/v1

Quick Example (cURL)

Test your connection with a standard Chat Completions request:
curl https://api.routeway.ai/v1/chat/completions \
  -H "Authorization: Bearer $ROUTEWAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "kimi-k2.7-code",
    "messages": [
      {"role": "user", "content": "Say hello!"}
    ]
  }'

Explore the Docs

Quickstart

Make your first API request with Python, Node.js, or cURL in under 2 minutes.

Migration Guide

Migrate your existing OpenAI or Anthropic integration in a few minutes.

Authentication

Learn how to obtain and securely configure your Routeway API keys.

Models

Browse the list of supported models, pricing, and routing paths.

API Reference

Explore the full interactive endpoints for chat, images, and accounts.

Guides

Presets

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

Streaming

Receive tokens as they are generated for low-latency, real-time applications.

Tool Calling

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

Structured Outputs

Force models to return valid JSON matching a schema you define.

Reasoning

Use extended thinking models for hard problems that require deeper deliberation.

Multimodal Inputs

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

Caching

Reduce costs and latency by reusing previously processed prompt tokens.