Skip to main content
This page summarizes common request parameters for Moxus AI. Whether a parameter takes effect depends on the protocol, selected model, and upstream provider. Unknown or unsupported fields may be ignored by the provider or rejected with a parameter error.
Do not mix request bodies across protocols. OpenAI-compatible APIs use https://moxus.cloud/v1, Anthropic-compatible APIs use https://moxus.cloud, and Google-compatible APIs use https://moxus.cloud/v1beta.

Common fields

Sampling and length

OpenAI Chat Completions parameters

OpenAI Responses parameters

Anthropic-compatible parameters

Google-compatible parameters

Google-native APIs usually put generation parameters in generationConfig. Moxus AI also accepts some snake_case fields, such as top_p and max_output_tokens.

Image generation parameters

Audio parameters

Recommendations

  • For a first call, send only model plus messages or input.
  • If you are unsure, adjust only one sampling parameter first, usually temperature.
  • Set max_tokens or max_output_tokens when cost or response length matters.
  • For tool calling, start with a simple schema before adding complex fields.
  • Do not put API keys, database URLs, identity numbers, or other sensitive data in metadata or prompts.