Pricing
Compare models →Each request costs $0.01.
Input schema
| Parameter | Type | Description |
|---|---|---|
promptRequired | string | The positive prompt for the generation.Characters: 0–20000 |
system_prompt | string | System prompt to provide context or instructions to the modelCharacters: 0–20000 |
temperature | number | This 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.Minimum: 0 · Maximum: 2 |
max_tokens | integer | This 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.Minimum: 1 |
model | string | Model ID to use. Supported values are shown in the model selector. If a supplied model ID is not listed, the request falls back to deepseek/deepseek-v4.1-flash-1017. The supported model list and fallback policy for this endpoint may change at any time.Default: "deepseek/deepseek-v4.1-flash-1017"JSON schema{
"x-suggestions": [
"deepseek/deepseek-v4.1-flash-1017",
"deepseek/deepseek-v4.1-flash",
"google/gemini-3.1-flash-lite",
"qwen/qwen3.6-35b-a3b",
"qwen/qwen3.6-27b",
"qwen/qwen3.7-flash"
]
} |
README
Any LLM
Any LLM is a unified text-generation endpoint. Use one request format to run a curated set of language models.
Supported models
- deepseek/deepseek-v4.1-flash-1017
- deepseek/deepseek-v4.1-flash
- google/gemini-3.1-flash-lite
- qwen/qwen3.6-35b-a3b
- qwen/qwen3.6-27b
- qwen/qwen3.7-flash
Model selection and fallback
Pass one of the exact model IDs above in the model field. If model is omitted, deepseek/deepseek-v4.1-flash-1017 is used by default. If a supplied model ID is not in the supported list, the request is automatically routed to deepseek/deepseek-v4.1-flash-1017.
The supported model list and fallback policy for this endpoint may change at any time. Check the current model selector or API schema before relying on a specific model.
Parameters
| Parameter | Required | Description |
|---|---|---|
prompt | Yes | User prompt or instruction. |
system_prompt | No | System instructions, up to 10,000 characters. |
model | No | Exact supported model ID. Unknown IDs use the fallback above. |
temperature | No | Sampling temperature from 0 to 2. |
max_tokens | No | Maximum generated tokens, subject to the selected model context limit. |
enable_sync_mode | No | Attempt to wait for the result in the same API response. |
Notes
- Model capabilities, context limits, latency, and output behavior vary by model.
- Processing time varies with the selected model and request complexity.
- Requests must comply with the applicable usage guidelines.
Pricing
Each request costs $0.01.
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
Any LLM API example
The catalog lists POST https://api.opensi.com.ai/api/v3/opensi-ai/any-llm for the submission step. Confirm the endpoint and access with your supplier before sending a request.
HTTP request body
{
"prompt": "A cinematic ocean wave at sunrise, highly detailed",
"system_prompt": "A cinematic ocean wave at sunrise, highly detailed",
"temperature": 0,
"max_tokens": 1,
"model": "deepseek/deepseek-v4.1-flash-1017"
}Any LLM API — Frequently asked questions
What is the Any Llm API?
Any Llm is a OpenSIAI model for AI inference, exposed as a REST API on OpenSIAI. Any LLM is a versatile large language model for text generation, comprehension, and diverse NLP tasks such as chat and summarization. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing. You can call it programmatically or try it from the playground above.
How do I call the Any Llm API?
POST your input parameters to the model's REST endpoint (shown in the API tab of this playground) with your OpenSIAI API key in the Authorization header. Submission returns a prediction ID. Poll the result endpoint starting around every 2 seconds, increase the interval for long-running tasks, and stop on any terminal status. The playground generates Python, JavaScript, and cURL examples for submitting requests and polling results. Full request/response shape is documented at /docs/docs-api/opensi-ai/any-llm.
How much does Any Llm cost per run or per second?
Any Llm starts at $0.01 per run or per second. That figure is the base price — the final charge scales with the parameters you set in the form (output size, length, count, references, or whatever knobs this model exposes), so a higher-quality or larger output costs more than a minimal one. The exact cost for your current input is shown live next to the Generate button before you submit, and the actual per-call charge is recorded on the prediction afterwards.
What inputs does Any Llm accept?
Key inputs: prompt, max_tokens, model, system_prompt, temperature. The full JSON schema (types, defaults, allowed values) is rendered above the Generate button and mirrored in the API reference at /docs/docs-api/opensi-ai/any-llm.
How long does Any Llm take to generate?
Reported generation time on OpenSIAI is around 6 seconds per request. This is an estimate, not a latency guarantee; queue time and input settings can change the total wait. live status is visible in the prediction record.
Can I use Any Llm outputs commercially?
Commercial usage rights depend on the model's license, set by its provider (OpenSIAI). Check the provider's applicable terms and OpenSIAI's Terms of Service before commercial use.
