Cygnet (preview)

Answer yes or no, choice and score questions with Cygnet, served in the EU, through the Decisions API.

Munito AI serves Cygnet in the EU through the Decisions API.

This model is a preview. Munito AI can change or remove it without notice.

Use this model ID in the model field of a request:

blockbrain/cygnet
Model IDblockbrain/cygnet
TypeDecision (preview)
Inputtext
Context16K tokens (16,384)
RegionsEU

APIs

Prices

Prices are in USD for each million tokens, in the standard tier. The global host bills the global price. A regional host or a regional model ID bills the price of its region.

RegionInputCached inputOutput
Global$0.05$0.05$0.15
EU$0.15$0.15$0.17

See Models and pricing for the priority and flex tiers, and for how a request is billed.

Rate limits

Base limits per organization.

Usage tierRequests per minuteInput tokens per minuteOutput tokens per minute
Free600100,000600
Tier 11,200200,0001,200
Tier 22,400400,0002,400
Tier 34,800800,0004,800
Tier 49,6001,600,0009,600
CustomOn requestOn requestOn request

One decision can require several model passes. Each pass counts toward the request and token allowances.

See Rate limits for dynamic limits, headers and retries.

Request custom limits through Support in the console.

Regions

Munito AI serves this model in the EU. The global host, api.munito.ai, sends each request to a region that serves it. To keep the processing in one region, use the host of that region:

RegionHost
EUapi.eu.munito.ai

See Regions for the base URLs and the rules for stored data.

Example

Ask questions about one input. The answers come back in the same order, each with its probability.

export MUNITO_API_KEY="munitoai_..."
curl https://api.munito.ai/inference/v1/decisions \
  -H "Authorization: Bearer $MUNITO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "blockbrain/cygnet",
    "input": "The parcel arrived with a crushed corner and the mug inside is broken.",
    "questions": [
      {"type": "predicate", "instructions": "Is the item damaged?"},
      {"type": "choice", "instructions": "What should we offer?",
       "choices": [{"value": "refund"}, {"value": "replacement"}]}
    ]
  }'
# pip install requests
import os
import requests

response = requests.post(
    "https://api.munito.ai/inference/v1/decisions",
    headers={"Authorization": f"Bearer {os.environ['MUNITO_API_KEY']}"},
    json={
        "model": "blockbrain/cygnet",
        "input": "The parcel arrived with a crushed corner and the mug inside is broken.",
        "questions": [
            {"type": "predicate", "instructions": "Is the item damaged?"},
            {
                "type": "choice",
                "instructions": "What should we offer?",
                "choices": [{"value": "refund"}, {"value": "replacement"}],
            },
        ],
    },
    timeout=60,
)
response.raise_for_status()
for answer in response.json()["answers"]:
    print(answer)

See Create a decision for the question types and the answer format.