Skip to content
Fossa

Understanding

A guide to Fossa’s concepts, features, and how they work.

Fossa matches your AI requests with providers that meet your requirements. Choose a model, set any price or speed limits, and send your message. The provider can change between requests while the selected model stays the same.

Models and providers

A model is the AI you choose to use. Its creator develops it; a provider runs it and serves your requests. Several providers can offer the same model at different prices and speeds.

The model picker groups models by creator. Choosing a creator there does not select the provider that will serve you. Providers compete through offers in the orderbook, each with its own rates, capabilities, and available capacity.

Model versions

A version identifies a particular release, or checkpoint, of a model. Releases can change its behavior and capabilities even when they belong to the same model family.

Fossa matches the checkpoint requested by your client against providers offering that checkpoint. The website defaults to the latest published version available in its catalog. Turn on Advanced options to select a version. A published checkpoint identifies what the provider offers; it does not independently prove which model the provider runs. See provider trust.

Effort

Effort controls how much reasoning a supported model is asked to do. Higher effort can help with difficult tasks, but can also take longer and consume more output tokens before producing an answer.

The effort control appears only for models that publish supported levels. The website selects the highest published level when you choose a model. Lower it when you prefer a quicker response.

Effort changes generation settings for the selected model; it does not select a different checkpoint. Labels and their effects depend on the model. A label can map to a published variant with specific reasoning settings, so the same label need not represent the same amount of work across models.

Tokens

Tokens are the units a model processes and generates. A token can be a word, part of a word, punctuation, or another small piece of text. Counts depend on the model’s tokenizer, language, and content; a token is not a fixed number of words.

Input tokens include the material sent with a request: your message, included conversation history, instructions, and any tool definitions or results. Output tokens are generated by the model. Supported reasoning models can also use output tokens for reasoning, so the visible answer may not account for all generated tokens.

A conversation can become more expensive as it grows because earlier messages are sent again as input. These usage tokens are separate from the model tokens traded on the DEX.

Price

Providers quote separate prices in USDC per one million tokens. You pay for the usage reported for your request; you do not have to use one million tokens.

RateApplies to
InputInput the provider processes without a cache discount.
CachedInput eligible for the provider’s cached-input rate.
OutputTokens the model generates, including billable reasoning.

For example, 10,000 uncached input tokens at 2.00 USDC per million cost 0.02 USDC. Another 5,000 output tokens at 8.00 USDC per million cost 0.04 USDC. The provider charge is 0.06 USDC before the list surcharge and network costs.

The cheapest provider depends on the request. A long document with a short reply puts more weight on input price; a short prompt with a long reply puts more weight on output price.

Cached input

A provider may reuse computation for an unchanged beginning of a request, such as instructions or earlier conversation turns. Eligible tokens can then use its cached-input rate instead of its ordinary input rate.

Caching depends on the provider, the repeated content, and the serving configuration. Continuing a conversation does not guarantee a cache hit. A different provider may not have the earlier provider’s cache.

The website can estimate reusable input from a previous compatible request to the same provider. That estimate helps compare offers. The reservation still allows for uncached input, and the provider’s reported usage determines the final cached-input charge.

Maximum price

Maximum price sets the highest input, cached-input, and output rates you accept. An offer must satisfy all three caps. These are per-million-token rate limits, not a maximum total bill.

Auto derives rate caps from the currently matching offers when preparing your request. A custom value keeps that rate at your chosen ceiling. The other requirements still apply, and stricter caps can leave no matching provider.

Provider rate caps exclude the list surcharge and network fees. Use token limits to bound the amount of work, or the API’s maximum request spend to cap the usage reservation including the surcharge.

Speed

Speed is expressed in tokens per second, shown as tok/s. More tokens per second means more output delivered in the same time. It measures delivery speed, not answer quality.

Fossa’s benchmark measures effective answer speed: answer tokens divided by the full time from sending the inference request to its completion. For example, 500 answer tokens delivered in 10 seconds give 50 tok/s. That time includes the initial wait, reasoning time, and streaming pauses; reasoning tokens are excluded from the answer count.

Time to first token describes the initial wait. Effective speed describes the completed response. Booking preparation and network confirmation happen before the inference measurement and can add to the time you experience in the app. Published speeds are provider declarations and can differ from your results.

Minimum speed

Minimum speed excludes offers whose declared speed is below your threshold. Setting 50 tok/s requires an offer declaring at least 50 tok/s. Raising it can reduce the available providers or increase the lowest matching price.

Auto leaves the minimum speed unset. A custom minimum filters published offers; it does not measure each response or guarantee that your request will achieve that speed.

Context window

The context window is the amount of input and output a model can accommodate in one request. Your message, included history, instructions, and tool content use input space; the generated response needs room too.

For a provider offering 32,768 context tokens, an input bound of 24,576 and an output bound of 8,192 fit together. Two bounds of 32,768 each do not. The provider’s separate input and output limits must also fit your request.

A larger context window lets you send more material. It does not mean the model remembers content that your client leaves out, and it does not require every answer to use the full window.

Routing

Routing selects a provider for the model you requested. Fossa checks the selected list, checkpoint, price caps, minimum speed, capabilities, token bounds, and available booking capacity. The program matches the eligible offer with the lowest estimated charge for the request’s expected mix of input, cached-input, and output tokens.

The offer preview shows current catalog information. Availability and request estimates can change before booking, so the final provider can differ from the preview. Once booked, the request has agreed provider and payment terms.

If no offer satisfies your requirements, the request cannot be booked. You can relax a filter or try again later. An unavailable provider does not cause Fossa to silently select a different model, and a provider rejection after booking does not automatically reroute that booking.

Provider lists

A provider list defines who can compete for its requests. Anyone can register as a provider, while a list’s curator decides which registered providers to admit or remove. The website routes through its configured list.

You rely on the curator to audit providers’ model and billing claims. Curators can receive part of the list’s inference surcharge, giving them an incentive to maintain users’ trust. Each list charges a surcharge between 0.1% and 3% of provider usage charges.

List membership expresses a trust decision. The program enforces booking and payment rules, but cannot establish honest model execution from membership alone. See how provider trust works.

Advanced options

Open Settings then Routing then Advanced options to show version, modality, token-limit, concurrency, and quota controls. These add requirements to provider selection.

Auto has a different meaning for each control: price caps follow current matching offers, minimum speed and quota add no minimum, and token limits are calculated to fit the request and available context. Normal provider limits still apply. Increasing a requirement narrows the eligible offers; it does not increase a provider’s capacity.

Modalities

Modalities are the formats a model accepts or produces: text, images, audio, or video. Input describes what you send; output describes what the model returns. A model can accept images while returning only text.

The modality filters require a provider to support every format you select on each side. They filter capability declarations; they do not add media support to your client. The current website chat and hosted Chat Completions API accept text and supported tool calls, not image, audio, or video bodies.

Token limits

Token limits determine which offers fit your request and how much work can be reserved. The input and output bounds must fit together inside the provider’s context window.

ControlMeaning
Minimum contextThe smallest total context window you accept from a provider.
Maximum inputThe upper bound on input for this request, including conversation history.
Maximum outputThe upper bound on generated tokens, including reasoning where applicable.

Auto uses the checkpoint’s verified count for supported text chats. Otherwise it estimates the input conservatively. It leaves room for a reply within the model and provider limits. A bound can exceed the eventual usage. You are not charged for unused tokens, but a larger bound can reserve more USDC and exclude offers with smaller limits.

If the conversation exceeds your input bound, shorten it or raise the limit. If generation reaches the output bound, the answer can end before it is complete. Raising minimum context alone does not raise maximum output.

Concurrency

Concurrency limits how many bookings can be active at once. An active booking occupies a slot until it is settled, released, or expired, so a finished response can briefly continue to occupy capacity.

Providers have combined limits across their models and lists, with separate limits for each wallet. Minimum concurrency filters for providers whose published total and per-wallet limits support your chosen level.

Choosing 4 requires support for that level; each request still books one slot. It does not start four requests or reserve four idle slots for you. Auto adds no extra concurrency requirement, and a provider still needs an available slot when your request is booked.

Quota

Quota limits how many new bookings can be made during a provider’s time window. Concurrency counts active bookings; quota counts how many were admitted, including ones that have already finished.

The website shows the per-wallet quota as requests per minute, or REQ/M. Providers can use different window lengths, so this is a normalized comparison. Minimum quota filters for an advertised per-wallet allowance at least that large; it does not guarantee that the allowance is unused.

Each successful booking consumes a quota unit. Settlement, cancellation, release, and expiry do not restore it. The provider’s window must reset before a used allowance becomes available again. Auto adds no minimum quota. Unlimited describes the provider’s per-wallet quota; global provider limits and hosted API limits can still apply.

Data retention

Data retention describes a provider’s declared policy for keeping your prompts and responses. A zero-retention requirement selects offers declaring that they do not retain this content.

The program can check that declaration when matching. It cannot verify deletion after the provider receives the request. You still rely on the provider’s policy and the curator’s audits. With the hosted API, the gateway also receives request and response content. See who can see your content.

Custom API requests can set this requirement through the routing fields. A provider filter does not change the client’s own storage or data handling.

Payments

Inference is paid in USDC. SOL pays for network transactions and account storage. The website handles protocol funding and can convert some account USDC to SOL when needed. Manually imported wallets need both assets.

Your account wallet and protocol balance have different roles. The wallet holds funds available for transfers; the protocol balance supplies request reservations. Moving unused USDC back to the wallet is called rakeback. Wallet signing and custody depend on how you connected. See who controls your money.

Bookings

A booking reserves payment and one provider slot for a request. It records the provider, rates, token bounds, and claim deadline before inference begins. This lets the provider check authorization and the amount it can claim.

The reservation covers the maximum booked usage, including the list surcharge. It can be larger than the final charge. Reserved funds cannot be spent on another request while that booking is active.

Matching uses estimated usage to compare offers. Reservation uses maximum token bounds to cover the permitted work. These serve different purposes: the estimate does not become your bill, and the reservation is not an upfront charge for every allowed token.

Maximum request spend

Maximum request spend caps the total USDC that can be reserved for one booking, including the list surcharge. This differs from maximum price, which caps each provider rate. Network fees remain separate.

The hosted API exposes this as fossa.max_spend_usdc. If no eligible offer can cover your token bounds within that amount, the booking fails. A spend cap does not automatically shorten the requested output. See API routing.

Settlement

Settlement pays the provider for reported usage at the booked rates, adds the booked list surcharge, and frees the unused reservation. Receiving a complete answer and confirming its payment are separate events.

Stopping a response or losing the connection can still leave billable work. A provider can release a booking without charging. If it neither settles nor releases, an expiry transaction can free the reservation after its claim deadline; time alone does not return the funds.

The program checks the payment against the booking’s limits. Provider honesty about model execution and token counts remains part of the trust model.

Rakeback

Rakeback returns your unused protocol USDC to your account wallet. The available amount includes free protocol funds and expired reservations eligible for recovery. It is recovery of your own funds, rather than a discount on inference already used.

Open Settings then Rakeback and choose Rakeback now to recover available funds. Active reservations remain unavailable until settlement, release, or expiry allows recovery.

Automatic rakeback checks while you are signed in with the website open. Choose a time interval or a minimum available amount. Recovery runs on a subsequent browser check when the condition is met; closing the website pauses these checks. Recovery transactions use network fees.

Clients

A client, or harness, is the application you use to interact with a model. Fossa’s website, the OpenCode plugin, and other compatible clients can use the same protocol through different integrations. Their controls and defaults can differ.

Website and OpenCode preferences do not automatically apply to another harness. The hosted API uses its own defaults unless the client sends Fossa routing options. An API key authorizes inference spending from its account; it is not a wallet private key or permission to withdraw funds.

Use Quick Start for the maintained OpenCode integration, or Client connections to configure another harness.