{ "model_id": "unbiased/pareto", "provider_id": "unbiased", "name": "Pareto", "description": "Pareto is Unbiased's blended AI model. It engages multiple language models in parallel for each request, synthesizes one answer, and supports text and vision inputs through a single API response.", "task": "Text Generation", "tags": [ "LLM", "Blended Model", "Reasoning", "Coding", "Vision" ], "context_length": null, "max_output_tokens": null, "schema_version": "1.0.0", "pricing": { "Input tokens (per 1M)": 2.5, "Cached input tokens (per 1M)": 0.25, "Output tokens (per 1M)": 7.5 }, "examples": [ { "name": "Simple Question", "description": "Ask Pareto for a concise answer.", "input": { "messages": [ { "content": "What is the capital of France? Answer in one word.", "role": "user" } ], "max_tokens": 16 }, "output": { "text": "Paris" }, "raw_response": { "id": "chatcmpl-mu5ww8tss0mj6ofw", "object": "chat.completion", "model": "union-alpha", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "Paris" }, "finish_reason": "stop" } ], "usage": { "prompt_tokens": 11, "completion_tokens": 5, "total_tokens": 16, "prompt_tokens_details": { "cached_tokens": 0 }, "cost": 0.000045 }, "gatewayMetadata": { "keySource": "Unified" } }, "code_snippets": [ { "label": "typescript", "language": "typescript", "code": "const response = await env.AI.run(\n 'unbiased/pareto',\n {\n messages: [{ content: 'What is the capital of France? Answer in one word.', role: 'user' }],\n max_tokens: 16,\n },\n)\nconsole.log(response)" }, { "label": "curl", "language": "bash", "code": "curl https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/v1/chat/completions \\\n --header \"Authorization: Bearer $CLOUDFLARE_API_TOKEN\" \\\n --header \"Content-Type: application/json\" \\\n --data '{\n \"model\": \"unbiased/pareto\",\n \"messages\": [\n {\n \"content\": \"What is the capital of France? Answer in one word.\",\n \"role\": \"user\"\n }\n ],\n \"max_tokens\": 16\n}'" } ] }, { "name": "System Guidance", "description": "Set a helpful system role before asking a question.", "input": { "messages": [ { "content": "You explain technical topics in plain language.", "role": "system" }, { "content": "What is an API? Explain it in two sentences.", "role": "user" } ], "max_tokens": 64 }, "output": { "text": "An API (Application Programming Interface) is a set of rules that lets one software program request information or actions from another. For example, a weather app uses an API to get forecasts from a weather service." }, "raw_response": { "id": "chatcmpl-mu5wwcpm6hxi7lsb", "object": "chat.completion", "model": "union-alpha", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "An API (Application Programming Interface) is a set of rules that lets one software program request information or actions from another. For example, a weather app uses an API to get forecasts from a weather service." }, "finish_reason": "stop" } ], "usage": { "prompt_tokens": 19, "completion_tokens": 45, "total_tokens": 64, "prompt_tokens_details": { "cached_tokens": 0 }, "cost": 0.000305 }, "gatewayMetadata": { "keySource": "Unified" } }, "code_snippets": [ { "label": "typescript", "language": "typescript", "code": "const response = await env.AI.run(\n 'unbiased/pareto',\n {\n messages: [\n { content: 'You explain technical topics in plain language.', role: 'system' },\n { content: 'What is an API? Explain it in two sentences.', role: 'user' },\n ],\n max_tokens: 64,\n },\n)\nconsole.log(response)" }, { "label": "curl", "language": "bash", "code": "curl https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/v1/chat/completions \\\n --header \"Authorization: Bearer $CLOUDFLARE_API_TOKEN\" \\\n --header \"Content-Type: application/json\" \\\n --data '{\n \"model\": \"unbiased/pareto\",\n \"messages\": [\n {\n \"content\": \"You explain technical topics in plain language.\",\n \"role\": \"system\"\n },\n {\n \"content\": \"What is an API? Explain it in two sentences.\",\n \"role\": \"user\"\n }\n ],\n \"max_tokens\": 64\n}'" } ] }, { "name": "Coding Example", "description": "Ask for a short coding example.", "input": { "messages": [ { "content": "Write a JavaScript function that reverses a string. Include one example call.", "role": "user" } ], "max_tokens": 128 }, "output": { "text": "```javascript\nfunction reverseString(str) {\n return Array.from(str).reverse().join(\"\");\n}\n\nconsole.log(reverseString(\"Hello\")); // \"olleH\"\n```" }, "raw_response": { "id": "chatcmpl-mu5wwj1mqcjfe7xb", "object": "chat.completion", "model": "union-alpha", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "```javascript\nfunction reverseString(str) {\n return Array.from(str).reverse().join(\"\");\n}\n\nconsole.log(reverseString(\"Hello\")); // \"olleH\"\n```" }, "finish_reason": "stop" } ], "usage": { "prompt_tokens": 14, "completion_tokens": 37, "total_tokens": 51, "prompt_tokens_details": { "cached_tokens": 0 }, "cost": 0.00024875 }, "gatewayMetadata": { "keySource": "Unified" } }, "code_snippets": [ { "label": "typescript", "language": "typescript", "code": "const response = await env.AI.run(\n 'unbiased/pareto',\n {\n messages: [\n {\n content: 'Write a JavaScript function that reverses a string. Include one example call.',\n role: 'user',\n },\n ],\n max_tokens: 128,\n },\n)\nconsole.log(response)" }, { "label": "curl", "language": "bash", "code": "curl https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/v1/chat/completions \\\n --header \"Authorization: Bearer $CLOUDFLARE_API_TOKEN\" \\\n --header \"Content-Type: application/json\" \\\n --data '{\n \"model\": \"unbiased/pareto\",\n \"messages\": [\n {\n \"content\": \"Write a JavaScript function that reverses a string. Include one example call.\",\n \"role\": \"user\"\n }\n ],\n \"max_tokens\": 128\n}'" } ] }, { "name": "Follow-up Conversation", "description": "Continue a short conversation with prior assistant context.", "input": { "messages": [ { "content": "I am planning a weekend trip to a coastal city.", "role": "user" }, { "content": "Consider walkable neighborhoods, local food, and a nearby beach.", "role": "assistant" }, { "content": "What should I prioritize when choosing where to stay?", "role": "user" } ], "max_tokens": 96 }, "output": { "text": "For a weekend trip, **prioritize location over extra amenities**\u2014less time in transit means more time enjoying the city.\n\n- **Close to your main plans:** Stay near the beach for a beach-focused trip, or near restaurants and sights if you\u2019re more interested in exploring.\n- **Easy transportation:** Check airport or station connections, public transit, and parking costs if you\u2019re driving.\n- **Comfort and quiet:** Recent reviews can reveal street noise, cleanliness issues" }, "raw_response": { "id": "chatcmpl-mu5wwqlruoazrxij", "object": "chat.completion", "model": "union-alpha", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "For a weekend trip, **prioritize location over extra amenities**\u2014less time in transit means more time enjoying the city.\n\n- **Close to your main plans:** Stay near the beach for a beach-focused trip, or near restaurants and sights if you\u2019re more interested in exploring.\n- **Easy transportation:** Check airport or station connections, public transit, and parking costs if you\u2019re driving.\n- **Comfort and quiet:** Recent reviews can reveal street noise, cleanliness issues" }, "finish_reason": "length" } ], "usage": { "prompt_tokens": 43, "completion_tokens": 96, "total_tokens": 139, "prompt_tokens_details": { "cached_tokens": 0 }, "cost": 0.00065375 }, "gatewayMetadata": { "keySource": "Unified" } }, "code_snippets": [ { "label": "typescript", "language": "typescript", "code": "const response = await env.AI.run(\n 'unbiased/pareto',\n {\n messages: [\n { content: 'I am planning a weekend trip to a coastal city.', role: 'user' },\n {\n content: 'Consider walkable neighborhoods, local food, and a nearby beach.',\n role: 'assistant',\n },\n { content: 'What should I prioritize when choosing where to stay?', role: 'user' },\n ],\n max_tokens: 96,\n },\n)\nconsole.log(response)" }, { "label": "curl", "language": "bash", "code": "curl https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/v1/chat/completions \\\n --header \"Authorization: Bearer $CLOUDFLARE_API_TOKEN\" \\\n --header \"Content-Type: application/json\" \\\n --data '{\n \"model\": \"unbiased/pareto\",\n \"messages\": [\n {\n \"content\": \"I am planning a weekend trip to a coastal city.\",\n \"role\": \"user\"\n },\n {\n \"content\": \"Consider walkable neighborhoods, local food, and a nearby beach.\",\n \"role\": \"assistant\"\n },\n {\n \"content\": \"What should I prioritize when choosing where to stay?\",\n \"role\": \"user\"\n }\n ],\n \"max_tokens\": 96\n}'" } ] }, { "name": "Creative Writing", "description": "Generate a compact piece of creative writing.", "input": { "messages": [ { "content": "Write a four-line poem about finding light after a difficult day.", "role": "user" } ], "max_tokens": 96 }, "output": { "text": "The day lay heavy, stitched with shades of gray,\nUntil one star shone through the frayed dusk\u2019s seam.\nI set my burdens down beside the way,\nAnd let its little light rekindle dream." }, "raw_response": { "id": "chatcmpl-mu5wx6hq2jpgslxe", "object": "chat.completion", "model": "union-alpha", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "The day lay heavy, stitched with shades of gray,\nUntil one star shone through the frayed dusk\u2019s seam.\nI set my burdens down beside the way,\nAnd let its little light rekindle dream." }, "finish_reason": "stop" } ], "usage": { "prompt_tokens": 12, "completion_tokens": 46, "total_tokens": 58, "prompt_tokens_details": { "cached_tokens": 0 }, "cost": 0.0003025 }, "gatewayMetadata": { "keySource": "Unified" } }, "code_snippets": [ { "label": "typescript", "language": "typescript", "code": "const response = await env.AI.run(\n 'unbiased/pareto',\n {\n messages: [\n { content: 'Write a four-line poem about finding light after a difficult day.', role: 'user' },\n ],\n max_tokens: 96,\n },\n)\nconsole.log(response)" }, { "label": "curl", "language": "bash", "code": "curl https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/v1/chat/completions \\\n --header \"Authorization: Bearer $CLOUDFLARE_API_TOKEN\" \\\n --header \"Content-Type: application/json\" \\\n --data '{\n \"model\": \"unbiased/pareto\",\n \"messages\": [\n {\n \"content\": \"Write a four-line poem about finding light after a difficult day.\",\n \"role\": \"user\"\n }\n ],\n \"max_tokens\": 96\n}'" } ] } ], "default_example": null, "code_snippets": [], "supports_async": false, "zdr": true, "zdr_comment": null, "external_info": "https://unbiased.ai/model-card/", "terms": "https://unbiased.ai/terms/", "cover_image_url": "https://pub-26f1392c1b674324be6786695bd72257.r2.dev/unbiased/pareto.png", "metadata": { "Architecture": "Blended model", "Modalities": "Text and vision", "Provider": "Unbiased", "fedrampAvailable": "true" }, "request_formats": [ "chat-completions" ], "providers": null, "provider_details": [ { "id": "unbiased", "pricing": { "input_tokens": 2.5, "input_cached_tokens": 0.25, "output_tokens": 7.5 } } ], "banner": null, "created_at": "2026-09-17 23:10:39", "schema": { "input": { "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "messages": { "type": "array", "items": { "type": "object", "properties": { "role": { "type": "string", "enum": [ "system", "developer", "user", "assistant", "tool" ] }, "content": { "anyOf": [ { "type": "string" }, { "type": "null" }, { "type": "array", "items": {} } ] } }, "required": [ "role" ], "additionalProperties": {} } }, "temperature": { "type": "number", "minimum": 0, "maximum": 2 }, "max_tokens": { "type": "number", "exclusiveMinimum": 0 }, "max_completion_tokens": { "type": "number", "exclusiveMinimum": 0 }, "top_p": { "type": "number", "minimum": 0, "maximum": 1 }, "frequency_penalty": { "type": "number", "minimum": -2, "maximum": 2 }, "presence_penalty": { "type": "number", "minimum": -2, "maximum": 2 }, "stream": { "type": "boolean" }, "stream_options": { "type": "object", "properties": { "include_usage": { "type": "boolean" } }, "additionalProperties": false }, "tools": { "type": "array", "items": {} }, "tool_choice": {}, "response_format": {}, "modalities": { "type": "array", "items": { "type": "string", "enum": [ "text", "audio" ] } }, "audio": { "type": "object", "properties": { "voice": { "type": "string", "enum": [ "alloy", "ash", "ballad", "coral", "echo", "sage", "shimmer", "verse" ] }, "format": { "type": "string", "enum": [ "wav", "mp3", "flac", "opus", "pcm16" ] } }, "additionalProperties": false }, "reasoning_effort": { "description": "Optional reasoning control; availability and accepted values are model-dependent.", "type": [ "string", "null" ] } }, "required": [ "messages" ], "additionalProperties": {} }, "output": { "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "id": { "type": "string" }, "object": { "type": "string" }, "created": { "type": "number" }, "model": { "type": "string" }, "choices": { "type": "array", "items": { "type": "object", "properties": { "index": { "type": "number" }, "message": { "type": "object", "properties": { "role": { "type": "string" }, "content": { "type": [ "string", "null" ] }, "tool_calls": { "anyOf": [ { "type": "array", "items": {} }, { "type": "null" } ] }, "audio": { "anyOf": [ { "type": "object", "properties": { "id": { "type": "string" }, "data": { "type": "string" }, "expires_at": { "type": "number" }, "transcript": { "type": "string" } }, "additionalProperties": {} }, { "type": "null" } ] } }, "required": [ "role" ], "additionalProperties": {} }, "finish_reason": { "type": [ "string", "null" ] } }, "required": [ "index", "message", "finish_reason" ], "additionalProperties": {} } }, "usage": { "type": "object", "properties": { "prompt_tokens": { "type": "number" }, "completion_tokens": { "type": "number" }, "total_tokens": { "type": "number" } }, "required": [ "prompt_tokens", "completion_tokens", "total_tokens" ], "additionalProperties": {} } }, "required": [ "id", "object", "model", "choices" ], "additionalProperties": {} } } }