Skip to main content
Every agent needs a model, and its model field says where the model runs and who pays: A model name always says who pays. A name with no provider part (gpt-5) is refused, and Orca never translates a name from one catalog into another’s: anthropic/claude-sonnet-4.5 is OpenRouter’s name for that model, not Anthropic’s, so it does not run on your Anthropic key. Provider keys are separate from your Orca API key and from tool credentials in vaults.

Discover Orca credit models

With the client configured as in Build with the API:
GET /v1/models lists OpenRouter’s catalog as Orca credit models. A listed model is not a promise that every agent setting or tool works with it. GET /api/models (an Orca extension, outside /v1) lists every model you can pick, grouped by who pays: an Orca credit group with OpenRouter’s input and output price per million tokens, then one group per provider you have a key for, billed by that provider. It also returns the OpenRouter credit fee in effect:
Each Orca credit model’s plan says whether your organization’s plan can run it; see which models Free can use. Prices are in micro-USD (millionths of a dollar) per million tokens, as OpenRouter publishes them, and null where OpenRouter has no fixed price. They are shown for choosing a model; the charge is always what OpenRouter reports for the call. When a call ends without OpenRouter reporting its cost, such as a call you cancel, a stream cut short or a restart on Orca’s side, Orca charges it later from OpenRouter’s own record of that call, usually within minutes, never from an estimate. Web search on Orca credit is charged the same way. Orca reads each list at most every 10 minutes and keeps the last good copy; a group whose list cannot be read has available: false and no models.

What Orca credit costs

Each call on Orca credit is charged what OpenRouter charges for it, including its cache and reasoning tokens, plus their fee, with no Orca markup. Orca keeps no price list: the price is OpenRouter’s at the time of the call. Your usage shows each call’s cost, the provider’s cost and the fee. A web search on an Orca credit model is charged too; see what a search costs.

Which models Free can use

On the Free plan, an organization runs: Bring your own provider key to run a model without Orca credit: every :free model on OpenRouter runs on your own OpenRouter key under its OpenRouter id, such as openrouter/cohere/north-mini-code:free. GET /api/models gives each Orca credit model a plan, for your organization’s plan: Free models other than Orca’s are left out of the Orca credit group. orca models shows free model beside Orca’s free model, and so does the dashboard’s model picker. On Free, the dashboard’s new agent form picks the free model for you, and orca agents create with no model offers it first. An agent or a kit can name a model your plan does not run, such as a kit made with orca/openrouter/openai/gpt-5.6-luna, which runs on credit. On Free with no credit, its first message is refused with the ways on: switch that session to the free model or to a model on your own key, add a key, or add credit or upgrade. See troubleshooting.

Connect a provider

Provider management is an Orca extension under /api/providers, outside the OpenAI /v1 surface. Use ordinary authenticated HTTP requests, not client.beta.agents methods, at https://api.orcapods.ai without /v1. Setting and removing a key needs the admin role; in the dashboard it is BYOK under Settings, a page titled Providers.
The response includes provider IDs, whether you have a key, whether a catalog is public, and unsupported_agent_fields. It never returns the stored key. Supported IDs are openai, anthropic, openrouter, vercel, and cheaperinference. Catalogs marked public_catalog can be read without a provider key; other catalogs require one. Provider catalog requests still require Orca authentication. Submit keys from trusted backend code or your secret-management workflow. Do not paste a real provider key into documentation examples, browser code, command history, or logs. The service validates a new key before accepting it; an invalid key returns HTTP 400.

Select the model explicitly

Use orca/openrouter/<OpenRouter id> for Orca credit, or <provider>/<id> for your own key. An OpenRouter id already contains a namespace, so it becomes orca/openrouter/<vendor>/<model-name> or openrouter/<vendor>/<model-name>. Get the actual id from the catalog rather than copying a stale example.
Every save checks the model: creating or updating an agent (HTTP 400 on model), creating a session with an inline agent (on agent.model), and copying a kit. A save is refused when:
  • the name has no provider part, or uses orca/ with any provider but OpenRouter;
  • it names your own key for a provider where you have none: “Add your Anthropic key in Settings, Providers, or choose an Orca credit model”. When OpenRouter offers the same name, the message gives its Orca credit name instead: “Add your Anthropic key in Settings, Providers, or use orca/openrouter/anthropic/claude-sonnet-4.5 for Orca credit”;
  • the provider does not list the model: “Anthropic does not offer the model …”;
  • it is a free model on Orca credit other than Orca’s free model: “Orca credit runs only Orca’s free model at no charge. Run other free models on your own OpenRouter key.”;
  • with your key saved, it is OpenRouter’s name for a model the provider lists under another id, such as anthropic/claude-sonnet-4.5: the message names orca/openrouter/anthropic/claude-sonnet-4.5 for Orca credit, openrouter/anthropic/claude-sonnet-4.5 with your OpenRouter key, or the provider’s own id with its key.
When a provider’s list cannot be read, the agent is saved unchecked and the response carries an Orca-Warning header saying so. Nothing else changes in the response. A turn checks your key again when it starts, and on Free it checks the model against the Free plan too. Nothing ever falls back from your key to Orca credit, or from Orca credit to your key.

Check capability limits

  • Inspect unsupported_agent_fields before sending provider-specific settings.
  • Anthropic does not accept JSON-schema text.format, non-default text.verbosity, or non-auto service_tier in this integration.
  • On your own OpenAI key, some reasoning models refuse tools at their default reasoning effort: OpenAI refuses gpt-5.6-luna with any tool unless reasoning.effort is none, and the turn fails with “the provider rejected the request (HTTP 400)”. Set reasoning.effort: none on such agents. Orca never sets it for you.
  • Not every model can search the web; see web search.
  • reasoning.summary is not available on any route; reasoning summaries are not exposed. Saved agents that set it are rejected on create or update.
  • A catalog entry is not a promise of tool support or availability on your provider account.
web_search runs on your agent’s own model, through the same route and key as its calls, and whoever pays for that model pays for the search. Subagents search on their lead’s model. A search never falls back to Orca credit or to another model. On OpenRouter, models with built-in web search search reliably: OpenAI, Anthropic, Google, Perplexity and xAI models, per OpenRouter. Other models rely on OpenRouter’s search engine and may answer without searching. The search then fails with no_search, so pick a model with built-in web search for an agent that must search.
  • web_search accepts allowed_domains, location, context_size and mode live or disabled; mode: cached is not available. On an Anthropic model, context_size must stay medium, the default.
  • Saving an agent with web_search on a Vercel AI Gateway or CheaperInference model is refused with HTTP 400 on agent.tools: “Web search is not available with your <provider> key. Use an Orca credit model or an OpenRouter, OpenAI or Anthropic key, or turn web search off.” Use mode: disabled, or a model on Orca credit or on an OpenRouter, OpenAI or Anthropic key.

What comes back

Your agent’s model gets the answer and its cited links, with each cited page’s excerpt when the provider sends one. An answer with no citations is still a result, for example when the search found nothing. Orca does not fetch the pages. An agent that must quote a page word for word needs another way to read it, such as a function or MCP tool that fetches pages.

When a search fails

The turn goes on. The search’s web_search_call item has status incomplete, shows the query in action.query, and carries an error with a code and a message. The same message goes to your agent’s model as the tool result. error is an Orca addition to OpenAI’s web_search_call item, present only when the search failed. An incomplete item without error was stopped by the turn’s cancellation.

What a search costs

On Orca credit, a search costs the provider’s search fee ($0.01 a search) plus your model's tokens for reading the results, each at OpenRouter's price plus [their fee](https://orcapods.ai/pricing). So it depends on the model: for example about $0.011 on orca/openrouter/openai/gpt-5.6-luna and about $0.13 on orca/openrouter/anthropic/claude-sonnet-4.6.
  • The tokens are charged on the search’s Model calls row, and the search fee on its Web searches row.
  • A search is charged what the provider reported, whatever the outcome, including a search whose answer Orca could not use. A search refused at the credit check (out_of_credit or balance_unavailable) never runs and costs nothing.
  • On your own key, the provider bills the search and Orca charges nothing.

What is counted

Web searches in your usage counts the searches the provider ran, not tool calls: one web_search tool call can run more than one search, and a reply that shows no search ran counts none. Tool calls still counts tool calls. Usage recorded before this change counted one search per tool call.

Rotate and remove keys carefully

Who pays is fixed when a turn starts: Orca reads your keys then, and every call of that turn, its subagents’ included, runs on them. Saving, replacing or removing a key applies from the next turn. Removing a key makes the next turn of sessions using it fail with HTTP 400 on agent.model; it never moves them to Orca credit. Restore a valid key before continuing affected sessions. When credit runs out on either side, the turn ends with usage_limit_exceeded and a param that says whose: orca_credit for your Orca credit, provider_quota for your own key’s provider account. See errors.

Switch who pays for one session

Orca never switches on its own. When one side runs out, top it up, or switch that session to a model on the other side:
  • The model is checked as a save is, and must run the agent’s settings on its provider.
  • It applies from the session’s next turn. While a turn runs, including one waiting for your function results, the switch is refused with HTTP 409.
  • It is for that session only. The agent, the session’s /v1 object and the agent’s other sessions keep the agent’s model. GET /api/sessions/{session_id}/model shows the model the next turn uses, the agent’s own, and payer (orca_credit or own_key).
  • Switching back to the agent’s own model removes the switch.
Switching may re-send this conversation without the provider’s cache, which uses more tokens. The model may behave differently through another route, and work in progress may not carry over correctly. The same model exists on both sides only under OpenRouter’s id: openrouter/<id> and orca/openrouter/<id>.