Hello,
We are preparing a small, isolated diagnostic using Gemini
Developer API—not Vertex AI—with gemini-3.6-flash and the
non-streaming /v1beta/openai/chat/completions endpoint.
Before running it, could you clarify these points and provide
the relevant documentation?
-
Is max_tokens supported as a hard generation budget?
With max_tokens=2500 and reasoning_effort omitted, does
this budget include thinking tokens? -
Which response fields are guaranteed, nullable or omittable:
model, id, usage.prompt_tokens, usage.completion_tokens,
usage.total_tokens and choices.finish_reason? -
Does completion_tokens include thinking? How should
total_tokens be interpreted without reconstructing or
inventing missing values? -
What supported read-only procedure can establish the
key-to-project association and current Free-tier status
without putting the secret key in a URL? Please distinguish
API-key access from additional OAuth/IAM requirements. -
For authorization (“auth”) API keys, are both combinations
supported:- models.get with x-goog-api-key;
- /v1beta/openai/chat/completions with Authorization: Bearer?
What service-account permissions or restrictions apply
to each?
We are requesting technical clarification only—not increased
quotas, billing activation or changes to our account.
Thank you.