ModelService
List models
List the models available through Inworld Inference, with their capabilities, pricing, and specifications.
/llm/v1alpha/modelsBrowse inworld.ai/models without an API key. To get model metadata through this endpoint, use Authorization: Basic $INWORLD_API_KEY. Requests without credentials return 401.
Use this endpoint to list models. The OpenAI-style GET https://api.inworld.ai/v1/models (client.models.list() in the OpenAI SDK) is not available.
The optional provider and model query parameters filter by exact match, for example ?provider=openai. For an Inworld-hosted model, combine model with provider=inworld.
By default, the list contains models you can call with chat completions. Add ?output_modalities=video for video models or ?output_modalities=decisions for decision models.
Return only models from this provider. Must match the model's provider value exactly (for example, openai).
Return only the model with this exact model value (for example, gpt-5.4). Combine with provider to select a single provider's listing. For an Inworld-hosted model, set provider=inworld.
Return only models whose spec.outputModalities includes one of these values: text, image, video or decisions. Separate several values with commas, or pass all to list every model. Without it, the response lists the models you can call with chat completions; video and decision models are listed only when you ask for them (for example, ?output_modalities=video).
The list of available models.
Show child attributes
The model identifier. Combine it with provider as provider/model in the model field of Router requests. Models hosted by Inworld are listed as models/<name> (use inworld/models/<name>).
The organization that created the model. May differ from the provider (e.g., a Meta model hosted on Groq).
Per-token pricing information for the model (in USD). Fields without a price are omitted.
Show child attributes
Technical specifications and capabilities of the model.
Show child attributes
The maximum number of tokens the model can process as input (context window size).
The generation parameters supported by this model. Common values include: max_tokens, temperature, top_p, stop, seed, response_format, structured_outputs, tools, tool_choice, reasoning, include_reasoning, frequency_penalty, presence_penalty.
High-level capability flags for the model. Only capabilities that are true are included in the response.
Indicates whether this model is currently supported and recommended for use. Omitted when false; such models may be experimental, deprecated, or not yet generally available.
Recent reliability and latency statistics for the model. Omitted when no data is available.
Show child attributes
Average request latency in milliseconds. Returned as a string (64-bit integer JSON encoding).