What Jev costs
One rate. Input tokens are billed. Output tokens are free.
Input: $0.042 per million tokens
AIReiter charges $0.042 for every million input tokens. That is the same rate Cloudflare lists for typesafe/jev.
Output: free
Output tokens are not billed. A call that returns a short score still only pays for the state and questions you sent.
You pay the real token count
After the upstream response comes back, AIReiter reads usage.input_tokens and settles that many tokens. If the response has no usage, the call is recorded at zero.
How to call Jev
Send model jev. state and questions are forwarded unchanged. This is not a chat API and it does not stream.
Send one POST
POST https://aireiter.com/api/v1/systemone Authorization: Bearer $AIREITER_API_KEY Content-Type: application/json
Put the judgment in the body
{ "model": "jev", "input": { "state": "The payment API timed out.", "questions": { "is_urgent": { "type": "noul", "instructions": "Does this need a person right now?" } } } }
Read the answer in the same response
The upstream JSON is returned as-is. The judgment is at result.result.answers. A noul value is the probability of yes, from 0 to 1.
Jev API FAQ
/ 01Is the request rewritten?
state and questions are forwarded unchanged. The public model name jev is sent to Cloudflare as typesafe/jev. The response body is returned unchanged.
/ 02Can I stream it?
No. The call waits for one JSON response.
/ 03What does a score mean?
Score options are ordered from low to high. The first line is 0, the next is 1. A score of 1.99 on three lines sits almost on the third line.
/ 04Which model name do I send?
Send model jev. AIReiter forwards it to Cloudflare as typesafe/jev. The response reports the answering version, currently jev-1.13.0.