Code RouterCode Router
User GuideAPI ReferenceAI ApplicationsHelp & SupportBusiness Cooperation

AI Applications

Connect Code Router to popular AI apps and tools using one API key and one base URL.

Overview

Code Router is an OpenAI-compatible AI gateway: you get a single API key and a single base URL that route requests to many model providers. Because the API surface follows the OpenAI convention, most third-party AI apps and tools can talk to Code Router with no special integration — you simply point them at your Code Router endpoint and paste in a token.

This page lists applications with dedicated step-by-step guides. Any client that supports a custom OpenAI-compatible base URL should also work even if it isn't listed here.

Supported Applications

Integration Guide

Most applications connect to Code Router with three pieces of information:

API base URL — your Code Router service address. The OpenAI-compatible endpoint is:

https://ai.sammier.com/v1

Some apps expect the full path ending in /v1; others expect only the host (https://ai.sammier.com) and append the path themselves. If one form fails, try the other.

API key — a token you generate on the Code Router console's token page. It is sent as a standard bearer credential, for example Authorization: Bearer <your-token>.

Model name — the model (or model group) you want to call. Use the exact model identifier exposed by your Code Router instance.

A quick way to confirm connectivity is a plain OpenAI-style request:

curl https://ai.sammier.com/v1/chat/completions \
  -H "Authorization: Bearer <your-token>" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "<your-model-name>",
    "messages": [{"role": "user", "content": "Hello"}]
  }'

You can also list the models available to your token:

curl https://ai.sammier.com/v1/models \
  -H "Authorization: Bearer <your-token>"

For app-specific steps (where to paste each field, DeepLink import, etc.), open the relevant guide above.

The base URL above is a placeholder for documentation. Replace it with your actual Code Router deployment address. Available models, model groups, and any usage limits depend on your instance configuration (details TBD / 待补).

Don't see your app, or a guide is out of date? Open an issue on the source repository: github.com/ssgzy/Router-new-api.

How is this guide?

Last updated on