Japan32K contextAPIJapanese

Explore PLaMo 2 Prime

Use Preferred Networks' domestic Japanese foundation model through its OpenAI-compatible chat API. Use the playground to give PLaMo 2 Prime a representative input and review its output. Adjust the available settings to shape the result for your task.

Model

plamo-2.2-prime

Input

Configure your request

Passed directly as the hosted chat-completions messages array.

Documentation

PLaMo 2 Prime field reference

Use this reference to understand how every field in the playground changes the request sent to plamo-2.2-prime.

messages

Required

Type: JSON array

The conversation sent to the chat model in chronological order. Each JSON item contains a role and its text content.

tools

Optional

Type: JSON array

Default: None

Defines functions the model is allowed to request, including each function’s name, purpose, and JSON parameter schema. Supplying a tool does not execute it—the application must run the requested function and return its result to the model.

Stream response

Optional

Type: Boolean

Default: On

Sends small chunks as the model generates them, allowing the interface to display the beginning of a response sooner. It changes delivery timing rather than model quality; disable it when the client needs one complete response object.

Include streaming usage

Optional

Type: Boolean

Default: Off

Adds a final streaming event containing prompt, completion, and total token counts before the stream terminator. It does not change model output and is useful for metering; clients must be prepared to handle the extra event.

Temperature

Optional

Type: Number

Default: 0.3

Range: 0–2

Adjusts how strongly the model favors its most likely next token. Lower values produce more focused and repeatable output, while higher values allow less-likely choices and increase variety; it only has an effect when sampling is enabled.

Top P

Optional

Type: Number

Default: 1

Range: 0–1

Limits sampling to the smallest set of likely tokens whose probabilities add up to this value. Lower settings make output more focused, while a value near 1 keeps more alternatives available; it only affects sampled generation.

Maximum output tokens

Optional

Type: Integer

Default: 4096

Range: 1–4096

Caps the length of the generated response in tokens, which are pieces of words rather than whole words. The model can stop naturally before the limit, but a value that is too low may cut off the answer and a high value can increase latency and cost.

Number of responses

Optional

Type: String

Default: 1

Values: 1, 2

Requests multiple independent chat completions for the same conversation. More responses provide alternatives to compare but multiply token usage and latency, and sampling settings must allow variation for the outputs to differ.

Presence penalty

Optional

Type: Number

Default: 0

Range: -2–2

Reduces the score of any token once it has appeared, regardless of how many times it was used. Positive values encourage new vocabulary or topics, zero makes no adjustment, and negative values favor staying with existing wording.

Frequency penalty

Optional

Type: Number

Default: 0

Range: -2–2

Reduces the score of a token more each time it has already appeared in the response. Positive values discourage repeated words and phrases, zero makes no adjustment, and negative values encourage repetition.

Seed

Optional

Type: Integer

Default: None

Initializes the model’s random-number generator. Reusing the same seed with identical model settings usually reproduces the same output, while changing it explores a different variation; exact reproducibility can still depend on hardware and implementation.

Stop sequences

Optional

Type: Text list

Default: None

Supplies one or more literal delimiters that stop generation when matched. The match is sensitive to exact spelling, spacing, and capitalization, so use distinctive sequences that are unlikely to appear naturally in the response.

Response format

Optional

Type: String

Default: text

Values: Text, JSON Schema

Chooses between an unrestricted natural-language response and a syntactically valid JSON object. When selecting JSON, explicitly describe the desired keys and mention JSON in the prompt so the model knows what structure to produce.

JSON Schema

Optional

Type: JSON object

Default: None

Defines the exact JSON object structure required when JSON Schema response format is selected. Include the schema name, strictness, and valid JSON Schema definition; the field is ignored for ordinary text output.

Tool choice

Optional

Type: String

Default: auto

Values: Auto, None, Required

Determines how the model uses the supplied tool definitions. Auto lets it choose between answering and calling a tool, None forbids tool calls, and Required forces a tool call even if the model could answer directly.

Safety identifier

Optional

Type: Text

Default: None

Provides a stable, non-personal identifier for the end user so the API provider can detect abusive patterns without receiving identity data. Use an internal opaque ID or hash and never send names, email addresses, or sensitive information.