AUTH / PERSONAL KEY
Request headers
Each protocol uses a different authentication header. Configure the one that matches your endpoint.
| Protocol | Header | Notes |
|---|---|---|
| Anthropic | x-api-key: sk-mengbi-xxxxxx | Also send anthropic-version: 2023-06-01 |
| OpenAI | Authorization: Bearer sk-mengbi-xxxxxx | For Chat Completions and Responses API |
| Gemini | Authorization: Bearer sk-mengbi-xxxxxx | The native endpoint also accepts x-goog-api-key |
!
Production integration docs · examples use router-api.mengbi-ai.net and a personal API key placeholder.
01 /
Model list
Call models by ID. The model catalog shows currently available models with published prices; read the endpoint list before integrating.
Read available models
GET /v1/modelscurl https://router-api.mengbi-ai.net/v1/models \
-H "Authorization: Bearer sk-mengbi-xxxxxx"NoteAvailability, model IDs, and prices can change. Do not permanently cache the full model list on the client.