GET

/v1/schemas/fal/chat/openrouter%2Frouter

kind inputactivity chathash c86120a9extracted Jul 7, 2026version currentsource upstream spec ↗

Request body

6 properties · 2 required · 0 $defs
propertytypedescriptionconstraints
prompt*stringPrompt to be used for the chat completion
model*stringName of the model to use. Charged based on actual token usage.
system_promptstringSystem prompt to provide context or instructions to the modelnullable
max_tokensintegerThis sets the upper limit for the number of tokens the model can generate in response. It won't produce more than this limit. The maximum value is the context length minus the prompt length.n ≥ 1 · nullable
reasoningbooleanShould reasoning be the part of the final answer.default: false
temperaturenumberThis setting influences the variety in the model's responses. Lower values lead to more predictable and typical responses, while higher values encourage more diverse and less common responses. At 0, the model always gives the same response for a given input.0 ≤ n ≤ 2 · default: 1

Validate a payload

before you spend tokens
shell
$ curl -X POST https://modelschemas.com/v1/validate \
    -d '{"provider":"fal","endpointId":"openrouter/router","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}