OMOB
Back to Primitives

2 actions · from about $0.0001 / pick

Model routing

Model routing API for AI agents

OMOBTool

Browse the model catalog and pick the best model per request. Model routing gives your agent 2 actions through one OMOB API key, starting from about $0.0001 / pick, billed per call to one prepaid balance. It works from ChatGPT and Claude through one MCP connector, and from the SDK, CLI or REST.

List the AI models OMOB can route to, with prices and context sizes, and let OMOB pick the best of a few candidates for each request from a one-line brief per model. Picking is billed at cost, a fraction of a cent.

Part of AI models

Actions

Every action: POST /v1/tools/runs { "tool": "<name>", "input": { … } }

  • Model routing

    List models

    models.list

    The models OMOB routes to, with prices and context sizes.

    Parameters
    ParameterDescription
    search
    string
    Words to match in a model's id or name.
    window
    string
    Rank by usage over this window, e.g. "day" or "week".
    Example response
    {
      "object": "list",
      "data": [
        {
          "id": "anthropic/claude-sonnet-4.5",
          "name": "Claude Sonnet 4.5",
          "context_length": 200000
        }
      ]
    }
    Free
  • Model routing

    Pick a model

    models.auto_select

    The best of your candidate models for one request.

    Parameters
    ParameterDescription
    options
    object · required
    2 to 16 candidates: model id → a one-line brief of what it is good at.
    messages
    object[] · required
    The request as chat messages, each {role: user|assistant, content}.
    default
    string
    The option to fall back to when no pick is confident enough.
    min_confidence
    number
    0-1: below this, answer the default (needs default).
    Example response
    {
      "object": "model_selection",
      "model": "openai/gpt-5-mini",
      "confidence": 0.91,
      "defaulted": false,
      "spent_micro_usd": 100
    }
    about $0.0001 / pick

Pricing

from about $0.0001 / pick

Billed per call to one prepaid balance. No vendor accounts, no subscription.

Use it from ChatGPT, Claude, the SDK or the CLI

import { createOMOB } from "@omob-sdk/omob"; const omob = createOMOB(); // reads OMOB_API_KEYconst run = await omob.tools.run("models.list", {"search":"claude"}, { wait: true });console.log(run.output);

Model routing API: questions

How do I get a Model routing API key for my agent?
You do not need a separate Model routing key or account. Sign up at developers.omob.app, create one OMOB API key, and your agent calls every Model routing action with it, from the SDK, the CLI, REST or the MCP connector.
How much does the Model routing API cost?
Model routing actions start from about $0.0001 / pick, billed per call to one prepaid balance. Each action's price is listed on this page, and you only pay for calls that run.
Is there a free tier?
Yes. Every new developer account gets $1 of free credit, no card, and tool calls like these run on it. After that you top up a prepaid balance; there is no subscription.
Can ChatGPT or Claude use Model routing?
Yes. Add OMOB as a connector with the URL https://mcp.omob.app/v1/mcp and sign in; then ask in plain words and the assistant finds and runs the Model routing actions for you. Claude Code, Codex and other MCP clients use the same URL. In ChatGPT, custom connectors need a Business, Enterprise or Edu workspace; on Plus or Free, use Claude.

Guides using Model routing

Related tools

  • OMOB

    Search the web and get page text back.

    $0.00015
    per call
    1 action
  • OMOB

    Text to image and image editing, up to 4K.

    from $0.004
    per image
    2 actions
  • OMOB

    Text or image to video with sound, 5–15 s.

    $0.05
    per second
    1 action