Models & Endpoints
Flex247 supports two common API patterns. Choose the one required by your SDK or client.
OpenAI Compatible
https://api.noflex.work/v1Anthropic Protocol
https://api.noflex.workCommon paths
| Use case | Method | Path |
|---|---|---|
| Chat Completions | POST | /v1/chat/completions |
| Responses | POST | /v1/responses |
| Anthropic Messages | POST | /v1/messages |
| Model list | GET | /v1/models |
| Image generation | POST | /v1/images/generations |
Should the Base URL include /v1?
OpenAI-style SDKs normally use https://api.noflex.work/v1. Anthropic clients such as Claude Code normally use https://api.noflex.work and append /v1/messages themselves.
Model IDs
Copy the current model ID from Model Square. Do not guess the ID or add spaces and version suffixes.
json
{
"model": "your-model-id"
}Choose the protocol
- A client asking for
base_url,api_keyor Chat Completions usually needs OpenAI Compatible. - A client asking for
ANTHROPIC_BASE_URL,ANTHROPIC_AUTH_TOKENor Messages needs Anthropic Protocol. - A Codex custom provider requires a Responses-compatible model and
/v1/responses.
Groups and model restrictions
For “no available channel” or “model unavailable” errors, check the API key group, model restrictions and account balance before retrying.