01 / YOUR FIRST REQUEST
One familiar interface.
The planned Gigi API follows the OpenAI-compatible chat completions format. You’ll choose a model, set your API base URL, and use a key from your console.
1
Explore your workspace
Try the demo console. Real account setup will be available once the service launches.
2
Choose an exact model ID
Copy the complete provider/model identifier from the catalog. A display name is not an API identifier.
3
Keep the key on your server
Read the key from an environment variable. Do not put a real key in browser code or commit it to source control.
INSTALL THE CLIENT
pip install openaiPYTHON · PLANNED GIGI API
import os
from openai import OpenAI
# Planned Gigi endpoint — not live in this preview.
client = OpenAI(
api_key=os.environ["GIGI_API_KEY"],
base_url="https://gateway.example.com/v1",
timeout=60.0,
max_retries=2,
)
response = client.chat.completions.create(
model="openai/gpt-6-astra",
messages=[{"role": "user", "content": "Hello, Gigi!"}],
)
print(response.choices[0].message.content)What comes back?
A chat completion contains an assistant message in choices[0].message.content. The intended response also includes a request ID and token usage so your console can explain what happened.