Langbase Models API
The Models API from Langbase — 1 operation(s) for models.
The Models API from Langbase — 1 operation(s) for models.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/langbase:langbase-models-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Langbase Models API
version: 1.0.0
servers:
- url: https://api.langbase.com
description: Production
tags:
- name: Models
paths:
/v1/models:
get:
operationId: getModels
responses:
'200':
description: List of Text & Image Models by Provider
content:
application/json:
schema:
type: object
additionalProperties:
type: array
items:
type: object
properties:
id:
type: string
description: Unique model identifier with provider prefix
provider:
type: string
description: Name of the LLM provider
type:
type: string
enum:
- text
- image
description: Model type
promptCost:
type: number
description: Cost per million tokens in USD for prompts (text models)
completionCost:
type: number
description: Cost per million tokens in USD for completions (text models)
basePrice:
type: number
description: Base price per image generation (image models)
supportedSizes:
type: array
items:
type: string
description: Supported image sizes (image models)
supportedQualities:
type: array
items:
type: string
description: Supported image qualities (image models)
required:
- id
- provider
- type
description: Map of provider names to their available models
'400':
description: Bad Request
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
error:
type: object
properties:
code:
type: string
status:
type: string
message:
type: string
docs:
type: string
required:
- code
- status
- message
- docs
required:
- success
- error
'500':
description: Internal Server Error
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
error:
type: string
code:
type: string
required:
- success
- error
- code
tags:
- Models
summary: Get models
x-summary-source: derived
components:
securitySchemes:
bearerAuth:
bearerFormat: Langbase-API-Key
type: http
scheme: bearer
description: 'Enter your Langbase API key with format: Bearer Langbase-API-Key'
x-provenance:
method: harvested
publisher: Langbase
source: https://api.langbase.com/openapi.json
note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
stamped by stamp-openapi-provenance.py (roadmap#793)