ioi

Endpoint: https://www.ioi.md/v1
OpenAI-compatible, API key or x402, USDC on Base

One endpoint for every provider

// Tokens

The numbers that matter, straight from the live catalog and gateway.

10

models

1 provider

22,222,222

input tokens per $1

deepseek/deepseek-v4-flash-0731

1,113,088

token context window

moonshotai/kimi-k3

117

tokens served

1 requests

// Price board

Per 1M tokens, lowest listed price across providers. Tokens per $1 is how many tokens a dollar buys.

  • deepseek/deepseek-v4-flash-0731

    Engy · 1,048,576 token context

    input / 1M

    $0.045

    output / 1M

    $0.09

    input tokens per $1

    22,222,222

    output tokens per $1

    11,111,111

  • qwen/qwen3.6-35b-a3b

    Engy · 208,192 token context

    input / 1M

    $0.045

    output / 1M

    $0.30

    input tokens per $1

    22,222,222

    output tokens per $1

    3,333,333

  • qwen/qwen3.8-27b

    Engy · 1,001,536 token context

    input / 1M

    $0.045

    output / 1M

    $0.32

    input tokens per $1

    22,222,222

    output tokens per $1

    3,125,000

  • deepseek/deepseek-v4.1-flash

    Engy · 1,048,576 token context

    input / 1M

    $0.06

    output / 1M

    $0.24

    input tokens per $1

    16,666,666

    output tokens per $1

    4,166,666

  • deepseek/deepseek-v4.1-flash-1017

    Engy · 1,048,576 token context

    input / 1M

    $0.06

    output / 1M

    $0.24

    input tokens per $1

    16,666,666

    output tokens per $1

    4,166,666

  • z-ai/glm-5.3-flash

    Engy · 327,680 token context

    input / 1M

    $0.135

    output / 1M

    $0.45

    input tokens per $1

    7,407,407

    output tokens per $1

    2,222,222

4 more. See every model and price.

// Calculator

Set the tokens and see the exact cost. The arithmetic is the same the gateway and the x402 handler use.

model
prompt tokens12,000
output tokens used800
cached share of prompt0%
max_tokens in the request

cost of this request

$0.000912

1,096 of these per $1

12,000 prompt · $0.06/M$0.00072

0 cached · $0.006/M$0.00

800 output · $0.24/M$0.000192

paying with x402

you sign a ceiling of$0.001704

and are settled for$0.001

ceiling = prompt × input price + max_tokens × output price, rounded up. Settlement uses the real usage. The minimum is $0.001 per request, the payment facilitator's floor.

Context window: 1,048,576 tokens. Prices are the lowest listed across providers.

// Stream

Watch tokens arrive and the cost accrue, one token at a time.

POST /v1/chat/completions · deepseek/deepseek-v4.1-flash · stream

prompt tokens

42

output tokens

88

running cost

$0.00002364

rate

52 tokens/s

Simulated stream. The text and the speed are illustrative. The prices are real: $0.06 in and $0.24 out per 1M tokens.

// Routing

Every request is judged on these rules, from the same constants the router runs.

Eligibility

  • - Live now: a successful probe within 15 min
  • - Quality score of 0.6 or more
  • - Price quote no older than 15 min
  • - At least 10 recent probes

Approach

  • - Cheapest quality-adjusted price
  • - Failover down the ladder
  • - Suffixes :cheapest :fastest
  • - Suffixes :verified :tee

Payment

  • - API key: prepaid USD credit
  • - x402: USDC on Base, per request
  • - Settled for tokens used
  • - No account needed with x402

// Providers

Probed every five minutes. Latency is median time to first token over 24 hours.

Engy

status
active
models
10
time to first token
n/a
uptime, 24h
99.9%

// Latency

Time to first token, the delay before the first token of a response arrives.

Not enough probe data in the last 24 hours to draw a line yet.

// Key facts

Endpoint
https://www.ioi.md/v1/chat/completions
Protocol
OpenAI-compatible chat and text completions, with streaming
Auth
API key (Authorization: Bearer sk-canary-...) or an x402 payment
API key billing
Prepaid USD credit, the exact cost of each request
x402 scheme
upto: sign a ceiling, settle once for the tokens used
x402 network
Base (eip155:8453), USDC
Facilitator
Coinbase CDP. Its fee is not added to your price.
Cached tokens
Billed at the cached rate where the provider publishes one, automatically
Models
10, with context windows up to 1,113,088 tokens
Providers
Engy

// How a request is priced

  1. 01EstimatePrompt tokens are counted before anything is sent.
  2. 02QuoteThe ceiling is prompt tokens at the input price plus max_tokens at the output price, rounded up. With an API key it is checked against your balance. With x402 it is what you sign.
  3. 03RouteProviders are filtered on uptime, quality and price freshness, then ranked on quality-adjusted price. A failed call moves to the next one.
  4. 04StreamTokens come back as the model generates them.
  5. 05MeterPrompt, cached and output tokens are counted from the provider's reported usage. Cached tokens use the cached rate.
  6. 06SettleAPI key: the exact cost is debited from your ledger. x402 upto: one settlement for the real usage, never above the ceiling. x402 exact: the whole quote. Either way an x402 payment is at least $0.001, the payment facilitator's minimum.
ceiling = ceil(prompt × price_in / 1M) + ceil(max_tokens × price_out / 1M)
cost    = ceil((uncached × price_in + cached × price_cache + output × price_out) / 1M)

// Quick start

  1. 01Get a key

    Sign in and create a key under API keys. It starts with sk-canary-. Keys spend prepaid credit.
  2. 02Call the endpoint

    Use any OpenAI SDK, or plain HTTP. Change the base URL, keep the rest.
    shell
    curl https://www.ioi.md/v1/chat/completions \
      -H "Authorization: Bearer $CANARY_API_KEY" \
      -H 'content-type: application/json' \
      -d '{"model":"deepseek/deepseek-v4.1-flash","messages":[{"role":"user","content":"hi"}],"max_tokens":64}'

// FAQ

What is a token?

A token is the unit a model reads and writes: roughly three quarters of an English word. Providers price in tokens, so every price on this page is per token, usually quoted per 1 million.

What do I pay for?

Prompt tokens in, completion tokens out, and cached prompt tokens at the cached rate. Nothing else. There is no subscription and no minimum.

What is the x402 ceiling?

Before a request runs, the server quotes the most it could cost: your prompt tokens at the input price plus max_tokens at the output price. With the upto scheme you sign that maximum and it settles once, for the tokens actually used. With the exact scheme, for clients that cannot sign upto, you pay the whole quoted amount, so set max_tokens low. Set max_tokens either way.

Why was I charged less than the ceiling?

The ceiling assumes the model writes all max_tokens. Most responses stop earlier, and cached prompt tokens cost less. You are settled for real usage, which is never more than the ceiling.

Which provider serves my request?

Each provider is checked on uptime, quality and how fresh its price is. The survivors are ranked on quality-adjusted price, and a failed call falls through to the next one. The response header x-canary-venue names the provider that answered.

Can an agent use this without a human?

Yes. Read /skill.md, check /api/health for x402.ready, then pay per request with x402. No account is needed.