OneInfer cURL quickstart
curl https://api.oneinfer.ai/v1/ula/chat/completions \
-H "Authorization: Bearer $JWT_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"model": "google/gemini-3.8-flash",
"messages": [{"role": "user", "content": "Summarise the attached research in five bullets."}],
"max_tokens": 2048,
"stream": false
}'OneInfer Python quickstart
from openai import OpenAI
client = OpenAI(
base_url="https://api.oneinfer.ai/v1/ula",
api_key="$JWT_TOKEN",
)
response = client.chat.completions.create(
model="google/gemini-3.8-flash",
messages=[
{"role": "user", "content": "Summarise the attached research in five bullets."},
],
max_tokens=2048,
)
print(response.choices[0].message.content)Verified API facts
| Field | Value |
|---|---|
| OneInfer model identifier | google/gemini-3.8-flash |
| Upstream model identifier | gemini-3.8-flash |
| Input context | 1,048,576 tokens (1M) |
| Maximum output | 65,536 tokens (64K) |
| Input modalities | Text, image, audio, video, PDF |
| Output modality | Text |
| Thinking levels | low, medium (default), high |
| Minimal thinking level | Not supported on this model |
| Tools | Function calling, structured output, caching, code execution, file search, URL context, Google Search grounding, Google Maps grounding, computer use (preview) |
Ready to test the workflow?
OneInfer availability
Gemini 3.8 Flash is live on OneInfer under google/gemini-3.8-flash. Point the OpenAI-compatible base URL at https://api.oneinfer.ai/v1/ula and pass your OneInfer API key in the Authorization header. The request body is unchanged from any other chat-completions call; only the base URL and the model string differ.
Day-zero third-party support
LiteLLM (docs.litellm.ai/blog/gemini_3_8_flash), Vercel AI Gateway, AIHubMix and LLM Gateway all published Gemini 3.8 Flash support on 2 September 2026. LiteLLM and Vercel both hold first-page Google positions with their changelog posts. If you need an OpenAI-compatible endpoint today, OneInfer is a working route.