{"pricing_model":"per_token","currency":"usd","note":"A request costs prompt_tokens × usd_per_1m.input + completion_tokens × usd_per_1m.output, divided by one million. Rates are set per model on the price list. Nothing else applies except the cache and continuation discounts below.","rate_markup":1.15,"cache_prices":{"replay":0.05,"rewritten_or_refreshed":0.2},"minimum_charge_usd":0.0001,"usd_per_credit":0.0001,"credits_per_usd":10000,"deprecated":"bands, grades, size_floor and effective_credits describe the per-request ladder that was replaced by per-token pricing on 2026-10-27. Ignore them for new work.","bands":[1024,4096,16384,65536,262144,1048576],"grades":[0.5,1,2,4,8,16],"how_this_is_computed":["Price = prompt tokens × input rate + completion tokens × output rate (per 1M tokens, see usd_per_1m on each model).","Answered from your cache: ×0.05 — no provider call at all.","Answered from a stored entry that had to be rewritten or refreshed: ×0.2.","Only one discount ever applies — they never multiply — and the web chat is not charged at all.","Check any request before sending it: GET /v1/price?model=xena&prompt_tokens=1200&completion_tokens=300"],"models":{"xael3-turbo":{"usd_per_1m":{"input":0.17,"output":0.5},"credits_per_1k_in":1.7,"credits_per_1k_out":5,"typical_request_usd":0.000252},"xael3-think":{"usd_per_1m":{"input":0.2,"output":0.75},"credits_per_1k_in":2,"credits_per_1k_out":7.5,"typical_request_usd":0.000345},"xael3-thinkXL":{"usd_per_1m":{"input":0.3,"output":0.8},"credits_per_1k_in":3,"credits_per_1k_out":8,"typical_request_usd":0.00042},"yoshi2-coder":{"usd_per_1m":{"input":0.2,"output":0.75},"credits_per_1k_in":2,"credits_per_1k_out":7.5,"typical_request_usd":0.000345},"yoshi2-coder-plus":{"usd_per_1m":{"input":0.5,"output":1},"credits_per_1k_in":5,"credits_per_1k_out":10,"typical_request_usd":0.0006},"yoshi2-coder-max":{"usd_per_1m":{"input":0.75,"output":1.75},"credits_per_1k_in":7.5,"credits_per_1k_out":17.5,"typical_request_usd":0.000975},"yoshi2-voice":{"per_unit":true,"unit":"minute","credits_per_unit":300,"usd_per_unit":0.03},"xael3-embed":{"usd_per_1m":{"input":0.02,"output":0},"credits_per_1k_in":0.2,"credits_per_1k_out":0,"typical_request_usd":0.0001},"xena":{"usd_per_1m":{"input":0.15,"output":0.3},"credits_per_1k_in":1.5,"credits_per_1k_out":3,"typical_request_usd":0.00018},"xena-pro":{"usd_per_1m":{"input":0.25,"output":0.5},"credits_per_1k_in":2.5,"credits_per_1k_out":5,"typical_request_usd":0.0003},"zora-turbo":{"per_unit":true,"unit":"unit","credits_per_unit":300,"usd_per_unit":0.03},"zora":{"per_unit":true,"unit":"unit","credits_per_unit":400,"usd_per_unit":0.04},"zora-plus":{"per_unit":true,"unit":"unit","credits_per_unit":800,"usd_per_unit":0.08},"zora-vectors":{"per_unit":true,"unit":"unit","credits_per_unit":500,"usd_per_unit":0.05},"zora-concepts":{"per_unit":true,"unit":"unit","credits_per_unit":1000,"usd_per_unit":0.1}},"legacy_band_note":"One charge per request was the old model. Price is now per token; see note.","agent_loops":{"continuation_price_ratio":0.1,"free":false,"discounts_stack":false,"note":"One request is one charge. The first call of a turn bills in full; every continuation — a call whose history already carries assistant tool_calls or a tool result — bills at 10% of that price, or at the provider-cache price when that is higher — the two discounts do NOT multiply. Mark one explicitly with agent_continuation:true."},"provider_cache":{"cached_token_price_ratio":0.1,"applied_to":"every model, every cached token","per_request_gate":false,"verified_reporting_hits":["yoshi2-coder","yoshi2-coder-max","xael3-think","xael3-thinkXL","xena","xena-pro"],"formula":"normal x (fresh_prompt + cached_prompt x ratio + completion) / (prompt + completion)","note":"Measured from usage.prompt_tokens_details.cached_tokens (DeepSeek prompt_cache_hit_tokens). The discount is per TOKEN, not per request: every cached token bills at cached_token_price_ratio and every fresh one at full price, so there is no threshold to fall short of and no all-or-nothing cliff. No cached tokens reported means no discount."},"answer_cache":{"hit_price_ratio":0.05,"scope":"per account","note":"A repeat of a question already in your own pool is served without calling the provider at all, and bills at hit_price_ratio of the normal price. Exact match only, single clean turn, no tools/RAG/attachments, no personal or time-sensitive wording; a system prompt you send is part of the match. Requests for the same question that arrive while an answer is being generated wait for it instead of each paying for a fresh call."},"weekly_allowance":{"credits_per_week":1000,"credit_cost_usd":0.1,"paid_tier":{"credits_per_week":2500,"requires_balance_credits":1000,"requires_balance_usd":0.1},"resets":"Monday 00:00 UTC","stacks":false,"requires_balance":false,"spent_before_balance":true,"tier_locked_at_week_start":true,"note":"Every account gets this every week, whether or not it has bought credit — a top-up raises it to the paid tier rather than removing it. Unused credits expire at the reset."},"decisions":{"endpoint":"POST /v1/decide","credits_per_decision":1,"models":["allam-2-7b","gpt-oss-20b"],"answer":"a single label chosen from the `options` you send, or decision:null when no model could answer (which is not charged)"},"size_floor":{"markup":1.3,"formula":"credits = max(base x band_multiplier, ceil(tokens x provider_cost_per_token x markup / 0.0001))","applies_to":"every model with a provider cost; per-unit rows (images, voice) are exempt","exempt_models":[],"note":"Below the crossover the band price wins, so ordinary chat is unchanged. Above it you pay what the request costs the provider, times the markup. tokens = prompt + completion. A model whose provider cost we have not verified is never floored, and says so in exempt_models."},"effective_credits":{"xena":[5,10,23,90,90,160],"xena-pro":[20,40,80,160,320,640],"xael3-turbo":[10,20,40,80,160,320],"xael3-think":[11,22,44,88,185,737],"xael3-thinkXL":[16.5,33,66,132,264,641],"yoshi2-coder":[23,46,92,184,368,736],"yoshi2-coder-plus":[28,56,112,224,448,896],"yoshi2-coder-max":[33.5,67,134,268,536,1146],"xael3-embed":[10,20,40,80,160,320]},"routers":{"wally":{"discount":0.25,"router_model":"deepinfra/google/gemma-4-31B-it-turbo","billed_as":"the model it picks, less 25%","note":"WALLY chooses the best model for the request and is billed as that model less 25%. It can never cost more than the model it picks."}}}