Skip to main content
POST
Intelligent Model Routing (Claude Format)

Smart Model Routing

Call EvoLink Auto intelligent model routing using Anthropic Messages API format.

Key Features

  • Claude Native Format: Fully compatible with Anthropic Messages API
  • Intelligent Routing: Automatically selects a suitable model
  • Transparent Response: Response includes the actual model name used
Set the model parameter to evolink/auto and use the /v1/messages endpoint.
BaseURL: The default BaseURL is https://direct.evolink.ai, which has better support for text models and long-lived connections. https://api.evolink.ai is the primary endpoint for multimodal services and serves as a fallback address for text models.

Authorizations

Authorization
string
header
required

##All APIs require Bearer Token authentication##

Get API Key:

Visit API Key Management to get your API Key

Add to request header:

Body

application/json
model
enum<string>
required

Use intelligent routing

Available options:
evolink/auto
Example:

"evolink/auto"

messages
object[]
required

Conversation messages

Minimum array length: 1
Example:
max_tokens
integer
required

Maximum tokens to generate

Required range: x >= 1
Example:

1024

temperature
number

Sampling temperature

Required range: 0 <= x <= 2
Example:

0.7

top_p
number

Nucleus sampling parameter

Required range: 0 <= x <= 1
Example:

0.9

top_k
integer

Top-K sampling

Required range: x >= 1
Example:

40

stream
boolean
default:false

Enable streaming

Response

200 - application/json

Success

id
string

Response unique identifier

model
string

Actual model name used

Example:

"claude-opus-4-7"

type
enum<string>
Available options:
message
role
enum<string>
Available options:
assistant
content
object[]
usage
object