Model specifications
The provider’s 1,048,576-token window is shared by input, thinking and output. A standard request has a 65,536-token combined thinking/output cap. Longer generation uses a separate continuation workflow; these examples do not establish MixRoute support for long decode or Interactions.
Request examples
SetMIXROUTE_API_KEY to your MixRoute API key.
Gemini native API
OpenAI-compatible Chat Completions
Request parameters
Integration notes
- The examples use text input. Multimodal formats, function calling and structured output follow their respective Gemini contracts; route limits still apply.
- Omit
temperature,topP,topKandcandidateCount: Google ignores custom sampling values for this model. Explicit context caching throughcachedContentis not supported. - The presence of built-in Google tools in the provider model specification does not establish that every hosted tool, Files API operation or continuation flow is available through MixRoute.