Skip to content

Releases

v0.2.1

Choose a tag to compare

@github-actions github-actions released this 25 Nov 07:54

Smoother first run. A new user can go from one command to a real model answering in a few clicks: oasis-route dev --open signs you in, connects local models, and the new Get started page lists free no-card keys, takes them in one paste box, and sends a test message. model=auto no longer answers with the demo echo once something real is connected. Fixes about 15 rough edges found by using 0.2.0 as a new user. No schema change.

Fixed

  • Console: the paste-keys box was a narrow textarea with the confirmations squeezed beside it; it is now full width with one checkbox per line. Connect one provider defaulted to a blocked provider (adapta-web) and listed all 231; it now lists only connectable providers, reviewed adapters first, behind a "Choose a provider" placeholder. Discover rendered every provider card (about 27,000 px of mostly unavailable entries); it shows connected and connectable providers first with Show all for the rest.
  • Discover asked to "confirm the account is free-tier" for Ollama and other local servers, which have no account or bill; local connections now simply show Connected. Paid connections are shown as connected paid accounts rather than as needing confirmation.
  • oasis-route dev hung with a traceback when its ports were already taken (for example a second dev in another shell); it now exits with a one-line message naming the ports.
  • In Docker, oasis-route dev printed http://0.0.0.0:8080/... links, which some browsers cannot open; it now prints 127.0.0.1.
  • oasis-route routes printed raw Python dictionaries in its summary line.
  • Detected local servers were named twice, e.g. "Ollama (local) (detected)".
  • oasis-route connect with no flags now asks you to paste keys (hidden), shows what it detected, and asks the two confirmations (your own accounts and terms; whether billing is set up) instead of stopping with "no keys found" or a silent dry run. Like other commands, it now uses the dev key in .oasis-dev/admin.key when OASIS_API_KEY is unset. Scripts keep --from-env/--env-file/--stdin with --accept-terms.
  • oasis-route setup printed raw Python dictionaries for route counts and gave no next step on a fresh install; it now prints readable counts, the free-key links, a warning when only demo providers answer, and the one-line fix for accounts with unknown billing.
  • oasis-route providers labelled the hand-written adapters (Groq, Cerebras, Gemini, OpenRouter, Mistral, NVIDIA, OpenAI, Anthropic, Cohere, Hugging Face, SambaNova, Z.ai) as imported omniroute/advertised because an imported row shares their id; they now show curated/reviewed. Their free-tier column is still marked advertised.
  • oasis-route doctor warns when only demo providers are connected, and its "no free routes" failure points to oasis-route setup.
  • model=auto kept answering with the built-in demo echo (mock, mock_alt) after a real provider or local model was connected. Demo providers now step aside for auto as soon as any real connection is active (gate demo_provider_superseded); pinning a demo model still works.
  • Route summaries counted demo routes as ready free capacity. eligible_free now counts real models only, and demo routes are reported separately as eligible_demo; routes carry a demo flag.

Added

  • Console Get started page, now the first screen: whether real models or only the demo are connected, a Send test message button showing who answered, free no-card key links, the paste-keys box, detected local models with a connect button, a one-click fix for accounts with unknown billing, and the endpoint.
  • One-click console sign-in: oasis-route dev prints /console/#key=<key>; the console moves the key into session storage and strips it from the address bar. oasis-route dev --open opens it in the browser.
  • oasis-route dev connects running local model servers (Ollama, LM Studio, vLLM, ...) on start, so auto answers with a real model without a separate setup step (--no-local to skip).
  • GET /api/v1/projects/{id}/setup now returns free_keys (where to create a no-card key for each reviewed hosted provider, with its environment variable and free-tier note) and billing_attention (connections whose routes are held back only because nobody declared whether billing is set up). A fresh install no longer ends at "none reviewed yet".
  • oasis-route billing <provider> free_tier|paid|unknown declares whether billing is set up on a connected account, so free-plan keys connected without --free-tier can be fixed in one command.
  • 0.2.0 release announcement (docs/releases/v0.2.0.md), a documentation home page (docs/README.md) with a release index, and a release banner in the README. The README test count now reads 409 (415 in 0.2.1).

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 25 Nov 07:02

Unified gateway release: an advertised catalogue of about 220 providers and 2,000 models (always labelled unverified until checked), protocol adapters, turnkey onboarding, routing strategies with explanations, spend modes with explicit paid approval, a USD budget ledger with receipts, client integration recipes, and an operator CLI and console. Nothing paid is ever enabled or used silently.

Fixed

  • Routing on PostgreSQL broke ties between equally ranked connections by undefined row order, so failover could try candidates in a different order each run; ties now resolve by connection creation time and id.
  • CI: the commit-attribution scripts under scripts/ now pass ruff check and ruff format --check, and scripts/upgrade_check.sh defaults to a base commit that exists on main.
  • CLI commands that talk to a server (setup, integrate --check) crashed with "Cannot open a client instance more than once" against a live server.
  • docs/INTEGRATIONS.md told users to cat .oasis-dev/admin.key into OASIS_API_KEY, which includes the project id line and breaks every client; it now reads line 2. The CLI also accepts the whole file and falls back to it when no key is set.
  • An unreachable server or rejected key now produces a one-line explanation instead of a traceback.
  • Console navigation no longer hides Offers, Notices and Background off-screen on screens narrower than about 1440px.

Added

  • Operator CLI (docs/CLI.md): oasis-route providers, models, routes, quota, verify, preview, decisions, explain <request-id> and doctor, each with --json. Imported catalogue providers, models and prices are always labelled advertised/unconfirmed/unverified. /api/v1/providers and /api/v1/models now include catalog provenance, and models include pricing with its verified flag.
  • Console: new Routes, Spend (budgets and receipts) and Integrations views; Capacity shows active cooldowns and budgets; Usage and Spend have an Explain panel for any past request; Route preview offers every routing strategy and shows the full explanation and per-candidate cost.
  • Client integrations (docs/INTEGRATIONS.md): oasis-route integrate [tool] [--check] and GET /api/v1/integrations[/{tool}] print paste-ready settings for Claude Code, Codex CLI, Cursor, Cline, Roo Code, Aider, OpenCode, Continue and the OpenAI/Anthropic SDKs (no secrets; $OASIS_API_KEY). --check tests model listing and one request through the tool's protocol. Streaming first chunks now carry oasis_route.request_id, fallback and spend; Anthropic-shaped errors carry oasis_route route metadata like OpenAI-shaped ones.
  • USD budget ledger (docs/ROUTING_AND_QUOTAS.md): per-project day, month and total caps (/api/v1/projects/{id}/budgets). Each request holds its worst-case cost atomically with its quota reservation (also against provider credit pools, which previously could not be reserved), dispatches only if the hold succeeds, settles to the actual cost exactly once with drift, and writes a receipt with a SHA-256 digest (/api/v1/projects/{id}/receipts). Unknown-cost routes never run under a budget. Budgets report burn rate, projected window spend and exhaustion time. Tables spend_budgets and request_receipts, migration 0012.
  • Spend modes (docs/ROUTING_AND_QUOTAS.md): zero_budget (alias of free_only), new bounded_autonomy, and continuity (alias of allow_paid). Bounded autonomy answers 402 paid_approval_required with priced, single-use approval tokens (hashed, atomically consumed, audited; table paid_approvals, migration 0011) instead of using a paid route; oasis_route.approve_paid admits exactly the approved route once. Free routes always rank before paid ones outside zero-budget. Responses carry oasis_route.spend (a PAID FALLBACK label with cost estimate, authorisation and reason), oasis_route.cooldowns with retry/reset times after a 429, and x-oasis-route-spend-mode / x-oasis-route-paid headers. Unknown stored spend policies fail closed to free_only.
  • Routing strategies lowest_cost, most_quota, lowest_latency, reliability, context_fit, reset_aware and diversity, applied only after every policy gate (see docs/ROUTING_AND_QUOTAS.md). Each candidate carries an estimated worst-case cost. Route previews and decisions now include an explanation (selected route and reason, alternatives, rejections by gate, verification, quota, estimated and actual cost, fallback chain), stored in the new route_decisions.explanation column (migration 0010) and returned by GET /api/v1/projects/{id}/route-decisions/{request_id}; responses carry a compact oasis_route.route summary.
  • Turnkey onboarding (docs/ONBOARDING.md): oasis-route setup and GET/POST /api/v1/projects/{id}/setup detect local servers on their default ports (only when private upstreams are allowed), connect them as last-resort routes, list verified free providers separately from advertised ones, and return the single OpenAI-compatible endpoint. GET /api/v1/projects/{id}/routes classifies every route as free/paid/unknown and eligible/blocked/exhausted with the reason. Setup never changes the spend policy or billing modes. <PROVIDER>_API_KEY is recognised for every connectable imported provider.
  • Adapter layer: providers resolve to a curated profile, a local-server preset, or a profile generated from the imported catalogue (auth header and prefix, extra headers, model-list URL), so adding one never touches the router. Anthropic-compatible APIs can use bearer or named-header auth. New local presets ollama, llama_cpp, vllm, lm_studio, lemonade, llamafile, docker_model_runner, xinference (no key; refused unless the base URL resolves to a private or loopback address). routing/cost.py estimates cost as free, priced (verified or estimate) or unknown in integer USD micros. See docs/PROVIDER_ADAPTERS.md.
  • Unified catalogue (docs/CATALOG.md): about 220 providers and 2,000 models imported from the OmniRoute catalogue (MIT) with provenance (commit, source URL, curation date, review state). Imported models use the new lifecycle: "catalog" and stay non-routable (catalog_model_unconfirmed) until the provider's own model list confirms them; imported free tiers become discovered offers with evidence and never set pricing.free; imported prices are verified: false estimates; blocked and unsupported providers are listed with the reason. New catalog JSON column on providers and models (migration 0009) and setting OASIS_ROUTE_CATALOG_IMPORT_ENABLED.
  • OmniRoute alignment report (docs/OMNIROUTE_ALIGNMENT.md): request lifecycle map, existing building blocks, and what OASIS Route adopts, adapts and rejects from OmniRoute's catalogue, adapters, routing and fallback.
  • Whole-ecosystem free-capacity total: scripts/ecosystem_capacity.py counts every free tier listed by OASIS Route, the FreeLLMAPI catalog and OmniRoute, once per account with shared pools counted once. About 1.7B tokens a month for agent-sized requests (626M at chat size), 2.3B with OpenRouter's one-time unlock. A new README card and the TOTAL badge show it, next to FreeLLMAPI's 10.1B and OmniRoute's 1.62B claims.
  • Free-tier capacity re-checked on 2026-11-23: about 30M chat / 70M agent tokens a month with no purchase, about 650M agent tokens after a one-time 10 OpenRouter credits, and a 2.7B theoretical ceiling with NVIDIA's prototyping tier. scripts/free_tier_capacity.py now models request-per-month caps (Cohere) and Cloudflare neurons, prints four scenarios, and reflects SambaNova's reduced model list. See docs/FREE_TIER_CAPACITY.md.
  • Redesigned README with generated, theme-aware artwork (scripts/readme_assets.py writes assets/readme/*.svg and the social preview), a capacity chart and a comparison with OmniRoute and other gateways.
  • Community files: issue forms (bug, feature idea, provider or free-tier update), pull request template, SUPPORT.md, CITATION.cff and Dependabot for uv, GitHub Actions and Docker.
  • Package metadata for discovery: PyPI keywords, classifiers and project URLs.
  • Hugging Face device-code sign-in (RFC 8628) for servers without a browser: "mode": "device", a short user code, and POST .../oauth/{flow_id}/poll honouring interval and slow_down.
  • oasis-route dev --connect-env [--free-tier --age N --country CC] connects the provider keys in your environment on every start and pauses the mock providers once a real one is active.
  • Paste-your-keys now lets you pick the provider for keys whose format several providers share (providers_by_line, from the dry run's line).
  • One-step onboarding. Connections → Paste your keys in the console, POST /api/v1/projects/{id}/connections/quick and oasis-route connect --from-env connect every key at once: each key's provider is recognised locally from its variable name or prefix (ambiguous keys are never tried against several providers), validated only with that provider, and its models and approved discovery sources refreshed.
  • Cohere (trial keys, OpenAI-compatible endpoint) and Z.ai (free GLM Flash models) providers, with key-only validation for providers that do not list models.
  • Atom/RSS announcement and release feeds as discovery sources (DTDs refused).
  • Sources record the extractor release that read them; after an upgrade each page is fetched unconditionally once and re-extracted (migration 0008).

Changed

  • Position OASIS Route as the first-party, optional inference-routing companion to OASIS while preserving sta...
Read more