Accounts and keys are separate for each region. Use the endpoint that matches your account and comply with applicable laws and service terms. Each key has a routing policy that determines the discount; edit the key to change routes.
In third-party tools, choose an OpenAI-compatible provider and replace its base URL and key. Some clients append
/v1 automatically: if you see /v1/v1 in the request URL, remove the trailing /v1 from your configuration.
Send a chat request
SetGEEKAI_API_KEY in your environment. The examples below use the international endpoint and return a complete reply. To stream tokens instead, set stream to true and consume the server-sent events as they arrive.
Analyze an image
Select a model with image input in the marketplace. Send a user message with two content parts: the question and the image URL. The SDK examples below reuse the client initialized above.Developer group
Join the developer group for help with API calls, technical discussions, and product updates.
