MAIA Router Chat Model icon

MAIA Router Chat Model

Use MAIA Router as a chat model provider

MAIA Router Chat Model

AI-generated

Summary

Invoke a chat model from MAIA Router to generate AI completions based on a specified model and optional configuration parameters.

Inputs

  • Model (required) — Specify the MAIA model to use for the chat completion, such as 'maia/gemini-2.5-flash' or 'maia/gpt-4o'. Models can be browsed at https://maiarouter.ai/dashboard/models.
  • Options — Configure additional generation parameters including temperature (randomness), maxTokens (maximum tokens generated), topP (nucleus sampling diversity), frequencyPenalty (penalize repeated phrases), and presencePenalty (encourage new topic discussion).

Output shape

a single AI language model instance representing the configured chat model

The output is an instance of the MAIA chat model configured per inputs; it does not itself return generated text but provides a model object for later use in workflow steps.

Discussion