Introduction to Chat
Welcome to the Chat service documentation! This service provides a fully OpenAI-compatible API, allowing you to use the official OpenAI SDK or any OpenAI-compatible client to access our powerful language models.π Key Features
OpenAI Compatible
Our Chat API is 100% compatible with OpenAIβs Chat Completions API. This means:- β Use the official OpenAI Python/Node.js SDK directly
- β
No code changes needed - just update
base_urlandapi_key - β Full support for streaming responses
- β Support for Function Calling / Tools
- β Support for JSON Mode and structured outputs
Supported Models
We provide access to various high-quality language models:| Model | Description |
|---|---|
gpt-5.1 | Latest GPT-5.1 model |
gpt-5.1-all | GPT-5.1 with all capabilities |
gpt-5.1-thinking | GPT-5.1 with enhanced reasoning |
gpt-5.1-thinking-all | GPT-5.1 thinking with all capabilities |
gpt-5.2 | Latest GPT-5.2 model |
gemini-3-pro | Google Gemini 3 Pro |
gemini-2.5-pro | Google Gemini 2.5 Pro |
gemini-2.5-flash | Google Gemini 2.5 Flash (faster) |
gemini-3-flash | Google Gemini 3 Flash (faster) |
claude-4.5 | Claude 4.5 model |
π Quick Start
Using OpenAI Python SDK
Using OpenAI Node.js SDK
Streaming Responses
Using cURL
π Available Endpoints
OpenAI Compatible API
| Endpoint | Method | Description |
|---|---|---|
/chat/chat/completions | POST | Create a chat completion |
/chat/models | GET | List available models |
/chat/models/{model} | GET | Get model details |
Gemini Native API
| Endpoint | Method | Description |
|---|---|---|
/chat/gemini/{apiVersion}/models/{model}:generateContent | POST | Generate content (non-streaming) |
/chat/gemini/{apiVersion}/models/{model}:streamGenerateContent | POST | Generate content (streaming) |
Explore the API Documentation
OpenAI Compatible:- Chat Completions - Create chat completions
- List Models - Get available models
- Get Model - Get specific model info
- Gemini API - Use native Google Gemini SDK
For more details, visit the full MountSea API Documentation.