Endpoints
Complete list of available Model Gate HTTP endpoints.
Endpoints
Model Gate provides Anthropic- and OpenAI-compatible interfaces plus service endpoints.
Chat and generation
| Method | Path | Description |
|---|---|---|
| POST | /v1/messages | Anthropic Messages API |
| POST | /v1/messages/count_tokens | Count tokens without generating a response |
| POST | /v1/chat/completions | OpenAI Chat Completions API |
| POST | /v1/web-search | Web search for agent workflows |
Models and account
| Method | Path | Description |
|---|---|---|
| GET | /v1/models | List available models |
| GET | /v1/models/{id} | Get one model |
| GET | /v1/balance | Get the API key account balance |
Service
| Method | Path | Description |
|---|---|---|
| GET | /health | Unauthenticated service health check |
Open the individual endpoint pages for request bodies, responses, authentication, and examples.