Skip to main content
The Models host at https://models.ageneral.ai accepts OpenAI-compatible JSON bodies on POST /v1/chat/completions and POST /v1/responses. The service forwards fields as submitted and may apply product defaults, including supplying model when omitted. Standard fields such as temperature, top_p, max_tokens or max_completion_tokens, stop, tools, tool_choice, response_format, stream, and related options use the same wire names as other OpenAI-compatible gateways.

What actually applies

Whether a given parameter changes behavior depends on the provider and model behind the route, not on Ageneral stripping fields. Some models ignore or partially support certain options; others match OpenAI’s or ecosystem docs closely. If something has no effect, treat it as a model or provider limitation, not a missing feature on the Models host.

References

TopicLink
Chat Completions fieldsOpenAI — Create chat completion
Responses fieldsOpenAI — Create response
Common optional and sampling parameters — OpenRouter catalogOpenRouter — API parameters