Tech – Using the JuiceFactory API
JuiceFactory provides an OpenAI-compatible HTTP API for chat completions and embeddings. The API documentation lists the available endpoints and request formats.
API endpoints
Use /v1/chat/completions for chat requests, /v1/embeddings for embeddings and /v1/models for the model list. See the documentation for authentication and request fields.
Choose a model
Use a model identifier returned by the API. Test it with representative inputs before using it in production. Context limits and supported inputs depend on the selected model.
Connect a client
Configure the API base URL and key in your client. Send a small test request, check the response and handle timeouts and non-success responses. Keep API keys out of browser code.
Measure your workload
Response time depends on the model, input length, output length and concurrent traffic. Measure with your own prompts and expected load. Set timeouts and repeat requests only when doing so is acceptable for your application.
Plan data handling
Decide what information your application sends, which access controls it needs and how you will handle responses. Confirm retention and deployment requirements before sending sensitive material.
Read the API documentation · Open the portal · Dedicated capacity