API reference
Endpoints
Choose a route for model discovery, chat or a compatible client.
Endpoints
- GET
/v1/models↗ - List models and their input modalities.
- GET
/v1/models/{id}↗ - Look up a single model by its API ID.
- POST
/v1/chat/completions↗ - Send messages and optionally stream the reply.
- POST
/v1/responses↗ - Send input using the Responses API format.
- POST
/v1/messages↗ - Use the Messages API request format.
- POST
/v1/messages/count_tokens↗ - Estimate input tokens for a Messages request.
- POST
/v1/mcp↗ - Search the web or look up a model available to your key.
- GET
/v1/credits↗ - Read balance and key spend.
- POST
/v1/completions↗ - Generate a legacy text completion.
- POST
/v1/embeddings↗ - Request vectors from a compatible model.
Client setup
Use the integration guide for SDK configuration, CLI setup and client-side tool calls.
Client integrations →