Endpoints

Complete list of available Model Gate HTTP endpoints.

Endpoints

Model Gate provides Anthropic- and OpenAI-compatible interfaces plus service endpoints.

Chat and generation

MethodPathDescription
POST/v1/messagesAnthropic Messages API
POST/v1/messages/count_tokensCount tokens without generating a response
POST/v1/chat/completionsOpenAI Chat Completions API
POST/v1/web-searchWeb search for agent workflows

Models and account

MethodPathDescription
GET/v1/modelsList available models
GET/v1/models/{id}Get one model
GET/v1/balanceGet the API key account balance

Service

MethodPathDescription
GET/healthUnauthenticated service health check

Open the individual endpoint pages for request bodies, responses, authentication, and examples.