> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ageneral.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Request parameters

> Sampling, tools, and OpenAI-compatible fields on Models

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](https://platform.openai.com/docs/api-reference/chat) 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

| Topic                                                        | Link                                                                                          |
| ------------------------------------------------------------ | --------------------------------------------------------------------------------------------- |
| Chat Completions fields                                      | [OpenAI — Create chat completion](https://platform.openai.com/docs/api-reference/chat/create) |
| Responses fields                                             | [OpenAI — Create response](https://platform.openai.com/docs/api-reference/responses/create)   |
| Common optional and sampling parameters — OpenRouter catalog | [OpenRouter — API parameters](https://openrouter.ai/docs/api/reference/parameters)            |

## Related

* [Catalog](/guides/models/catalog)
* [Usage and billing](/guides/models/usage-and-billing)
* [`GET /v1/models`](/reference/models/list)
