FRELY / FAQ

Using models and API keys

Answers about using models on Frely: API keys, client settings, usage, and what to do when a request fails.

Account tools are reachable from an AI app connected to FrelyMCP (https://mcp.frely.cloud/mcp, through frely_list and frely_call) or from a terminal with the Frely CLI: frely api describe <tool>, then frely api call <tool>. Tools that change anything need your approval on the Frely site.

01

How do I create an API key?

Open the API key page in your console and create one. A key authorizes model calls, not management actions. Keep it in your client's protected configuration. Never put it in Git, screenshots or chat. Revoking a key stops later use.

API tools: keys.listkeys.createkeys.set_limits

02

What is the Frely API base URL?

https://api.frely.cloud. Always use https: requests over plain http are rejected, so a client configured with http://api.frely.cloud will fail. The same address serves every protocol, for example https://api.frely.cloud/v1/chat/completions, /v1/responses, /v1/messages, /v1/embeddings and the model list at /v1/models. Some clients want the base URL with /v1 on the end (https://api.frely.cloud/v1) and add the endpoint path themselves.

API tools: models.available

03

How do I authenticate API requests?

Send your API key as a bearer token: Authorization: Bearer <your key>. Add Content-Type: application/json to requests with a body. A request without a valid key gets a 401. A key authorizes model calls only, not account management.

API tools: keys.listkeys.create

04

What does an error response look like?

A JSON body of the form {"error":{"message","type","param","code"}}. The type follows the HTTP status: 401 authentication_error, 402 insufficient_quota, 403 permission_error, 404 not_found_error, 408 or 504 timeout_error, 429 rate_limit_error, other 4xx invalid_request_error, 503 service_unavailable_error, other 5xx server_error. Every response carries an x-request-id header; keep it when you contact support. A retryable failure may include a Retry-After header in seconds.

API tools: request_history.list

05

What do I enter in my AI app or client?

Three values: the public service address for the protocol you chose (not an internal address), your own API key, and a public model name that your account can see. Your account instructions show the exact values.

API tools: models.availablekeys.list

06

How do I add Frely to Claude or ChatGPT?

Add Frely as a connector, use the FrelyMCP address as the MCP server URL, choose OAuth, sign in to Frely and approve access. The step-by-step guides show each screen.

07

A model shows in the list but I cannot call it.

Being listed is not permission to call. Check your plan, balance, allowance and the service terms, and ask an authorized administrator if you are on a Team. Rotating keys does not get around a restriction.

API tools: models.availablebudget.getcredits.account

08

My request failed or timed out.

Keep a redacted note of the time, protocol, model name and request ID, and look at your request history. A timeout or dropped connection does not prove nothing was used, so check usage before retrying. Do not send credentials, request bodies or raw error dumps to anyone.

API tools: request_history.listusage.summary

09

Can I rely on model output?

Model output can contain errors and Frely does not guarantee accuracy. Review it before using it in safety-critical, legal, financial, medical, security or production settings.