Skip to main content

Models

RouterLink exposes the current model catalog from its live registry. The catalog size changes as models and provider channels are added, updated, or deprecated, so use the total field from GET /api/v1/models as the source of truth instead of hardcoding a model count. Browse the full catalog at https://routerlink.ai/models.

API Reference

List Models

Retrieves a paginated list of logical models with metadata, capability tags, provider-channel aliases, and context/output limits.
GET /api/v1/models

Parameters

ParameterTypeDefaultDescription
pageint1Page number
page_sizeint20Items per page (max 100)
model_namestring-Case-insensitive fuzzy search on the model display name
providerstring-Filter by a single provider-channel alias (backward compatible)
providersstring[]-Multi-select provider-channel filter (max 20 values)
vendorstring-Filter by a single vendor/model owner (backward compatible)
vendorsstring[]-Multi-select vendor filter (max 20 values)
labelstring-Filter by label: Recommended, Flagship, Free for Now, or Deprecated
tagsstring[]-Capability/modality filter (max 10 values), e.g. Text, Image, File, Audio, Video
show_deprecatedbooltrueInclude deprecated models in results
context_minint-Minimum context window length in tokens
context_maxint-Maximum context window length in tokens
output_minint-Minimum max output length in tokens
output_maxint-Maximum max output length in tokens
For array parameters, pass repeated query keys, for example vendors=OpenAI&vendors=Google.

Example

curl "https://router-link.world3.ai/api/v1/models?page=1&page_size=20"

Response

{
  "total": 66,
  "page": 1,
  "page_size": 1,
  "items": [
    {
      "id": 58,
      "model_name": "Gemini 3.1 Pro Preview",
      "vendor": "Google",
      "providers": "WORLD3 Router North America",
      "description": "Gemini 3.1 Pro Preview is Google's frontier reasoning model...",
      "label": "Recommended",
      "tags": "Text, Image, File, Audio, Video",
      "total_context": 1050000,
      "max_output": 65500,
      "is_free": false,
      "created_at": "2026-03-31T15:18:37",
      "updated_at": "2026-03-31T15:18:37"
    }
  ]
}
The values above are an example response shape. The live catalog can change.

Model Group

Returns the provider-channel implementations for a given logical model, grouped by RouterLink format standard and provider-channel alias. This powers model detail pages where users can see which channels can serve a model.
GET /api/v1/models/group?model_name=Gemini%203.1%20Pro%20Preview

Response Shape

{
  "Gemini 3.1 Pro Preview": {
    "OpenAI": {
      "WORLD3 Router North America": [
        {
          "model_id": 1097,
          "model_name": "world3-router-north-america/google/gemini-3.1-pro-preview",
          "display_name": "Gemini 3.1 Pro Preview",
          "model_standard": "OpenAI",
          "provider": "WORLD3 Router North America",
          "endpoint": "https://router-link.world3.ai/api",
          "vendor": "Google",
          "total_context": 1050000,
          "max_output": 65500,
          "pricing": {
            "input": [
              {
                "token_min": 0,
                "token_max": 200000,
                "price_usd": "2.20000000000000",
                "price_wai_credit": 2200
              }
            ],
            "output": [
              {
                "token_min": 0,
                "token_max": 200000,
                "price_usd": "13.20000000000000",
                "price_wai_credit": 13200
              }
            ]
          }
        }
      ]
    }
  }
}
Currently, the public GET /api/v1/{model_standard}/models route accepts RouterLink format standards such as OpenAI and Anthropic. Use /api/v1/models/group when you need the grouped view for a logical model.

Providers List

Returns all available provider-channel aliases, sorted alphabetically. Provider-channel aliases are routing channels, not necessarily model vendors.
GET /api/v1/models/providers
curl "https://router-link.world3.ai/api/v1/models/providers"
Example values include OpenAI Channel, Anthropic Channel, GCP Vertex, WORLD3 Router North America, and WORLD3 Router Asia Pacific.

Vendors List

Returns all unique vendor names, sorted alphabetically. Vendors are the model owners or model families, such as OpenAI, Anthropic, Google, DeepSeek, Qwen, and others.
GET /api/v1/models/vendors
curl "https://router-link.world3.ai/api/v1/models/vendors"

Model Labels

Models on routerlink.ai/models are tagged with labels to help you choose the right one:
LabelMeaning
RecommendedBest overall value for most use cases
FlagshipTop-tier capability models from a vendor or model family
Free for NowCurrently free to test (pricing subject to change)
DeprecatedEnd-of-life models retained for backward compatibility

Pricing

RouterLink stores pricing as per-model, per-provider-channel, per-token-type tiers in the model_pricing table. Pricing is returned by endpoints that expose model implementations, such as GET /api/v1/models/group and GET /api/v1/{model_standard}/models?with_price=true. Each pricing entry contains:
FieldDescription
token_minInclusive lower bound for the usage tier
token_maxInclusive upper bound for the usage tier; null means unlimited
price_usdUSD price per 1,000,000 tokens for this tier
price_wai_creditRouterLink credit price per 1,000,000 tokens for this tier
Supported token types are defined by the registry and currently include:
Token TypeDescription
inputInput text tokens
outputOutput text tokens
cache_readCached input tokens read
cache_writeCached input tokens written
input_audio / output_audioAudio input or output tokens
input_image / output_imageImage input or output units/tokens
input_video / output_videoVideo input or output units/tokens
input_audio_cache / input_image_cache / input_video_cacheCached modality-specific input
output_per_audio / output_per_image / output_per_videoPer-output media unit pricing
A price of 0 means the tier is free.

Chat Completion Request Parameters

When calling POST /api/v1/chat/completions, supported parameters depend on the target model and provider channel. Common OpenAI-compatible parameters include:
ParameterDescription
modelTarget RouterLink model identifier
messagesConversation array
temperatureOutput randomness
top_pNucleus sampling
nNumber of completions to generate
max_tokens / max_completion_tokensMaximum completion length
stopCustom stop sequences
stream / stream_optionsStreaming controls
presence_penaltyEncourage topic diversity
frequency_penaltyReduce repetition
logit_biasAdjust token likelihoods
logprobs / top_logprobsToken log probability controls
toolsFunction/tool definitions
tool_choiceControl tool selection behavior
parallel_tool_callsAllow or disable parallel tool calls
response_formatResponse format control, including JSON/schema-style outputs on supporting models
modalities / audioMultimodal output controls on supporting models
reasoning_effortReasoning effort on supporting models
web_search_optionsWeb search options on supporting models
metadataCaller-provided metadata
service_tierProvider-specific service tier
storeProvider-side storage preference where supported
verbosityVerbosity control where supported
Provider-specific extra fields may be accepted by some channels, but portable behavior should be based on the parameters above and the target model’s capabilities.

Data Model

RouterLink maintains a unified MySQL registry across three core tables:
TablePurpose
modelProvider-channel implementation rows: model identifiers, provider channel, format standard, endpoint, context window, output limit, and active state
model_pricingPer-provider-channel, per-token-type pricing tiers
model_metadataLogical model metadata: vendor, provider list, tags, labels, descriptions, and display names
A fourth table, model_fallback_chains, defines provider failover behavior. When a primary provider is exhausted, the gateway can try the next enabled fallback entry ordered by priority.

Providers and Vendors

RouterLink separates provider channels from vendors:
ConceptMeaningExample
Provider channelThe routing channel that serves a requestWORLD3 Router North America, GCP Vertex, OpenAI Channel
VendorThe model owner or model familyOpenAI, Anthropic, Google, DeepSeek, Qwen
Format standardThe API compatibility shape used by a model implementationOpenAI, Anthropic
Use GET /api/v1/models/providers and GET /api/v1/models/vendors to retrieve the current live lists.