Skip to content

OpenAI-compatible API ​

Base URL: https://pharosapi.com/v1. Authenticate with Authorization: Bearer YOUR_PHAROSAPI_KEY.

PoolEndpointExample model
GPT Plus / Pro/v1/responses; also Chat Completionsgpt-6-luna
Grok Heavy/v1/chat/completionsgrok-4.7
Gemini Antigravity/v1/chat/completionsgemini-3.8-flash
bash
curl https://pharosapi.com/v1/responses \
  -H "Authorization: Bearer $PHAROSAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"gpt-6-luna","instructions":"Answer briefly.","input":"Hello","max_output_tokens":64,"stream":false}'

Explicit instructions avoids Codex defaults in the tested Responses path. Input overhead may exceed the visible user text.

bash
curl https://pharosapi.com/v1/chat/completions \
  -H "Authorization: Bearer $PHAROSAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"gemini-3.8-flash","messages":[{"role":"user","content":"Hello"}],"stream":false}'

For Grok, use a Grok key and grok-4.7. Set stream:true only with an SSE-aware client. Query GET /v1/models for the key's models. Avoid doubled /v1. Validate tools, image inputs, structured output and reasoning separately. Pool limitations.