# OpenRouter API: Get model details

> Looks up an OpenRouter model by name, slug or model link and returns its prices, limits, supported inputs, release date and hosting providers.

Unofficial. Not affiliated with or endorsed by OpenRouter.

- Page: https://fous.com/methods/openrouter.ai/get-model
- Method: `openrouter.ai/get_model`, version 1
- Website: openrouter.ai
- Returns: model name, provider, description, context and output limits, USD prices per million tokens, supported inputs, release date, slug, page link, hosting providers
- Effect: read (it gets data and changes nothing)
- Sign-in: none needed
- Cost: 1 credit per completed run (1¢ with pay as you go); failed runs are free
- Verified: Nov 2, 2026

## Inputs

| Field | Type | Required | In the run below | Description |
|---|---|---|---|---|
| `model` | string | yes | `"Llama 3.3 70B"` | Model name, OpenRouter model link, or model slug, for example Claude Sonnet 4.5. |

## Output

From a run on Oct 23, 2026, shortened. Its input:

```json
{
  "model": "Llama 3.3 70B"
}
```

Its output:

```json
{
  "provider": "Meta",
  "providers": [
    {
      "provider_name": "DeepInfra",
      "uptime_percent": 98.18941504178274,
      "context_length_tokens": 131072,
      "input_price_usd_per_million_tokens": 0.1,
      "output_price_usd_per_million_tokens": 0.32
    },
    {
      "provider_name": "Novita",
      "uptime_percent": 100,
      "context_length_tokens": 12288,
      "input_price_usd_per_million_tokens": 0.135,
      "output_price_usd_per_million_tokens": 0.4
    },
    {
      "provider_name": "AkashML",
      "uptime_percent": 99.8589562764457,
      "context_length_tokens": 131072,
      "input_price_usd_per_million_tokens": 0.2,
      "output_price_usd_per_million_tokens": 0.52
    }
  ],
  "model_name": "Meta: Llama 3.3 70B Instruct",
  "model_slug": "meta-llama/llama-3.3-70b-instruct",
  "description": "The Meta Llama 3.3 multilingual large language model (LLM) is a pretrained and instruction tuned generative model in 70B (text in/text out). The Llama 3.3 instruction tuned text only model...",
  "release_date": "2024-12-06",
  "model_page_link": "https://openrouter.ai/models/meta-llama/llama-3.3-70b-instruct",
  "supported_inputs": [
    "text"
  ],
  "context_length_tokens": 131072,
  "maximum_output_tokens": 16384,
  "input_price_usd_per_million_tokens": 0.1,
  "output_price_usd_per_million_tokens": 0.32
}
```

## Run it

From code, with a Fous API key in `FOUS_API_KEY`; the answer's `data` holds the output:

```bash
curl https://api.fous.com/v1/runs \
  -H "Authorization: Bearer $FOUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"method":"openrouter.ai/get_model","input":{"model":"Llama 3.3 70B"}}'
```

From an AI agent connected to the Fous MCP server: its `run` with the same method and input. To connect one, give it `set up https://fous.com/SKILL.md`.

## Ask your agent

- What is the context window and max output for Claude Sonnet 4.5?
- How much does GPT-4o cost per million input and output tokens on OpenRouter?
- Show me the hosting providers serving the Llama 3.1 70B Instruct model.
- When was the Mistral Large model released and what inputs does it accept?
- Get the slug, description and pricing for the Gemini 2.5 Flash model on openrouter.ai.

## Input schema

```json
{
  "type": "object",
  "required": [
    "model"
  ],
  "properties": {
    "model": {
      "type": "string",
      "description": "Model name, OpenRouter model link, or model slug, for example Claude Sonnet 4.5."
    }
  },
  "additionalProperties": false
}
```

## Output schema

```json
{
  "type": "object",
  "required": [
    "model_name",
    "provider",
    "description",
    "context_length_tokens",
    "maximum_output_tokens",
    "input_price_usd_per_million_tokens",
    "output_price_usd_per_million_tokens",
    "supported_inputs",
    "release_date",
    "model_page_link",
    "model_slug",
    "providers"
  ],
  "properties": {
    "provider": {
      "type": "string",
      "description": "Organization offering the model."
    },
    "providers": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "provider_name",
          "input_price_usd_per_million_tokens",
          "output_price_usd_per_million_tokens",
          "context_length_tokens",
          "uptime_percent"
        ],
        "properties": {
          "provider_name": {
            "type": "string"
          },
          "uptime_percent": {
            "type": [
              "number",
              "null"
            ]
          },
          "context_length_tokens": {
            "type": [
              "integer",
              "null"
            ]
          },
          "input_price_usd_per_million_tokens": {
            "type": [
              "number",
              "null"
            ]
          },
          "output_price_usd_per_million_tokens": {
            "type": [
              "number",
              "null"
            ]
          }
        },
        "additionalProperties": false
      },
      "description": "Available hosting options and their prices, context windows, and one-day uptime where reported. A host may have multiple options."
    },
    "model_name": {
      "type": "string",
      "description": "Model’s display name."
    },
    "model_slug": {
      "type": "string",
      "description": "OpenRouter model identifier.",
      "x-fous-developer": true
    },
    "description": {
      "type": [
        "string",
        "null"
      ],
      "description": "Published model summary."
    },
    "release_date": {
      "type": [
        "string",
        "null"
      ],
      "format": "date",
      "description": "Model listing release date (YYYY-MM-DD)."
    },
    "model_page_link": {
      "type": "string",
      "description": "OpenRouter model page."
    },
    "supported_inputs": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Supported input types."
    },
    "context_length_tokens": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Maximum context window in tokens."
    },
    "maximum_output_tokens": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Maximum output in tokens."
    },
    "input_price_usd_per_million_tokens": {
      "type": [
        "number",
        "null"
      ],
      "description": "Base input price in USD per million tokens."
    },
    "output_price_usd_per_million_tokens": {
      "type": [
        "number",
        "null"
      ],
      "description": "Base output price in USD per million tokens."
    }
  },
  "additionalProperties": false
}
```

## See more

- [OpenRouter API: List models](https://fous.com/methods/openrouter.ai/list-models.md): Lists public OpenRouter models with per-million-token prices, context size, input types, release date and model page. Results can be sorted by newest, input price or popularity.
- [Hugging Face API: Get model details](https://fous.com/methods/huggingface.co/get-model.md): Looks up one Hugging Face model by name, repository ID or link and returns its public details, model card summary and file sizes. For a name, the first matching model is returned.
- [Hugging Face API: Search models](https://fous.com/methods/huggingface.co/search-models.md): Finds public Hugging Face models by search words, with an optional task and sort order. License is null when the model does not publish one.
- [Open Library API: Get book details](https://fous.com/methods/openlibrary.org/get-book.md): Gets a book's catalog details from Open Library by its title, with an optional author or ISBN to identify the right book. Reading availability reflects listed editions; details may be missing when the catalog has none.
- [AliExpress API: Get product](https://fous.com/methods/aliexpress.com/get-product.md): Get one AliExpress product’s prices, variants, reviews, shipping to a chosen country, seller and specifications from its link or the best-selling name match. Sold counts may be rounded, and shipping options are those shown for the displayed variant.
- [Hugging Face API: List trending models](https://fous.com/methods/huggingface.co/list-trending-models.md): Lists Hugging Face models in trending order this week, optionally filtered to one task. Downloads cover the last 30 days.
- [OpenTable API: Get restaurant profile](https://fous.com/methods/opentable.com/get-restaurant.md): Gets a restaurant's public OpenTable profile by name or OpenTable link and city, including ratings, details, menu and photo links. Ratings and other fields can be missing when the restaurant does not publish them.
- [PriceRunner API: Compare prices](https://fous.com/methods/pricerunner.com/compare-prices.md): Compares a product's prices across shops on PriceRunner in the United Kingdom, Sweden or Denmark: finds the best-matching product, lists its default new-condition national shop offers sorted by total price, and adds the three-month low when available.
- [All OpenRouter methods](https://fous.com/methods/openrouter.ai.md)
